*BSD News Article 92659


Return to BSD News archive

From: brian@shift.lan.awfulhak.org (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Kernal panic when mounting /
Date: 2 Apr 1997 15:02:17 GMT
Organization: Awfulhak Ltd.
Lines: 45
Message-ID: <5htsdp$l43@ui-gate.utell.co.uk>
References: <5hrp7r$e8e$2@news1.xs4all.nl>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: taco@pulse.nl (Taco Scargo)
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!ns.saard.net!spasun.tpa.com.au!duster.adelaide.on.net!news.ade.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!ix.netcom.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38338

[Posted and mailed]

In article <5hrp7r$e8e$2@news1.xs4all.nl>,
	taco@pulse.nl (Taco Scargo) writes:
> As I already described my problem some days ago, but haven't received an 
> answer yet, here is my question again:
> 
> I've got a Pentium with 256 Mb, Adaptec 2940 SCSI, IBM SCSI HD.
> FreeBSD 2.1.6 installed, works like a charm with the precompiled 2.1.6 
> GENERIC.
> 
> However the kernal only finds 64 Mb, therefore I modified the kernal config 
> and compiled a new kernal.
> 
> Booting up works fine, however when it tries to mount the / (root) filesystem, 
> the kernal panics and reboots the machine.
> 
> As the machine is at a remote location, only accessable by telnet, I cannot 
> experiment. Also it's a production machine, so it can't be offline too long.
> 
> I've got two fdisk partitions: one small for DOS, rest for FreeBSD.
> The FreeBSD partition is divided in three parts, /, /usr and /swap
> 
> Thanks for reafing,
> 
> Taco

I'm sure I've read this message a number of times.  It's considered
unethical to ask the same thing over and over without waiting a
reasonable amount of time for a reply.

As I said to one of the other posts (I forgot to Cc direct - sorry),
copy GENERIC and add the MAXMEM line only.  If this works, slowly
migrate from this kernel to the one that doesn't work by adding one
line at a time and building and testing each time.  If it doesn't
work, you've got a memory problem.  Are you saying

           options MAXMEM=262144

Doing the 256*1024 bit as LINT suggests may not work.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour !