From: Dan Malek <dan@netx4.com>
To: Ruedi.Hofer@ascom.ch
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: initrd
Date: Fri, 04 Feb 2000 01:41:11 -0500 [thread overview]
Message-ID: <389A7487.738ACDAA@netx4.com> (raw)
In-Reply-To: 0FPD00L6T17ENM@pmdf-it.hasler.ascom.ch
Ruedi.Hofer@ascom.ch wrote:
> 2) create an empty file system of the appropriate size, e.g.
> # mke2fs -m0 /dev/ram 300
>From experience, I know a 300 block size ramdisk can't possibly
hold enough files to get a system started. You need at least
2 Meg (2048), and I build at least 4000 block ramdisks. Make
sure you get all of the minimal shared libraries in there.....
> 7) copy the image to a file
> # dd if=/dev/ram bs=1k count=300 of=/boot/initrd
> 8) deallocate the RAM disk
> # freeramdisk /dev/ram
....I am assuming you gzip'ped the ramdisk......
> entry 0x100000, phoff 0x34, shoff 0xf2864
> phnum 0x1, shnum 0xa
> p_offset 0x10000, p_vaddr 0x100000, p_paddr 0x100000
> p_filesz 0x532c, p_memsz 0xb1bc
Oh oh....you are using a FADS board or something custom......
> If I take a prebuilt ramdisk.image.gz then the kernel
> starts up and crashes with the following output:
> RAMDISK: Compressed image found at block 0
> crc error
Ummm....doesn't this mean something to you? When something is
uncompressed and you get a CRC error, the file is usually
truncated or corrputed.....
Since it appears this is a board that isn't known to be able
to download something properly that is this large, you should
probably verify the download with some kind of standard test
pattern and test software.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2000-02-04 6:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-03 15:18 initrd Ruedi.Hofer
2000-02-04 6:41 ` Dan Malek [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-22 9:53 Initrd Sébastien Chrétien
2008-08-21 13:02 Initrd Sébastien Chrétien
2000-12-12 22:27 INITRD Nicu Popovici
2000-02-04 7:30 initrd Ruedi.Hofer
2000-02-03 15:39 initrd Ruedi.Hofer
1998-07-03 6:47 initrd Alex deVries
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=389A7487.738ACDAA@netx4.com \
--to=dan@netx4.com \
--cc=Ruedi.Hofer@ascom.ch \
--cc=linuxppc-embedded@lists.linuxppc.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 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.