*BSD News Article 61348


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!metro!metro!inferno.mpx.com.au!news.mel.aone.net.au!imci4!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!newsxfer.itd.umich.edu!jobone!fiesta.srl.ford.com!eccdb1.pms.ford.com!pt8175!dbradt
From: dbradt@pt8175.pto.ford.com (Dennis Bradt (R))
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help: Kernel Compilation Crashes System
Date: 6 Feb 1996 06:15:47 GMT
Organization: Powertrain Operations, Ford Motor Company
Lines: 56
Sender: dbradt@pt8175 (Dennis Bradt (R))
Message-ID: <4f6rmj$hfd@eccdb1.pms.ford.com>
NNTP-Posting-Host: pt8175.pto.ford.com
Keywords: kernel

Earlier this morning I was trying to compile a new kernel to allow for
compatibility with linux and IBCS2. I followed the faq exactly. I placed into
MYKERNEL 

options "COMPAT_LINUX"
options "COMPAT_IBCS2"
options LKM
options ATAPI

I then executed the following procedure

config MYKERNEL
cd ../../compile/MYKERNEL
make depend 
make all

When I did make all it got to

.<</../ufs/ufs/ufs_ihash.c 

and it said it did not know how to make it. I typed again 

make all

and it compiled 

../../ufs/ufs/ufs_ihash.c

{note: the two files and there paths are not typos but actually when was said
the compiler} it went further into the compilation at which time it decided to
reboot the system. fsck revealed all sorts of corruption and /dev/wd0a was now
unrecognizable and will not boot at all.

What should be done in order to prevent this from happening next time? Is there
a safe way to compile this Kernel without it blowing up? 

Also I need to know how I can get the system to recognize the cdrom which I have
installed. I have tried everything except for successfully compiling the kernel.
My cdrom is a soundblaster situated on a secondary IDE interface card. There is
no setting on the card itself for making it a master rather than slave drive.
The port at which it is located is 0x250. In order to give it this port address
I gave the parameter at boot

boot: -c

and then I typed visual and inserted the port address into the matcd0 device.
The cdrom is a 2x speed cdrom. 

When I was first installing I did the above and it looks like the kernel
recognized the cd but when it came to the install it said no such device existed
and I had to eventually install it from a msdos partition.

please email me with any information.

-Dennis Bradt
 dbradt@pt8186.pto.ford.com