5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot

Leroy van Logchem leroy.vanlogchem at wldelft.nl
Thu Mar 17 00:33:12 PST 2005


---- Sorry for the previous linewrapped question ----


Hello,

Our fileserver with a raid cabinet attached reboots about every two weeks. What could be causing this?

OS Version: FreeBSD 5.3-RELEASE-p5
Server brand: Supermicro 6018-P8
Server purpose: Hosting files using Samba 3 and NFS with 400 clients.
SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single
U160 device to the HBA.

Boot messages after crash:
--------------------------
Copyright (c) 1992-2004 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 5.3-RELEASE-p5 #1: Wed Feb  2 11:48:23 CET 2005
root at testfiler.wldelft.nl:/usr/obj/usr/src/sys/GENERIC
MPTable: <  Kings Canyon>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.70-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
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  = 1073217536 (1023 MB)
avail memory = 1043804160 (995 MB)
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib2: <MPTable PCI-PCI bridge> at device 29.0 on pci1
pci2: <PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0x3000-0x303f mem 0xfc200000-0xfc21ffff irq 54 at device 3.0 on pci2
em0: Ethernet address: 00:30:48:2a:53:be
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 0x3040-0x307f mem 0xfc220000-0xfc23ffff irq 55 at device 3.1 on pci2
em1: Ethernet address: 00:30:48:2a:53:bf
em1:  Speed:N/A  Duplex:N/A
pci1: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib3: <MPTable PCI-PCI bridge> at device 31.0 on pci1
pci3: <PCI bus> on pcib3
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x4000-0x40ff,0x4400-0x44ff mem 0xfc300000-0xfc301fff irq 28 at device 2.0 on pci3
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x4800-0x48ff,0x4c00-0x4cff mem 0xfc302000-0xfc303fff irq 29 at device 2.1 on pci3
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pci0: <serial bus, USB> at device 29.0 (no driver attached)
pci0: <serial bus, USB> at device 29.1 (no driver attached)
pci0: <serial bus, USB> at device 29.2 (no driver attached)
pcib4: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> on pcib4
pci4: <display, VGA> at device 1.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 0xe0000-0xe3fff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0sio0 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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
Timecounter "TSC" frequency 2799696480 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM <CD-224E/1.9A> at ata1-master UDMA33
Waiting 15 seconds for SCSI devices to settle
ahd0: Invalid Sequencer interrupt occurred.
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd0: Dumping Card State at program address 0x23b Mode 0x0
Card was paused
INTSTAT[0x0] SELOID[0x0] SELID[0x10] HS_MAILBOX[0x0]
INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11]
DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)
SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0]
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|INTMASK2)
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x3]
KERNEL_QFREEZE_COUNT[0x3] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]
SSTAT0[0x0] SSTAT1[0x0] 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 0xf NEXTSCB 0xff00
qinstart = 39 qinfifonext = 39
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
Total 0
Kernel Free SCB list: 15 14 9 1 2 3 4 5 6 7 8 10 11 12 13 0
Sequencer Complete DMA-inprog list:
Sequencer Complete list:
Sequencer DMA-Up and Complete list:
Sequencer On QFreeze and Complete list:

ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xe
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)

ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xf
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: 0x8 0x0 0x0 0xe 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1
ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0

SIMODE0[0xc]:(ENOVERRUN|ENIOERR)
CCSCBCTL[0x4]:(CCSCBDIR)
ahd0: REG0 == 0xd501, SINDEX = 0x10e, DINDEX = 0x102ses0 at ahd0 bus 0 target 6 lun 0
ses0: <SUPER GEM318 0> Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
da2 at ahd1 bus 0 target 2 lun 0
da2: <IFT A08U-G1A3 341B> Fixed Direct Access SCSI-3 device
da2: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled
da2: 1429284MB (2927173632 512 byte sectors: 255H 63S/T 182208C)
da0 at ahd0 bus 0 target 0 lun 0
da0: <SEAGATE ST336607LC 0007> Fixed Direct Access SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
da1 at ahd0 bus 0 target 1 lun 0
da1: <SEAGATE ST336607LC 0007> Fixed Direct Access SCSI-3 device
da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da1: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
Mounting root from ufs:/dev/da0s1a

Pciconf -l:
-----------
hostb0 at pci0:0:0:        class=0x060000 card=0x358015d9 chip=0x254c8086 rev=0x01 hdr=0x00
none0 at pci0:0:1:         class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01 hdr=0x00
pcib1 at pci0:2:0:         class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01 hdr=0x01
uhci0 at pci0:29:0:        class=0x0c0300 card=0x358015d9 chip=0x24828086 rev=0x02 hdr=0x00
uhci1 at pci0:29:1:        class=0x0c0300 card=0x358015d9 chip=0x24848086 rev=0x02 hdr=0x00
uhci2 at pci0:29:2:        class=0x0c0300 card=0x358015d9 chip=0x24878086 rev=0x02 hdr=0x00
pcib4 at pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x42 hdr=0x01
isab0 at pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086 rev=0x02 hdr=0x00
atapci0 at pci0:31:1:      class=0x01018a card=0x358015d9 chip=0x248b8086 rev=0x02 hdr=0x00
none1 at pci0:31:3:        class=0x0c0500 card=0x358015d9 chip=0x24838086 rev=0x02 hdr=0x00
none2 at pci1:28:0:        class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00
pcib2 at pci1:29:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
none3 at pci1:30:0:        class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00
pcib3 at pci1:31:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
em0 at pci2:3:0:           class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
em1 at pci2:3:1:           class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
ahd0 at pci3:2:0:          class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00
ahd1 at pci3:2:1:          class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00
none4 at pci4:1:0:         class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27 hdr=0x00

Camcontrol:
-----------
# camcontrol devlist -v

scbus0 on ahd0 bus 0:

<SEAGATE ST336607LC 0007>          at scbus0 target 0 lun 0 (pass0,da0)
<SEAGATE ST336607LC 0007>          at scbus0 target 1 lun 0 (pass1,da1)
<SUPER GEM318 0>                   at scbus0 target 6 lun 0 (ses0,pass2)
<  >                               at scbus0 target -1 lun -1 ()
scbus1 on ahd1 bus 0:
<IFT A08U-G1A3 341B>               at scbus1 target 2 lun 0 (pass3,da2)
<  >                               at scbus1 target -1 lun -1 ()
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)

# camcontrol inquiry da0
pass0: <SEAGATE ST336607LC 0007> Fixed Direct Access SCSI-3 device
pass0: Serial Number 3JA7JCF100007440AJ5K
pass0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
# camcontrol inquiry da1
pass1: <SEAGATE ST336607LC 0007> Fixed Direct Access SCSI-3 device
pass1: Serial Number 3JA7JARS00007439A214
pass1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
# camcontrol inquiry da2
pass3: <IFT A08U-G1A3 341B> Fixed Direct Access SCSI-3 device
pass3: Serial Number 00000028E4A83F00
pass3: 160.000MB/s transfers (80.000MHz, offset 62, 16bit), Tagged Queueing Enabled

df -hi output:
--------------
Filesystem           Size    Used   Avail Capacity iused    ifree %iused  Mounted on
/dev/da2s1d          1.4T    1.2T     60G    95% 1956236 12969074    13%  /part1

Kernel configuation:
--------------------
GENERIC with these extras:
options         KDB
options         KDB_UNATTENDED
options         CAMDEBUG

Thanks,
Leroy


PS: PR kern/71778 can be closed. See http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/71778



More information about the freebsd-scsi mailing list