linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Daniel Savard <dsavard@videotron.ca>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] root fs on a LVM cause kernel panic
Date: Thu Nov 15 13:40:02 2001	[thread overview]
Message-ID: <01111514345801.02805@dirac.cids.ca> (raw)

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 :
> On Nov 15, 2001  00:41 -0500, Daniel Savard wrote:
> > I read the lvmcreate_initrd man 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/

             reply	other threads:[~2001-11-15 13:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-15 13:40 Daniel Savard [this message]
2001-11-16 10:08 ` [linux-lvm] root fs on a LVM cause kernel panic Joost van der Locht
  -- strict thread matches above, loose matches on Subject: below --
2001-11-19 10:10 Daniel Savard
2001-11-16 16:57 Daniel Savard
2001-11-16 18:18 ` Andreas Dilger
2001-11-16 23:11   ` Daniel Savard
2001-11-19  2:53     ` Joost van der Locht
2001-11-16 22:50 ` Brent Harding
2001-11-14 23:53 Daniel Savard
2001-11-15  0:03 ` Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01111514345801.02805@dirac.cids.ca \
    --to=dsavard@videotron.ca \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).