Red Hat Kernel - kernel does not decompress after a compile

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Kernel > January 2004 > kernel does not decompress after a compile





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author kernel does not decompress after a compile

2004-01-23, 7:25 pm

I am a newbie please help

I have Redhat 7.0 installed but need a 2.4.X kernel to get my alcatel usb
modem among other things working, so I downloaded kernel.2.4.21 33mb and
followed

http://www.redhat.com/support/resou...de-5.html#ss5.2

my lilo looks like

[root@localhost /etc]# vi lilo.conf
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=500
message=/boot/message
linear
default=linux

image=/boot/vmlinuz-2.2.16-22
label=linux
read-only
root=/dev/hda5

image=/boot/vmlinuz-2.4.21
label=newlinux
root=/dev/hda5
initrd=/boot/initrd-2.4.21.img
read-only

My problem is that I can boot easily to the old kernel fine, when selecting
newlinux (2.4.21) all that happens is

Loading Linux ...............
system then reboots I never get any further etc
Uncompressing Linux........kernel ok etc......

where is this failing as the build of the kernel went without a hitch (the
second time)

the only thing that I think is missing wrong is

[root@localhost /etc]# cd /boot
[root@localhost /boot]# ls
System.map (lb) kernel.h (lb) os2_d.b
System.map-2.2.16-22 kernel.h-2.4.0 vmlinux-2.2.16-22 (g)
System.map-2.4.21 lost+found vmlinuz (lb)
boot.0300 map vmlinuz-2.2.16-22
boot.b message vmlinuz-2.4.21
chain.b module-info (lb)
initrd-2.4.21.img module-info-2.2.16-22
[root@localhost /boot]#

lb =light blue
db =dark blue
g = green

surely I should have a modules-info-2.2.16-22 and a modules-info-2.4.21 ? or
am I barking up the the wrong tree.


other than that please offer any wisdom to this windows person that has a
linux brain trying to get out.

if you need more info please ask


thanks again





J.O. Aho

2004-01-23, 7:25 pm

apxn67@dsl.pipex.com wrote:
quote:

> I am a newbie please help
>
> I have Redhat 7.0 installed but need a 2.4.X kernel to get my alcatel usb
> modem among other things working, so I downloaded kernel.2.4.21 33mb and
> followed
>
> http://www.redhat.com/support/resou...de-5.html#ss5.2


quote:

> My problem is that I can boot easily to the old kernel fine, when selecting
> newlinux (2.4.21) all that happens is
>
> Loading Linux ...............
> system then reboots I never get any further etc
> Uncompressing Linux........kernel ok etc......



When you compile your kernel, you MUST do a:

make mrproper

before you start to configure the kernel, or else you will end with a none
working kernel.


//Aho

J.O. Aho

2004-01-23, 7:25 pm

apxn67@dsl.pipex.com wrote:
quote:

> I am a newbie please help
>
> I have Redhat 7.0 installed but need a 2.4.X kernel to get my alcatel usb
> modem among other things working, so I downloaded kernel.2.4.21 33mb and
> followed
>
> http://www.redhat.com/support/resou...de-5.html#ss5.2


quote:

> My problem is that I can boot easily to the old kernel fine, when selecting
> newlinux (2.4.21) all that happens is
>
> Loading Linux ...............
> system then reboots I never get any further etc
> Uncompressing Linux........kernel ok etc......



When you compile your kernel, you MUST do a:

make mrproper

before you start to configure the kernel, or else you will end with a none
working kernel.


//Aho

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com