From: Erik Andersen <andersen@codepoet.org>
To: Torrey Hoffman <torrey.hoffman@myrio.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: pivot_root and initrd kernel panic woes
Date: Mon, 17 Dec 2001 12:02:23 -0700 [thread overview]
Message-ID: <20011217120222.A14761@codepoet.org> (raw)
In-Reply-To: <D52B19A7284D32459CF20D579C4B0C0211CB07@mail0.myrio.com>
In-Reply-To: <D52B19A7284D32459CF20D579C4B0C0211CB07@mail0.myrio.com>
On Mon Dec 17, 2001 at 10:38:51AM -0800, Torrey Hoffman wrote:
>
> and then the system just hangs. When it works, the messages are
> identical up to that point but continue...
>
> init started: BusyBox v0.51 (2001.04.25-13:32+0000) multi-call binary
> (etc.)
Any particular reason you are using a version of busybox that is
quite old? You really should get a newer release -- I've fixed a
lot of bugs since then.
> I have a complete set of files and dev nodes for the initrd in
> ./rootfs. They add up to about 3 MB. Nothing too unusual - busybox,
> glibc 2.1.3, etc.
>
> My build system kernel is 2.4.16, has the standard 4 MB ramdisk,
> and I use the following script to create the initrd:
>
> #!/bin/bash
>
> rm -rf initrd.gz
> umount /dev/ram
> mke2fs -m0 /dev/ram 4000
> mount -t ext2 /dev/ram /mnt/ramdisk
> cp -a rootfs/* /mnt/ramdisk
> umount /dev/ram
> dd if=/dev/ram bs=1k count=4000 of=initrd
> gzip initrd
Can you sucessfully chroot into your rootfs dir?
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
next prev parent reply other threads:[~2001-12-17 19:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 18:38 pivot_root and initrd kernel panic woes Torrey Hoffman
2001-12-17 18:44 ` Alexander Viro
2001-12-17 19:02 ` Erik Andersen [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-11 18:50 Joy Almacen
2001-12-11 21:00 ` Marcel J.E. Mol
2001-12-13 10:09 ` vda
2001-12-13 8:19 ` Alexander Viro
2001-12-13 13:22 ` vda
2001-12-13 14:53 ` vda
2001-12-15 12:14 ` Mike Galbraith
2001-12-15 16:51 ` vda
2001-12-15 17:59 ` Mike Galbraith
2001-12-16 2:32 ` vda
2001-12-16 9:02 ` Mike Galbraith
2001-12-15 16:55 ` vda
2001-12-15 18:03 ` Mike Galbraith
2001-12-13 19:07 ` Stephen C. Tweedie
2001-12-13 18:35 ` Joy Almacen
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=20011217120222.A14761@codepoet.org \
--to=andersen@codepoet.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torrey.hoffman@myrio.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