From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <19980205015758Z92175-1786+3@mea.tmt.tele.fi> Date: Thu, 5 Feb 1998 01:57:54 +0000 (/etc/localtime) From: Matti Aarnio Subject: Re: Matrox Millennium II, Miata, MILO In-Reply-To: <199802042044.OAA25019@atheist.tamu.edu> > ...and several other things starting with `M'. > > This is a long and boring problem report. If you're subscribed[1] > to axp-list for the witty repartee, you'll be wanting to move along now. > > The system: A Personal Workstation 600au with 320 MB of physical > memory, a Qlogics ISP SCSI controller, two 9 GB disks, an 8MB Matrox > Millennium II, a 21" DEC monitor, and a VT520 attached as a serial console. > I've been using 2.0.30, 2.1.82 and 2.1.84 kernels. Is there any difference in between which kernel you have, and how the system behaves ? The Qlogics ISP controller is hopefully supported model (1020, opposed to newer so far unsupported 1040.. or then somebody has injected new driver within last 6 months since I looked at it the last time.) All in all, these problems sound like what Jay Estabrook described a couple weeks back when we were debugging Pyxis chipset specific driver. (Fix-kludge-tip at end) Anyway, having Magic SysRq key traps enabled might tell, if the system is truly wedged, or just apparently -- and with those keys you might also find where it is hanging.. > Problem the First: [SRM boot report skipped] Pardon me, which SRM version supports Millenium-II card ? > When the machine is booted using AlphaBIOS and MILO, one of > two things happens: > > -With MILO 2.0.30 (either compiled on the machine in question > or taken from the RH 5.0 media), the machine hangs after > a boot command is entered, immediately following the banner > message from the qlogics driver The Qlogic driver is suspect -- but so is Pyxis one too. > -With other MILOS (a 2.0.31 compiled on the machine in question, > and the miata MILO image in the alphabios directory > on ftp.digital.com ), messages of the form: > > +[hex number] [hex number] [hex number] > > ...are echoed to the serial console (a VT520) apparently > indefinitely (or at least essentially indefinitely---I left > it doing its thing, went to lunch and it was still spewing away > when I got back). > > When it is starting (before the MILO> prompt), MILO generally (although > not consistantly) will produce a short string of a dozen or so of > the above hex addresses, say it is trying to use TGA, and then > complain that it can't. All of this occurs on the serial console; > the virtual console is idle after MILO starts, although all of the > SRM/AlphaBIOS configuration and suchlike has no problem with the > virtual console. This DEFINITELY sounds like Pyxis driver specific problem. > Here's the `generic' chipset error: > > _XSERVTransSocketOpen: socket() failed for local > _XSERVTransSocketOpenCOTSServer: Unable to open socket for local > _XSERVTransOpen: transport open failed for local/meshuga:0 > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for local > _X11TransSocketOpen: socket() failed for local > _X11TransSocketOpenCOTSClient: Unable to open socket for local > _X11TransOpen: transport open failed for local/meshuga:0 You do have IPv4 (TCP/IP) compiled into the kernel ? (If you don't, this is very likely result.) Also have SysV-IPC and AF_UNIX networking. Hmm.. No, perhaps this is also result of Pyxis problem. ... > And that's the first problem. > > Problem the Second: > > I also have a PowerStorm card that runs quite nicely under OSF, which > is on one of the two disks in the machine. Given that it is not > supported under XFree86, I would like to be able to boot the machine > with both it and the Millennium II in the box, and select between > the two cards with a switchbox. > When I've tried, however, I observe one of (you got it) two > behaviours: > > -Nothing. The machine doesn't boot, and nothing shows up > with either video card selected (on the switchbox) > -The console on the line connected to the PowerStorm reports > that an unsupported card is detected in slot [number]. > With the Matrox in the same slot and the PowerStorm removed, > the machine boots normally[2]. > > So, is this doable? Ah, then you don't have any new magic SRM that I don't have :-) SRM console supports only Millenium-I, NOT -II ! > That's it for now. I eagerly await the 2-line solution to > this 200-line problem. You may begin working...now. Use only a > number 2 pencil. Be specific. Use Pythagorean Thorem. > > Yours etc., > > SubGenius Ok, the tip to get the Pyxis to behave: File: arch/alpha/kernel/pyxis.c All instances of mb() calls might need duplicateing. Or rather, places that now have only one successive mb() should have two, and places with two successive mb()s should get three -- or four. I suspect this tip, but it might be some timing issue as well which on fast systems need more synchronization cycles to idle the CPU in waiting for the system bus. Per definition the Memory Barrier flushes all of the queued writes from write-coalesc buffers to the bus before it continues with the instruction flow. For some reason a 433 MHz machine will already need at least two successive mb()s within the Pyxis driver hardware control routines. Why ? No real idea, but apparently a must. (The Alpha architechture manual does not indicate need for any magic of this type.) Speculation: Processors with multiple parallel execution pipelines may issue operations in partial asynchrony so that (for example) E0 is in mb(), but E1 is free to issue read from memory address -- which may surprisingly get loaded BEFORE the write operation gets flushed from the write-coalesc buffers. Under such conditions things can work rather surprisingly. (These memory access ordering issues are discussed in the Alpha architecture manual, though it is not quite easy 300+ pages to read.) I presume your processor is 21164(A) (aka EV5) which executes integer operations in two parallel pipelines. Upcoming EV6 (21264) executes 4 parallel pipelines, and there this speculation would mean need for 4 mb()s to block all integer pipelines. (Or even more, if it is about need to idle the busses for few dozen nanoseconds before system can yield responses.. 600 MHz cpu runs at 1.67 nanosecond clock cycle, which is rather demanding.) /Matti Aarnio -- 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