linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Daniel Savard <dsavard@videotron.ca>
To: Andreas Dilger <adilger@turbolabs.com>
Cc: linux-lvm@sistina.com
Subject: Re: [linux-lvm] root fs on a LVM cause kernel panic
Date: Fri Nov 16 23:11:02 2001	[thread overview]
Message-ID: <01111700053800.01209@dirac.cids.ca> (raw)
In-Reply-To: <20011116171922.M1308@lynx.no>

Number 2 can be dropped. I re-ran lilo after changing the configuration.

I just tested number 1, this time I am getting an error while trying to access
/dev/ram0 which doesn't exist at this time in the execution sequence. 

The error message was as follow:

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
request_module [block-major-1]: Root fs not mounted
VFS: Cannot open root device "100" or 01:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 01:00

From this, I decided to check my kernel setup and discovered (silly me) I made
a newbie error. The initrd support at boot time was not enabled in my kernel.

So, thanks for help to everyone and particularily to roadrunner on the IRC
channel who give much time on-line to help me and Andreas Dilger.

My system is not fully functionnal yet, however, the LVM problem is solved.

My target configuration is a Linux From Scratch system, mostly based on V 3.0
instructions. But, instead of gcc 2.95.3 it is based on gcc 3.0.2 and glibc
2.2.4 with kernel 2.4.13. My remaining errors are with the initialization
scripts for the LFS, this is off topic on this dist list.

So, if I can help in the future with testing. Let me know.

 -- 

================================
Daniel Savard
Internet: dsavard@videotron.ca
================================

Le ven, 16 nov 2001, Andreas Dilger a �crit :
> On Nov 16, 2001  17:19 -0500, Daniel Savard wrote:
> > While booting I am ending with a kernel panic message. The few last lines of
> > the boot message are as follow:
> > 
> > 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
> 
> Hmm, you only get that message when the initial boot is done, so two 
> possibilities (I'm not an initrd guru, mind you):
> 
> 1) you need to change the root= line in your lilo.conf to say "root=/dev/ram0"
>    so that it will boot into the initrd.  Then do the real-root-dev trick
>    (or try pivot_root if running a 2.4 kernel) after configuring the LVM
>    stuff via vgscan; vgchange -a y.
> 
> 2) You didn't re-run lilo after changing lilo.conf (yes, you probably did,
>    but you can never tell from here, and always safe to ask).
> 
> > I also tested with ramdisk_size=X, where X is the size returned by the
> > lvmcreate_initrd script for the ramdisk.
> 
> As long as this is larger than the size of the uncompressed ramdisk, you
> should be OK.
> 
> Cheers, Andreas
> --
> Andreas Dilger
> http://sourceforge.net/projects/ext2resize/
> http://www-mddsp.enel.ucalgary.ca/People/adilger/

  reply	other threads:[~2001-11-16 23:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16 16:57 [linux-lvm] root fs on a LVM cause kernel panic Daniel Savard
2001-11-16 18:18 ` Andreas Dilger
2001-11-16 23:11   ` Daniel Savard [this message]
2001-11-19  2:53     ` Joost van der Locht
2001-11-16 22:50 ` Brent Harding
  -- strict thread matches above, loose matches on Subject: below --
2001-11-19 10:10 Daniel Savard
2001-11-15 13:40 Daniel Savard
2001-11-16 10:08 ` Joost van der Locht
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=01111700053800.01209@dirac.cids.ca \
    --to=dsavard@videotron.ca \
    --cc=adilger@turbolabs.com \
    --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).