Subject: SCSI probs on spork 10
To: None <port-sparc@netbsd.org>
From: NetBSD list <netbsd@mrynet.com>
List: port-sparc
Date: 06/19/2001 16:53:20
Hi all,
cvs versions beyond 1.5V of the NetBSD kernel hang on my Sparc 10.
The last working kernel I have is:
NetBSD dudley 1.5V NetBSD 1.5V (MRYSPARC) #3: Tue May 15 14:58:39 CDT 2001 root@dudley:/usr/src/sys/arch/sparc/compile/MRYSPARC sparc
Since sometime after that date, disk activity will hang (I'm guessing)
the SCSI bus. A typical way I can cause this to happen is by cvs'ing
the source tree. In about 5 seconds, the machine stops all disk access.
No errors are produced. Sessions continue to echo characters, but no
commands are executed. It's just off in la-la land (much as I often
aspire to be).
Anyone else having such an issue? I've cleared out /usr/src many
times in the last month since then and started over, but the problem
persists here. The kernel I'm running is GENERIC modified for 128 users.
Please help guide me in tracking this down if possible. Meanwhile,
the 1.5V is working fine with the latest cvs userland. Help with
the kernel debugger would be nice, as I'm not familiar with debugging
NetBSD kernels.
Thanks and stuff,
-scott
In case it's helpful, what follows is the bootup log:
Jun 18 16:07:21 dudley /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
Jun 18 16:07:21 dudley /netbsd: The NetBSD Foundation, Inc. All rights reserved.
Jun 18 16:07:21 dudley /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jun 18 16:07:21 dudley /netbsd: The Regents of the University of California. All rights reserved.
Jun 18 16:07:21 dudley /netbsd:
Jun 18 16:07:21 dudley /netbsd: NetBSD 1.5W (MRYSPARC) #0: Mon Jun 18 01:48:26 CDT 2001
Jun 18 16:07:21 dudley /netbsd: root@dudley:/usr/src/sys/arch/sparc/compile/MRYSPARC
Jun 18 16:07:21 dudley /netbsd: total memory = 319 MB
Jun 18 16:07:21 dudley /netbsd: avail memory = 292 MB
Jun 18 16:07:21 dudley /netbsd: using 896 buffers containing 16448 KB of memory
Jun 18 16:07:21 dudley /netbsd: bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@2,0
Jun 18 16:07:21 dudley /netbsd: mainbus0 (root): SUNW,SPARCstation-10
Jun 18 16:07:21 dudley /netbsd: cpu0 at mainbus0: TMS390Z50 v1 @ 36 MHz, on-chip FPU
Jun 18 16:07:21 dudley /netbsd: cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l): cache enabled
Jun 18 16:07:21 dudley /netbsd: obio0 at mainbus0
Jun 18 16:07:21 dudley /netbsd: clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 72608524
Jun 18 16:07:21 dudley /netbsd: timer0 at obio0 slot 0 offset 0x300000 delay constant 16
Jun 18 16:07:21 dudley /netbsd: zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
Jun 18 16:07:21 dudley /netbsd: zstty0 at zs0 channel 0
Jun 18 16:07:21 dudley /netbsd: zstty1 at zs0 channel 1
Jun 18 16:07:21 dudley /netbsd: zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
Jun 18 16:07:21 dudley /netbsd: kbd0 at zs1 channel 0 (console input)
Jun 18 16:07:21 dudley /netbsd: ms0 at zs1 channel 1
Jun 18 16:07:21 dudley /netbsd: fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
Jun 18 16:07:21 dudley /netbsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Jun 18 16:07:21 dudley /netbsd: auxreg0 at obio0 slot 0 offset 0x800000
Jun 18 16:07:21 dudley /netbsd: power0 at obio0 slot 0 offset 0xa01000 level 2
Jun 18 16:07:21 dudley /netbsd: iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64MB
Jun 18 16:07:21 dudley /netbsd: sbus0 at iommu0: clock = 18 MHz
Jun 18 16:07:21 dudley /netbsd: dma0 at sbus0 slot 15 offset 0x400000: dma rev 2
Jun 18 16:07:22 dudley /netbsd: esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
Jun 18 16:07:22 dudley /netbsd: scsibus0 at esp0: 8 targets, 8 luns per target
Jun 18 16:07:22 dudley /netbsd: ledma0 at sbus0 slot 15 offset 0x400010: dma rev 2
Jun 18 16:07:22 dudley /netbsd: le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:12:63:97
Jun 18 16:07:22 dudley /netbsd: le0: 8 receive buffers, 2 transmit buffers
Jun 18 16:07:22 dudley /netbsd: bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): dma rev 2
Jun 18 16:07:22 dudley /netbsd: SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
Jun 18 16:07:22 dudley /netbsd: cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-1672, 1152 x 900, rev 8 (console)
Jun 18 16:07:22 dudley /netbsd: cgsix0: attached to /dev/fb
Jun 18 16:07:22 dudley /netbsd: eccmemctl0 at mainbus0: version 0x0/0x1
Jun 18 16:07:22 dudley /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Jun 18 16:07:22 dudley /netbsd: sd0 at scsibus0 target 2 lun 0: <SEAGATE, SX410800N, 7116> SCSI2 0/direct fixed
Jun 18 16:07:22 dudley /netbsd: sd0: 8347 MB, 4926 cyl, 26 head, 133 sec, 512 bytes/sect x 17096357 sectors
Jun 18 16:07:22 dudley /netbsd: sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
Jun 18 16:07:22 dudley /netbsd: sd1 at scsibus0 target 3 lun 0: <SEAGATE, ST11200N SUN1.05, 8358> SCSI2 0/direct fixed
Jun 18 16:07:22 dudley /netbsd: sd1: 1005 MB, 1872 cyl, 15 head, 73 sec, 512 bytes/sect x 2059140 sectors
Jun 18 16:07:22 dudley /netbsd: sd1: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
Jun 18 16:07:22 dudley /netbsd: root on sd0a dumps on sd0b
Jun 18 16:07:22 dudley /netbsd: root file system type: ffs
And a working boot log from the 1.5V kernel:
Jun 18 21:47:02 dudley /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
Jun 18 21:47:02 dudley /netbsd: The NetBSD Foundation, Inc. All rights reserved.
Jun 18 21:47:02 dudley /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jun 18 21:47:02 dudley /netbsd: The Regents of the University of California. All rights reserved.
Jun 18 21:47:02 dudley /netbsd:
Jun 18 21:47:02 dudley /netbsd: NetBSD 1.5V (MRYSPARC) #3: Tue May 15 14:58:39 CDT 2001
Jun 18 21:47:02 dudley /netbsd: root@dudley:/usr/src/sys/arch/sparc/compile/MRYSPARC
Jun 18 21:47:02 dudley /netbsd: total memory = 319 MB
Jun 18 21:47:03 dudley /netbsd: avail memory = 292 MB
Jun 18 21:47:03 dudley /netbsd: using 896 buffers containing 16448 KB of memory
Jun 18 21:47:03 dudley /netbsd: bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@2,0
Jun 18 21:47:03 dudley /netbsd: mainbus0 (root): SUNW,SPARCstation-10
Jun 18 21:47:03 dudley /netbsd: cpu0 at mainbus0: TMS390Z50 v1 @ 36 MHz, on-chip FPU
Jun 18 21:47:03 dudley /netbsd: cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l): cache enabled
Jun 18 21:47:03 dudley /netbsd: obio0 at mainbus0
Jun 18 21:47:03 dudley /netbsd: clock0 at obio0 slot 0 offset 0x200000: mk48t08: hostid 72608524
Jun 18 21:47:03 dudley /netbsd: timer0 at obio0 slot 0 offset 0x300000 delay constant 16
Jun 18 21:47:03 dudley /netbsd: zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
Jun 18 21:47:03 dudley /netbsd: zstty0 at zs0 channel 0
Jun 18 21:47:03 dudley /netbsd: zstty1 at zs0 channel 1
Jun 18 21:47:03 dudley /netbsd: zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
Jun 18 21:47:03 dudley /netbsd: kbd0 at zs1 channel 0 (console input)
Jun 18 21:47:03 dudley /netbsd: ms0 at zs1 channel 1
Jun 18 21:47:03 dudley /netbsd: fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
Jun 18 21:47:03 dudley /netbsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Jun 18 21:47:03 dudley /netbsd: auxreg0 at obio0 slot 0 offset 0x800000
Jun 18 21:47:03 dudley /netbsd: power0 at obio0 slot 0 offset 0xa01000 level 2
Jun 18 21:47:03 dudley /netbsd: iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64MB
Jun 18 21:47:03 dudley /netbsd: sbus0 at iommu0: clock = 18 MHz
Jun 18 21:47:03 dudley /netbsd: dma0 at sbus0 slot 15 offset 0x400000: dma rev 2
Jun 18 21:47:03 dudley /netbsd: esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
Jun 18 21:47:04 dudley /netbsd: scsibus0 at esp0: 8 targets, 8 luns per target
Jun 18 21:47:04 dudley /netbsd: ledma0 at sbus0 slot 15 offset 0x400010: dma rev 2
Jun 18 21:47:04 dudley /netbsd: le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:12:63:97
Jun 18 21:47:04 dudley /netbsd: le0: 8 receive buffers, 2 transmit buffers
Jun 18 21:47:04 dudley /netbsd: bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): dma rev 2
Jun 18 21:47:04 dudley /netbsd: SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 level 9 not configured
Jun 18 21:47:04 dudley /netbsd: cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-1672, 1152 x 900, rev 8 (console)
Jun 18 21:47:04 dudley /netbsd: cgsix0: attached to /dev/fb
Jun 18 21:47:04 dudley /netbsd: eccmemctl0 at mainbus0: version 0x0/0x1
Jun 18 21:47:04 dudley /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Jun 18 21:47:04 dudley /netbsd: sd0 at scsibus0 target 2 lun 0: <SEAGATE, SX410800N, 7116> SCSI2 0/direct fixed
Jun 18 21:47:04 dudley /netbsd: sd0: 8347 MB, 4926 cyl, 26 head, 133 sec, 512 bytes/sect x 17096357 sectors
Jun 18 21:47:04 dudley /netbsd: sd0: Sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
Jun 18 21:47:04 dudley /netbsd: sd1 at scsibus0 target 3 lun 0: <SEAGATE, ST11200N SUN1.05, 8358> SCSI2 0/direct fixed
Jun 18 21:47:04 dudley /netbsd: sd1: 1005 MB, 1872 cyl, 15 head, 73 sec, 512 bytes/sect x 2059140 sectors
Jun 18 21:47:04 dudley /netbsd: sd1: Sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers
Jun 18 21:47:04 dudley /netbsd: root on sd0a dumps on sd0b
Jun 18 21:47:04 dudley /netbsd: root file system type: ffs