*BSD News Article 12998


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!psgrain!m2xenix!agora!rgrimes
From: rgrimes@agora.rain.com (Rodney Grimes)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Cannot reboot new Kernel
Message-ID: <C42o4z.5v5@agora.rain.com>
Date: 18 Mar 93 06:46:10 GMT
Article-I.D.: agora.C42o4z.5v5
References: <BRAD.93Mar16230558@stemwinder.FCR.COM>
Organization: Open Communications Forum
Lines: 39
X-Newsreader: TIN [version 1.1 PL7]

Brad Parker (brad@FCR.COM) wrote:
: In article <1993Mar12.062446.25554@qualcomm.com> karn@unix.ka9q.ampr.org (Phil Karn) writes:
: 
:    From: karn@unix.ka9q.ampr.org (Phil Karn)
:    Date: 12 Mar 93 06:24:46 GMT
:    Reply-To: karn@servo.qualcomm.com
: 
:    I suspect that many of the hang-on-boot problems are still caused by
:    the keyboard probe routine at startup. When I recently switched 50 Mhz
:    486 motherboards in my 386BSD system (so I could use VESA VGA -
:    another long story) I too found that my 386bsd would no longer boot. I
:    simply went into the pcprobe() function in /sys/i386/isa/pccons.c and
:    inserted "break;" into the loop that so it wouldn't loop forever
:    resetting the keyboard controller until it returns the expected
:    acknowledgement. Apparently not all keyboard controllers respond as
:    expected to a reset.
: 
:    I rebuilt the kernel with this patch and it came up fine. I also tried it
:    on a variety of 386s and 486s at work and it booted successfully (with
:    keyboard working) on each of them.
: 
: I've been wondering about this for some time time.  I found that 386bsd
: would boot but ignore keyboard input on my compudyne 486/33 laptop
: unless I hit a key right as the probes started.  
: 
: The fix was to replace the pcprobe() keyboard reset code with the
: kbreset code from stand/kbd.c.  (I removed the "a20" gate code from
: the routine, since it had to have been run already)
: 
: I've wondered why this was never part of the patchkit.

There is a major rewrite of the pccons driver coming in the next pathckit,
it should fix all of the hangs caused by pcprobe...

-- 
Rod Grimes						rgrimes@agora.rain.com
Accurate Automation Company          All opinions belong to me and my company!
Get your free copy of  386bsd  from  agate.berkeley.edu:/pub/386BSD  via  ftp!
An out of work contractor... You need unix work done.... Send me your project!