*BSD News Article 65991


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!news.jhu.edu!aplcenmp!netnews.jhuapl.edu!uunet!in2.uu.net!newsfeed.internetmci.com!news.mathworks.com!zombie.ncsc.mil!tecsun1.tec.army.mil!pooh.tec.army.mil!anneb
From: anneb@pooh.tec.army.mil (Anne Brink)
Newsgroups: comp.unix.bsd.misc,comp.unix.bsd.freebsd.misc
Subject: LFS problems under FreeBSD 2.1
Date: 14 Apr 1996 01:57:35 GMT
Organization: U.S. Army Topographic Engineering Center, Alexandria, VA
Lines: 39
Message-ID: <4kpm2f$jj7@tecsun1.tec.army.mil>
NNTP-Posting-Host: pooh.tec.army.mil
Summary: crash
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.misc:738 comp.unix.bsd.freebsd.misc:17381


I'm trying, for a term project, to play with LFS under FreeBSD.  I'm
not getting very far, since I'm having trouble with my kernel panicking
pretty much directly after I do a mount_lfs of the partition.  What panic 
messages I get aren't consistent at this point, and I want to check to make
sure my configuration's correct before I start having to run debuggers on 
kernel corefiles.

The documentation in either FreeBSD or BSD4.4 is rather slight, so I'm
not sure what to look for.
I'm running: FreeBSD 2.1 on an Acer P75, 8MB RAM. The disks I'm using are IDE.

Here are some questions that I hope someone can help me with.

I've rebuilt the kernel with the (seemingly undocumented in FreeBSD) option 
LFS.  Is there anything else my kernel needs built in that I'm likely missing?

What should the disklabel entry look like, for the LFS partition?
Currently, It looks identical to the 4.2BSD partitions, except the fs type
is '4.4LFS'. Should it have 0's for blocks, etc. just like the 4.2BSD 
partitions?

It's not clear from the manpage, when I do a newlfs, just which options are 
required, and which are optional.  And, in a related question, does the 
partition need to end on cylinder boundaries on an IDE drive?

Is there an FAQ out there I haven't found, yet?

Thanks in advance for answers for any of these questions!

					-Anne Brink
					anneb@svl.tec.army.mil

--
"The only thing more frightening than a programmer with a screwdriver or a
hardware engineer with a program is a user with a pair of wire cutters and 
the root password." -E. Zwicky.
-----Self-proclaimed programmer with screwdriver, beware-----------------------