* The VX1 Shakes Redux
@ 2002-03-07 2:10 "Thursday" AKA dr. john
2002-03-07 2:45 ` Uncle George
2002-03-07 21:45 ` Terry A. Bowling
0 siblings, 2 replies; 19+ messages in thread
From: "Thursday" AKA dr. john @ 2002-03-07 2:10 UTC (permalink / raw)
To: axp-list
This is a follow-up.
I have been running the 3DLabs Oxygen VX1 video card on my PWS500a/u for
about a month now, under RedHat 7.1, Tru64 5.1, T64 5.1a, Windows NT and
lately, Windows 2000.
I had a real problem under RH 7.1 with a rythmic, 2-second-repeating
blackout. Sometimes I got it, sometimes not ... it was driving me nutz.
Setting the resolution down to 1280x1024 helped a little ..
Here's what I have found. I noticed that when my machine got the "VX1
shakes" it seemed also to lose the date in the BIOS clock. The date
would default to early in the year 2050.
I started doing a "date" at SRM prompt and resetting it if it was
wrong. No more shakes.
I experimented: I could get the VX1 shakes any time I wanted to by
letting the TOY (BIOS) clock slip (My Tru64 always sends the date back
to the future when it shuts down). As loong as the date remained at
2050, the shakes would occur. reste the date, the shakes go away.
There has gotta be some kind of Masonic handshake between the OS and the
TOY clock, "bye-bye, shutdown, it is now the year 2050 (or 2022 from my
Windows 2k if I set the OS date current).
I had been thinking it was a hardware problem, a wormy chip that would
randomly lose track of its stuff and reset to some default. Below I
have attached an earlier post ...
This whole biz raises more issues than it resolves. I set the TOY clock
20 years ahead when I installed the supposedly time-bombed RC1 version
of Windows2000 ... it boots and tells me thjat I should set the date
current, when I do, my box adds 20 years to the date on shutdown.
I didn't check the console date when I installed T64 5.1a. Maybe it had
gone to 2050? I did reset the clock in the OS and it keeps time expcept
for being 2 weeks behind ...
Below is my last posting on this issue .. I got mail back suggesting it
was the southbridge. People at Compaq suggested there was a weak
chipset (the Pyxis) in the PWS machines.
Maybe it is a combination of hardware, software and operator error? I'm
gonna try some selective OS reinstallations and see what happens. I am
not so far into either W2K or T64 that I can't rip them out and start
over.
jn
""Well the last 2 days I had the VX1 shakes again, even at the reduced,
1280x1024 resolution.
It happened again today. So I spent a couple hours goofin around with
the computer running, then rebooted RedHat, and hey! no problems with
the video card!
Also today, i noticed the date clock had reset itself to the 2050 year
default setting ... and I had some hot-off-the-net firmware on a floppy
that I thought might help.
This was a FAT-formatted floppy, my plan was to use the Alpha Bios to
install, mainly because I'd been having zero luck with any other
floppies, like off my PC Unix box, or downloads from my system at work.
Besides the date being wrong, the Alpha Bios couldn't see/read the FAT
floppy. Add it up:
1) To install RedHat, I had to run the computer 24 hours straight
before
i could boot/install from floppies
2) All the problems reading CDs, and having to change CDrom drives
to
install RedHat from the CD no. 1
3) The date is all goosey. I put in a new battery, within a few
days
the date slips again.
4) (Maybe) The video card works sometimes, sometimes it doesn't.
There
is no obvious pattern, but if tyhe computer has run a couple hours, it
seems more likely to hook up the card on boot.
5) The Firmware is rock steady through all this, no corrupted
screens,
no reverting to previous versions, no hang-ups.
6) There are messages all over this list and the Tru64 Unix
managers
list about VX1 problems, about problems installing RedHat from CDroms,
and from people who can't get an installation going from floppies.
So, Watson, what do you deduce?
I ask: how likely is it that a Cdrom drive, a floppy dirve, and a new
battery would ALL go south at the same time? How likely is it that 2
different OSes would have similar problems with hardware?
My own thought is that there is something rotten at or upstream of the
controller for the floppy drive, for the IDE drive, and for the clock.
Further, I would suggest that this is a problem specific to the PWS
series ... maybe to a certain run of motherboards or backplanes. The
question is, how does this affect the connection with the Video Card on
the PCI bus? Or is it completely separate?
Elementary, NOT!
jn""
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 2:10 The VX1 Shakes Redux "Thursday" AKA dr. john
@ 2002-03-07 2:45 ` Uncle George
2002-03-07 6:14 ` Stephen Williams
2002-03-07 21:45 ` Terry A. Bowling
1 sibling, 1 reply; 19+ messages in thread
From: Uncle George @ 2002-03-07 2:45 UTC (permalink / raw)
To: axp-list
"\"Thursday\" AKA dr. john" wrote:
>
> This is a follow-up.
>
> I have been running the 3DLabs Oxygen VX1 video card on my PWS500a/u for
> about a month now, under RedHat 7.1, Tru64 5.1, T64 5.1a, Windows NT and
> lately, Windows 2000.
>
Did u just say that win 2000 runs on an alpha box ?
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 2:45 ` Uncle George
@ 2002-03-07 6:14 ` Stephen Williams
2002-03-07 13:28 ` Uncle George
0 siblings, 1 reply; 19+ messages in thread
From: Stephen Williams @ 2002-03-07 6:14 UTC (permalink / raw)
To: axp-list
gatgul@voicenet.com said:
> Did u just say that win 2000 runs on an alpha box ?
Microsoft had NT5 (as it was called at the time) for alpha before
they and DEC parted ways.
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
steve at picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
abuse@xo.com
uce@ftc.gov
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 6:14 ` Stephen Williams
@ 2002-03-07 13:28 ` Uncle George
2002-03-07 13:53 ` Peter Petrakis
2002-03-07 20:31 ` Stephen Williams
0 siblings, 2 replies; 19+ messages in thread
From: Uncle George @ 2002-03-07 13:28 UTC (permalink / raw)
To: axp-list
its not listed at M$ site. one might say that anything RISC seems to
have parted from M$'s way :-/
Stephen Williams wrote:
>
> gatgul@voicenet.com said:
> > Did u just say that win 2000 runs on an alpha box ?
>
> Microsoft had NT5 (as it was called at the time) for alpha before
> they and DEC parted ways.
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: The VX1 Shakes Redux
2002-03-07 13:28 ` Uncle George
@ 2002-03-07 13:53 ` Peter Petrakis
2002-03-07 20:31 ` Stephen Williams
1 sibling, 0 replies; 19+ messages in thread
From: Peter Petrakis @ 2002-03-07 13:53 UTC (permalink / raw)
To: axp-list
I think what George is asking is where can he get it?
If you could find a friendly AlphaNT fellow he may burn you a
copy (illegal of course). You could then disable the time
bomb in the RC by setting the clock in AB 10 years before
you install, and then set it back :-) . This is
all on the alphant homepage, expect the isos ;-)
Peter
--
www.linuxalpha.org www.alphadriven.org
Peter Petrakis Warrior/Engineer voodoo@alphadriven.org
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
> -----Original Message-----
> From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
> Behalf Of Uncle George
> Sent: Thursday, March 07, 2002 8:29 AM
> To: axp-list@redhat.com
> Subject: Re: The VX1 Shakes Redux
>
>
> its not listed at M$ site. one might say that anything RISC seems to
> have parted from M$'s way :-/
>
> Stephen Williams wrote:
> >
> > gatgul@voicenet.com said:
> > > Did u just say that win 2000 runs on an alpha box ?
> >
> > Microsoft had NT5 (as it was called at the time) for alpha before
> > they and DEC parted ways.
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 13:28 ` Uncle George
2002-03-07 13:53 ` Peter Petrakis
@ 2002-03-07 20:31 ` Stephen Williams
2002-03-07 20:51 ` geerten kuiper
1 sibling, 1 reply; 19+ messages in thread
From: Stephen Williams @ 2002-03-07 20:31 UTC (permalink / raw)
To: axp-list
gatgul@voicenet.com said:
> its not listed at M$ site. one might say that anything RISC seems to
> have parted from M$'s way :-/
It was developed, but never released. Remember, NT5 was delayed
quite a bit, and thence became Windows 2000. There were release
candidate disks in my MSDN set for what seemed an eternity.
Of course, this is all academic, as there are no *legal* Win2k
for alpha, and I can't quite fathom why anyone would want to run
a MS product on alphas anyhow.
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
steve at picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
abuse@xo.com
uce@ftc.gov
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 20:31 ` Stephen Williams
@ 2002-03-07 20:51 ` geerten kuiper
2002-03-07 21:01 ` Michael A. Foley
0 siblings, 1 reply; 19+ messages in thread
From: geerten kuiper @ 2002-03-07 20:51 UTC (permalink / raw)
To: axp-list
At 12:31 07-03-02 -0800, Steve Williams wrote:
>Of course, this is all academic, as there are no *legal* Win2k
>for alpha, and I can't quite fathom why anyone would want to run
>a MS product on alphas anyhow.
especially as this was still a 32 bit OS. But on the WIN2000 install disks
for i86 there ia a layout.inf file containing a section
[SourceDisksNames.axp64], so at some stage a 64 bit WIN2000 for Alpha must
have existed.
Wouldn't mind playing with that a little..
Groeten,
Geerten.
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: The VX1 Shakes Redux
2002-03-07 20:51 ` geerten kuiper
@ 2002-03-07 21:01 ` Michael A. Foley
0 siblings, 0 replies; 19+ messages in thread
From: Michael A. Foley @ 2002-03-07 21:01 UTC (permalink / raw)
To: axp-list
There was a very early Microsoft internal only
64-bit port of Windows 2000 demonstrated at the
June, 1998 PC Expo. It was running on an Alpha
with a 64-bit version of SQL Server. I think that
was the only time it was ever shown to the public.
All development of 64-bit Windows was done on
Alpha's until Intel got Microsoft a bunch of
Itanic systems. I don't believe that any further
development on Alpha's is being done.
One of the nice things that was in the Win2k 32-bit
Alpha version was more hardware support and FX!32
was built in to the Windows kernel.
It's all a moot point anyways. Why folks want to
try and run Alpha Windows2000 is beyond me. Especially
when there are much faster x86 systems today.
mike
> -----Original Message-----
> From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
> Behalf Of geerten kuiper
> Sent: Thursday, March 07, 2002 3:51 PM
> To: axp-list@redhat.com
> Subject: Re: The VX1 Shakes Redux
>
>
> At 12:31 07-03-02 -0800, Steve Williams wrote:
>
> >Of course, this is all academic, as there are no *legal* Win2k
> >for alpha, and I can't quite fathom why anyone would want to run
> >a MS product on alphas anyhow.
>
> especially as this was still a 32 bit OS. But on the WIN2000 install disks
> for i86 there ia a layout.inf file containing a section
> [SourceDisksNames.axp64], so at some stage a 64 bit WIN2000 for Alpha must
> have existed.
> Wouldn't mind playing with that a little..
>
> Groeten,
> Geerten.
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: The VX1 Shakes Redux
2002-03-07 2:10 The VX1 Shakes Redux "Thursday" AKA dr. john
2002-03-07 2:45 ` Uncle George
@ 2002-03-07 21:45 ` Terry A. Bowling
1 sibling, 0 replies; 19+ messages in thread
From: Terry A. Bowling @ 2002-03-07 21:45 UTC (permalink / raw)
To: axp-list
Don't mean to was your time if this is obvious to you, but did you check
the battery on your mobo? A computer that loses it's time is typical of a
low/bad battery.
Thought you might like to get back on topic and away from m$w2k...
--
Terry Bowling
Verizon NOTD Systems Support
260.461.3772
"\"Thursday\" AKA dr. john" wrote:
> This is a follow-up.
>
> I have been running the 3DLabs Oxygen VX1 video card on my PWS500a/u for
> about a month now, under RedHat 7.1, Tru64 5.1, T64 5.1a, Windows NT and
> lately, Windows 2000.
>
> I had a real problem under RH 7.1 with a rythmic, 2-second-repeating
> blackout. Sometimes I got it, sometimes not ... it was driving me nutz.
> Setting the resolution down to 1280x1024 helped a little ..
>
> Here's what I have found. I noticed that when my machine got the "VX1
> shakes" it seemed also to lose the date in the BIOS clock. The date
> would default to early in the year 2050.
>
> I started doing a "date" at SRM prompt and resetting it if it was
> wrong. No more shakes.
>
> I experimented: I could get the VX1 shakes any time I wanted to by
> letting the TOY (BIOS) clock slip (My Tru64 always sends the date back
> to the future when it shuts down). As loong as the date remained at
> 2050, the shakes would occur. reste the date, the shakes go away.
>
> There has gotta be some kind of Masonic handshake between the OS and the
> TOY clock, "bye-bye, shutdown, it is now the year 2050 (or 2022 from my
> Windows 2k if I set the OS date current).
>
> I had been thinking it was a hardware problem, a wormy chip that would
> randomly lose track of its stuff and reset to some default. Below I
> have attached an earlier post ...
>
> This whole biz raises more issues than it resolves. I set the TOY clock
> 20 years ahead when I installed the supposedly time-bombed RC1 version
> of Windows2000 ... it boots and tells me thjat I should set the date
> current, when I do, my box adds 20 years to the date on shutdown.
>
> I didn't check the console date when I installed T64 5.1a. Maybe it had
> gone to 2050? I did reset the clock in the OS and it keeps time expcept
> for being 2 weeks behind ...
>
> Below is my last posting on this issue .. I got mail back suggesting it
> was the southbridge. People at Compaq suggested there was a weak
> chipset (the Pyxis) in the PWS machines.
>
> Maybe it is a combination of hardware, software and operator error? I'm
> gonna try some selective OS reinstallations and see what happens. I am
> not so far into either W2K or T64 that I can't rip them out and start
> over.
>
> jn
>
> ""Well the last 2 days I had the VX1 shakes again, even at the reduced,
> 1280x1024 resolution.
>
> It happened again today. So I spent a couple hours goofin around with
> the computer running, then rebooted RedHat, and hey! no problems with
> the video card!
>
> Also today, i noticed the date clock had reset itself to the 2050 year
> default setting ... and I had some hot-off-the-net firmware on a floppy
> that I thought might help.
>
> This was a FAT-formatted floppy, my plan was to use the Alpha Bios to
> install, mainly because I'd been having zero luck with any other
> floppies, like off my PC Unix box, or downloads from my system at work.
>
> Besides the date being wrong, the Alpha Bios couldn't see/read the FAT
> floppy. Add it up:
>
> 1) To install RedHat, I had to run the computer 24 hours straight
> before
> i could boot/install from floppies
>
> 2) All the problems reading CDs, and having to change CDrom drives
> to
> install RedHat from the CD no. 1
>
> 3) The date is all goosey. I put in a new battery, within a few
> days
> the date slips again.
>
> 4) (Maybe) The video card works sometimes, sometimes it doesn't.
> There
> is no obvious pattern, but if tyhe computer has run a couple hours, it
> seems more likely to hook up the card on boot.
>
> 5) The Firmware is rock steady through all this, no corrupted
> screens,
> no reverting to previous versions, no hang-ups.
>
> 6) There are messages all over this list and the Tru64 Unix
> managers
> list about VX1 problems, about problems installing RedHat from CDroms,
> and from people who can't get an installation going from floppies.
>
> So, Watson, what do you deduce?
>
> I ask: how likely is it that a Cdrom drive, a floppy dirve, and a new
> battery would ALL go south at the same time? How likely is it that 2
> different OSes would have similar problems with hardware?
>
> My own thought is that there is something rotten at or upstream of the
> controller for the floppy drive, for the IDE drive, and for the clock.
> Further, I would suggest that this is a problem specific to the PWS
> series ... maybe to a certain run of motherboards or backplanes. The
> question is, how does this affect the connection with the Video Card on
> the PCI bus? Or is it completely separate?
>
> Elementary, NOT!
>
> jn""
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: The VX1 Shakes Redux
@ 2002-03-07 21:48 Benton, Marco
0 siblings, 0 replies; 19+ messages in thread
From: Benton, Marco @ 2002-03-07 21:48 UTC (permalink / raw)
To: 'axp-list@redhat.com'
from my point of view Win2k on, for example, an AS/8400 was far superior to
win2k on any Wimptel server. Much faster bus and expandability, never mind
throwing oodles of CPU's on it. granted normal everyday applications might
run a little slower due to the size of the code and might give the false
impression Intel chips are faster then Alphas, not the case. if you run
optimized code for the class CPU (like EV56 or EV6 instructions only instead
of EV4 base instructions with EV56 additions to make it compatible with all
alphaservers) then things will be somewhat faster, esp. for number crunching
and such. also, the new EV6 and above CPUs issues 4+ instructions per clock
cycle while the Pentiums are still at 2 (could be mistaken with the P4), not
including the EV7 which is far ahead of anything Intel has out currently.
but then again, the Alpha was never meant to be a desktop CPU besides the
failed attempt with the PCA56/PCA57 CPUs. then again, Pentiums ARE
Alphas!!!! Intel stole some stuff from Alphas and Digital sued them.
hmmm...
and i still have a CD of Windows NT 5.0 Beta 1...THAT should have been never
released or called "Build #1 Internal". UGH!
but i agree, why would someone want to waste a good AS8400/GS160 or whatever
on a M$ application that is bloated and buggy anywayz? UNIX rules! then
again there is SUN SLOWaris. ;-)
__________________________________________________
Marco Benton
Systems/Network Services - BOFH
Ph: 781-386-2187
Text: 7815329829@mobilecomm.net
AIM/MSN: unixfuehrer
http://www.polaroid.com
alle müssen Ihren UNIX FÜHRER befolgen!
__________________________________________________
-----Original Message-----
From: Michael A. Foley [mailto:mikiefoley@yahoo.com]
Sent: Thursday, March 07, 2002 4:01 PM
To: axp-list@redhat.com
Subject: RE: The VX1 Shakes Redux
There was a very early Microsoft internal only
64-bit port of Windows 2000 demonstrated at the
June, 1998 PC Expo. It was running on an Alpha
with a 64-bit version of SQL Server. I think that
was the only time it was ever shown to the public.
All development of 64-bit Windows was done on
Alpha's until Intel got Microsoft a bunch of
Itanic systems. I don't believe that any further
development on Alpha's is being done.
One of the nice things that was in the Win2k 32-bit
Alpha version was more hardware support and FX!32
was built in to the Windows kernel.
It's all a moot point anyways. Why folks want to
try and run Alpha Windows2000 is beyond me. Especially
when there are much faster x86 systems today.
mike
> -----Original Message-----
> From: axp-list-admin@redhat.com [mailto:axp-list-admin@redhat.com]On
> Behalf Of geerten kuiper
> Sent: Thursday, March 07, 2002 3:51 PM
> To: axp-list@redhat.com
> Subject: Re: The VX1 Shakes Redux
>
>
> At 12:31 07-03-02 -0800, Steve Williams wrote:
>
> >Of course, this is all academic, as there are no *legal* Win2k
> >for alpha, and I can't quite fathom why anyone would want to run
> >a MS product on alphas anyhow.
>
> especially as this was still a 32 bit OS. But on the WIN2000 install disks
> for i86 there ia a layout.inf file containing a section
> [SourceDisksNames.axp64], so at some stage a 64 bit WIN2000 for Alpha must
> have existed.
> Wouldn't mind playing with that a little..
>
> Groeten,
> Geerten.
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
_______________________________________________
Axp-list mailing list
Axp-list@redhat.com
https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: Alpha asm & Linux
@ 1999-05-03 13:14 Tenhave, Tim
1999-05-03 15:13 ` Uncle George
0 siblings, 1 reply; 19+ messages in thread
From: Tenhave, Tim @ 1999-05-03 13:14 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Hi Dan,
You can find the Compaq/Digital Tru64 UNIX docs through the following
link...
http://www.unix.digital.com/faqs/publications/pub_page/doc_list.html
Follow the link to the latest UNIX (4.0E) and locate the link to the
"Programming" docs. In there is the latest ASM book.
Enjoy,
Tim
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Alpha asm & Linux
1999-05-03 13:14 Alpha asm & Linux Tenhave, Tim
@ 1999-05-03 15:13 ` Uncle George
1999-05-03 17:12 ` Philip Blundell
1999-05-03 17:55 ` Wes Bauske
0 siblings, 2 replies; 19+ messages in thread
From: Uncle George @ 1999-05-03 15:13 UTC (permalink / raw)
To: axp-list
This book/docs may explain the machine instructions & architecture
issues - it certainly does not explain how to really write an assembly
program on linux/alpha - or incorporate the assembler in the "C"
__asm__ stuff. Also more annoying is the register nameing convensions -
i'd like very much to use t0, a0 and the like.
gat
BTW assembler & UNIX has always been difficult
Tenhave, Tim wrote:
>
> Follow the link to the latest UNIX (4.0E) and locate the link to the
> "Programming" docs. In there is the latest ASM book.
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Alpha asm & Linux
1999-05-03 15:13 ` Uncle George
@ 1999-05-03 17:12 ` Philip Blundell
1999-05-03 20:33 ` Uncle George
1999-05-03 17:55 ` Wes Bauske
1 sibling, 1 reply; 19+ messages in thread
From: Philip Blundell @ 1999-05-03 17:12 UTC (permalink / raw)
To: axp-list
>This book/docs may explain the machine instructions & architecture
>issues - it certainly does not explain how to really write an assembly
>program on linux/alpha - or incorporate the assembler in the "C"
>__asm__ stuff.
Neither of these issues is really Alpha specific or even Linux specific. The
details of GCC's "asm" facility are in the GCC manual.
p.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Alpha asm & Linux
1999-05-03 17:12 ` Philip Blundell
@ 1999-05-03 20:33 ` Uncle George
0 siblings, 0 replies; 19+ messages in thread
From: Uncle George @ 1999-05-03 20:33 UTC (permalink / raw)
To: axp-list
Ha Ha Ha,
u mean the gcc (egcs) manual for tha alpha. I'm sure u can be more specific.
gat
Philip Blundell wrote:
> >This book/docs may explain the machine instructions & architecture
> >issues - it certainly does not explain how to really write an assembly
> >program on linux/alpha - or incorporate the assembler in the "C"
> >__asm__ stuff.
>
> Neither of these issues is really Alpha specific or even Linux specific. The
> details of GCC's "asm" facility are in the GCC manual.
>
>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Alpha asm & Linux
1999-05-03 15:13 ` Uncle George
1999-05-03 17:12 ` Philip Blundell
@ 1999-05-03 17:55 ` Wes Bauske
1999-05-04 11:26 ` Uncle George
1 sibling, 1 reply; 19+ messages in thread
From: Wes Bauske @ 1999-05-03 17:55 UTC (permalink / raw)
To: axp-list
Uncle George wrote:
>
> This book/docs may explain the machine instructions & architecture
> issues - it certainly does not explain how to really write an assembly
> program on linux/alpha - or incorporate the assembler in the "C"
> __asm__ stuff. Also more annoying is the register nameing convensions -
> i'd like very much to use t0, a0 and the like.
If you snoop around in the kernel code, you can find
examples of how to inline asm in C code.
> gat
> BTW assembler & UNIX has always been difficult
>
In what way? The calling interface is more painful
from what I've seen. By splitting the args between
regs and memory, one can make the code faster so
it's a tradeoff in complexity for speed. Also, by
inlining things inside C, you can avoid having to
code your own interface. Also, asm for the specific
machine has it's own quirks but no more so than
other machines. Other than that, its just managing
the stack. What am I not seeing?
Wes
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: Alpha asm & Linux
1999-05-03 17:55 ` Wes Bauske
@ 1999-05-04 11:26 ` Uncle George
1999-05-04 18:12 ` Wes Bauske
0 siblings, 1 reply; 19+ messages in thread
From: Uncle George @ 1999-05-04 11:26 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
> Uncle George wrote:
> >
>
> If you snoop around in the kernel code, you can find
> examples of how to inline asm in C code.
>
Yup, thats how u know that that particular ( __asm__) facility is available,
as well as __inline__ , there is probably some more esoteric enhancements.
>
> > gat
> > BTW assembler & UNIX has always been difficult
> >
>
> In what way?
Take for instance Opcodes. Ever try to figure out how to add "/U"
or "/S" or "/V", i'm sure i can find more strangeness if i were to try all
the opcodes!
Old pdp11/ATT unix assembler jumps/goto's were either a forward ref of
backward ref.
I cant tell if branch labels is gonna be defined as a local symbol or
global.
Register conventions ( in __asm__ u gotta know that $9 is s0 )
Yes, frontend & backend "C" linkages. I generally take a "something.c"
program with the same arglist an "C" compile with -S. THEN
u also observe in the resultant .s file various assembler directives
that does who knows what, and if u reserarch l( perservere ) ong enough u
will find them based on "dec unix"
Debugging - need i say more
A particular peeve is that the opcode isn;t always printed out with
an Alpha assembler opcode
Try matching register conventions with "cc -S", and gdb
> The calling interface is more painful
> from what I've seen. By splitting the args between
> regs and memory, one can make the code faster so
> it's a tradeoff in complexity for speed. Also, by
> inlining things inside C,
Did u mean __asm__ rather than inlineing ?
> you can avoid having to
> code your own interface. Also, asm for the specific
> machine has it's own quirks but no more so than
> other machines. Other than that, its just managing
> the stack.
Dont forget the FP ( no not floating point ),
I believe also GP
gdb stack traces
> What am I not seeing?
>
Let me also not forget that "please refer to the assembler docs" has always
accompanied by most man references. When I see that i also notice a lack of
complete assembler docs ( maybe i should say up-to-date assembler docs ).
THis is not just endemic of ALPHA/LINUX but of most unix's
^ permalink raw reply [flat|nested] 19+ messages in thread* Re: Alpha asm & Linux
1999-05-04 11:26 ` Uncle George
@ 1999-05-04 18:12 ` Wes Bauske
0 siblings, 0 replies; 19+ messages in thread
From: Wes Bauske @ 1999-05-04 18:12 UTC (permalink / raw)
To: axp-list
Uncle George wrote:
>
> Wes Bauske wrote:
>
>
> Take for instance Opcodes. Ever try to figure out how to add "/U"
> or "/S" or "/V", i'm sure i can find more strangeness if i were to try all
> the opcodes!
OK, that falls under the quirks of the given machine.
Looking at gcc output should show you how to do that.
Just set the appropriate flag "-mieee", and see how it
differs from a non-flagged run. In general, I have no
interest in the various trap modes since they hurt
performance and about the only reason I'd use asm is
to get better performance.
> Old pdp11/ATT unix assembler jumps/goto's were either a forward ref of
> backward ref.
> I cant tell if branch labels is gonna be defined as a local symbol or
> global.
I thought there was a specific declaration to make a symbol external.(.globl)
Otherwise it's local.
> Register conventions ( in __asm__ u gotta know that $9 is s0 )
Is there no way to make your own register names on Alphas?
I used to use things like "F4 equ 4" on MVS many moons ago
keep my eyeballs straight when using FP instructions.
> Yes, frontend & backend "C" linkages. I generally take a "something.c"
> program with the same arglist an "C" compile with -S. THEN
> u also observe in the resultant .s file various assembler directives
> that does who knows what, and if u reserarch l( perservere ) ong enough u
> will find them based on "dec unix"
So, Alpha Linux is a halfbreed, part GNU, and part DEC UNIX.
Need both doc sets.
> Debugging - need i say more
> A particular peeve is that the opcode isn;t always printed out with
> an Alpha assembler opcode
> Try matching register conventions with "cc -S", and gdb
>
Haven't written anything so large lately that I couldn't
just stare at it for a while and see what the problem
was. From looking at gcc asm output, I didn't see anything
particularly unusual, but then I could have missed it.
> > The calling interface is more painful
> > from what I've seen. By splitting the args between
> > regs and memory, one can make the code faster so
> > it's a tradeoff in complexity for speed. Also, by
>
> > inlining things inside C,
>
> Did u mean __asm__ rather than inlineing ?
Both.
>
> > you can avoid having to
> > code your own interface. Also, asm for the specific
> > machine has it's own quirks but no more so than
> > other machines. Other than that, its just managing
> > the stack.
>
> Dont forget the FP ( no not floating point ),
Frame pointer
> I believe also GP
Global pointer
> gdb stack traces
>
> > What am I not seeing?
> >
>
> Let me also not forget that "please refer to the assembler docs" has always
> accompanied by most man references. When I see that i also notice a lack of
> complete assembler docs ( maybe i should say up-to-date assembler docs ).
> THis is not just endemic of ALPHA/LINUX but of most unix's
>
In general, I agree finding asm docs is more difficult
on UNIX. Mostly due to the fact almost no application
programmers need them.
I grabbed copies off one of Digital's old sites for
their asm progammer's guide and the Architecture reference
and they've so far explained everything I needed to know.
Try:
http://www.partner.digital.com/www-swdev/pages/Home/TECH/documents/Digital_UNIX/V4.0/Digital_UNIX_Bookshelf.html
http://www.partner.digital.com/www-swdev/pages/Home/TECH/documents/alpha_cookbook/biblio.htm
Might be newer stuff out there but they show most stuff.
Wes
^ permalink raw reply [flat|nested] 19+ messages in thread
[parent not found: <gatgul@voicenet.com>]
* NCR SCSI woes - stupid owner tricks
[not found] <gatgul@voicenet.com>
@ 1997-01-20 3:17 ` Bryan W. Headley
1997-01-20 5:15 ` Richard Henderson
0 siblings, 1 reply; 19+ messages in thread
From: Bryan W. Headley @ 1997-01-20 3:17 UTC (permalink / raw)
[ Don't do this trick at home ]
With all of the talk about the more stable ncr5380 driver, I decide to dump the
ol' tested and runs (for me) 53c7,8xx drivers. Don't do this while switching
kernels! As I did, putting 2.1.21 on and installing the new driver.
What was interesting was the system would boot, get to mounting the root FS
read-only, then an exception rang out about the swapper.
After several re-configures (IO_MAPPED on, off, forced_syncs on, off) and
having the thing die at exactly the same spot, I was 1) thankful that I kept
2.1.20
on a boot floppy for easy restarts, and 2) beginning to wonder about the whole
deal. I reconfigured 2.1.21 for the 53c7,8 driver, and hey! it crashes at the
same place. (One less variable)
Right about then, I noticed that the new modutils kernel patches were not
applied. So on a lark, I applied them and recompiled. Presto! Working UDB on
2.1.21. It shouldn't be hard, it generally isn't hard, but the (b)leading edge
stuff does introduce variables at the damnedest of times.
(Well of course I compile some of the kernel as modules; gotta test out
modutils out) Still haven't compiled for the BSD driver... That's next.
--
Bryan W. Headley Home: bheadley@interaccess.com
211 East Pineview Drive Office: bwh@abnamro.com
Round Lake Park, IL 60073 Phone: 847 740-1446
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 19+ messages in thread* Re: NCR SCSI woes - stupid owner tricks
1997-01-20 3:17 ` NCR SCSI woes - stupid owner tricks Bryan W. Headley
@ 1997-01-20 5:15 ` Richard Henderson
0 siblings, 0 replies; 19+ messages in thread
From: Richard Henderson @ 1997-01-20 5:15 UTC (permalink / raw)
> Right about then, I noticed that the new modutils kernel patches were not
> applied. So on a lark, I applied them and recompiled. Presto! Working UDB on
> 2.1.21.
Ah, 2.1.21? Had nothing to do the modules but from a silly little
buglet in the newly streamlined exec'ing of init, which several
people have posted patches for, and which also happen to exist in
the module patches.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2002-03-07 21:50 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-07 2:10 The VX1 Shakes Redux "Thursday" AKA dr. john
2002-03-07 2:45 ` Uncle George
2002-03-07 6:14 ` Stephen Williams
2002-03-07 13:28 ` Uncle George
2002-03-07 13:53 ` Peter Petrakis
2002-03-07 20:31 ` Stephen Williams
2002-03-07 20:51 ` geerten kuiper
2002-03-07 21:01 ` Michael A. Foley
2002-03-07 21:45 ` Terry A. Bowling
-- strict thread matches above, loose matches on Subject: below --
2002-03-07 21:48 Benton, Marco
1999-05-03 13:14 Alpha asm & Linux Tenhave, Tim
1999-05-03 15:13 ` Uncle George
1999-05-03 17:12 ` Philip Blundell
1999-05-03 20:33 ` Uncle George
1999-05-03 17:55 ` Wes Bauske
1999-05-04 11:26 ` Uncle George
1999-05-04 18:12 ` Wes Bauske
[not found] <gatgul@voicenet.com>
1997-01-20 3:17 ` NCR SCSI woes - stupid owner tricks Bryan W. Headley
1997-01-20 5:15 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox