Subject: AS1200 isp or siop hang
To: None <port-alpha@netbsd.org>
From: David Hopper <dhop@nwlink.com>
List: port-alpha
Date: 05/05/2006 11:47:02
Hi all, it appears the latest kernel from CVS is hanging during SCSI  
enumeration on my AS1200.  The hang occurs immediately after finding  
cd0 on siop, so I'm not sure if it's failing to read some SCSI-ready  
messages from isp, or if it's crashing on siop...  I get no console  
debug messages regardless of the state of DDB.  Dmesg is below; the  
hang is after the last line-- the SCSI disks never post.

NetBSD 3.99.18 (TERRAN.new) #0: Fri May  5 11:25:16 PDT 2006
         bard@bsd.gesi.local:/raid/src/sys/arch/alpha/compile/ 
obj.alpha/TERRAN.old
AlphaServer 1200 5/533 4MB, 531MHz, s/n NI80901AEW
8192 byte page size, 2 processors.
total memory = 1024 MB
(2072 KB reserved for PROM, 1021 MB used by NetBSD)
avail memory = 1002 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: processor off-line; multiprocessor support not present in kernel
mcbus0 at mainbus0: 4MB BCache
mcmem0 at mcbus0 mid 1: Memory
mcpcia0 at mcbus0 mid 5: PCI Bridge
mcpcia0: Horse Revision 3, Left Handed Saddle Revision 0, CAP Revision 2
pci0 at mcpcia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 1 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at kn300 irq 36
scsibus0 at siop0: 8 targets, 8 luns per target
mcpcia1 at mcbus0 mid 4: PCI Bridge
mcpcia1: Horse Revision 3, Left Handed Saddle Revision 0, CAP Revision 2
pci1 at mcpcia1 bus 0
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pceb0 at pci1 dev 1 function 0: Intel 82375EB/SB PCI-EISA Bridge  
(rev. 0x15)
vga0 at pci1 dev 2 function 0: S3 Trio32/64 (rev. 0x54)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
isp0 at pci1 dev 3 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at kn300 irq 12
scsibus1 at isp0: 16 targets, 8 luns per target
tlp0 at pci1 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at kn300 irq 16
tlp0: Ethernet address 00:40:05:41:a4:0e
lxtphy0 at tlp0 phy 0: LXT970 10/100 media interface, rev. 0
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eisa0 at pceb0
isa0 at pceb0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
stray kn300 irq 12
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 5 lun 0: <DEC, RRD46   (C) DEC, 1337> cdrom  
removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
[...hang...]

My old 3.99.3 kernel from 4/2005 works fine.  My dmesg there  
completes with the following:

[...]
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 5 lun 0: <DEC, RRD46   (C) DEC, 1337> cdrom  
removable
cd0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
stray kn300 irq 12
sd0 at scsibus1 target 0 lun 0: <DEC, RZ1CB-CA (C) DEC, LYJ0> disk fixed
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080  
sectors
stray kn300 irq 12
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged  
queueing
stray kn300 irq 12
stray kn300 irq 12
sd1 at scsibus1 target 2 lun 0: <DEC, RZ1CB-CA (C) DEC, LYJ0> disk fixed
sd1: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080  
sectors
stray kn300 irq 12
sd1: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged  
queueing
stray kn300 irq 12
stray kn300 irq 12
sd2 at scsibus1 target 4 lun 0: <DEC, RZ1CB-CA (C) DEC, LYJ0> disk fixed
sd2: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080  
sectors
stray kn300 irq 12
sd2: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged  
queueing
stray kn300 irq 12
root on sd0a dumps on sd0b
sd1: no disk label
raid0: Component /dev/sd1c being configured at col: 0
          Column: 0 Num Columns: 2
          Version: 1 Serial Number: 12151999 Mod Counter: 859008243
          Clean: Yes Status: 0
raid0: Component /dev/sd2c being configured at col: 1
          Column: 1 Num Columns: 2
          Version: 1 Serial Number: 12151999 Mod Counter: 859008243
          Clean: Yes Status: 0
raid0: RAID Level 0
raid0: Components: /dev/sd1c /dev/sd2c
raid0: Total Sectors: 16760000 (8183 MB)
stray kn300 irq 16
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

Thanks,
Dave