[2.6.9] headless SMP ultra2 has grave serial problem which lock up the box
Hi,
I've been given an Ultra 2 to develop PowerDNS on for use with UltraSparc processors but Linux is giving me some problems. The box is headless and has no display adapter at all.
While 2.4.27 works well, 2.6.9 will only boot for me if I specify 'smp=no nosmp' on the SILO command line, and even then the machine often blocks.
I can unblock it, when booted with 'smp=no nosmp', by sending a break and entering go. It does not block if there is no traffic over the serial port, so once booted and logged in with ssh things are fine.
When truly blocked, which so far only happens when booting in SMP mode, sending a break does not bring up the 'ok' prompt anymore. The nosmp locks appear to be temporary and fixable with the break.
When blocked, the entire machine is dead - not just the serial device!
I've tried compiling with both gcc 3.3 and 3.4 (debian unstable, I think), both exhibit the same problem. I've compiled with both 'OpenBoot PROM serial' on or off and with Zilog serial on and off, oddly neither seem to help.
Anything I can do to help, let me know!
Thanks.
Signature · 2 lines
http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
Re: [2.6.9] headless SMP ultra2 has grave serial problem which lock
Is your system using the su driver by any chance? - I have a patch just posted to the list
that works around an irq problem - no doubt triggered by SMP because it ooopses
in synchronize_irq(). With my patch I still experienced one non-reproducible lockup but
by and large I can run agettys on both serial ports and login and out several times which is
the extent of my testing.
Richard Chan
Quoted 30 lines · bert hubert
Hi,
I've been given an Ultra 2 to develop PowerDNS on for use with UltraSparc processors but Linux is giving me some problems. The box is headless and has no display adapter at all.
While 2.4.27 works well, 2.6.9 will only boot for me if I specify 'smp=no nosmp' on the SILO command line, and even then the machine often blocks.
I can unblock it, when booted with 'smp=no nosmp', by sending a break and entering go. It does not block if there is no traffic over the serial port, so once booted and logged in with ssh things are fine.
When truly blocked, which so far only happens when booting in SMP mode, sending a break does not bring up the 'ok' prompt anymore. The nosmp locks appear to be temporary and fixable with the break.
When blocked, the entire machine is dead - not just the serial device!
I've tried compiling with both gcc 3.3 and 3.4 (debian unstable, I think), both exhibit the same problem. I've compiled with both 'OpenBoot PROM serial' on or off and with Zilog serial on and off, oddly neither seem to help.
Anything I can do to help, let me know!
Thanks.
Quoted 2 lines · Richard Chan
Is your system using the su driver by any chance? - I have a patch just posted to the list
Sadly, no, this is an SBUS system:
zs2 at 0x000001fff1000004 (irq = 12,7e8) is a SunZilog zs3 at 0x000001fff1000000 (irq = 12,7e8) is a SunZilog ttyS0 at MMIO 0x0 (irq = 7467840) is a SunZilog ttyS1 at MMIO 0x0 (irq = 7467840) is a SunZilog
However, this looks a bit like the problem you reported. Might the same bug exist here?
Thanks!
Signature · 2 lines
http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO