ahd driver & PCI-X (64bit) Adaptec 39320D Ultra320 SCSI adapter

Sander Smeenk ssm+fbsd-scsi at freshdot.net
Fri Nov 28 09:35:53 PST 2003


Quoting Scott Long (scottl at freebsd.org):
> >>| da0 at ahd0 bus 0 target 2 lun 0
> >Oh um, the disks are at 0:2:0, 0:4:0, 0:8:0 and 0:10:0 on the bus.
> >The SCSI adapter itself is at 0:6:0.
> What version of FreeBSD is this?  Please send a full dmesg.

Sorry. That's vital information, I should know beter ;)

It's FreeBSD 4.9-RELEASE, 4.8-RELEASE has the same behaviour on this
card. The dmesg is as follows:

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003
    root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.72-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf25  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 2146959360 (2096640K bytes)
avail memory = 2085761024 (2036876K bytes)
Preloaded elf kernel "kernel" at 0xc053f000.
Warning: Pentium 4 CPU: PSE disabled
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 20 entries at 0xc00fde80
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x8086, dev=0x2541) at 0.1
pcib1: <PCI to PCI bridge (vendor=8086 device=2543)> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x8086, dev=0x1461) at 28.0
pcib2: <PCI to PCI bridge (vendor=8086 device=1460)> at device 29.0 on pci1
pci2: <PCI bus> on pcib2
pci1: <unknown card> (vendor=0x8086, dev=0x1461) at 30.0
pcib3: <PCI to PCI bridge (vendor=8086 device=1460)> at device 31.0 on pci1
pci3: <PCI bus> on pcib3
ahd0: <Adaptec 39320D Ultra320 SCSI adapter> port 0x7000-0x70ff,0x7400-0x74ff mem 0xfc200000-0xfc201fff irq 10 at device 1.0 on pci3
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1: <Adaptec 39320D Ultra320 SCSI adapter> port 0x7800-0x78ff,0x7c00-0x7cff mem 0xfc202000-0xfc203fff irq 10 at device 1.1 on pci3
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pci0: <unknown card> (vendor=0x8086, dev=0x2544) at 2.1
pcib4: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> on pcib4
pci4: <ATI Mach64-GR graphics accelerator> at 3.0 irq 11
fxp0: <Intel 82550 Pro/100 Ethernet> port 0x8400-0x843f mem 0xfc300000-0xfc31ffff,0xfc341000-0xfc341fff irq 11 at device 4.0 on pci4
fxp0: Ethernet address 00:02:b3:d8:c4:0e
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> port 0x8440-0x847f mem 0xfc320000-0xfc33ffff irq 10 at device 5.0 on pci4
em0:  Speed:N/A  Duplex:N/A
isab0: <PCI to ISA bridge (vendor=8086 device=2480)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 0x6c60-0x6c6f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x2483) at 31.3 irq 0
eisa0: <EISA bus> on motherboard
eisa0: unknown card @@@0000 (0x00000000) at slot 7
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe3000-0xe3fff on isa0
pmtimer0 on isa0
fdc0: ready for input in output
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port not found.
ahd1: PCI error Interrupt
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd1: Dumping Card State at program address 0x2c Mode 0x22
Card was paused
HS_MAILBOX[0x0] INTCTL[0x0] SEQINTSTAT[0x0] SAVED_MODE[0x0] 
DFFSTAT[0x30]:(CURRFIFO_0|FIFO0FREE|FIFO1FREE) SCSISIGI[0x0]:(P_DATAOUT) 
SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) 
SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) 
SEQCTL0[0x10]:(FASTMODE) SEQINTCTL[0x0] SEQ_FLAGS[0x0] 
SEQ_FLAGS2[0x0] SSTAT0[0x0] SSTAT1[0x8]:(BUSFREE) 
SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) 
LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] 
LQOSTAT1[0x0] LQOSTAT2[0x0] 

SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0xffff CURRSCB 0x0 NEXTSCB 0x0
qinstart = 0 qinfifonext = 0
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
Total 0
Kernel Free SCB list: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
Sequencer Complete DMA-inprog list: 
Sequencer Complete list: 
Sequencer DMA-Up and Complete list: 

ahd1: FIFO0 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) 
ahd1: FIFO1 Free, LONGJMP == 0x80ff, SCB 0x0
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) 
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) 
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) 
LQIN: 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 
ahd1: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd1: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x0

SIMODE0[0x6c]:(ENOVERRUN|ENIOERR|ENSELDI|ENSELDO) 
CCSCBCTL[0x0] 
ahd1: REG0 == 0x3533, SINDEX = 0x22, DINDEX = 0x0
ahd1: SCBPTR == 0x0, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0
CDB 0 0 0 0 0 0
STACK: 0x15 0x8 0x7 0x6 0x5 0x4 0x3 0x29
>>>>>>>>>>>>>>>>>
ahd1: Signaled Target Abort
ad0: 194481MB <Maxtor 6Y200P0> [395136/16/63] at ata0-master UDMA100
acd0: CDROM <LTN526S> at ata0-slave PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s1a
da0 at ahd0 bus 0 target 2 lun 0
da0: <MAXTOR ATLAS10K4_36WLS DFV0> Fixed Direct Access SCSI-3 device 
da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
da1 at ahd0 bus 0 target 4 lun 0
da1: <MAXTOR ATLAS10K4_36WLS DFV0> Fixed Direct Access SCSI-3 device 
da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
da2 at ahd0 bus 0 target 8 lun 0
da2: <MAXTOR ATLAS10K4_36WLS DFV0> Fixed Direct Access SCSI-3 device 
da2: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da2: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
da3 at ahd0 bus 0 target 10 lun 0
da3: <MAXTOR ATLAS10K4_36WLS DFV0> Fixed Direct Access SCSI-3 device 
da3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da3: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
vinum: /dev is mounted read-only, not rebuilding /dev/vinum
swapon: 
/dev/ad0s1b
: 
Device not configured
Automatic boot in progress...
/dev/ad0s1a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: 
clean, 1014151 free 
(863 frags, 126661 blocks, 0.1% fragmentation)
/dev/vinum/usr: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/vinum/usr: 
clean, 11413419 free 
(2819 frags, 1426325 blocks, 0.0% fragmentation)
/dev/vinum/var: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/vinum/var: 
clean, 24376115 free 
(123 frags, 3046999 blocks, 0.0% fragmentation)
/dev/ad0s1e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: 
clean, 258029 free 
(21 frags, 32251 blocks, 0.0% fragmentation)
/dev/vinum/varweb: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/vinum/varweb: 
clean, 26733052 free 
(5140 frags, 3340989 blocks, 0.0% fragmentation)
/dev/ad0s1g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1g: 
clean, 38221667 free 
(11 frags, 4777707 blocks, 0.0% fragmentation)
/dev/ad0s1h: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1h: 
clean, 45115049 free 
(17 frags, 5639379 blocks, 0.0% fragmentation)
/dev/ad0s1f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: 
clean, 12903285 free 
(13 frags, 1612909 blocks, 0.0% fragmentation)
Doing initial network setup:
 hostname
.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet6 fe80::202:b3ff:fed8:c40e%fxp0 prefixlen 64 scopeid 0x1 
	inet xxx.xxx.xx.xxx netmask 0xffffff00 broadcast xxx.xxx.xx.xxx
	ether 00:02:b3:d8:c4:0e
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
	inet 127.0.0.1 netmask 0xff000000 
Additional routing options:
 TCP keepalive=YES
.
Routing daemons:
.
Additional daemons:
 syslogd
Nov 28 15:44:19 rood /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
.
Doing additional network setup:
.
Starting final network daemons:
.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting standard daemons:
 inetd
 cron
 sshd
 sendmail
 sendmail-clientmqueue
.
Initial rc.i386 initialization:
.
Configuring syscons:
 blanktime
.
Additional ABI support:
 linux
.
Local package initialization:
.
Additional TCP options:
.

Fri Nov 28 15:44:21 CET 2003

Thanks,
Sander.

-- 
| It is easier to get forgiveness than permission.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D


More information about the freebsd-scsi mailing list