From owner-freebsd-current Wed Aug 2 13:22: 6 2000 Delivered-To: freebsd-current@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 5C39537B5CB; Wed, 2 Aug 2000 13:21:49 -0700 (PDT) (envelope-from netchild@leidinger.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.16 #2) id 13K51N-0002zU-00; Wed, 02 Aug 2000 22:21:45 +0200 Received: from ade53.pppool.de ([213.6.222.83] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.16 #2) id 13K51M-0000ua-00; Wed, 02 Aug 2000 22:21:45 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.9.3/8.9.3) with ESMTP id QAA01931; Wed, 2 Aug 2000 16:42:54 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200008021442.QAA01931@Magelan.Leidinger.net> Date: Wed, 2 Aug 2000 16:42:53 +0200 (CEST) From: Alexander Leidinger Subject: Re: Panic in xpt_setup_ccb (cam_xpt.c) To: n_hibma@calcaphon.com Cc: current@FreeBSD.org, gibbs@freebsd.org, scsi@greebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1 Aug, Nick Hibma wrote: > > Hm, I had a look at the source code, and to be honest I can't find a > single reason why the path would be unset. > > Did the CD reader detached itself from the bus in the meantime, or did > something like a bus error occur? Check your messages log around the > time the panic occurred to see if something like that happened. ---snip--- Jul 29 10:40:55 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out in Message-in phase, SEQADDR == 0x194 Jul 29 10:40:55 Magelan /kernel: (cd0:ahc0:0:1:0): BDR message in message buffer Jul 29 10:40:57 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out in Message-in phase, SEQADDR == 0x194 Jul 29 10:40:57 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:40:57 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:42:26 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:42:26 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:42:28 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:42:28 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:42:28 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:43:04 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:43:04 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:43:06 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:43:06 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:43:06 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:43:47 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:43:47 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:43:49 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:43:49 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:43:49 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:45:12 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:45:12 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:45:14 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:45:14 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:45:14 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:45:51 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:45:51 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:45:53 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:45:53 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:45:53 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:47:31 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:47:31 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:47:33 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:47:33 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:47:33 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:48:34 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:48:34 Magelan /kernel: (cd0:ahc0:0:1:0): Queuing a BDR SCB Jul 29 10:48:36 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out while idle, SEQADDR == 0x194 Jul 29 10:48:36 Magelan /kernel: (cd0:ahc0:0:1:0): no longer in timeout, status = 34b Jul 29 10:48:37 Magelan /kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted Jul 29 10:48:47 Magelan /kernel: (cd0:ahc0:0:1:0): SCB 0x7 - timed out in Message-in phase, SEQADDR == 0x194 Jul 29 10:48:47 Magelan /kernel: (cd0:ahc0:0:1:0): BDR message in message buffer ---snip--- > At that point in the code it was using the path variable stored in the > periph and that one is available from when the peripheral was allocated > up to the point where the refcount for the peripheral reaches zero (that > could be wrong) or the device is invalidated. Justin Gibbs (CCed) is looking into a bug with an aic7880, which hit the tree with his recent commits, perhaps it's related. Bye, Alexander. -- If Bill Gates had a dime for every time a Windows box crashed... ...Oh, wait a minute, he already does. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = 7423 F3E6 3A7E B334 A9CC B10A 1F5F 130A A638 6E7E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message