From owner-freebsd-current@FreeBSD.ORG Mon May 28 11:57:27 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E08A16A4A0 for ; Mon, 28 May 2007 11:57:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id E4E8813C447 for ; Mon, 28 May 2007 11:57:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (unknown [84.165.198.54]) by redbull.bpaserver.net (Postfix) with ESMTP id 801E42E149; Mon, 28 May 2007 13:57:22 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 4C9BE5B490D; Mon, 28 May 2007 13:57:05 +0200 (CEST) Date: Mon, 28 May 2007 13:57:19 +0200 From: Alexander Leidinger To: "Hidetoshi Shimokawa" Message-ID: <20070528135719.5315c754@deskjail> In-Reply-To: <626eb4530705270530s56e61f1s6393d0d69ebb5c8f@mail.gmail.com> References: <20070527085140.9v6iio5fi844sssk@webmail.leidinger.net> <626eb4530705270530s56e61f1s6393d0d69ebb5c8f@mail.gmail.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.21, required 8, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, NO_RDNS 0.50, TW_EV 0.08, TW_KD 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: current@freebsd.org Subject: Re: "camcontrol rescan all" stuck in kernel (firewire) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2007 11:57:27 -0000 Quoting "Hidetoshi Shimokawa" (Sun, 27 May 2007 21:30:48 +0900): > I have no idea why you get "Error 22" but the blocking of rescan > is expected. I suppose the process will finish after several > "fwcontrol -r". See manpage of sbp(4) for detail. Ah... nice. Thanks. > If you have any problem other than the detach problem described > in the man page, please let me know. No, worked fine. Bye, Alexander. > On 5/27/07, Alexander Leidinger wrote: > > Hi, > > > > I had a harddisk connected via firewire (not mounted, only played with > > dd), disconneted it and issued a "camcontrol rescan all". I got some > > kernel messages about "(probeX:sbp:0:x:0): Error 22" and "Unretryable > > Error" and then the process is stuck there since yesterday (if it > > matters, on boot there's a long pause between the same messages at > > boot time and continuing with the userland part of the boot, maybe 20 > > or 30 seconds). ps shows camcontrol is in state "D+". > > > > In kdb I see the following backtrace: > > sched_switch > > mi_switch > > sleepq_wait > > _sleep > > cam_periph_runccb > > xptioctl > > devfs_ioctl_f > > ioctl > > > > The rest of the system works just fine. I tried "show xxx" (everything > > what shows up with "lock" or "sleep" when I just type "show"), but > > nothing showed up. > > > > Anything else I can provide/do to find the cause? > > > > Bye, > > Alexander. > > > > -- > > Life is a POPULARITY CONTEST! I'm REFRESHINGLY CANDID!! > > > > http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 > > http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- By pressing "Scroll Lock" you can use the arrow keys to scroll backward through the console output. Press "Scroll Lock" again to turn it off. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137