Subject: Re: AIC7899-related problems in 1.5.2 & -current
To: Johnny Lam <>
From: Lista de NetBSD current <>
List: current-users
Date: 12/11/2001 18:52:34
On Wed, 5 Dec 2001, Johnny Lam wrote:
> On Fri, Nov 30, 2001 at 10:23:15AM -0600, Lista de NetBSD current wrote:
> > On Fri, 30 Nov 2001, Andy R wrote:
> > >
> > > Johnny, don't have much advice but I have a similar
> > > experience. We got some Dell worstations that in the
> > > end are laid out quite like a Poweredge. They have the
> > > AIC-7880 and AIC-7890 (I believe) adapters built in.
> >
> > I have the same problem but my server is Dell PowerEdge
> > model 4400 with two PentiumIII, 512 RAM, 7899 with two
> > 80 pin hard disks, a 7880 with cdrom. These chips are
> > built in mainboard.
> The problem seems to be fixed in -current.  Based on the hint by Manuel
> Bouyer, I've backported the fix to the 1.5.x release branch and submitted a
> pullup request for NetBSD 1.5.3.  In the meantime, I've attached the patch
> relative to 1.5.2 and the resulting dmesg for my Dell PowerEdge 1550.  Note
> that the dual AIC-7899 adapters both attach correctly now.

Thanks, Johnny... I have patched my sys/arch/i386/pci/pchb.c and
I compiled a new kernel but the result at boot time is not good
for me and the Dell4400. The machine starts from sd0a attached
to a SCSI adapter in a PCI slot, but it can't see the SCSI chips
built in mainboard.

If you have another idea about the solution, I will be happy
to test it... thanks again.

The following is the dmesg listing of the new kernel.


Heron Gallegos


NetBSD 1.5.2 (GENERIC) #0: Tue Dec 11 12:25:53 CST 2001
cpu0: Intel Pentium III (Coppermine) Xeon (686-class), 930.45 MHz
total memory = 511 MB
avail memory = 468 MB
using 6574 buffers containing 26296 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: Pequr Technology CNB20LE Host (rev. 0x06)
pchb1 at pci0 dev 0 function 1
pchb1: Pequr Technology CNB20LE Host (rev. 0x06)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled
fxp0 at pci0 dev 4 function 0: Intel i82557 Ethernet, rev 8
fxp0: interrupting at irq 14
fxp0: Ethernet address 00:b0:d0:78:ad:51, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vga1 at pci0 dev 6 function 0: ATI Technologies product 0x4759 (rev. 0x7a)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0
pcib0: Pequr Technology ROSB4 SouthBridge (rev. 0x50)
pchb2 at pci0 dev 17 function 0
pchb2: Pequr Technology CNB20LE Host (rev. 0x06)
pci2 at pchb2 bus 6
pci2: memory space enabled
ppb0 at pci2 dev 4 function 0: Intel product 0x0962 (rev. 0x02)
pci3 at ppb0 bus 7
pci3: memory space enabled
ahc1 at pci3 dev 4 function 0: unable to map registers
ahc2 at pci3 dev 4 function 1: unable to map registers
ahc3 at pci3 dev 6 function 0: unable to map registers
pchb3 at pci0 dev 17 function 1
pchb3: Pequr Technology CNB20LE Host (rev. 0x06)
pci4 at pchb3 bus 8
pci4: i/o space, memory space enabled
ahc4 at pci4 dev 4 function 0
ahc4: interrupting at irq 7
ahc4: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc4 channel 0: 16 targets, 8 luns per target
isa0 at pcib0
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
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
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask bffd netmask fffd ttymask ffff
scsibus0: waiting 2 seconds for devices to settle...
ahc4: target 1 using 16bit transfers
ahc4: target 1 synchronous at 20.0MHz, offset = 0x8
ahc4: target 1 using tagged queuing
sd0 at scsibus0 target 1 lun 0: <IBM, DDRS-39130D, DC1B> SCSI2 0/direct fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
boot device: sd0
root on sd0a dumps on sd0b
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)
wsmux1: connecting to wsdisplay0