Subject: hypersparc smp tailspin
To: None <>
From: Christopher SEKIYA <>
List: port-sparc
Date: 02/05/2003 22:21:46
With -current as of an hour ago:

NetBSD 1.6N (RELIANT) #1: Wed Feb  5 22:02:48 JST 2003
total memory = 127 MB
avail memory = 115 MB
using 896 buffers containing 6628 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@0,0
mainbus0 (root): SUNW,SPARCstation-10
cpu0 at mainbus0: mid 8: RT620/625 @ 150 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 10: RT620/625 @ 150 MHz, on-chip FPU
cpu1: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 72703a8d
timer0 at obio0 slot 0 offset 0x300000: delay constant 73
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
zstty2 at zs1 channel 0
zstty3 at zs1 channel 1
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64MB
sbus0 at iommu0: clock = 20 MHz
dma0 at sbus0 slot 15 offset 0x400000: dma rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: dma rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:18:93:85
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): dma rev 2
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
nell0 at sbus0 slot 3 offset 0x0 level 4 (ipl 7) level 7 (ipl 13): rev 1
pcmcia0 at nell0 socket 0
wi0 at pcmcia0 function 0: MELCO, WLI-PCM-L11, Version 01.01
wi0: 802.11 address 00:02:2d:55:9c:34
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.36.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
pcmcia1 at nell0 socket 1
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x1
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST336918N, 0002> disk fixed
sd0: 35242 MB, 56332 cyl, 2 head, 640 sec, 512 bytes/sect x 72176567 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs
cpu0: booting secondary processors: cpu1

... and it sits there forever.  Little light is blinking, so it's alive and
waiting for something to complete.  ddb trace looks like:

db{0}> trace
cpu_Debugger(0x0, 0x49, 0x49, 0x0, 0xf00e3000, 0x100) at zs_abort+0x24
zs_abort(0x0, 0x100, 0xf020b2c0, 0xef0, 0xf020d48c, 0x100) at zstty_stint+0x88
zstty_stint(0xf0523e70, 0x0, 0xf016b120, 0x778, 0xf020b48c, 0xf020d400) at zsc_i
zsc_intr_hard(0x8, 0xf04f0eb0, 0xfe020000, 0xf0002000, 0xffff, 0x0) at zshard+0x
zshard(0x0, 0xf01689c8, 0xd00, 0x1e8000e7, 0xf587a2e8, 0xb00) at sparc_interrupt
sparc_interrupt44c(0x0, 0x0, 0xf01a2334, 0x0, 0xffffffff, 0xf022d6ac) at idle_en

... with 0xf01a2334 == __ffstab and 0xf022d6ac == sched_qs plus 0x10.

Is this expected behaviour? :)

-- Chris
	GPG key FEB9DE7F (91AF 4534 4529 4BCC 31A5  938E 023E EEFB FEB9 DE7F)