*BSD News Article 6609


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry
From: terry@cs.weber.edu (A Wizard of Earth C)
Subject: Re: 386BSD won't boot with AMI BIOS/Gateway 2000
Message-ID: <1992Oct15.193854.444@fcom.cc.utah.edu>
Sender: news@fcom.cc.utah.edu
Organization: Weber State University  (Ogden, UT)
References: <1992Oct14.225619.26784@ccu.umanitoba.ca> <1992Oct15.142908.11135@tinman.mke.ab.com>
Date: Thu, 15 Oct 92 19:38:54 GMT
Lines: 35

In article <1992Oct15.142908.11135@tinman.mke.ab.com> tdphette@mke.ab.com (Thad Phetteplace x4461) writes:
>I have 386BSD running on my Gateway 2000 with no major problems.  I do have
>a problem when I try to warm boot (the system hangs) but when I hit the
>reset button it starts up fine.  I haven't bothered to try and fix it
>because I rarely reboot the system and I'm too busy working on X386 code
>and a cross development system.  I'm using Pheonix BIOS but I'm not sure
>the problem is BIOS related.

This particular problem is BIOS related; what happens is that, because the
default code for the disk driver doesn't zero out the disk structure, 386BSD
believes it has already brought the disk up.

If a warm boot (3 finger salute) doesn't execute a routine to zero the
memory, you hang when it sees a properly filled out struct and believes
the disk already "there".

One of Chris's (cgd@agate.berkeley.edu) earliest patches fixes this
problem by zeroing all malloc'ed memory in the wd driver.  This patch
is part of the patch kit.

The problem is most prevalent on laptops, but does show up on other
boxes occasionally.


					Terry Lambert
					terry@icarus.weber.edu
					terry_lambert@novell.com
---
Any opinions in this posting are my own and not those of my present
or previous employers.
-- 
-------------------------------------------------------------------------------
                                        "I have an 8 user poetic license" - me
 Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial
-------------------------------------------------------------------------------