Subject: Re: ahd driver bug?
To: None <current-users@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: current-users
Date: 12/17/2003 10:36:02
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I use that same driver successfully under 1.6ZG. There was a fix to the pcix
bus code, around the beginning of October, that fixed quite a bit.

On Wednesday 17 December 2003 10:27 am, you wrote:
> Hi,
>
> I'm not sure whether this is related with interrupt routing issues or bug
> in -current ahd driver.I get a lot of scsi dumps when compiling kernel or
> usin tar.
> This card is 2 channel Adaptec HostRAID (unfortunately under linux/win
> only).
>
>
> dmesg: ahd1: PCI error Interrupt (full dump included in ahd1.dmesg)
>
> NetBSD 1.6ZE (GENERIC) #0: Fri Nov 14 00:56:49 UTC 2003
>
> autobuild@tgm.netbsd.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/ar
>ch/i386/compile/GENERIC total memory = 511 MB
> avail memory = 466 MB
> using 6144 buffers containing 26292 KB of memory
> BIOS32 rev. 0 found at 0xf9900
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel Pentium 4 (686-class), 2666.34 MHz, id 0xf29
> cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
> cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
> cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
> cpu0: L2 cache 512 KB 64b/line 8-way
> cpu0: ITLB 4K/4M: 128 entries
> cpu0: DTLB 4K/4M: 64 entries
> cpu0: 16 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: Intel 82845 Host (rev. 0x11)
> agp0 at pchb0: aperture at 0xe3000000, size 0x400000
> ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x11)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev. 0x05)
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled
> ahd0 at pci2 dev 1 function 0
> ahd0: interrupting at irq 10
> ahd0: aic7901A: Ultra320 Wide Channel A, SCSI Id=7, PCI 33 or 66Mhz, 512
> SCBs scsibus0 at ahd0: 16 targets, 8 luns per target
> ahd1 at pci2 dev 1 function 1
> ahd1: interrupting at irq 11
> ahd1: aic7901A: Ultra320 Wide Channel B, SCSI Id=7, PCI 33 or 66Mhz, 512
> SCBs scsibus1 at ahd1: 16 targets, 8 luns per target
> fxp0 at pci2 dev 6 function 0: i82550 Ethernet, rev 13
> fxp0: interrupting at irq 5
> fxp0: Ethernet address 00:0d:61:2a:93:ae
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> fxp1 at pci2 dev 7 function 0: i82550 Ethernet, rev 13
> fxp1: interrupting at irq 10
> fxp1: Ethernet address 00:0d:61:2a:93:af
> inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
> inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> vga1 at pci2 dev 8 function 0: ATI Technologies Rage XL (rev. 0x27)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> pcib0 at pci0 dev 31 function 0
> pcib0: Intel 82801BA LPC Interface Bridge (rev. 0x05)
> piixide0 at pci0 dev 31 function 1
> piixide0: Intel 82801BA IDE Controller (ICH2) (rev. 0x05)
> piixide0: bus-master DMA support present
> piixide0: primary channel wired to compatibility mode
> piixide0: primary channel interrupting at irq 14
> atabus0 at piixide0 channel 0
> piixide0: secondary channel wired to compatibility mode
> piixide0: secondary channel interrupting at irq 15
> atabus1 at piixide0 channel 1
> uhci0 at pci0 dev 31 function 2: Intel 82801BA USB Controller (rev. 0x05)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> Intel 82801BA SMBus Controller (SMBus serial bus, revision 0x05) at pci0
> dev 31 function 3 not configured
> uhci1 at pci0 dev 31 function 4: Intel 82801BA USB Controller (rev. 0x05)
> uhci1: interrupting at irq 9
> usb1 at uhci1: USB revision 1.0
> uhub1 at usb1
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> isa0 at pcib0
> 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
> lpt0 at isa0 port 0x378-0x37b irq 7
> 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
> 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 2 seconds for devices to settle...
> scsibus1: waiting 2 seconds for devices to settle...
> atapibus0 at atabus0: 2 targets
> cd0 at atapibus0 drive 0: <_NEC    CD-ROM  CD-3002A, , C000> cdrom
> removable cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
> data
> transfers)
> st0 at scsibus0 target 3 lun 0: <HP, C7438A, V303> tape removable
> st0: drive empty
> st0: sync (50.00ns offset 32), 16-bit (40.000MB/s) transfers
> sd0 at scsibus1 target 0 lun 0: <MAXTOR, ATLAS10K4_36WLS, DFV0> disk fixed
> sd0: 35074 MB, 49070 cyl, 2 head, 731 sec, 512 bytes/sect x 71833096
> sectors sd0: sync (6.25ns offset 127), 16-bit (320.000MB/s) transfers,
> tagged queueing sd1 at scsibus1 target 1 lun 0: <MAXTOR, ATLAS10K4_36WLS,
> DFV0> disk fixed sd1: 35074 MB, 49070 cyl, 2 head, 731 sec, 512 bytes/sect
> x 71833096 sectors sd1: sync (6.25ns offset 127), 16-bit (320.000MB/s)
> transfers, tagged queueing sd2 at scsibus1 target 2 lun 0: <MAXTOR,
> ATLAS10K4_36SCA, DFL0> disk fixed sd2: 35074 MB, 49070 cyl, 2 head, 731
> sec, 512 bytes/sect x 71833096 sectors sd2: sync (6.25ns offset 127),
> 16-bit (320.000MB/s) transfers, tagged queueing 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)
>
>
>
>
>
> ----------------------------------------------------------------
> Powered By "NetBSD" http://www.netbsd.org

- --

John R. Shannon
john@johnrshannon.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iEYEARECAAYFAj/glAIACgkQOKbCxya4HYs0mgCgsl52aeUwijfIggAZKOkKPFSE
2N4AoIE6+r0/g0M/t3LmW2/G3o86gzLN
=+02B
-----END PGP SIGNATURE-----