Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 1997 10:07:00 -0700 (MST)
From:      Nate Williams <nate@mt.sri.com>
To:        hm@hcs.de
Cc:        mobile@freebsd.org
Subject:   Re: 2.1.6.1 + PAO: occasional panic at boot
Message-ID:  <199702081707.KAA01371@rocky.mt.sri.com>
In-Reply-To: <m0vtFzW-0000EWC@hcswork.hcs.de>
References:  <no.id> <m0vtFzW-0000EWC@hcswork.hcs.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> > The only problem i'm experiencing so far is that i get panics from time
> > to time at boot time, after the message for the apm0 driver: "cannot mount
> > root".
> 
> I've isolated the problem, it is in wd.c at the label reset_ok: (~ line 524)
> and this fragment of the code fails when the panic occurs:
..
> Just before this piece of code a wdreset() is issued, and i suspect the
> drive is not ready after the reset for another command. I've added a 
> delay in front of the code and will observe this further, bu i am in no
> way an IDE specialist, so does anyone else have an idea ?

The WD driver really is a festering sore in FreeBSD, especially with
regards to laptops who lose interrupts, spin-down, and otherwise aren't
well behaved in the face of a pretty 'fragile' driver.

I suspect your delay is as correct a fix as any.


Nate



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