From: Alexandr Andreev <andreev@niisi.msk.ru>
To: "David L. Parsley" <parsley@linuxjedi.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Using cramfs as root filesystem on diskless machine
Date: Tue, 19 Jun 2001 17:24:18 +0400 [thread overview]
Message-ID: <3B2F5282.30602@niisi.msk.ru> (raw)
In-Reply-To: <3B2A0F05.6050902@niisi.msk.ru> <3B2A538A.BA62148A@linuxjedi.org>
David L. Parsley wrote:
>Mathias Killian wrote a patch to allow cramfs initrd's, see:
>http://www.cs.helsinki.fi/linux/linux-kernel/2001-01/1064.html
>
Thank you. I applied this patch, and recompiled my kernel.
All works fine, if the size of root filesystem less than 4096Kb. But
when i create
an image of root filesystem which size is bigger than 4096Mb, the kernel
said:
...
RAMDISK driver initialized: 16 RAM disks of 4096K size 4096 blocksize
...
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 2300 blocks [1 disk] into ram disk... done.
...
Freeing unused kernel memory: 116k freed
Algorithmics/MIPS FPU Emulator v1.4
Error -3 while decompressing!
804172a4(-166740)->803da000(4096)
bash#
As you can see, the size of image is only 2300kb.
The kernel command line is:
root=/dev/ram init=/bin/bash ramdisk_blocksize=4096
When i tried to mount this image on a running kernel it is all OK.
# mount -o loop -t cramfs cramfsdisk.bin /mnt/ramdisk
# chroot /mnt/ramdisk /bin/bash
I already asked Matthias, but he said that he didn't try cramfs for
ram disks larger than 4k. Did anybody try it? Does anybody work on
cramfs now?
next prev parent reply other threads:[~2001-06-19 13:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-15 13:35 Using cramfs as root filesystem on diskless machine Alexandr Andreev
[not found] ` <14506.992621390@redhat.com>
2001-06-15 17:16 ` Alexandr Andreev
2001-06-15 18:27 ` David L. Parsley
2001-06-19 13:24 ` Alexandr Andreev [this message]
2001-06-19 14:04 ` David L. Parsley
2001-06-19 15:08 ` how to display proxy arp addresses using "ip neigh" from iproute2 Christopher Friesen
2001-06-21 5:16 ` Bernd Eckenfels
2001-06-19 15:44 ` Using cramfs as root filesystem on diskless machine Alexandr Andreev
2001-06-19 16:36 ` Stephane Casset
2001-06-17 16:28 ` Pavel Machek
[not found] <Pine.LNX.4.33.0106151824240.28914-100000@imladris.demon.co.uk>
2001-06-15 17:35 ` Alexandr Andreev
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=3B2F5282.30602@niisi.msk.ru \
--to=andreev@niisi.msk.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=parsley@linuxjedi.org \
/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).