2002-09-20 22:50:04

by Srinivas Chavva

[permalink] [raw]
Subject: Loading kernel

I installed RedHat Linux 7.3 on my system. When I
entered as the root and typed "uname -r' I got the
kernel version as 2.4.18.
When I executed the command "rpm -q kernel-headers
kernel-source" I got a message
"package:kernel-headers not installed
package: kernel-source not installed".
So I downloaded the kernel, unpacked it, configured
the kernel, compiled it with no no problems. I stored
the bzImage into the /boot directory as linux-2.4.18
and edited the lilo.conf file by adding this as the
image. Then I compiled the lilo.conf file. I got no
errors.
When I rebooted the system and selected the kernel
linux-2.4.18 I got the following errors and my system
got hanged.
The errors are as follows
"
/etc/rc.sysinit: /var/log/dmesg: No such file or
directory
/etc/rc.sysinit: /var/log/ksyms.o: No such file or
directory
INIT: Entering run level:3
Updating /etc/fstab execvp: No such file or directory
[FAILED]
Checking for new hardware
/etc/rc3.d/S05Kudzu:/usr/sbin/kudzu: No such file or
directory
[FAILED]
touch:creating '/var/lock/subsys/kudzu': No such file
or directory
"
After this my system got hanged. I was able to log in
to the original linux kernel but this kernel
linux-2.4.18 is not working.
I wanted to know what the error was due to and how to
use the kernel linux-2.4.18 bec when I configured and
compiled the kernel there were no errors.
Thanking You.
Regards,
Srinivas Chavva

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com


2002-09-21 00:42:02

by Thunder from the hill

[permalink] [raw]
Subject: Re: Loading kernel

Hi,

On Fri, 20 Sep 2002, Srinivas Chavva wrote:
> "
> /etc/rc.sysinit: /var/log/dmesg: No such file or
> directory
> /etc/rc.sysinit: /var/log/ksyms.o: No such file or
> directory
> INIT: Entering run level:3
> Updating /etc/fstab execvp: No such file or directory
> [FAILED]
> Checking for new hardware
> /etc/rc3.d/S05Kudzu:/usr/sbin/kudzu: No such file or
> directory
> [FAILED]
> touch:creating '/var/lock/subsys/kudzu': No such file
> or directory
> "

That's really no kernel issue. The kernel seems to have booted fine, and
I'd doubt that's fs corruption.

Thunder
--
assert(typeof((fool)->next) == typeof(fool)); /* wrong */

2002-09-21 20:11:19

by jbradford

[permalink] [raw]
Subject: Re: Loading kernel

> On Fri, 20 Sep 2002, Srinivas Chavva wrote:
> > "
> > /etc/rc.sysinit: /var/log/dmesg: No such file or
> > directory
> > /etc/rc.sysinit: /var/log/ksyms.o: No such file or
> > directory
> > INIT: Entering run level:3
> > Updating /etc/fstab execvp: No such file or directory
> > [FAILED]
> > Checking for new hardware
> > /etc/rc3.d/S05Kudzu:/usr/sbin/kudzu: No such file or
> > directory
> > [FAILED]
> > touch:creating '/var/lock/subsys/kudzu': No such file
> > or directory
> > "
>
> That's really no kernel issue. The kernel seems to have booted fine, and
> I'd doubt that's fs corruption.

Agreed, except that I think that the old kernel has been re-loaded instead of the new one, because lilo hasn't been re-run.

Lilo does not automatically re-read it's config file, like grub does, (apparently, I use lilo exclusively), and you need to run lilo before re-booting after installing a new kernel image.

John.