Subject: kern/33383: kernel hangup during SCSI disk probe
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <njoly@pasteur.fr>
List: netbsd-bugs
Date: 04/28/2006 09:00:01
>Number:         33383
>Category:       kern
>Synopsis:       kernel hangup during SCSI disk probe
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 28 09:00:01 +0000 2006
>Originator:     Nicolas Joly
>Release:        NetBSD 3.99.18
>Organization:
Institut Pasteur
>Environment:
System: NetBSD thanos.sis.pasteur.fr 3.99.18 NetBSD 3.99.18 (THANOS) #40: Thu Apr 27 21:09:27 CEST 2006 njoly@thanos.sis.pasteur.fr:/local/src/NetBSD/obj/alpha/sys/arch/alpha/compile/THANOS alpha
Architecture: alpha
Machine: alpha
>Description:
I updated my -current NetBSD/alpha PWS500au workstation, and noticed that
it does not boot anymore. The GENERIC kernel hangs while trying to probe
SCSI disks (the previous 3.99.16 kernel works fine).

It seems that sys/dev/scsipi/scsipi_base.c revision 1.135 introduced this
behaviour; reverting to r1.134 make the disk detection successful.

NetBSD 3.99.18 (GENERIC) #0: Thu Apr 27 19:16:49 CEST 2006
njoly@thanos.sis.pasteur.fr:/local/src/NetBSD/obj/alpha/sys/arch/alpha/compile/GENERIC
Digital Personal WorkStation 500au, 500MHz, s/n
8192 byte page size, 1 processor.
total memory = 640 MB
(1888 KB reserved for PROM, 638 MB used by NetBSD)
avail memory = 619 MB
[...]
isp0 at pci1 dev 4 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 550 irq 3
scsibus0 at isp0: 16 targets, 8 luns per target
vga0 at pci1 dev 10 function 0: Texas Instruments TVP4020 Permedia 2 (rev. 0x01)
[...]
scsibus0: waiting 2 seconds for devices to settle...
cd0 at atapibus0 drive 0: <CD-ROM CDU611, , 2.0a> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cypide1:0:0): using PIO mode 4
[...HANG...]

Here follow the disks messages when detected :

sd0 at scsibus0 target 0 lun 0: <DEC, RZ2CC-KB (C) DEC, DC2B> disk fixed
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd0: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <COMPAQ, BB01821AC3, 3B05> disk fixed
sd1: async, 8-bit transfers
sd1: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd1: sync (50.00ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing

>How-To-Repeat:
Try to boot an up to date -current kernel on a PWS500au machine
>Fix:
don't know