public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Steinmetz <ast@domdv.de>
To: vda <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: linux-kernel@vger.kernel.org
Subject: RE: [BUG] 2.4.16pre1: minix initrd does not work, ext2 does
Date: Tue, 27 Nov 2001 15:13:56 +0100 (CET)	[thread overview]
Message-ID: <XFMail.20011127151356.ast@domdv.de> (raw)
In-Reply-To: <01112715491900.00872@manta>

Well, no pointer but the same effect with 2.4.15pre7 and romfs (as posted
earlier to the list). It seems initrd handling is fs type picky :-(

Just to repeat myself:

1. the romfs initrd is fine, loop mounting it works.
2. the romfs initrd is detected at boot time.
3. the romfs initrd is not root mounted at boot time, thus without a root fs
   the kernel panics.
4. Doing the same with an ext2 initrd works fine.

Not really nice for systems where the only reason ext2 is compiled in the kernel
is this initrd behaviour.

On 27-Nov-2001 vda wrote:
> Hi,
> 
> I have 2 slackware initrds, one with minix fs on it, other with ext2.
> 
> I compiled 2.4.13 and it panics (can't mount root fs) (don't remember with 
> both initrds or only with minix one...).
> 
> I copied .config to 2.4.10, did make oldconfig and all that other reqd makes,
> and it boots both initrds.
> 
> Finally I tried it with 2.4.16pre1 (came .config again) 
> and it cannot mount minix initrd.
> ("FAT: bogus sector size 0","VFS: unable to mount root fs")
> I further tested and that initrd CAN be mounted by 2.4.16pre1 
> over loopback device with
> 
># mount -o loop /tmp/initrd.minix /mnt/mnt
> 
> and
> 
># mount -t fat,minix -o loop /tmp/initrd.minix /mnt/mnt
> 
> (so we can't blame FAT for first saying "Yes it's fat, don't probe for 
> others" and then "it is corrupted, can't use")
> 
> Seems there is some problem with fs detection order during root fs mount.
> (minix isn't tried at all?) However, I failed to grok what affect order of fs
> type guessing at boot... can somebody point me where to look?
> --
> vda
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH

  reply	other threads:[~2001-11-27 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27 17:49 [BUG] 2.4.16pre1: minix initrd does not work, ext2 does vda
2001-11-27 14:13 ` Andreas Steinmetz [this message]
2001-11-28 14:18   ` vda
2001-11-28 17:41     ` vda
2001-11-30 12:21       ` vda

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=XFMail.20011127151356.ast@domdv.de \
    --to=ast@domdv.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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