Subject: Re: isp driver issues
To: None <current-users@NetBSD.ORG>
From: Thomas T. Thai <tom@minnesota.com>
List: current-users
Date: 11/13/2004 13:27:39
<quote who="Andreas Wrede">

> The above problem only occurs with a MP kernel - a uniprocessor kernel
> probes the isp(4) attached devices properly.

I built a uni processor kernel and it too detected the ISP and loaded the
sd0 device just fine. No luck under SMP kernel with the exception of
scsictl command to find it.

I'm also still puzzled as to where the:

  isp1 at pci3 dev 1 function 0: QLogic Dual Channel Ultra-3 Wide SCSI HBA

came from. I only have the Perc 3/DC, Qlogic 2200F and the onboard

  Adaptec aic7899 Ultra160 SCSI adapter

with two channels.

---
NetBSD 2.99.10 (ICE) #0: Sat Nov 13 12:14:54 CST 2004
        root@:/usr/src/sys/arch/i386/compile/ICE
total memory = 2047 MB
avail memory = 1998 MB
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III Xeon (686-class), 699.35 MHz, id 0x6a1
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 2 MB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 64 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ServerWorks CNB20-HE PCI bridge (rev. 0x21)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CNB20-HE PCI bridge (rev. 0x01)
pchb2 at pci0 dev 0 function 2
pchb2: ServerWorks CNB30-LE PCI bridge (rev. 0x00)
pci1 at pchb2 bus 3
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb3 at pci0 dev 0 function 3
pchb3: ServerWorks CNB30-LE PCI bridge (rev. 0x00)
pci2 at pchb3 bus 12
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci2 dev 12 function 0: QLogic FC-AL and Fabric HBA
isp0: interrupting at irq 10
scsibus0 at isp0: 256 targets, 8 luns per target
ppb0 at pci2 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge
(rev. 0x05)
pci3 at ppb0 bus 13
pci3: i/o space, memory space enabled
ppb1 at pci3 dev 0 function 0: Digital Equipment DC21154 PCI-PCI Bridge
(rev. 0x05)
pci4 at ppb1 bus 14
pci4: i/o space, memory space enabled
amr0 at pci4 dev 0 function 0: AMI RAID <PERC 3/DC>
amr0: interrupting at irq 11
amr0: firmware 161O, BIOS 3.17, 64MB RAM
ld0 at amr0 unit 0: RAID 5, optimal
ld0: 69876 MB, 8907 cyl, 255 head, 63 sec, 512 bytes/sect x 143106048 sectors
isp1 at pci3 dev 1 function 0: QLogic Dual Channel Ultra-3 Wide SCSI HBA
isp1: interrupting at irq 5
isp1: interrupt (ISR=4 SEMA=0) when not ready
isp1: Polled Mailbox Command (0x8) Timeout
isp1: interrupt (ISR=4 SEMA=0) when not ready
isp1: interrupt (ISR=4 SEMA=0) when not ready
isp1: interrupt (ISR=4 SEMA=0) when not ready
isp1: Polled Mailbox Command (0x32) Timeout
vga1 at pci0 dev 4 function 0: ATI Technologies 3D Rage IIC (rev. 0x7a)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
ahc0 at pci0 dev 5 function 0: Adaptec aic7899 Ultra160 SCSI adapter
ahc0: interrupting at irq 11
ahc0: aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus1 at ahc0: 16 targets, 8 luns per target
ahc1 at pci0 dev 5 function 1: Adaptec aic7899 Ultra160 SCSI adapter
ahc1: interrupting at irq 10
ahc1: aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
scsibus2 at ahc1: 16 targets, 8 luns per target
fxp0 at pci0 dev 8 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 5
fxp0: Enabling receiver lock-up workaround
fxp0: Ethernet address 00:b0:d0:68:62:fb
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 15 function 0
pcib0: ServerWorks OSB4 southbridge (rev. 0x50)
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at irq 14
atabus0 at rccide0 channel 0
rccide0: secondary channel configured to compatibility mode
rccide0: secondary channel interrupting at irq 15
atabus1 at rccide0 channel 1
ohci0 at pci0 dev 15 function 2: ServerWorks OSB4/CSB5 USB Host Controller
(rev. 0x04)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: ServerWorks OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b 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
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 30 seconds for devices to settle...
scsibus1: waiting 30 seconds for devices to settle...
scsibus2: waiting 30 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <TEAC CD-ROM CD-224E, , 3.7C> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
(Ultra/33) (using
DMA data transfers)
sd0 at scsibus0 target 1 lun 0: <DGC, RAID 5, 0511> disk fixed
sd0: 263 GB, 59957 cyl, 8 head, 1152 sec, 512 bytes/sect x 552563712 sectors
boot device: ld0
root on ld0a dumps on ld0b
root file system type: ffs
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)

-- 
Thomas