From owner-freebsd-stable@FreeBSD.ORG Fri Feb 10 10:37:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A5616A420 for ; Fri, 10 Feb 2006 10:37:18 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw1.york.ac.uk (mail-gw1.york.ac.uk [144.32.128.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE0E43D70 for ; Fri, 10 Feb 2006 10:37:09 +0000 (GMT) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from buffy.york.ac.uk (buffy-128.york.ac.uk [144.32.128.160]) by mail-gw1.york.ac.uk (8.12.10/8.12.10) with ESMTP id k1AAb6P9006703; Fri, 10 Feb 2006 10:37:06 GMT Received: from buffy.york.ac.uk (localhost [127.0.0.1]) by buffy.york.ac.uk (8.13.4/8.13.4) with ESMTP id k1AAb64x041666; Fri, 10 Feb 2006 10:37:06 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: (from ga9@localhost) by buffy.york.ac.uk (8.13.4/8.13.4/Submit) id k1AAb6C9041665; Fri, 10 Feb 2006 10:37:06 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: buffy.york.ac.uk: ga9 set sender to gavin.atkinson@ury.york.ac.uk using -f From: Gavin Atkinson To: sergey.lungu@gmail.com In-Reply-To: <20060209211803.05495205.sergey.lungu@gmail.com> References: <20060207015911.16cd48f1.sergey.lungu@gmail.com> <20060208002444.51549648.sergey.lungu@gmail.com> <20060209192318.510b11c3.sergey.lungu@gmail.com> <1139506118.77939.86.camel@buffy.york.ac.uk> <20060209211803.05495205.sergey.lungu@gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 10 Feb 2006 10:37:06 +0000 Message-Id: <1139567826.41486.11.camel@buffy.york.ac.uk> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: freebsd-stable@freebsd.org Subject: Boot hang (floppy related) (was: Re: atapicam problem (again): hang on boot with DVD burner) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 10:37:18 -0000 On Thu, 2006-02-09 at 21:18 +0300, Sergey Lungu wrote: > On Thu, 09 Feb 2006 17:28:38 +0000 Gavin Atkinson > wrote: > > > On Thu, 2006-02-09 at 19:23 +0300, Sergey Lungu wrote: > > > > > OK, this is not the atapicam problem (I think), my apologies! > > > I have turned my DVD drive off, but the hang was still there. > > > > > > I have compiled the kernel with DDB and debugging information in > > > order to find the place where the hang happens. This is my first > > > try to look inside the kernel, so don't blame me, please :) > > > > > > start_init -> vfs_mountroot -> root_mount_wait -> g_waitidle: > > > > > > > > The kernel hangs in that `while'. As far as I can judge, it is > > > waiting for completion of GEOM events handling. > > > > > > Why is it happening and how can I solve this annoying problem? > > > > Can you try disabling (by unplugging or setting hints) your floppy > > drive? > > > > Gavin > > I've turned my floppy off and the hang gone away! :) > Thanks a lot! How did you disable it? There's a difference between pulling the cable out and disabling the floppy controller through hints which may be significant. If possible, could you try doing the other one of those two to see what happens? > How have you guessed that? Just a hunch... :) > Is there a way to keep it, 'cause I'm using it some times? Try setting debug.fdc.debugflags=255 from the loader, then posting the bits of the dmesg relating to the floppy drive. Gavin