From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 17 08:33:11 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4E8216A4CE for ; Thu, 17 Mar 2005 08:33:11 +0000 (GMT) Received: from pophost.wldelft.nl (sunray.wldelft.nl [145.9.132.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9709443D39 for ; Thu, 17 Mar 2005 08:33:10 +0000 (GMT) (envelope-from leroy.vanlogchem@wldelft.nl) Received: (from root@localhost) by pophost.wldelft.nl (8.9.3/8.9.3vc) id JAA14870 for freebsd-scsi@freebsd.org; Thu, 17 Mar 2005 09:33:09 +0100 (MET) Received: from [145.9.150.200] (beasty [145.9.150.200]) by pophost.wldelft.nl (8.9.3/8.9.3) with ESMTP id JAA14728 for ; Thu, 17 Mar 2005 09:33:07 +0100 (MET) Message-ID: <423940C2.9090202@wldelft.nl> Date: Thu, 17 Mar 2005 09:33:06 +0100 From: Leroy van Logchem User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041201) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: 5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2005 08:33:12 -0000 ---- 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@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 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 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard ioapic2 irqs 48-71 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pcib0: pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.1 (no driver attached) pcib1: at device 2.0 on pci0 pci1: on pcib1 pci1: at device 28.0 (no driver attached) pcib2: at device 29.0 on pci1 pci2: on pcib2 em0: 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: 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: at device 30.0 (no driver attached) pcib3: at device 31.0 on pci1 pci3: on pcib3 ahd0: 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: 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: at device 29.0 (no driver attached) pci0: at device 29.1 (no driver attached) pci0: at device 29.2 (no driver attached) pcib4: at device 30.0 on pci0 pci4: on pcib4 pci4: at device 1.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: at device 31.3 (no driver attached) cpu0 on motherboard orm0: at iomem 0xe0000-0xe3fff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 unknown: can't assign resources (port) unknown: can't assign resources (memory) unknown: can't assign resources (port) unknown: can't assign resources (port) unknown: can't assign resources (port) Timecounter "TSC" frequency 2799696480 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM 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: 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: 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: 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: 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@pci0:0:0: class=0x060000 card=0x358015d9 chip=0x254c8086 rev=0x01 hdr=0x00 none0@pci0:0:1: class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01 hdr=0x00 pcib1@pci0:2:0: class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01 hdr=0x01 uhci0@pci0:29:0: class=0x0c0300 card=0x358015d9 chip=0x24828086 rev=0x02 hdr=0x00 uhci1@pci0:29:1: class=0x0c0300 card=0x358015d9 chip=0x24848086 rev=0x02 hdr=0x00 uhci2@pci0:29:2: class=0x0c0300 card=0x358015d9 chip=0x24878086 rev=0x02 hdr=0x00 pcib4@pci0:30:0: class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x42 hdr=0x01 isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24808086 rev=0x02 hdr=0x00 atapci0@pci0:31:1: class=0x01018a card=0x358015d9 chip=0x248b8086 rev=0x02 hdr=0x00 none1@pci0:31:3: class=0x0c0500 card=0x358015d9 chip=0x24838086 rev=0x02 hdr=0x00 none2@pci1:28:0: class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00 pcib2@pci1:29:0: class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01 none3@pci1:30:0: class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00 pcib3@pci1:31:0: class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01 em0@pci2:3:0: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00 em1@pci2:3:1: class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00 ahd0@pci3:2:0: class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00 ahd1@pci3:2:1: class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00 none4@pci4:1:0: class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27 hdr=0x00 Camcontrol: ----------- # camcontrol devlist -v scbus0 on ahd0 bus 0: at scbus0 target 0 lun 0 (pass0,da0) at scbus0 target 1 lun 0 (pass1,da1) at scbus0 target 6 lun 0 (ses0,pass2) < > at scbus0 target -1 lun -1 () scbus1 on ahd1 bus 0: 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: 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: 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: 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