From: WCT Tang <wct_tang@yahoo.com>
To: Wolfgang Denk <wd@denx.de>
Cc: linux-mips@linux-mips.org
Subject: Re: EXT2-fs error
Date: Mon, 07 Aug 2006 10:47:25 +0800 [thread overview]
Message-ID: <44D6A9BD.9010100@yahoo.com> (raw)
In-Reply-To: <20060806083743.8348D352625@atlas.denx.de>
Hello Wolfgang,
Thanks for your reply. I have checked that my total file size is only
384KB, and the ramdisk I created is 4096KB, and my Kernel's ram size
CONFIG_BLK_DEV_RAM_SIZE is set to 4096.
Here are the steps I used to create ramdisk:
dd if=/dev/zero of=/dev/ram bs=1k count=4096
mke2fs -vm0 /dev/ram 4096
mount /dev/ram ramdisk/
cd ramdisk/
cp -r /home/devel/root/* .
mkdir dev etc tmp var proc mnt home root
cd dev/
mknod console c 5 1
mknod ttyS0 c 4 64
mknod tty c 5 0
mknod ram0 b 1 0
mknod ram1 b 1 1
mknod mem c 1 1
mknod kmem c 1 2
mknod null c 1 3
mknod zero c 1 5
mknod fb0 c 29 0
ln -s fb0 fb
ln -s ram1 ram
ln -s ram0 ramdisk
ln -s ../proc/kcore kcore
ln -s ../proc/self/fd/0 stdin
ln -s ../proc/self/fd/1 stdout
ln -s ../proc/self/fd/2 stderr
cd ..
umount ramdisk
dd if=/dev/ram bs=1k count=4096 | gzip -vf >
/home/devel/linux/arc/mips/ramdisk/ramdisk.gz
Any other suggestion?
p/s: I have got lots of junk mails sent from this mailing lists,
probably triggered by my email. Could the administrator do something?
Wolfgang Denk wrote:
> In message <20060806040329.51416.qmail@web27003.mail.ukl.yahoo.com> you wrote:
>
>
>> I built Linux kernel (V2.4) as follows:
>> - Created EXT2 ramdisk.gz as documented in Documentation/ramdisk.txt
>> - The ramdisk contains the content of buildroot/build_mipsel/root/, which contains bin, etc, lib, linuxrc, sbin (sh.. etc), usr. I also created under /dev console null, tty*....
>> - Copied ramdisk.gz to /linux/arc/mips/ramdisk/
>>
> ...
>
>> Tracing down the codes, I noticed I got EXT2-fs error.
>>
>
> Your ramdisk is probably much bigger than the kernel's default of 4 MB.
>
> Please see the FAQ at
> http://www.denx.de/wiki/view/DULG/RamdiskGreaterThan4MBCausesProblems
>
> Best regards,
>
> Wolfgang Denk
>
>
next prev parent reply other threads:[~2006-08-07 2:48 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-06 4:03 EXT2-fs error Kiah Tang
2006-08-06 8:37 ` Wolfgang Denk
2006-08-07 2:47 ` WCT Tang [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-30 3:06 khromy
2001-03-30 6:57 ` Rogier Wolff
2001-04-02 23:13 ` Alan Cox
2001-03-30 13:49 ` Dale E Martin
2001-02-23 19:12 Ian Wehrman
2001-02-23 11:46 ` John Heil
2001-02-23 19:26 ` Alan Cox
2001-02-23 11:50 ` John Heil
2001-02-24 11:02 ` A E Lawrence
2001-02-24 16:59 ` Alan Cox
2001-02-24 22:30 ` A E Lawrence
2001-02-24 23:08 ` A E Lawrence
2001-02-25 20:52 ` A E Lawrence
2001-02-25 13:53 ` John Heil
2001-02-25 17:58 ` Mike Brown
2001-02-22 7:02 Mohammad A. Haque
2001-02-22 8:10 ` Andreas Dilger
2001-02-22 14:58 ` Mohammad A. Haque
2000-12-06 21:50 Ext2-fs error mkloppstech
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=44D6A9BD.9010100@yahoo.com \
--to=wct_tang@yahoo.com \
--cc=linux-mips@linux-mips.org \
--cc=wd@denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.