Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 17:03:23 +0300
From:      Sergey Lungu <sergey.lungu@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: Boot hang (floppy related) (was: Re: atapicam problem (again): hang on boot with DVD burner)
Message-ID:  <20060210170323.2a2bca8c.sergey.lungu@gmail.com>
In-Reply-To: <1139567826.41486.11.camel@buffy.york.ac.uk>
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> <1139567826.41486.11.camel@buffy.york.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 Feb 2006 10:37:06 +0000 Gavin Atkinson
<gavin.atkinson@ury.york.ac.uk> wrote:

> 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.

That's really funny! :)

I've decided to see if my floppy drive is working at all, but when I
was inserting a disk in it I noticed that there already was one. :)
Then I've tried to mount that one, but the mount utility hanged. The
other disk is working with no problem.

So, the problem was that strange floppy disk sitting in my drive.

I'm really sorry for bothering all you guys! The real problem was (and
still is) my inattentiveness.

P.S. This floppy disk does not cause a hang in windows, so I may
     suppose that there is a bug in fdc! :)

-- 
Sergey Lungu

Management can't.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060210170323.2a2bca8c.sergey.lungu>