Subject: kern/8902: NetBSD-1.4P can no longer use my ISP1040B SCSI controller
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.no>
List: netbsd-bugs
Date: 11/28/1999 06:39:46
>Number:         8902
>Category:       kern
>Synopsis:       NetBSD-1.4P can no longer use my ISP1040B SCSI controller
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 06:39:00 1999
>Last-Modified:
>Originator:     Jarle Greipsland
>Organization:
	
>Release:        1999-11-27
>Environment:
	
System: NetBSD  1.4P NetBSD 1.4P (HONEY) #11: Sat Nov 27 21:53:58 CET 1999     jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY alpha

>Description:

I recently upgraded (tried to) my AlphaPC 164 to NetBSD 1.4P.  NetBSD no
longer properly initializes one of my SCSI controllers, a Qlogic ISP
1040B.  As far as I understood the discussions on the mailing lists, even
if the kernel no longer contains any firmware, the controllers should work,
albeit possibly without some advanced features.  I'd hesitate to classify
detecting and attaching the controller as an advanced feature ...

NetBSD 1.4P would actually run for a while on the system after the upgrade
from -current from late October, but once I had power-cycled the system
(and presumably deleted any downloaded firmware on the controller) it would
no longer boot properly.

Below you'll find the dmesg output from the failed boot, and after that a
dmesg output from before the power-cycling.

[ preserving 282208 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4P (HONEY) #11: Sat Nov 27 21:53:58 CET 1999
    jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY
Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
total memory = 128 MB
(2472 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 113 MB
using 816 buffers containing 6528 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2 (pass 2)
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 5 function 0
isp0: interrupting at eb164 irq 2
isp0: Ultra Mode Capable
isp0: isp_mboxcmd timeout #3
isp0: isp_mboxcmd could not get command started
failed to set clockrate (0x34)
isp0: isp_mboxcmd could not get command started
could not get f/w started (0x8)
ncr0 at pci0 dev 7 function 0: ncr 53c860 fast20 scsi
ncr0: interrupting at eb164 irq 1
ncr0: minsync=12, maxsync=137, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus0 at ncr0: 8 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
tlp0 at pci0 dev 9 function 0: DECchip 21140 Ethernet, pass 1.2
tlp0: interrupting at eb164 irq 3
tlp0: DEC DE500-XA, Ethernet address 00:00:f8:30:94:81
tlp0: 10baseT, 100baseTX, 100baseTX-FDX, 10baseT-FDX
pciide0 at pci0 dev 11 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJNA-370910>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8693MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 targ 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd0(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd1 at scsibus0 targ 2 lun 0: <DEC, RZ29B    (C) DEC, 0009> SCSI2 0/direct fixed
sd1(ncr0:2:0): 10.0 MB/s (100 ns, offset 8)
sd1: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd2 at scsibus0 targ 4 lun 0: <DEC, RZ29B    (C) DEC, 0014> SCSI2 0/direct fixed
sd2(ncr0:4:0): 10.0 MB/s (100 ns, offset 8)
sd2: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
Kernelized RAIDframe activated
root on wd0a dumps on wd0b
root file system type: ffs


[ preserving 282208 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999
     The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

NetBSD 1.4P (HONEY) #11: Sat Nov 27 21:53:58 CET 1999
     jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY
Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
total memory = 256 MB
(2472 KB reserved for PROM, 253 MB used by NetBSD)
avail memory = 231 MB
using 1635 buffers containing 13080 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2 (pass 2)
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 5 function 0
isp0: interrupting at eb164 irq 2
isp0: Ultra Mode Capable
isp0: Board Revision 1040B, resident F/W Revision 7.65.0
isp0: Last F/W revision was 7.65.0
isp0: 124 max I/O commands supported
isp0: driver initiated bus reset of bus 0
scsibus0 at isp0: 16 targets, 8 luns per target
ncr0 at pci0 dev 7 function 0: ncr 53c860 fast20 scsi
ncr0: interrupting at eb164 irq 1
ncr0: minsync=12, maxsync=137, maxoffs=8, 16 dwords burst, normal dma fifo
ncr0: single-ended, open drain IRQ driver
ncr0: restart (scsi reset).
scsibus1 at ncr0: 8 targets, 8 luns per target
sio0 at pci0 dev 8 function 0: Intel 82378ZB System I/O (SIO) (rev. 0x43)
tlp0 at pci0 dev 9 function 0: DECchip 21140 Ethernet, pass 1.2
tlp0: interrupting at eb164 irq 3
tlp0: DEC DE500-XA, Ethernet address 00:00:f8:30:94:81
tlp0: 10baseT, 100baseTX, 100baseTX-FDX, 10baseT-FDX
pciide0 at pci0 dev 11 function 0: CMD Technology PCI0646
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJNA-370910>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 8693MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 17803440 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (disabled)
isa0 at sio0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pckbc0 at isa0 port 0x60-0x64
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
isp0: Bus 0 Target 0 Async Mode
sd0 at scsibus0 targ 0 lun 0: <IBM, DDRS-39130W, S97B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
scsibus1: waiting 2 seconds for devices to settle...
sd1 at scsibus1 targ 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd1(ncr0:0:0): 10.0 MB/s (100 ns, offset 8)
sd1: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd2 at scsibus1 targ 2 lun 0: <DEC, RZ29B    (C) DEC, 0009> SCSI2 0/direct fixed
sd2(ncr0:2:0): 10.0 MB/s (100 ns, offset 8)
sd2: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd3 at scsibus1 targ 4 lun 0: <DEC, RZ29B    (C) DEC, 0014> SCSI2 0/direct fixed
sd3(ncr0:4:0): 10.0 MB/s (100 ns, offset 8)
sd3: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
Kernelized RAIDframe activated
root on wd0a dumps on wd0b
root file system type: ffs

	
>How-To-Repeat:
	
>Fix:
	
>Audit-Trail:
>Unformatted: