LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-14-2003, 06:31 AM   #1
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Angry 2.4.21 kernel causes automatic reboot


I'm running RH 7.2, on a Pentium II. The original kernel version was 2.4.7, but i'm trying to upgrade it to 2.4.21.

I compiled the kernel with make menuconfig, then make dep && make clean && make bzImage && make modules && make modules_install

I then moved the bzImage into /boot, and set up Grub correctly.
When I choose the option of booting into the new kernel, it automatically reboots.
As far as I can tell it never loads anything, it just reboots instantly when that kernel is chosen.

The same thing happens if I boot into Lilo.
I can boot into the old kernel fine, but so far I haven't found a way to boot into the new one.

I'm guessing this is probably caused by the configuration options, but I have no idea what would make it do this. The only things i've changed from the config of 2.4.7 are masqing-related networking options, I turned off multiproccessor support, and I also set the proccessor to Pentium II.

Does anyone know how I could fix this?

Last edited by pilot1; 07-14-2003 at 07:55 AM.
 
Old 07-14-2003, 09:26 AM   #2
laxi
Member
 
Registered: Jun 2003
Distribution: Linux
Posts: 48

Rep: Reputation: 15
are you sure to write grub.conf correctly?
maybe you could post your grub.conf or lilo.conf
 
Old 07-14-2003, 09:52 AM   #3
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
I'm almost 100% sure, but i'll post my Grub.conf.

Grub.conf:
Code:
default=0
timeout=3
splashimage=(hd0,0)/grub/splash.xpm.gz
password --md5 <Removed>
title Red Hat Linux (2.4.7-10)
        root (hd0,0)
        kernel /vmlinuz-2.4.7-10 ro root=/dev/hda2
        initrd /initrd-2.4.7-10.img
title RH Linux (2.4.21) Router Kernel
        root (hd0,0)
        kernel /vmlinuz-2.4.21 ro root=/dev/hda2
I also tried it with an initrd, but the same thing happened.
 
Old 07-14-2003, 10:18 AM   #4
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
I fixed it, i'll post the answer here in case anyone else has the same problem.

It must have been something to do with the configuration, because I fixed it by copying the original config file (.config) from my 2.4.7 directory to my 2.4.21 directory, and then only changing the stuff I needed to change.
 
Old 07-18-2003, 11:36 AM   #5
blacharz
LQ Newbie
 
Registered: Jul 2003
Location: Poland
Distribution: PLD - www.pld-linux.org
Posts: 1

Rep: Reputation: 0
Post

hi i've got the same problem but i havew something new

i have (default) kernel 2.2.23 and i wnat to upgrade it to 2.4.21

i 've got the same situation after pressing enter in 2.4.21 label my system is rebooting (i see only message loading linux and somthing about Bios)
old image is working

i have Dell mashine (P 200mhz, 32 mb RAM, 3.2 Maxtor disk)

i've tried other kernels, - 2.4.3, 2.4.18, 2.4.20

i've tried also 2.2.25 kernel and it is working

so if you fix up your problem maybe you can help me?

write me what you done to fix it
 
Old 07-19-2003, 02:44 PM   #6
pilot1
Member
 
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Original Poster
Rep: Reputation: 30
I fixed it, by using the config from my old kernel.
But that wouldn't work for you..

I'm not at home right now and my home network seems to be down, but if you send me an email i'll send you the config file I used to compile it.
Then you can just load that config file, and make the changes that you need too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic kernel upgrade treebug Debian 1 06-16-2005 12:53 PM
Automatic reboot on kernel panic atlesn Linux - General 2 11-30-2004 10:04 AM
Automatic reboot with new kernel erik_wout_ew2 Linux - General 1 04-18-2004 02:12 PM
Automatic Reboot scottpioso Linux - General 11 12-10-2003 04:18 PM
Automatic Nightly reboot locke Linux - General 1 02-10-2002 02:06 PM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration