Adaptec 29320 woes
Dave Hayes
dave at jetcafe.org
Tue Feb 10 18:36:39 PST 2004
Attached is a dmesg and info from a machine we are trying to get
working under 4.9p1. The motherboard is a Super Micro P4DPA-G2 with
twin Adaptec 29320s on it. It appears the 2nd controller is having
problems. I'm told the chipset is Intel 5701 chipset, but I did not
look myself.
We can get the first controller "working" no problem, though no
extended testing has yet been done with disk reads/writes.
Can anyone shed some light on this?
Thanks in advance.
------
Dave Hayes - Consultant - Altadena CA, USA - dave at jetcafe.org
>>> The opinions expressed above are entirely my own <<<
"He who angers you conquers you."
--Elizabeth Kenny
Here's the relevant revision dates from /usr/src/sys/dev/aic7xxx:
# egrep FreeBSD: *
ahc_eisa.c: * $FreeBSD: src/sys/dev/aic7xxx/ahc_eisa.c,v 1.15.2.11 2003/06/10
03:26:07 gibbs Exp $
ahc_pci.c: * $FreeBSD: src/sys/dev/aic7xxx/ahc_pci.c,v 1.29.2.14 2003/06/10
03:26:07 gibbs Exp $
ahd_pci.c: * $FreeBSD: src/sys/dev/aic7xxx/ahd_pci.c,v 1.2.2.5 2003/06/10
03:26:07 gibbs Exp $
aic7770.c: * $FreeBSD: src/sys/dev/aic7xxx/aic7770.c,v 1.1.2.9 2003/06/10
03:26:07 gibbs Exp $
aic79xx.c: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.c,v 1.3.2.7 2003/06/28
04:50:31 gibbs Exp $
aic79xx.h: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.h,v 1.3.2.7 2003/06/28
04:50:31 gibbs Exp $
aic79xx.reg: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.reg,v 1.2.2.6 2003/06/10
03:26:07 gibbs Exp $
aic79xx.seq: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx.seq,v 1.2.2.6 2003/06/28
04:50:31 gibbs Exp $
aic79xx_inline.h: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_inline.h,v 1.3.2.6
2003/06/28 04:50:31 gibbs Exp $
aic79xx_osm.c: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_osm.c,v 1.3.2.4
2003/06/10 03:26:07 gibbs Exp $
aic79xx_osm.h: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_osm.h,v 1.4.2.3
2003/06/10 03:26:07 gibbs Exp $
aic79xx_pci.c: * $FreeBSD: src/sys/dev/aic7xxx/aic79xx_pci.c,v 1.3.2.6
2003/09/26 15:24:13 scottl Exp $
aic7xxx.c: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.c,v 1.41.2.27 2003/06/10
03:26:08 gibbs Exp $
aic7xxx.h: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.h,v 1.16.2.16 2003/06/10
03:26:08 gibbs Exp $
aic7xxx.reg: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.reg,v 1.20.2.14
2003/06/10 03:26:08 gibbs Exp $
aic7xxx.seq: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx.seq,v 1.94.2.19
2003/06/10 03:26:08 gibbs Exp $
aic7xxx_93cx6.c: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_93cx6.c,v 1.8.2.6
2002/08/31 07:25:53 gibbs Exp $
aic7xxx_93cx6.h: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_93cx6.h,v 1.7.2.4
2002/08/31 07:25:53 gibbs Exp $
aic7xxx_inline.h: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_inline.h,v 1.2.2.14
2003/06/10 03:26:09 gibbs Exp $
aic7xxx_osm.c: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_osm.c,v 1.27.2.6
2003/06/10 03:26:09 gibbs Exp $
aic7xxx_osm.h: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_osm.h,v 1.14.2.6
2003/06/10 03:26:09 gibbs Exp $
aic7xxx_pci.c: * $FreeBSD: src/sys/dev/aic7xxx/aic7xxx_pci.c,v 1.2.2.18
2003/09/26 15:24:14 scottl Exp $
Feb 10 14:59:18 /kernel: Copyright (c) 1992-2003 The FreeBSD Project.
Feb 10 14:59:18 /kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
Feb 10 14:59:18 /kernel: The Regents of the University of California. All
rights reserved.
Feb 10 14:59:18 /kernel: FreeBSD 4.9-RELEASE-p1 #0: Mon Feb 2 00:46:22 PST
2004
Feb 10 14:59:18 /kernel: unixwiz at cdbuilder:/usr/src/sys/compile/DTE
Feb 10 14:59:18 /kernel: Timecounter "i8254" frequency 1193182 Hz
Feb 10 14:59:18 /kernel: CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.74-MHz
686-class CPU)
Feb 10 14:59:18 /kernel: Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
Feb 10 14:59:18 /kernel: Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX
8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HT
T,TM,PBE>
Feb 10 14:59:18 /kernel: Hyperthreading: 2 logical CPUs
Feb 10 14:59:18 /kernel: real memory = 1073217536 (1048064K bytes)
Feb 10 14:59:18 /kernel: avail memory = 1038848000 (1014500K bytes)
Feb 10 14:59:18 /kernel: Preloaded elf kernel "kernel" at 0xc0560000.
Feb 10 14:59:18 /kernel: Warning: Pentium 4 CPU: PSE disabled
Feb 10 14:59:18 /kernel: Pentium Pro MTRR support enabled
Feb 10 14:59:18 /kernel: md0: Malloc disk
Feb 10 14:59:18 /kernel: Using $PIR table, 29 entries at 0xc00fddf0
Feb 10 14:59:18 /kernel: npx0: <math processor> on motherboard
Feb 10 14:59:18 /kernel: npx0: INT 16 interface
Feb 10 14:59:18 /kernel: pcib0: <Host to PCI bridge> on motherboard
Feb 10 14:59:18 /kernel: pci0: <PCI bus> on pcib0
Feb 10 14:59:18 /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2541) at
0.1
Feb 10 14:59:18 /kernel: pcib1: <PCI to PCI bridge (vendor=8086 device=2543)>
at device 2.0 on pci0
Feb 10 14:59:18 /kernel: pci1: <PCI bus> on pcib1
Feb 10 14:59:18 /kernel: pci1: <unknown card> (vendor=0x8086, dev=0x1461) at
28.0
Feb 10 14:59:18 /kernel: pcib2: <PCI to PCI bridge (vendor=8086 device=1460)>
at device 29.0 on pci1
Feb 10 14:59:18 /kernel: pci2: <PCI bus> on pcib2
Feb 10 14:59:18 /kernel: pci1: <unknown card> (vendor=0x8086, dev=0x1461) at
30.0
Feb 10 14:59:18 /kernel: pcib3: <PCI to PCI bridge (vendor=8086 device=1460)>
at device 31.0 on pci1
Feb 10 14:59:18 /kernel: pci3: <PCI bus> on pcib3
Feb 10 14:59:18 /kernel: em0: <Intel(R) PRO/1000 Network Connection, Version
- 1.7.16> port 0x3000-0x303f mem 0xfc200000-0xfc21ffff irq 11 at device 2.0 on
pci3
Feb 10 14:59:18 /kernel: em0: Speed:N/A Duplex:N/A
Feb 10 14:59:18 /kernel: em1: <Intel(R) PRO/1000 Network Connection, Version
- 1.7.16> port 0x3040-0x307f mem 0xfc220000-0xfc23ffff irq 11 at device 2.1 on
pci3
Feb 10 14:59:18 /kernel: em1: Speed:N/A Duplex:N/A
Feb 10 14:59:18 /kernel: pcib4: <PCI to PCI bridge (vendor=8086 device=2545)>
at device 3.0 on pci0
Feb 10 14:59:18 /kernel: pci4: <PCI bus> on pcib4
Feb 10 14:59:18 /kernel: pci4: <unknown card> (vendor=0x8086, dev=0x1461) at
28.0
Feb 10 14:59:18 /kernel: pcib5: <PCI to PCI bridge (vendor=8086 device=1460)>
at device 29.0 on pci4
Feb 10 14:59:18 /kernel: pci5: <PCI bus> on pcib5
Feb 10 14:59:18 /kernel: pci4: <unknown card> (vendor=0x8086, dev=0x1461) at
30.0
Feb 10 14:59:18 /kernel: pcib6: <PCI to PCI bridge (vendor=8086 device=1460)>
at device 31.0 on pci4
Feb 10 14:59:18 /kernel: pci6: <PCI bus> on pcib6
Feb 10 14:59:18 /kernel: ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port
0x4000-0x40ff,0x4400-0x44ff mem 0xfc400000-0xfc401fff irq 11 at device 2.0 on
pci6
Feb 10 14:59:18 /kernel: aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
Feb 10 14:59:18 /kernel: ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port
0x4800-0x48ff,0x4c00-0x4cff mem 0xfc402000-0xfc403fff irq 11 at device 2.1 on
pci6
Feb 10 14:59:18 /kernel: aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X
67-100Mhz, 512 SCBs
Feb 10 14:59:18 /kernel: uhci0: <Intel 82801CA/CAM (ICH3) USB controller
USB-A> port 0x2000-0x201f irq 11 at device 29.0 on pci0
Feb 10 14:59:18 /kernel: usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A>
on uhci0
Feb 10 14:59:18 /kernel: usb0: USB revision 1.0
Feb 10 14:59:18 /kernel: uhub0: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Feb 10 14:59:18 /kernel: uhub0: 2 ports with 2 removable, self powered
Feb 10 14:59:18 /kernel: uhci1: <Intel 82801CA/CAM (ICH3) USB controller
USB-B> port 0x2020-0x203f irq 10 at device 29.1 on pci0
Feb 10 14:59:18 /kernel: usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B>
on uhci1
Feb 10 14:59:18 /kernel: usb1: USB revision 1.0
Feb 10 14:59:18 /kernel: uhub1: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Feb 10 14:59:18 /kernel: uhub1: 2 ports with 2 removable, self powered
Feb 10 14:59:18 /kernel: uhci2: <Intel 82801CA/CAM (ICH3) USB controller
USB-C> port 0x2040-0x205f irq 5 at device 29.2 on pci0
Feb 10 14:59:18 /kernel: usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C>
on uhci2
Feb 10 14:59:18 /kernel: usb2: USB revision 1.0
Feb 10 14:59:18 /kernel: uhub2: Intel UHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Feb 10 14:59:18 /kernel: uhub2: 2 ports with 2 removable, self powered
Feb 10 14:59:18 /kernel: pcib7: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge>
at device 30.0 on pci0
Feb 10 14:59:18 /kernel: pci7: <PCI bus> on pcib7
Feb 10 14:59:18 /kernel: pci7: <ATI Mach64-GR graphics accelerator> at 1.0
irq 11
Feb 10 14:59:18 /kernel: isab0: <PCI to ISA bridge (vendor=8086 device=2480)>
at device 31.0 on pci0
Feb 10 14:59:18 /kernel: isa0: <ISA bus> on isab0
Feb 10 14:59:18 /kernel: atapci0: <Intel ICH3 ATA100 controller> port
0x2060-0x206f,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at device
31.1 on pci0
Feb 10 14:59:18 /kernel: ata0: at 0x1f0 irq 14 on atapci0
Feb 10 14:59:18 /kernel: ata1: at 0x170 irq 15 on atapci0
Feb 10 14:59:18 /kernel: pci0: <unknown card> (vendor=0x8086, dev=0x2483) at
31.3 irq 0
Feb 10 14:59:18 /kernel: eisa0: <EISA bus> on motherboard
Feb 10 14:59:18 /kernel: eisa0: unknown card @@@0000 (0x00000000) at slot 4
Feb 10 14:59:18 /kernel: orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xc8000-0xc8fff,0xdc000-0xdffff,0xe0000-0xe3fff on isa0
Feb 10 14:59:18 /kernel: pmtimer0 on isa0
Feb 10 14:59:18 /kernel: fdc0: <NEC 72065B or clone> at port
0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
Feb 10 14:59:18 /kernel: atkbdc0: <Keyboard controller (i8042)> at port
0x60,0x64 on isa0
Feb 10 14:59:18 /kernel: atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
Feb 10 14:59:18 /kernel: kbd0 at atkbd0
Feb 10 14:59:18 /kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Feb 10 14:59:18 /kernel: psm0: model IntelliMouse, device ID 3
Feb 10 14:59:18 /kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
Feb 10 14:59:18 /kernel: sc0: <System console> at flags 0x100 on isa0
Feb 10 14:59:18 /kernel: sc0: VGA <16 virtual consoles, flags=0x300>
Feb 10 14:59:18 /kernel: sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
Feb 10 14:59:18 /kernel: sio0: type 16550A
Feb 10 14:59:18 /kernel: sio1 at port 0x2f8-0x2ff irq 3 on isa0
Feb 10 14:59:18 /kernel: sio1: type 16550A
Feb 10 14:59:18 /kernel: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on
isa0
Feb 10 14:59:18 /kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
COMPATIBLE mode
Feb 10 14:59:18 /kernel: ppc0: FIFO with 16/16/9 bytes threshold
Feb 10 14:59:18 /kernel: plip0: <PLIP network interface> on ppbus0
Feb 10 14:59:18 /kernel: lpt0: <Printer> on ppbus0
Feb 10 14:59:18 /kernel: lpt0: Interrupt-driven port
Feb 10 14:59:18 /kernel: ppi0: <Parallel I/O> on ppbus0
Feb 10 14:59:18 /kernel: ahd1: PCI error Interrupt
Feb 10 14:59:18 /kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins
<<<<<<<<<<<<<<<<<
Feb 10 14:59:18 /kernel: ahd1: Dumping Card State at program address 0x71
Mode 0x22
Feb 10 14:59:18 /kernel: Card was paused
Feb 10 14:59:18 /kernel: HS_MAILBOX[0x0] INTCTL[0x0] SEQINTSTAT[0x0]
SAVED_MODE[0x0]
Feb 10 14:59:18 /kernel: DFFSTAT[0x30]:(CURRFIFO_0|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x0]:(P_DATAOUT)
Feb 10 14:59:18 /kernel: SCSIPHASE[0x0] SCSIBUS[0x0]
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE)
Feb 10 14:59:18 /kernel: SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI)
Feb 10 14:59:18 /kernel: SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0]
SEQ_FLAGS[0x0]
Feb 10 14:59:18 /kernel: SEQ_FLAGS2[0x0] SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE)
Feb 10 14:59:18 /kernel: SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO)
Feb 10 14:59:18 /kernel: LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0]
LQOSTAT0[0x0]
Feb 10 14:59:18 /kernel: LQOSTAT1[0x0] LQOSTAT2[0x0]
Feb 10 14:59:18 /kernel:
Feb 10 14:59:18 /kernel: SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff
CURRSCB 0x0 NEXTSCB 0x0
Feb 10 14:59:18 /kernel: qinstart = 0 qinfifonext = 0
Feb 10 14:59:18 /kernel: QINFIFO:
Feb 10 14:59:18 /kernel: WAITING_TID_QUEUES:
Feb 10 14:59:18 /kernel: Pending list:
Feb 10 14:59:18 /kernel: Total 0
Feb 10 14:59:18 /kernel: Kernel Free SCB list: 15 14 13 12 11 10 9 8 7 6 5 4
3 2 1 0
Feb 10 14:59:18 /kernel: Sequencer Complete DMA-inprog list:
Feb 10 14:59:18 /kernel: Sequencer Complete list:
Feb 10 14:59:18 /kernel: Sequencer DMA-Up and Complete list:
Feb 10 14:59:18 /kernel:
Feb 10 14:59:18 /kernel: ahd1: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
Feb 10 14:59:18 /kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENC
FG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
Feb 10 14:59:18 /kernel: SEQINTSRC[0x0] DFCNTRL[0x0]
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
Feb 10 14:59:18 /kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0]
DFFSXFRCTL[0x0]
Feb 10 14:59:18 /kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR
= 0x00, SHCNT = 0x0
Feb 10 14:59:18 /kernel: HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
Feb 10 14:59:18 /kernel: ahd1: FIFO1 Free, LONGJMP == 0x80ff, SCB 0x0
Feb 10 14:59:18 /kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENC
FG4ISTAT|ENCFG4DATA|ENSAVEPTRS)
Feb 10 14:59:18 /kernel: SEQINTSRC[0x0] DFCNTRL[0x0]
DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
Feb 10 14:59:18 /kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0]
DFFSXFRCTL[0x0]
Feb 10 14:59:19 /kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR
= 0x00, SHCNT = 0x0
Feb 10 14:59:19 /kernel: HADDR = 0x00, HCNT = 0x0
CCSGCTL[0x10]:(SG_CACHE_AVAIL)
Feb 10 14:59:19 /kernel: LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
Feb 10 14:59:19 /kernel: ahd1: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE =
0x42
Feb 10 14:59:19 /kernel: ahd1: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0
Feb 10 14:59:19 /kernel:
Feb 10 14:59:19 /kernel: SIMODE0[0x6c]:(ENOVERRUN|ENIOERR|ENSELDI|ENSELDO)
Feb 10 14:59:19 /kernel: CCSCBCTL[0x0]
Feb 10 14:59:19 /kernel: ahd1: REG0 == 0x1, SINDEX = 0x22, DINDEX = 0x0
Feb 10 14:59:19 /kernel: ahd1: SCBPTR == 0x0, SCB_NEXT == 0xff00, SCB_NEXT2
== 0x0
Feb 10 14:59:19 /kernel: CDB 0 0 0 0 0 0
Feb 10 14:59:19 /kernel: STACK: 0x15 0x8 0x7 0x6 0x5 0x4 0x3 0x29
Feb 10 14:59:19 /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>
>>>
Feb 10 14:59:19 /kernel: ahd1: Signaled Target Abort
Feb 10 14:59:19 /kernel: acd0: CDROM <CDU5211> at ata1-master UDMA33
Feb 10 14:59:19 /kernel: Waiting 15 seconds for SCSI devices to settle
Feb 10 14:59:19 /kernel: Mounting root from cd9660:acd0
Feb 10 14:59:19 /kernel: da0 at ahd0 bus 0 target 0 lun 0
Feb 10 14:59:19 /kernel: da0: <IBM IC35L009UWD210-0 S57D> Fixed Direct Access
SCSI-3 device
Feb 10 14:59:19 /kernel: da0: 160.000MB/s transfers (80.000MHz, offset 63,
16bit), Tagged Queueing Enabled
Feb 10 14:59:19 /kernel: da0: 8750MB (17921835 512 byte sectors: 64H 32S/T
8750C)
More information about the freebsd-scsi
mailing list