[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.1: cramfs and initrd



zhaoway <zw@debian.org> wrote:

> Does anyone have this problem for kernel 2.4.1? When I compiled in
> cramfs, initrd cannot work. Kernel message screen just say:

> wrong magic <== spit out by cramfs(?) which shouldn't be there in the
>                 1st place?

cramfs sets the block size to 4096 bytes, which breaks initrd because it was
read in 1024 byte blocks.  This is worked around in kernel-source 2.4.2
where the rd block size defaults to 4096 if you've got cramfs enableed.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: