LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-27-2007, 11:04 AM   #1
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Rep: Reputation: 32
kernel 2.6.22 on Slackware not working after installation of Debian 4.0


Hi!
I recently compiled kernel 2.6.22 on Slackware 11.0 installation on my Acer Aspire 5100 laptop.

I was having some kernel panic problems when I tried to boot into it, which evaporated when I enabled SATA support in the new kernel. I was able to work in this new kernel until I installed Debian on a separate partition overwriting the lilo of Slackware with Debian's Grub.

Now when I try to boot into Slackware kernel 2.6.22 I get Kernel panic error. But if I try to boot into Slackware with kernel 2.6.17, I am able to boot in without any problem.

As a drastic measure I copied the config file from /boot/ of Debian (kernel 2.6.22 again)into Slackware and loaded it from xconfig and compiled the kernel once more. Still I am getting the same error.

Here is the relevant portion of menu.lst

Quote:
title Slackware Linux 2.6.22 (Slackware 11.0.0) (on /dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz-2.6.22 root=/dev/sda2
savedefault
boot
Any suggestions?

Thanking in advance,
 
Old 08-27-2007, 11:12 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
did you maybe use an initrd?
 
Old 08-27-2007, 11:45 AM   #3
adityavpratap
Member
 
Registered: Dec 2004
Location: Hyderabad, India
Distribution: Slackware 13, Ubuntu 12.04
Posts: 431

Original Poster
Rep: Reputation: 32
S**t, I knew I forgot something! I'll try this command, please correct me if I am wrong -
Quote:
#cd /boot/
#mkinitrd -o /boot/initrd.img-2.6.22 2.6.22
 
Old 08-27-2007, 02:53 PM   #4
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
cat /boot/README.initrd
 
Old 08-27-2007, 03:52 PM   #5
Carpo
Member
 
Registered: Aug 2003
Location: Somewhere
Distribution: Gentoo (for now)
Posts: 364

Rep: Reputation: 30
mkinitrd -c -k 2.6.22 -m ext2/3/resierfs
 
  


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
Keyboard Stops Working During Installation of Slackware 10.2 jakethesnake Slackware 1 12-23-2005 04:18 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
Debian Installation under kernel 2.4+ csvke Debian 3 01-11-2005 09:27 AM
Kernel Installation Under Debian (Sarge) PeaceTank Linux - Software 2 12-05-2004 09:25 PM


All times are GMT -5. The time now is 11:56 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration