[H-GEN] New Kernel compile fails to boot

Robert Stuart rstu at qbssss.edu.au
Mon Jul 12 18:38:11 EDT 1999


(Note reply-to: being general at humbug.org.au vs Robert Stuart <rstu at qbssss.edu.au>)

Hilton Travis wrote:
> 
> (Note reply-to: being general at humbug.org.au vs "Hilton Travis" <QuarkComputers at email.com>)
> 
> Hi All,
> 
> I tried to do my first kernel compile (2.2.10) this afternoon, and all
> seemed to go relatively well.  When I went to do a "make deps" the
> /usr/include/errno.h file failed on line 36 due to the following:
> file not found: bits/errno.h
> so I changed this line in errno.h to read /usr/include/errno.h and the
> compile proceeded without any failures.  I then did a make modules and make
> modules_install with no issues.
> 
> I ran make bzImage, and the kernel compiled with no errors.
> 

At worst you should only get warnings when compiling a kernel - if you
get errors, either you have probably done something wrong - as someone
else suggested, you've probably not got the symlinks for the includes
right.  The proper methods for compiling the kernel are in the file
"README" in the top level of the source (this discusses symlinks for
kernel includes etc).

[snip]

> I chose the P/Pro/6x86 config when I ran "make xconfig".  I can email the
> config file I saved if necessary.
> 
> Could someone please help here - I have no idea where to go from here.
> 
> Regards,
> Hilton

In case you are now in a situation where you can't boot, installation
disks are useful for booting a machine.  For example, with the redhat
boot disks, at the prompt you can type vmlinuz root=/dev/hda1 and get it
to boot your machine (it may complain about module versions but at least
you have a machine booted up).  Its also good practice to have a
"backup" kernel in your lilo which you can boot off if you run into
trouble with a new one.

Hope that helps.

-- 
Robert Stuart
Ph  61-7-3864 0364

--
This is list (humbug) general handled by majordomo at lists.humbug.org.au .
Postings only from subscribed addresses of lists general or general-post.



More information about the General mailing list