LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2005, 07:51 PM   #1
SCFan42
LQ Newbie
 
Registered: Aug 2004
Location: Dayton, OH
Distribution: Slackware 10.2
Posts: 25

Rep: Reputation: 15
Kernel Panic - Root/VFS something


Yesterday I went and updated my 2.6.7 kernel to 2.6.10 (using pkgs from 10.1). I started my system with 10.0 and updated occasionally using swaret, but I haven't been able to run swaret since about xmas. I've done probably 15 recompiles by now, but what I still get is approximately:

Kernel Panic - Not Syncing : VFS : Cannot mount root on unknown-device(3,2)

The partition is /dev/hda2, I've tried booting using root=/dev/hda2, I enabled VFS (despite the config's warning that it's obsolete), I have reiserfs, ext3, and ext2 all built into the kernel, and I've completely reconfigured the kernel, and it still gives me the error. lilo.conf is fine, fstab is fine, and other kernels (two backup 6.7s and an old 4.26, minus the mouse for the 6.7s) boot just fine.
I've also done some searching on the forum, and I found one similar problem, but no answer to it.

Last edited by SCFan42; 02-13-2005 at 01:40 PM.
 
Old 02-08-2005, 08:54 PM   #2
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Either something is wrong with the kernel config or something's wrong with the bootloader config.
What's your lilo config look like?

-- the dudeman
 
Old 02-12-2005, 03:36 PM   #3
luv2hike
LQ Newbie
 
Registered: Nov 2003
Posts: 14

Rep: Reputation: 0
I'm having this exact same issue. I was succesfully running 2.6.7 in 10.0 then upgraded my system to 10.1 and it booted up fine using 2.4.29. Then I did the upgrade procedure for 2.6.10 as I need udev, and I get the kernel panic when booting with it. I'm using all tgz files from the CDs. I have no idea what to do now. Any suggestions?
 
Old 02-12-2005, 03:44 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
SCFan42>
---
and other kernels (two backup 6.7s and an old 4.26, minus the mouse for the 6.7s) boot just fine.
---

if you have a config-file for that kernel ( 6.7 ) , use that to compile the 2.6.10.

or did you do that,,,,

egag
 
Old 02-12-2005, 11:09 PM   #5
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
OK, luv2hike, are you using udev? Because if you are, then you'll need to setup coldplug for bootup.

I use a Gentoo system, which has all the packages that I need and step-by-step howto for configuring udev (see this guide for details on how I did it with Gentoo). Udev depends on hotplug, which is the software that gets alerted when there is a harware change. Hotplug calls udev, which then performs it's thing (usually making a device in /dev). However, coldplug is kind of the same as hotplug, only it's for system startup. It could be that you need to investigate further into how to get coldplug working on your system.

Again, I'd be more specific on what to do, but I only know the Gentoo way, which is to read the howto. I hope this points you in the right direction.

-- the dudeman
 
Old 02-13-2005, 01:38 PM   #6
SCFan42
LQ Newbie
 
Registered: Aug 2004
Location: Dayton, OH
Distribution: Slackware 10.2
Posts: 25

Original Poster
Rep: Reputation: 15
I did use my 6.7 config first, and when that didn't work I made a new config as well. The generic kernel didn't work either. I was suggested by a friend to try hda=remap in the boot options, but that didn't work either.
I had also noticed at the end of "make" that it says "root device : (3,2)" or so.

Last edited by SCFan42; 02-13-2005 at 01:39 PM.
 
Old 02-13-2005, 02:32 PM   #7
ron_ls
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
I had the same problem. When I first installed Slackware 10.1 I formated my root partition with reiserFS than I upgraded my kernel from 2.4.29 to 2.6.10 and had that same problem you have. I then had to reinstall the slackware 10.1 and I chose to format my root partition using the ext2 than I upgraded my kernel to the 2.6.10 and I had no problem. And I even downloaded and installed the kernel-2.6.11-rc4 from kernel.org and got it running fine. I just cant get the Nvidia driver to install yet on the 2.6.11-rc4 kernel. The kernel 2.6.10 and kernel 2.6.11-rc4 dont work if you formated your root partition using reiserFS when you install slackware 10.1.
 
Old 02-14-2005, 09:23 AM   #8
luv2hike
LQ Newbie
 
Registered: Nov 2003
Posts: 14

Rep: Reputation: 0
Thanks for the tip on coldplug and the info on reiserfs. I'm not doing a clean install of 10.1 but am upgrading a 10.0 system and the root is already formatted to reiserfs. I don't want to change this as I like the journaling feature and I have too many apps installed and configured to blow it all away. I find it odd that the "recommended" file system would not be supported by the latest kernel for the root partition. It worked with the 2.6.7 kernel in 10.0. I'll see if I can find info on the coldboot idea.
 
Old 02-14-2005, 01:12 PM   #9
luv2hike
LQ Newbie
 
Registered: Nov 2003
Posts: 14

Rep: Reputation: 0
I got past the issue and successfully booted to runlevel 3's login prompt with 2.6.10. I deduced it was that reiserfs was built as a module and it needed it as the / partition was reiser. I did the mkinitrd but that did not help as it has in the past. So I rebuilt the kernel from source, compiling ext2, ext3, and reiserfs directly into the kernel, so no initrd needed now in lilo.conf. It booted up fine after doing this. Maybe prebuilt binaries should have these 3 "main" filesystems compiled in by default as it doesn't hurt anything and these are the recommened Slack partition types?
 
  


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: VFS: Unable to mount root fs on 09:02 verbali Linux - Hardware 8 02-24-2004 06:11 PM
kernel panic VFS: couldn't find root on 16:07 (or something like that) suhis Linux - Software 5 12-14-2003 06:15 PM
Kernel panic: VFS: Unable to mount root fs on 08:01 welsh2000836 Debian 3 08-31-2003 02:34 PM
kernel panic VFS: unable to mount root davmonster Slackware 1 05-20-2003 07:44 PM
Kernel panic:VFS:unable to mount root fs on 01:03 Marc Linux - Software 2 12-08-2001 09:59 PM

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

All times are GMT -5. The time now is 08:09 AM.

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