From owner-freebsd-mobile Sat Feb 8 08:51:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA19370 for mobile-outgoing; Sat, 8 Feb 1997 08:51:21 -0800 (PST) Received: from hcshh.hcs.de (hcshh.hcs.de [194.49.17.1]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id IAA19358 for ; Sat, 8 Feb 1997 08:51:13 -0800 (PST) Received: from hcswork.hcs.de by hcshh.hcs.de with smtp (Smail3.1.28.1 #9) id m0vtFzZ-000TVJC; Sat, 8 Feb 97 17:51 MET Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0vtFzW-0000EWC; Sat, 8 Feb 97 17:51 MET Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: Re: 2.1.6.1 + PAO: occasional panic at boot To: mobile@freebsd.org Date: Sat, 8 Feb 1997 17:51:06 +0100 (MET) In-Reply-To: from "hm" at "Jan 31, 97 03:56:24 pm" Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL15 (25)] Content-Type: text Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > 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)