Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 10:37:06 +0000
From:      Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To:        sergey.lungu@gmail.com
Cc:        freebsd-stable@freebsd.org
Subject:   Boot hang (floppy related) (was: Re: atapicam problem (again): hang on boot with DVD burner)
Message-ID:  <1139567826.41486.11.camel@buffy.york.ac.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2006-02-09 at 21:18 +0300, Sergey Lungu wrote:
> On Thu, 09 Feb 2006 17:28:38 +0000 Gavin Atkinson
> <gavin.atkinson@ury.york.ac.uk> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139567826.41486.11.camel>