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:28 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:28 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

2004-01-23, 7:28 pm

I have just going through the steps again, very carefully and I did a make
mrproper before I did anything, as per the link below and your instructions.

please help as I have had a taste of this new world and I like it.....please
help a microsoft person who is williing to change his spots.




"J.O. Aho" <user@example.net> wrote in message
news:bf8v5f$cgs3i$3@ID-130698.news.uni-berlin.de...
quote:

> apxn67@dsl.pipex.com wrote:
usb[QUOTE][color=darkred]
http://www.redhat.com/support/resou...de-5.html#ss5.2[QUOTE][color=darkred]
>
selecting[QUOTE][color=darkred]
>
> 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:28 pm

apxn67@dsl.pipex.com wrote:
quote:

> I have just going through the steps again, very carefully and I did a make
> mrproper before I did anything, as per the link below and your instructions.
>
> please help as I have had a taste of this new world and I like it.....please
> help a microsoft person who is williing to change his spots.



The easy way would be to download a RH7.x kernel 2.4 source-rpm, you can load
the kernel-2.4.20-18.7.src.rpm from the RedHat ftp, and you rebuild it with
the option

rpm --rebuild kernel-2.4.20-18.7.src.rpm

This will take a while, as it will make some different versions of the kernel,
do install the one that fits your system best. You will find the freshly
rebuild kernel in /usr/src/redhat/RPMS/i386. There may be some dependency
problems, for you will need to upgrade some of the utils from RH7.0 to be able
to compile the kernel and use it. Another way would be to upgrade to RH7.3
with help of the upgrade option on the RH7.3 CDs.


//Aho

Mark Taylor

2004-01-23, 7:28 pm

<apxn67@dsl.pipex.com> wrote in
news:3f183fa3$0$18486$cc9e4d1f@news.dial.pipex.com:
quote:

> I have just going through the steps again, very carefully and I did a
> make mrproper before I did anything, as per the link below and your
> instructions.
>
> please help as I have had a taste of this new world and I like
> it.....please help a microsoft person who is williing to change his
> spots.
>
>
>
>
> "J.O. Aho" <user@example.net> wrote in message
> news:bf8v5f$cgs3i$3@ID-130698.news.uni-berlin.de...
> usb
> http://www.redhat.com/support/resou.../kernel2.2-upgr
> ade-5.html#ss5.2
> selecting
>
>



The best advice I can offer is to go to the Red Hat Update site. If you
have a boxed version of RH then it is free. If not, It's like $5 per
month. You can set it to update everything automatically as the updates
become available, without user intervention. The only thing you will hve
to do is reboot following a kernel update.

It's never failed me yet.


Cheers,
Mark
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com