root fs on a LVM cause kernel panic
Yes I did.
The behavior is exactly as you stated. It seems the VGs are never detected and then the device for the root filesystem remains invalid.
Is there anything I can do to check what is going wrong? I am new to the initrd and its usage. I don't know how to work with this beast... I don't think it is related to the lilo.conf. I saw a comment in the linux-lvm mailing list from Les Hazelton Sat, 13 Jan 2001 01:11:05-0500, it is very similar to my problem. However, no solution is described.
I looked at the lvmcreate_initrd script and found the actual libraries where not included in the image, just the symlinks where taken. I modified the script in order to include the actual libraries. It didn't work.
The exact message is as follow:
(snip)
VFS: Cannot open root device "3a01" or 3a:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 3a:01
Daniel Savard
Le jeu, 15 nov 2001, vous avez �crit :
Quoted 19 lines · Daniel Savard
Quoted 9 lines
I read the
lvmcreate_initrdman page and followed the instructions to create the kernel image with LVM support. However, I am unsuccessful to make it working properly. The system boot and is showing its messages, including the message about LVM support in the kernel and while it is trying to mount the root filesystem, I am getting a kernel panic message saying the "root=" stanza should be provided with a valid device for the root filesystem.What am I doing wrong? Is there anything missing? Any way to get extra debugging messages?
Did you add the initrd image to the kernel stanza in lilo.conf and re-run lilo? It sounds like your kernel is booting, but the VGs are not active.
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/
Hello,
Be sure that you compiled the SCSI drivers into the kernel. Because when you use lvmcreate_initrd script it doesn't load in any modules for it.
Joost van der Locht
Technisch Directeur
E*Cube BV
Toernooiveld 214 - 6525 EC Nijmegen
T: 024-3500437 - F: 024-3500613
http://www.e-cube.nl
e-mail: [email protected] ICQ UIN: 494145
Quoted 72 lines
-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]]Namens Daniel Savard
Verzonden: donderdag 15 november 2001 20:31
Aan: [email protected]
Onderwerp: Re: [linux-lvm] root fs on a LVM cause kernel panicYes I did.
The behavior is exactly as you stated. It seems the VGs are never detected and
then the device for the root filesystem remains invalid.Is there anything I can do to check what is going wrong? I am new to the initrd
and its usage. I don't know how to work with this beast... I don't think it is
related to the lilo.conf. I saw a comment in the linux-lvm mailing list from Les
Hazelton Sat, 13 Jan 2001 01:11:05-0500, it is very similar to my problem. However, no solution is described.I looked at the
lvmcreate_initrdscript and found the actual libraries where
not included in the image, just the symlinks where taken. I modified the script
in order to include the actual libraries. It didn't work.The exact message is as follow:
(snip)
VFS: Cannot open root device "3a01" or 3a:01
Please append a correct "root=" boot optionKernel panic: VFS: Unable to mount root fs on 3a:01Daniel Savard
Le jeu, 15 nov 2001, vous avez écrit :
Quoted 2 lines · Daniel Savard
Quoted 1 line
I read the
lvmcreate_initrdman page and followed theinstructions to create
Quoted 1 line
Quoted 1 line
the kernel image with LVM support. However, I am unsuccessful
to make it
Quoted 1 line
Quoted 1 line
working properly. The system boot and is showing its
messages, including the
Quoted 1 line
Quoted 1 line
message about LVM support in the kernel and while it is
trying to mount the
Quoted 1 line
Quoted 1 line
root filesystem, I am getting a kernel panic message saying
the "root=" stanza
Quoted 6 lines
Quoted 4 lines
should be provided with a valid device for the root filesystem.
What am I doing wrong? Is there anything missing? Any way to get extra debugging messages?
Did you add the initrd image to the kernel stanza in lilo.conf
and re-run
Quoted 1 line
lilo? It sounds like your kernel is booting, but the VGs are
not active.
Quoted 6 lines
Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html