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

Re: 2.4.7 kernel boot hangs with "cramfs: wrong magic"



On Sun, Aug 12, 2001 at 02:30:53PM -0400, Jerome Acks Jr wrote:
> oop! -- I corrected a few incorrect details in my prior message 
> regarding the results of 2.4.7 boot partitions check and contents of my 
> lilo.conf file.
> 
> I have been trying unsuccessfully to get a 2.4.7 kernel to boot. My PC 
> has a AMD-K6-II and runs woody. My most recent attempt used the kernel 
> image is from kernel-image-2.4.7-k6_2.4.7-1.i386.deb. The boot sequence 
> runs until the hard disk partition check and then hangs. The final part 
> of the boot post is:
> 
> Partition check:
> /dev/ide/host0/bus0/target0/lun0: [EZD] [remap 0->1] [700/255/63] p1 p2 
> <p5>
> /dev/ide/host0/bus0/target1/lun0: [PTBL] [2491/255/63] p1 p2 p3 p4 <p5 
> p6 p7>
> cramfs: wrong magic
> VFS: Mounted root (est2 filesystem) readonly
> change-root: old root has d_count=2
> Freeing unused kernel memory: 184k freed

I had this same problem when I tried 2.4.7 and an initrd; I decided I
really wanted 2.4.7 more than I wanted an initrd so I compiled IDE
support into the kernel proper.

> The boot hangs at this point. Sometimes is hangs at the line "cramfs: 
> wrong magic"

Recompile the kernel with IDE support non-modular and see what happens
...
 
> When I boot with my 2.2.19 kernel, partition check reports:
> hda: [EZD] [remap 0->1] [700/255/63] hda1 hda2 < hda5 >
> hdb: hdb1 hdb2 hdb3 hdb4 < hdb5 hdb6 hdb7 >
> Is it normal for a 2.4.x kernels to report partitions as p1, p2, etc. 
> vice hda1, hda2, hdb1, etc?

Uh, yeah ... it's devfs at work.  You need to install devfsd if you
plan to use a 2.4.x kernel and devfs

> What does "cramfs: wrong magic" mean, and 
> does anyone have suggestions on how to fix this problem?

I believe it means it can't make sense of your initrd but I'll let
Herbert make the call.

Cheers,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpu5QpOPhqZD.pgp
Description: PGP signature


Reply to: