Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* SMP hang in 2.2.11 and 2.2.12 kernels
@ 1999-09-08  4:00 William J. Eaton
  0 siblings, 0 replies; only message in thread
From: William J. Eaton @ 1999-09-08  4:00 UTC (permalink / raw)


   I have seen a system hang on an Alpha system with the 2.2.11 and
2.2.12 kernels.  The problem is not present in the 2.2.10 kernel.
Network activity causes the system to simply freeze, becoming
unresponsive to pings or the serial-terminal console.  This particular
system does not have a keyboard or graphics display fitted, and uses
the SRM console set up to use a VT220 terminal on serial port 1.

   Some minimal debugging was done on the 2.2.12 kernel.
System:  Compaq DS20, single Alpha processor, all SCSI disks.
The hang is reliably provoked in a few minutes by sending network
traffic to it.  linuxbox == DS20, otherbox == SGI O2.
On otherbox, "tar cBf - / | rsh linuxbox 'cat - > /dev/null'".
The kernel was built with SMP enabled so that a second processor
might be added later.  System type is DP264, SCSI drivers AIC7XXX and
SYM53C8XX and network driver DE4X5 (generic DECchip) are included.

   After provoking the hang, pressing the reset button brings back
the SRM console prompt and gives the last PC.  Consulting the System.map
file shows the PC to be inside synchronize_irq, in
linux-2.2.12/arch/alpha/kernel/irq.c.  This is repeatable.
The above file was then edited and DEBUG_SYNCHRONIZE_IRQ set to 1,
a new kernel built, and the network traffic test repeated.
This produced the following console messages, and had the side-effect
of preventing the hang.

Sep  7 14:58:29 sirchuck kernel: 0:2/1 
Sep  7 14:58:29 sirchuck kernel:  
Sep  7 14:58:29 sirchuck kernel: synchronize_irq, CPU 0: fffffc00004252b0 
Sep  7 14:58:29 sirchuck kernel: irq:  1 [2(0x0000020000000000) 0(0x0000000000000000)] 
Sep  7 14:58:29 sirchuck kernel: bh:   1 [1 0] 

The address fffffc0000425b20 is de4x5_txur, part of the Ethernet driver.
The numbers on the first line are cpu#, local_irq_count[cpu#], and
global_irq_count[cpu#].  This looks like an IRQ handler got entered
twice or some memory walkover happened.

   A kernel built without SMP works, and the 2.2.10 kernel with SMP also
works.  A short test on an Intel platform failed to reproduce the problem,
so it may be Alpha-specific or driver-specific.  It has not been tested
on other Alpha systems.

   May the Kernel Deities be pleased with this humble burnt offering, and
bless us with a fix for 2.2.13!  :-)
--
William J. Eaton, System Administrator of the BCVL computing facility.
Email wje@bcm.tmc.edu     Location:  Baylor College of Medicine, room 213D
Phone (713) 798-8915, Fax (713) 798-8389  | If it looks like I know what I'm
http://colossus2.cvl.bcm.tmc.edu/~wje/    | doing, it's an optical illusion!



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-08  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-08  4:00 SMP hang in 2.2.11 and 2.2.12 kernels William J. Eaton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox