*BSD News Article 25953


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!pegasus2.astro.indiana.edu!sdslavin
From: sdslavin@pegasus2.astro.indiana.edu (Shawn Slavin)
Subject: Compiling Kernal Blues ;(
Message-ID: <CJJMq1.C11@usenet.ucs.indiana.edu>
Sender: news@usenet.ucs.indiana.edu (USENET News System)
Nntp-Posting-Host: pegasus2.astro.indiana.edu
Organization: Indiana University Astronomy Department
Date: Thu, 13 Jan 1994 00:58:48 GMT
Lines: 31

I'm trying to compile a new kernal on an i486/50 DX2, under FreeBSD-1.0, using
the GENERICAH config.  It's using the distributed make and cc, and not
gmake and gcc (I've read that they may not work either).  It compiles and runs
without any problems.

So, you say, "What's the problem then?"  Well, if I do a soft-reboot, i.e.
"shutdown -r now", it shuts down, syncs disks, boots up to the prompt for any
boot switchs (i.e. -a, -d, etc.).  After I hit return, I get a panic trap
message, asking me to do a hard reboot.  Then I do a hard reboot, and it comes
up with no problems.  But if I do another soft reboot, the same problems occur.

Another point of interest:  I was using the GENERICAH kernal from the floppy
and binary distribution installation without these problems.

Also, this started with me trying to modify the GENERICAH setup, deleting out
some unnecessary drivers (SCSI, etc.).  I was trying to get a PS/2 mouse driver
to work with /dev/mse0 (which also didn't work).  I compiled it on a friend's
386/40, downloaded it and had no problems, except for the mouse.  Well, I
copied the config file, commented out the mouse driver, recompiled, and, voila,
the problem outlined above.  This is what spurred me to try the distributed
GENERICAH config; hence this message.

So, the upshot seems to be.  I compile the kernal on my 486, and it doesn't
work.  Then I compile it on my friend's 386, and it works.  My 486-compiled
version doesn't seem to reset the computer properly for soft reboots.  Same
code, same config, different machines, different results.?.?

I submit my humble request for an answer to this, because I do not understand
it and would prefer not to do hard reboots whenever I need a simple soft
reboot.  Thank you in advance for any and all advice/help/criticism.