* cramfs:wrong magic
@ 2003-08-26 7:02 Vidya Srinivas
2003-08-26 22:47 ` Ilguiz Latypov
0 siblings, 1 reply; 5+ messages in thread
From: Vidya Srinivas @ 2003-08-26 7:02 UTC (permalink / raw)
To: linux-mtd
Hi all,
I am using Montavista Linux. I want to mount cramfs as my rootfile
system. In the kernal command line arguments i have mentioned:
root=/dev/mtdblock3 rootfstype=cramfs init=/sbin/init
At the time of FS mounting, the kernel is throwing this error:
cramfs : wrong magic
And, the kernel panics.
I checked the magic numberof my file system image file (by reading the
contents in textpad), it shows 0x28cd3d45 which i think is the right magic
number.
If i simply try to mount this image on my Red hat 7.3,
mount -o loop -t cramfs img.cramfs /mnt/
It mounts correctly without giving any problem.
What might be the mistake?
Please help me out.
Regards,
--
Vidya.S
BPL TELECOM LTD
11th KM, Arikere
Bannergatta Road,
Bangalore - 560072
email - vidya.s@bpltelecom.com
Ph - 6589080 extn - 2005
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cramfs:wrong magic
2003-08-26 7:02 cramfs:wrong magic Vidya Srinivas
@ 2003-08-26 22:47 ` Ilguiz Latypov
2003-08-27 6:39 ` Vidya Srinivas
0 siblings, 1 reply; 5+ messages in thread
From: Ilguiz Latypov @ 2003-08-26 22:47 UTC (permalink / raw)
To: linux-mtd
On Tue, Aug 26, 2003 at 12:32:16PM +0530, Vidya Srinivas wrote:
> root=/dev/mtdblock3 rootfstype=cramfs init=/sbin/init
>
> At the time of FS mounting, the kernel is throwing this error:
>
> cramfs : wrong magic
I know Debian (http://debian.org/) has a kernel patch to correctly
support cramfs root file system. Debian maintainers provide this patch
for a long time.
I understand /dev/mtdblock3 can also be verified against the original
image.
--
Ilguiz Latypov
tel. +1 (519) 569-7193
31 Oprington Drive, Unit D3
Kitchener, Ontario N2N 3G3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cramfs:wrong magic
2003-08-26 22:47 ` Ilguiz Latypov
@ 2003-08-27 6:39 ` Vidya Srinivas
0 siblings, 0 replies; 5+ messages in thread
From: Vidya Srinivas @ 2003-08-27 6:39 UTC (permalink / raw)
To: ilatypov; +Cc: linux-mtd
Hi,
Thanks a lot for the support.
Actually it was a problem regarding the endianness.
My system was a big endian system and i am supposed to create a cramfs
image for a big endian system (-rb option). One more person Mr. Fillod
Stephane helped me out.
Thanks again.
Regards,
Vidya
>
> On Tue, Aug 26, 2003 at 12:32:16PM +0530, Vidya Srinivas wrote:
>
>> root=/dev/mtdblock3 rootfstype=cramfs init=/sbin/init
>>
>> At the time of FS mounting, the kernel is throwing this error:
>>
>> cramfs : wrong magic
>
> I know Debian (http://debian.org/) has a kernel patch to correctly
> support cramfs root file system. Debian maintainers provide this patch
> for a long time.
>
> I understand /dev/mtdblock3 can also be verified against the original
> image.
>
> --
> Ilguiz Latypov
>
> tel. +1 (519) 569-7193
> 31 Oprington Drive, Unit D3
> Kitchener, Ontario N2N 3G3
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
Vidya.S
BPL TELECOM LTD
11th KM, Arikere
Bannergatta Road,
Bangalore - 560072
email - vidya.s@bpltelecom.com
Ph - 6589080 extn - 2005
^ permalink raw reply [flat|nested] 5+ messages in thread
* cramfs: wrong magic
@ 2005-03-22 8:50 Bruce Tang
2005-03-22 9:37 ` Thomas Gleixner
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Tang @ 2005-03-22 8:50 UTC (permalink / raw)
To: linux-mtd
Hi,Xavier
I had used the kernel source from samsung
to boot S3c2410 based board. While booting, the kernel couldn't mount the
filesystem (cramfs).
It panics with the message "cramfs wrong magic".
This problem is very similar with your problem I found at
http://lists.infradead.org/pipermail/linux-mtd/2004-March/009431.html
can you help me to solve this issue. I had listed below the boot
message.
Thanks and Regards,
Bruce Tang
.......................
pty: 256 Unix98 ptys configured
s3c2410-ts initialized
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch=32
eth0: cs8920 rev `(3.3 Volts) found at 0xd0000300
cs8900a.c: wrong device driver!
cs89x0: no cs8900 or cs8920 detected.Be sure to disable PnP with SETUP
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
bon0: 00000000-00030000 (00030000) 00000000
bon1: 00030000-00100000 (000d0000) 00000000
bon2: 00100000-03ffc000 (03efc000) 00000000
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
cramfs: wrong magic
FAT: bogus logical sector size 65535
Kernel panic: VFS: Unable to mount root fs on 61:02
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-03-22 9:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-26 7:02 cramfs:wrong magic Vidya Srinivas
2003-08-26 22:47 ` Ilguiz Latypov
2003-08-27 6:39 ` Vidya Srinivas
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 8:50 cramfs: wrong magic Bruce Tang
2005-03-22 9:37 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox