Sun4D SMP now works OK, serial console broken - was Re: More Sun4d tests
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode.
Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines use sunzilog.c as the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?
Quoted 19 lines · C.Newport
Another interesting result -
Running 2.4.27 SMP on the SS1000E with only one system board fails in similar ways but much sooner. For example the serial console keyboard reading starts producing garbage almost immediately rather than after several minutes with 3 boards.I suspect a marginal timng issue of some kind.
The Sun4d hardware adds latency issues because arbitration has to go via the XDBus to the control board and back, rather than being local as on the single board Sun4M systems.
The local bus on a system board is therefore faster than that on (for example) the SS20 in order to reduce total latency with multiple boards.-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · C.Newport
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode. Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines usesunzilog.cas the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?
Unclear to me, but please do send whatever patches you used ASAP if it's fully successful with the frame buffer in place.
Thanks.
-- wli
Re: Sun4D SMP now works OK, serial console broken - was Re: More
In reply to C.NewportQuoted 9 lines · C.Newport
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode.
Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines use
sunzilog.cas the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?
I think early Ultras (Ultra2, for example) are Sun Zilog as well. I've not tried serial console on mine in a while though....
later,
chris
Quoted 6 lines · C.Newport
Quoted 6 lines
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode. Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines usesunzilog.cas the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?
Quoted 2 lines · Chris Ricker
I think early Ultras (Ultra2, for example) are Sun Zilog as well. I've not tried serial console on mine in a while though....
Yes, SunZilog appears to be stable on all my UltraSPARC machines. The bug is likely something specific to older revisions typically used in sun4d boxen or some such.
-- wli
Re: Sun4D SMP now works OK, serial console broken - was Re: More
In reply to C.NewportQuoted 8 lines · On Thu, 9 Sep 2004 10:19:35 -0700 William Lee Irwin III <[email protected]>…
Quoted 6 lines · C.Newport
Quoted 6 lines
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode. Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines usesunzilog.cas the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?
Quoted 7 lines
Quoted 2 lines · Chris Ricker
I think early Ultras (Ultra2, for example) are Sun Zilog as well. I've not tried serial console on mine in a while though....
Yes, SunZilog appears to be stable on all my UltraSPARC machines. The bug is likely something specific to older revisions typically used in sun4d boxen or some such.
Like the UltraSPARC Enterprise bigger systems using the SunZILOG's for serial, the XBUS/XDBUS on sun4d can defer the completion of writes to I/O registers.
Thus you should play around with enabling the__sparc_v9__ version of the ZS_WSYNC() macro
in drivers/sbus/char/zs.c for all Sparc builds.
Something like this:
=== drivers/sbus/char/zs.c 1.11 vs edited ==--- 1.11/drivers/sbus/char/zs.c 2002-03-30 07:45:50 -08:00
+++ edited/drivers/sbus/char/zs.c 2004-09-09 10:20:18 -07:00
@@ -71,13 +71,13 @@
#ifndef __sparc_v9__
#define ZSDELAY() udelay(5)
#define ZSDELAY_LONG() udelay(20)
-#define ZS_WSYNC(channel) do { } while(0)
#else
#define ZSDELAY()
#define ZSDELAY_LONG()
+#endif
+
#define ZS_WSYNC(__channel) \
sbus_readb(&((__channel)->control))
-#endif
struct sun_zslayout **zs_chips;
struct sun_zschannel **zs_channels;
Thanks, this seems to help, but the real problem is still there.
To make testing easier I am now using the kbd/screen as console and ttyS0 as a login terminal.
Symptoms on the serial terminal:
I can log in OK, and do a few simple things like ls, but as soon as I do something reasonably output intensive such as run top the output continues to be displayed but input is messed up.
q or ^C does not work, so I kill the top process from the console. now typing from serial (minicom session) gives garbage.
Another clue:
stty < /dev/ttyS0 from the console should give me some clues, but this hangs until I kill it with ^C.
Quoted 51 lines · David S. Miller
On Thu, 9 Sep 2004 10:19:35 -0700
Quoted 8 lines · William Lee Irwin III
Quoted 6 lines · C.Newport
Quoted 6 lines
My SS1000E seems to be stable with 2.4.27 after fitting a frame buffer and keyboard. It rebuilds a kernel OK in SMP mode. Serial console is still broken, there seems to be a problem with the sunzilog driver.
What other Sun machines usesunzilog.cas the serial console ?. Is this problem really a sun4d issue or is it generic to sunzilog ?Quoted 7 lines
Quoted 2 lines · Chris Ricker
I think early Ultras (Ultra2, for example) are Sun Zilog as well. I've not tried serial console on mine in a while though....
Yes, SunZilog appears to be stable on all my UltraSPARC machines. The bug is likely something specific to older revisions typically used in sun4d boxen or some such.
Like the UltraSPARC Enterprise bigger systems using the SunZILOG's for serial, the XBUS/XDBUS on sun4d can defer the completion of writes to I/O registers.
Thus you should play around with enabling the
__sparc_v9__version of theZS_WSYNC()macro
indrivers/sbus/char/zs.cfor all Sparc builds.Something like this:
===
drivers/sbus/char/zs.c1.11 vs edited ==> ---1.11/drivers/sbus/char/zs.c2002-03-30 07:45:50 -08:00
+++edited/drivers/sbus/char/zs.c2004-09-09 10:20:18 -07:00(quoted diff) +2
-3@@ -71,13 +71,13 @@ #ifndef __sparc_v9__ #define ZSDELAY() udelay(5) #define ZSDELAY_LONG() udelay(20) -#define ZS_WSYNC(channel) do { } while(0) #else #define ZSDELAY() #define ZSDELAY_LONG() +#endif + #define ZS_WSYNC(__channel) \ sbus_readb(&((__channel)->control)) -#endif struct sun_zslayout **zs_chips; struct sun_zschannel **zs_channels; -To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html