Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 1997 17:51:06 +0100 (MET)
From:      hm@hcs.de (Hellmuth Michaelis)
To:        mobile@freebsd.org
Subject:   Re: 2.1.6.1 + PAO: occasional panic at boot
Message-ID:  <m0vtFzW-0000EWC@hcswork.hcs.de>
In-Reply-To: <no.id> from "hm" at "Jan 31, 97 03:56:24 pm"

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:

       /* execute a controller only command */
        if (wdcommand(du, 0, 0, 0, 0, WDCC_DIAGNOSE) != 0
            || wdwait(du, 0, TIMEOUT) < 0)
                goto nodevice;
        
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 ?

hellmuth
-- 
Hellmuth Michaelis    HCS Hanseatischer Computerservice GmbH    Hamburg, Europe
    In their infinite wisdom, the folks at HP have decided that mere mortals
    such as you and I don't need to know what the kernel's proc structure looks
    like. (William LeFebvre, top 3.4 README, HP-UX 10.10)



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