kernel does not decompress after a compile
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Kernel > kernel does not decompress after a compile




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    kernel does not decompress after a compile  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

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...l#
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










[ Post a follow-up to this message ]



    Re: kernel does not decompress after a compile  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

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[/c olor]
quote:
> My problem is that I can boot easily to the old kernel fine, when selectin g > 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




[ Post a follow-up to this message ]



    Re: kernel does not decompress after a compile  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

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] http://www.redhat.com/support/resou...de-5.html#ss5.2[QUOTE][col or=darkred] > selecting[QUOTE] > > 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 >




[ Post a follow-up to this message ]



    Re: kernel does not decompress after a compile  
J.O. Aho


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

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 instruction s. > > please help as I have had a taste of this new world and I like it.....plea se > 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 loa d 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 kerne l, 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 ab le 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




[ Post a follow-up to this message ]



    Re: kernel does not decompress after a compile  
Mark Taylor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-04 12:28 AM

<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




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:51 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register