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 07-05-2005, 11:34 AM   #1
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Question VFS: Unable to mount root fs


VFS: Unable to mount root fs

This is what I get when I try to boot from my freshly compiled 2.6 kernel (also got the same error with the previous 11 2.6 kernels I compiled, yes, 11). Before I get flammed, I have googled and googled trying find a solution. Here are some things I have tried:

- My root partition is reiserfs. I made sure that I compiled reiserfs support into the kernel, and not as a module.

- Another thread on this forum suggested using the 2.4 stock config file that comes with slack 10.1 to compile the 2.6 kernel. Same error.

- A post on some other site recommended turning on PCbios support. No go.

- I ran lilo after every single compile and kernel install before rebooting to test the new kernel.

- Redownloaded kernel source and re-did the config (several times) from scratch. Still nothing.

- Suspected that I needed initrd, but my working stock 2.4 kernel isn't using it to boot.

- I know I could use the pre-compiled 2.6 kernel on the 2nd slack CD, but that defeats the purpose of this whole undertaking-- learning experience.

Now here's the really weird part: After giving up on this whole thing a week ago, just for the heck of it, I fired up VMWare on my XP partition and created a new virtual machine. I pointed it to my linux partitions to boot from and lo and behold! the 2.6 kernel boots in VMware!

I suspect that this has something to do with my IDE controller, which is an Intel 82801. VMWare uses a generic emulated IDE controller. For the heck of it, I looked in menuconfig for a specific driver for that chipset, but found none. Any insight anyone can give would be greatly appreciated.

The machine in question is a Dell Latitude D610

Last edited by mmatis; 07-05-2005 at 11:36 AM.
 
Old 07-05-2005, 11:42 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
After a bit of Google searching, it seems your laptop has SATA drives, and NOT IDE.

So then the solution obviously is that you need to compile in SATA suport for the kernel to be able to access the drive.
 
Old 07-05-2005, 11:53 AM   #3
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
What?! Well, I'll be damned. Learning experience indeed...

Thank You, I'll give that a try!
 
Old 07-05-2005, 11:53 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Try enable your IDE chipset in config (as built-in, not module) :
CONFIG_BLK_DEV_PIIX

Device Drivers -->
ATA/ATAPI/MFM/RLL support -->
Intel PIIXn chipsets support

Last edited by keefaz; 07-05-2005 at 11:55 AM.
 
Old 07-06-2005, 08:35 AM   #5
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
MS3FGX: Compiled SATA support into the kernel from the SCSI section-- no go. I think I'll turn that off and try the SATA support under Block Devices that is marked a depricated.

Keefaz: Thanks for the advice. That was one of the things I had tried before, but forget to mention in my original post.

I'm getting the sneaking suspicion that the 2.6 kernel dosen't support my storage controller (Intel 82801FBM)... My current running hypothesis is that the 2.4 kernel is using the depricated SATA support. But on second thought, the fact that one of the attempts I made using the stock 2.4 config file to compile the 2.6 kernel resulted in the same error, kind ow blows that hypothesis out of the water. *sigh*

Anyone have anymore ideas/ insight?
 
Old 07-06-2005, 09:13 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
First, we need to know at least if your drive is IDE or SATA...
 
Old 07-06-2005, 09:28 AM   #7
mmatis
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
To be honest, I'm not 100% sure. MS3FGX says that it is SATA, but in WINXP the device manager says it is Ultra ATA and has the standard 2 IDE channels and mentions nothing about SATA. I even took the HD out of the laptop and it looks like every other Laptop HD I've ever seen, complete with mini IDE connector. I've never seen a SATA laptop HD, so I really don't have a basis for comparison. My best educated guess is that it is IDE. Also, I was under the impression that SATA drives in Linux show up as dev/sd* as opposed to dev/hd*. In kernel 2.4, mine show up as dev/hda.

Thanks!
 
Old 07-06-2005, 09:34 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I think it is an IDE so.
You need the correct IDE chipset driver in kernel
You said that Intel PIIXn chipsets support driver is not
the correct one.
Maybe you should stuck with generic/default IDE chipset support
until you find the proper one ?
 
Old 07-06-2005, 11:37 AM   #9
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
My advice is to use the 2.6.10 config in "testing" cd2 (make oldconfig), add a "y" for reiserfs, then strip down as necessary.
 
Old 07-07-2005, 01:01 AM   #10
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Hello,

Is this the first 2.6 kernel you are running ??

If so did you install the new module package "module-init-tools-3.1" ... try:
`modprobe -V`

Should return "module-init-tools version 3.1"

The 2.6 kernel will not work with the older modules package, the commands are the same and the new one is backwards compatitable.

Michael
 
Old 07-07-2005, 01:31 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Bluesuperman, slackware is compatible with 2.6 kernels
from slackware 9.0, eg it has already the compatible
modules init tools.
 
Old 07-07-2005, 10:44 AM   #12
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
So if I understand correctly it works fine in 2.4 but 2.6 you VFS errors? Well from my experience with my Toshiba Tecra M3 it worked with 2.4 but no DMA on the drive. Compiled new 2.6 driver and got VFS errors. Like you I just could not figure it out. Compiled the kernel well over 50 times(no joke). Then realised. If its using SATA kernel then its going to change the HDD device from hda to sda. So then all I did was boot Slax since it uses newer 2.6 kernels and low and behold it mounted the partitions as sda1 sda2, etc under /mnt so I knew I was right. All I did after that was mount proc in /mnt/sda1 (mount -t proc proc /mnt/sda1/proc) then a chroot into /mnt/sda1 edit lilo.conf changing anything that says hda to sda(anything that says hda change it) and then edited my /etc/fstab. Reboot and what do you know I have a working system. Just boot slax and see if it mounts your stuff in /mnt as sda etc.

Oh and don't forget to run 'lilo' after you change it.

Last edited by Namaseit; 07-07-2005 at 10:45 AM.
 
Old 07-07-2005, 09:21 PM   #13
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
Well if the user has a working 2.4 kernel and system and is compiling the same config for a 2.6 kernel. The only realy thing I can see if the modules causing a problem.

Either the modules are not be created in which case they should run:
make modules_install

They are using a initrd image which is not part of the standard slackware setup and in which case a new initrd image will need to be created.

Or the module can not be loaded due to the new modules tool requirement.

.... mmatis ... if you are reading this do you have the udev-050-i486-1.tgz package installed ?

Michael
 
Old 07-07-2005, 09:24 PM   #14
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
You cant use a config from a 2.4 kernel to compile a 2.6 kernel.
 
Old 07-10-2005, 06:20 PM   #15
c0rderr0y
Member
 
Registered: Feb 2004
Distribution: Kubuntu
Posts: 71

Rep: Reputation: 15
Hey Namaseit can you please explain step by step on the serial ATA thing.. i am having that EXACT same problem.... i just "tried" doing what you said to so and i messed up somewhere......

i can run lilo says something bout sda permission.....

Last edited by c0rderr0y; 07-10-2005 at 11:21 PM.
 
  


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
VFS: Unable to mount root fs pappsynz Linux - Newbie 10 10-07-2005 07:02 AM
VFS : Unable to mount root fs on 16:03 new.thing Slackware 5 07-05-2005 09:55 AM
VFS Unable to mount root fs on 00:00 thelandrew Linux - Newbie 9 03-30-2004 01:25 AM
VFS: unable to mount root fs -Dice Linux - Newbie 20 11-04-2003 01:05 PM
VFS: unable to mount root fs wgast77 Linux - General 5 07-30-2003 01:13 PM

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

All times are GMT -5. The time now is 05:38 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