LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-03-2003, 03:05 PM   #1
Infje
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Unhappy Slack9.0 - Kernel 2.4.22 - System keeps rebooting


Hello there.

As you can see this is my first post, so I hope this is done alright. I just installed Slack 9 with the standard bare.i kernel image. Since this box is going to be a firewall at some point I chose for a minimal installation. Everything works fine, but recently I compiled the latest kernel (2.4.22) and after lilo has done its job the system just reboots.

Info:
Pentium 166
16MB RAM (yeah - I know )
Old Intel PCI chipset with 3 PCI slots and 3 ISA slots. Its an IBM PC330.

Kernel: 2.4.22
Distro: Slack 9.0
Latest GCC/make versions

Does anybody have any clues as to what this might be?

Thanks in advance!
-Menno
 
Old 10-03-2003, 04:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Could be anything. Can you still boot to your old kernel or image? If not, might need to boot from the cd to reconfigure, etc.

From CD boot prompt like your going to install again type this:

linux root=/dev/hdXX

Where XX is the partition and partition number where root resides.
 
Old 10-03-2003, 04:25 PM   #3
Infje
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry, should've mentioned that.

Before I compile new kernels I always create two boot options in lilo.conf so my old kernel is still bootable. I've tried various kernel configs and must've recompiled it a dozen times now.

I was thinking about maybe using an initrd image, but my old kernel is still booting so that shouldn't be an issue.

It stops right after BIOS DATA CHECK SUCCESFULL, before even uncompressing the kernel. In fact, it stops right before where it should do that.
 
Old 10-03-2003, 04:28 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
You compile any options that pertain to the BIOS or anything.. ? I can just suggest boot with your old kernel and try recompiling again, or if you saved your .config, take a look at what you compiled, etc.
 
Old 10-03-2003, 04:40 PM   #5
Infje
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
You compile any options that pertain to the BIOS or anything.. ? I can just suggest boot with your old kernel and try recompiling again, or if you saved your .config, take a look at what you compiled, etc.
Nope, as far as I can tell nothing related to my BIOS that I compiled. I did save the .config and went over it... and over it.. and then over it some more. Until I was ready to toss the monitor out the window. I used the same .tgz for my notebook and it works like a charm. Just not for that damn P166

Tried websearching but no results either. I'm at a loss here.
 
Old 10-04-2003, 04:36 AM   #6
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quite often this is caused by selecting the wrong CPU type.

If you want to compile a kernel that pretty much matches the preinstalled one do this:

After installing 2.4.22 sources in /usr/src/linux.
cd /usr/src/linux
make mrproper
cp /boot/config ./.config
make oldconfig

Now you can continue with the kernel and modules and you should end up with a kernel with all the options and modules of the bare.i kernel.
 
Old 10-04-2003, 08:05 AM   #7
Infje
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I selected the 'Pentium Classic' option as I figured that matches a classic Pentium 166. Its definately not a MMX proc but I could always give that one a shot.

If not I'll try the old config. Good tip, thanks.

Do you have any other ideas? It just strikes me as funny that it won't work while I follow the standard procedure.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel panic after rebooting the system.Urgent.Please help. sharmashikha Linux From Scratch 3 07-07-2005 10:36 AM
System automatically rebooting! defa0009 Linux - General 13 03-23-2004 11:01 AM
Help, system is rebooting nightly.. BxBoy Linux - General 3 12-18-2003 03:21 PM
System keeps rebooting after Kernel Loads codeviking Linux - Software 4 10-19-2003 09:02 PM
Self Rebooting System hubergeek Linux - General 2 06-11-2003 08:36 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration