From owner-freebsd-mobile Sun Feb 9 08:54:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA23902 for mobile-outgoing; Sun, 9 Feb 1997 08:54:54 -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 IAA23897 for ; Sun, 9 Feb 1997 08:54:50 -0800 (PST) Received: from hcswork.hcs.de by hcshh.hcs.de with smtp (Smail3.1.28.1 #9) id m0vtcWZ-000TcLC; Sun, 9 Feb 97 17:54 MET Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0vtcWU-0000axC; Sun, 9 Feb 97 17:54 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: Sun, 9 Feb 1997 17:54:38 +0100 (MET) In-Reply-To: from "Hellmuth Michaelis" at "Feb 8, 97 05:51:06 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 >From the keyboard of Hellmuth Michaelis: > > 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) ^^^^^^^^^^^^^^^^^^^^^^ Ok, that's it - it is the wdwait() which returns with an timeout error. I've changed that TIMEOUT to (TIMEOUT*10) and the panic has not occured anymore. Shall i send-pr it ? (I have the feeling its a PAO speciality, before i had PAO up and running i had a pure 2.1.6 running for quite a while and it never occured). 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)