LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-16-2011, 12:40 AM   #1
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 181

Rep: Reputation: 9
Question Slackware 13.37 kernel panic and kernel 2.6.38.4 help please


Well, I installed Salix (based on slackware 13.37) on my main drive. However within 5 minutes of booting I get a kernel panic. I downloaded the testing directory from slackware 13.37 with the 2.68.4 kernel and tried to install it. Now when I boot from my hard disk I can only boot into windows as when I choose Salix the kernel tests the BIOS data (which takes a while) successfully but bombs out straight after that due to not finding the root fs.

This is on a Dell 1558 laptop with specs:

Intel core i5
4GB RAM
ATI 5470 Radeon Mobility

My hard drive is partitioned like this:

/sda1 -> Dell setup
/sda2 -> recovery partition
/sda3 -> windows 7
/sda4 -> extended partition
/sda5 -> Salix root partition ‘/’
/sda6 -> Linux ‘/home’ partition
/sda7 -> Linux ‘/data’ partition
/sda8 -> Linux swap partition

sda5 to sda8 is logical partition in the extended partition. I ran mkinitrd as per the initrd.README file in the /boot directory. Can someone point me to some more noobish info of how to install a new kernel in slackware/salix?
 
Old 05-16-2011, 12:44 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Did you update lilo.conf and rerun lilo after doing the kernel update?
 
Old 05-16-2011, 01:17 AM   #3
storkus
Member
 
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 329

Rep: Reputation: 51
I've never run salix, so I don't know what the difference is between it and generic Slackware.

I can tell you that allend is dead-on: I kept on forgetting it a bunch of times tonight as I was fighting with a driver problem and kept having to nuke and re-install (bouncing between 32 and 64 bit and between 37.6 and 38.4).

Another thing is that I've never really liked initrd personally: it's perfect for a distro, but if you're like me and want to customize the kernel (mainly to put it on a diet and shrink it), it is far easier IMHO to compile in the drivers you need at boot time--or ALL the time--and modularize those that you only use occasionally. This tends to make things rock-stable at the cost of being specific to that machine only: good for your home machine, bad if you're managing a network of hundreds or thousands (unless they're all clones).

Mike
 
Old 05-16-2011, 01:19 AM   #4
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Do you have the the line:

initrd = /boot/initrd.gz

in your lilo.conf?

Also, are you confident that you gave mkinitrd the right options? If not, you may want to use the lovely script that installs with mkinitrd-it gives you an ncurses dialog to choose options based on your environment if passed the -i option.
 
Old 05-16-2011, 01:21 AM   #5
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 181

Original Poster
Rep: Reputation: 9
mmm, coming to think of it I might not have updated lilo.conf. How can I fix it now? Would I have to re install from scratch?
 
Old 05-16-2011, 01:38 AM   #6
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 181

Original Poster
Rep: Reputation: 9
Wow, mutiple replies between me replying just now. Thanks all, I did not know about the -i switch guess I will reinstall now.
 
Old 05-16-2011, 02:20 AM   #7
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Quote:
Originally Posted by george-lappies View Post
Wow, mutiple replies between me replying just now. Thanks all, I did not know about the -i switch guess I will reinstall now.
Just for clarity, I am referring to the mkinitrd command generator script which, um, generates mkinitrd commands that you can copy and paste into a shell.

I can't quite remember where it installs to (possibly /usr/mkinitrd) but it should be easy to find. You can also get it here:

http://connie.slackware.com/~alien/tools/
 
1 members found this post helpful.
Old 05-16-2011, 03:45 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
You most certainly do NOT have to re-install to fix this. You just need to boot the install CD, chroot into your root partition and run 'lilo', then reboot.
 
  


Reply



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 on boot with new SATA drive Slackware 12 kernel: 2.6.21.5 theapodan Linux - Hardware 3 05-18-2009 03:02 PM
kernel panic: kernel-2.6.24.3 + alsa-1.0.16(or15) + Slackware-12 ludist Slackware 1 03-07-2008 09:14 PM
Slackware 11 kernel panic with cusom kernel Omni Slackware 4 10-13-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:22 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
Open Source Consulting | Domain Registration