mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Voluspa <voluspa@bigfoot.com>
To: Alexander Viro <viro@math.psu.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.6-pre3 Kernel panic: VFS: Unable to mount root fs on 03:02
Date: Thu, 7 Mar 2002 10:21:50 +0100	[thread overview]
Message-ID: <20020307102150.6ea28753.voluspa@bigfoot.com> (raw)
In-Reply-To: <Pine.GSO.4.21.0203070329090.24127-100000@weyl.math.psu.edu>
In-Reply-To: <20020307085636.4feb2372.voluspa@bigfoot.com> <Pine.GSO.4.21.0203070329090.24127-100000@weyl.math.psu.edu>

On Thu, 7 Mar 2002 03:42:32 -0500 (EST)
Alexander Viro <viro@math.psu.edu> wrote:


> > mount() -> -14
> > VFS: Cannot open root device "302" or 03:02
> 
> Bloody hell...  14 is EFAULT.  And that - from sys_mount() called by

Hey, you're talking to pure user land here (but I guess it's meant for the other kernel hackers :-)

> task that has KERNEL_DS as addr_limit.  What options do you pass to kernel
> and what filesystems are compiled in?

No options at all, except what lilo provides:

loke:loke:/proc$ cat cmdline
BOOT_IMAGE=2.4-Linux-test ro root=302 ramdisk=0

(Exchange 2.4-Linux-test with 2.5-Linux-test)

File systems compiled in:

loke:loke:/proc$ cat filesystems 
nodev   rootfs
nodev   bdev
nodev   proc
nodev   sockfs
nodev   tmpfs
nodev   pipefs
nodev   binfmt_misc
        ext2
        minix
        msdos
        vfat
        iso9660
nodev   nfs

Not changed in 2.5 (preempt enabled there shouldn't make a difference)

>  Actually, adding printk("%s\n", p);
> in the same place might give some hints...

I interpret that as printk("mount() -> %d\n", err); can be swapped with printk("%s\n", p); and I'll do that right away. Last compile, then I must rush to work.

Regards,
Mats Johannesson
Sweden

  parent reply	other threads:[~2002-03-07  9:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07  6:21 Voluspa
2002-03-07  6:29 ` Alexander Viro
2002-03-07  7:56 ` Voluspa
2002-03-07  8:42   ` Alexander Viro
2002-03-07  9:21   ` Voluspa [this message]
2002-03-07 10:48   ` Voluspa
2002-03-07 11:09     ` Alexander Viro
2002-03-07 16:29     ` Voluspa
2002-03-07 16:57       ` Martin Dalecki
2002-03-07 12:37 ` Martin Dalecki

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=20020307102150.6ea28753.voluspa@bigfoot.com \
    --to=voluspa@bigfoot.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@math.psu.edu \
    /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

all inboxes | Powered by JetHome®