Subject: AIC7899-related problems in 1.5.2 & -current
To: None <current-users@netbsd.org>
From: Johnny Lam <jlam@jgrind.org>
List: netbsd-help
Date: 11/30/2001 05:15:05
Hi,

	I have a Dell PowerEdge 1550 on which I'm unable to install NetBSD
1.5.2.  The machine has two AIC-7899 SCSI adapters, and on the first is an
UltraWide SCSI backplane (SCSI ID 6) that connects to three SCSI drives
(SCSI IDs 1-3); the second adapter doesn't connect to anything.  During the
boot of the install kernel on the 1.5.2 installation CD (from the ISO image
from the NetBSD FTP server), the two SCSI adapters aren't attached properly.
I've included a copy of the dmesg from the 1.5.2 INSTALL kernel below.
Note the two ahc* lines that return with an error that looks like:

	ahc1 at pci3 dev 5 function 0: unable to map registers

The FreeBSD 4.4 installation CD and the MS Windows 2000 Server Installation
CD are both able to boot and attach the three drives.

	I've also included the dmesg from booting the installation floppies
from the 20011111-1.5Y i386 snapshot.  That, too has some odd lines
concerning the attaching of the three SCSI drives that look like:

	probe(ahc1:0:0:1): invalid return code from adapter: 3

Can anyone help with, or even just explain why I'm getting these errors?
I would really, really like to install NetBSD on this machine, as I've put
a lot of time into NetBSD, and I want to use it to simplify my life as an
admin.

	Thanks,

	-- Johnny Lam <jlam@jgrind.org>


The NetBSD 1.5.2 INSTALL kernel dmesg:
-------------------------------------
NetBSD 1.5.2 (INSTALL) #3: Sat Aug 18 23:52:07 CEST 2001
    he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/INSTALL
cpu0: Intel Pentium III (Coppermine) (686-class), 993.44 MHz
total memory = 511 MB
avail memory = 468 MB
using 6573 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1166 product 0x0008 (rev. 0x23)
pci1 at pchb0 bus 1
pci1: no spaces enabled!
pchb1 at pci0 dev 0 function 1
pchb1: vendor 0x1166 product 0x0008 (rev. 0x23)
pchb2 at pci0 dev 0 function 2
pchb2: vendor 0x1166 product 0x0008 (rev. 0x23)
pci2 at pchb2 bus 1
pci2: memory space enabled
pchb3 at pci0 dev 0 function 3
pchb3: vendor 0x1166 product 0x0008 (rev. 0x23)
pci3 at pchb3 bus 2
pci3: memory space enabled
ahc1 at pci3 dev 5 function 0: unable to map registers
ahc2 at pci3 dev 5 function 1: unable to map registers
fxp0 at pci0 dev 1 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:06:5b:19:f5:ef, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10BaseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, rev 8
fxp1 at pci0 dev 2 function 0: Intel i82557 Ethernet, rev 8
fxp1: interrupting at irq 10
fxp1: Ethernet address 00:06:5b:19:f5:f0, 10/100 Mb/s
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10BaseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, rev 8
vendor 0x1002 product 0x4752 (VGA display, revision 0x27) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 15 function 0
pcib0: vendor 0x1166 product 0x0200 (rev. 0x50)
pciide0 at pci0 dev 15 function 1: vendor 0x1166 product 0x0211 (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , q009> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
MPX0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 deive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask f3ed netmask ffed ttymask ffef
md0: internal 2048K image area
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs


The NetBSD-20011111-1.5Y INSTALL kernel dmesg:
---------------------------------------------
NetBSD 1.5Y (INSTALL) #0: Sat Nov 10 15:52:56 UTC 2001
    root@celeron:/usr/obj/local1/src/src/sys/arch/i386/compile/INSTALL
cpu0: Intel Pentium III (Coppermine) (686-class), 993.43 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX,FXSR,SSE>
cpu0: serial number 0000-0686-0001-6D61-0500-2A34
total memory = 511 MB
avail memory = 469 MB
using 6144 buffers containing 26292 KB of memory
BIOS32 rev. 0 found at 0xffe90
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x1166 product 0x0008 (rev. 0x23)
pci1 at pchb0 bus 1
pci1: no spaces enabled!
pchb1 at pci0 dev 0 function 1
pchb1: vendor 0x1166 product 0x0008 (rev. 0x01)
pchb2 at pci0 dev 0 function 2
pchb2: vendor 0x1166 product 0x0006 (rev. 0x01)
pci2 at pchb2 bus 1
pci2: i/o space, memory space enabled
pchb3 at pci0 dev 0 function 3
pchb3: vendor 0x1166 product 0x0006 (rev. 0x01)
pci3 at pchb3 bus 2
pci3: i/o space, memory space enabled
ahc1 at pci3 dev 5 function 0
ahc1: interrupting at irq 5
ahc1: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ahc2 at pci3 dev 5 function 1
ahc2: interrupting at irq 3
ahc2: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2: 16 targets, 8 luns per target
fxp0 at pci0 dev 1 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:06:5b:19:f5:ef
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci0 dev 2 function 0: i82559 Ethernet, rev 8
fxp1: interrupting at irq 10
fxp1: Ethernet address 00:06:5b:19:f5:f0
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vendor 0x1002 product 0x4752 (VGA display, revision 0x27) at pci0 dev 3 function 0 not configured
pcib0 at pci0 dev 15 function 0
pcib0: vendor 0x1166 product 0x0200 (rev. 0x50)
pciide0 at pci0 dev 15 function 1: vendor 0x1166 product 0x0211 (rev. 0x00)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CD-ROM SN-124, , q009> type 5 cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
pciide0: secondary channel configured to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
pc0 at isa0 port 0x60-0x6f irq 1: color
pc0: console
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask f3ed netmask ffed ttymask ffef
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318404LC, 0005> SCSI3 0/direct fixed
sd0: 17366 MB, 14384 cyl, 6 head, 412 sec, 512 bytes/sect x 35566478 sectors
probe(ahc1:0:0:1): invalid return code from adapter: 3
probe(ahc1:0:0:1): invalid return code from adapter: 3
sd0: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST318404LC, 0005> SCSI3 0/direct fixed
sd1: 17366 MB, 14384 cyl, 6 head, 412 sec, 512 bytes/sect x 35566478 sectors
probe(ahc1:0:1:1): invalid return code from adapter: 3
probe(ahc1:0:1:1): invalid return code from adapter: 3
sd1: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 2 lun 0: <SEAGATE, ST318404LC, 0005> SCSI3 0/direct fixed
sd2: 17366 MB, 14384 cyl, 6 head, 412 sec, 512 bytes/sect x 35566478 sectors
probe(ahc1:0:2:1): invalid return code from adapter: 3
probe(ahc1:0:2:1): invalid return code from adapter: 3
sd2: sync (25.0ns offset 63), 16-bit (80.000MB/s) transfers, tagged queueing
scsibus0 target 6 lun 0: <DELL, 1x3 U2W SCSI BP, 1.21> SCSI2 3/processor fixed not configured
scsibus1: waiting 2 seconds for devices to settle...
md0: internal 2048K image area
sd0: no disk label
sd1: no disk label
sd2: no disk label
boot device: fd0
root on md0a dumps on md0b
root file system type: ffs