LinuxQuestions.org
Help answer threads with 0 replies.
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 10-12-2006, 01:38 PM   #1
Omni
Member
 
Registered: Sep 2003
Posts: 54

Rep: Reputation: 15
Slackware 11 kernel panic with cusom kernel


Hey folks,

I installed Slackware 11. Upon downloading the latest stable kernel (2.6.18), I configured it to add ReiserFS into the kernel (not as a module). All other options are rather conservative to try and ensure a boot.

I did the standard "make; make modules_install; make install".

Rebooting, I get

VFS: Cannot open root device "303" or unknown-block (3,3)
Please append correct "root=" boot option
Kernel panic - not sycing: VFS: Cannot open root device "303" or unknown-block (3,3)

"root=/dev/hda3" , the partition where the system resides.

Now I'm not sure what to do here. I've built 2.6 kernels before for slackware 10.2, and have not had a problem. I have also added support for ext2 and ext3, just to shotgun debug. Most other options are the default, except I added smp support for 2 processors, set the processor type to P4, and added the hyperthreading module. This matches my processor.

So I would like to track down this problem, but I need to know where to start looking. There has to be a better way than to build kernels at random until something hopefully boots. So any assistance is much appreciated.
 
Old 10-12-2006, 01:54 PM   #2
Omni
Member
 
Registered: Sep 2003
Posts: 54

Original Poster
Rep: Reputation: 15
I found a bit on the subject. Aparently I need to create an initrd. I'm going to do a bit more research on this and get back to you all about how it went down.

Here is the link, the section I'm refering to is about half way down titled "Creating an initrd":

http://alien.slackbook.org/dokuwiki/...kernelbuilding

Cheers!
 
Old 10-12-2006, 03:34 PM   #3
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
Tuxrules said this. And he is right. I still had the
kernel panic after configuring eveything needed as built-in.

So I checked the config for my IDE controller on the 2.4.33.3
and selected the same options on the 2.6.18 - problem solved.

Good Luck

-W
 
Old 10-12-2006, 04:23 PM   #4
tp11235
Member
 
Registered: Feb 2005
Location: Somerset, England
Distribution: Gentoo
Posts: 105
Blog Entries: 1

Rep: Reputation: 15
I had the same problem. I had failed to check that I was compiling support for my IDE chipset into the kernel. I had just got complacent I guess. Without the IDE support the kernel could not work the hard disk.

During Make Menuconfig check under ATA/ATAPI?MFM/RLL support

Make sure you have selected support for your particular chipset.
 
Old 10-13-2006, 10:02 AM   #5
Omni
Member
 
Registered: Sep 2003
Posts: 54

Original Poster
Rep: Reputation: 15
mokele:

I havn't checked out that link of yours yet, but yeah, I reconfigured my kernel and lilo (an error on my part invalidated my slack_old option so they pointed to the same thing), and rebooted for the heck of it. I expected it to fail, but it booted! I credit shotgun debugging. I selected a few generic IDE modules this time around, and something along those lines must have done it.

I still have a few errors that show up while booting, and they scroll by too damn fast to read, and they don't show up in the boot log. I'm working on that though.

But thanks for the responses folks.
 
  


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
Why does Kernel 2.6.17.1 + Slackware 10.2 = Kernel Panic? banjzooie Linux - Kernel 4 06-25-2006 09:59 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 04:05 PM
Kernel Panic with new kernel in slackware Omniscientist Linux - General 4 11-12-2004 01:21 PM
Cusom kernel installation disk jplev22 Slackware - Installation 1 01-18-2004 03:35 PM


All times are GMT -5. The time now is 06:47 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 Google+: linuxquestions
Open Source Consulting | Domain Registration