From owner-freebsd-questions@FreeBSD.ORG Thu Jun 22 04:48:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 053A616A51A for ; Thu, 22 Jun 2006 04:48:30 +0000 (UTC) (envelope-from fedder@skovgaard.dk) Received: from mail.dbmail.dk (mail.dbmail.dk [82.143.192.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D11B444D8 for ; Thu, 22 Jun 2006 03:47:23 +0000 (GMT) (envelope-from fedder@skovgaard.dk) Received: from localhost (mail.dbmail.dk [127.0.0.1]) by mail.dbmail.dk (Dbmail) with ESMTP id 0EB2550151 for ; Thu, 22 Jun 2006 05:47:22 +0200 (CEST) Received: from mail.dbmail.dk ([127.0.0.1]) by localhost (mail.dbmail.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 30787-05 for ; Thu, 22 Jun 2006 05:47:21 +0200 (CEST) Received: from skovgaard.dk (unknown [82.143.226.49]) by mail.dbmail.dk (Dbmail) with SMTP id 6F474501A3 for ; Thu, 22 Jun 2006 05:47:21 +0200 (CEST) Received: (qmail 34876 invoked from network); 22 Jun 2006 03:47:21 -0000 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by skovgaard.dk with SMTP; 22 Jun 2006 03:47:21 -0000 Message-ID: <449A12C8.7040506@skovgaard.dk> Date: Thu, 22 Jun 2006 05:47:20 +0200 From: Fedder Skovgaard User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at dbmail.dk Subject: "unexpected busfree while idle" on FreeBSD 5.4 RELEASE-p7 with AIC-7899 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2006 04:48:30 -0000 Hi Everybody, I posted this to the freebsd-scsi list a week ago but no-one has replied, why I take the liberty of posting it here as well. Sorry for bothering you, but if you have the time, I'd really appreciate your comments on the following problem: I've got a P3 system with an onboard Adaptec AIC-7899 SCSI Controller. The system came with a "QUANTUM ATLAS10K3_18_WLS Version: 020W" disk, to which I've added two "SEAGATE SX1181677LCV Version: C00C" disks to the same cable (using 80->68 pins converters). The two Seagate disks run in a gmirror. Disk activity seems to lock in periods with the above mentioned error shown in the system log. The interval of these lock-ups seem to be closely related to the amount of disk activity in the system. I can see that you, at least intended, to look at a seemingly similar problem last january, ref: http://lists.freebsd.org/pipermail/freebsd-scsi/2005-January/001662.html Where a user downgraded a driver. Is there a fix available for it now, if I i.e. upgrade to 6.1-RELEASE? Thanks in advance for any suggestions. /Fedder Here's an excerpt from the system log during one of those lock-ups. Jun 13 23:14:10 FreeBSD kernel: ahc0: Unexpected busfree while idle Jun 13 23:14:10 FreeBSD kernel: SEQADDR == 0x30 Jun 13 23:14:26 FreeBSD kernel: ahc0: Recovery Initiated Jun 13 23:14:26 FreeBSD kernel: >>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<< Jun 13 23:14:26 FreeBSD kernel: ahc0: Dumping Card State while idle, at SEQADDR 0x8 Jun 13 23:14:26 FreeBSD kernel: Card was paused Jun 13 23:14:26 FreeBSD kernel: ACCUM = 0x0, SINDEX = 0x64, DINDEX = 0xe4, ARG_2 = 0x0 Jun 13 23:14:26 FreeBSD kernel: HCNT = 0x0 SCBPTR = 0x1b Jun 13 23:14:26 FreeBSD kernel: SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0] Jun 13 23:14:26 FreeBSD kernel: LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI) Jun 13 23:14:26 FreeBSD kernel: SBLKCTL[0x6]:(SELWIDE|ENAB20) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE) Jun 13 23:14:26 FreeBSD kernel: SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0] Jun 13 23:14:26 FreeBSD kernel: SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP) Jun 13 23:14:26 FreeBSD kernel: SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON) Jun 13 23:14:26 FreeBSD kernel: DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Jun 13 23:14:26 FreeBSD kernel: STACK: 0xe2 0x164 0x10a 0x3 Jun 13 23:14:26 FreeBSD kernel: SCB count = 160 Jun 13 23:14:26 FreeBSD kernel: Kernel NEXTQSCB = 54 Jun 13 23:14:26 FreeBSD kernel: Card NEXTQSCB = 54 Jun 13 23:14:26 FreeBSD kernel: QINFIFO entries: Jun 13 23:14:26 FreeBSD kernel: Waiting Queue entries: Jun 13 23:14:26 FreeBSD kernel: Disconnected Queue entries: Jun 13 23:14:26 FreeBSD kernel: QOUTFIFO entries: Jun 13 23:14:26 FreeBSD kernel: Sequencer Free SCB List: 27 10 13 1 17 28 23 16 12 18 4 2 6 0 15 31 5 20 7 30 25 19 24 29 11 3 22 Jun 13 23:14:26 FreeBSD kernel: Sequencer SCB Info: Jun 13 23:14:26 FreeBSD kernel: 0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x67] Jun 13 23:14:26 FreeBSD kernel: SCB_LUN[0x0] SCB_TAG[0xff] Jun 13 23:14:26 FreeBSD kernel: 1 ... Jun 13 23:14:26 FreeBSD kernel: <<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>> Jun 13 23:14:26 FreeBSD kernel: (da0:ahc0:0:6:0): SCB 0x7 - timed out Jun 13 23:14:26 FreeBSD kernel: sg[0] - Addr 0x19a93000 : Length 4096 Jun 13 23:14:26 FreeBSD kernel: (da0:ahc0:0:6:0): Queuing a BDR SCB Jun 13 23:14:26 FreeBSD kernel: Infinite interrupt loop, INTSTAT = 0ahc0: Timedout SCBs already complete. Interrupts may not be functioning.