ROMFS: bad initial checksum

"Christian Gieseler" <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
Hi all,

I am migrating our coldfire 5329 board to linux 3.6.
I am stuck now with mounting of romfs having a bad initial checksum of the
first 512 bytes. The system hangs after this message.
Even if the functions in fs/romfs/inode.c have moved a bit from 2.6.25 to
super.c and friends from what I can see the routines to 
calculate the checksum are basically the same. Genromfs (0.5.1) on the host
has not changed. Has the new Kernel any configuration option
that has to be changed to generate a proper romfs.img? Or is the checksum
tested on a wrong value because I misconfigured an address.
Does someone have a hint how to solve this or where to look for a solution?
The bootmessages are attached for reference.
Thank you for your help.
Regards
Christian

snip
---------
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 23
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver
ttyS0 at MMIO 0xfc060000 (irq = 90) is a ColdFire UART
console [ttyS0] enabled
ttyS1 at MMIO 0xfc064000 (irq = 91) is a ColdFire UART
ttyS2 at MMIO 0xfc068000 (irq = 92) is a ColdFire UART
uclinux[mtd]: RAM probe address=0x4026924c size=0x19c000
uclinux[mtd]: set ROMfs to be root filesystem
Creating 1 MTD partitions on "RAM":
0x000000000000-0x00000019c000 : "ROMfs"
el5329 flash device: 1000000 at 0
el5329 flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID
0x000001 Chip ID 0x002101
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
Creating 5 MTD partitions on " el5329 flash":
0x000000000000-0x000000020000 : "vectors"
0x000000020000-0x000000060000 : "parameters"
0x000000060000-0x000000100000 : "bootloader"
0x000000100000-0x000000700000 : "image"
0x000000700000-0x000001000000 : "user_data"
libphy: fec_enet_mii_bus: probed
TCP: cubic registered
NET: Registered protocol family 17
ROMFS: bad initial checksum on dev romfs.



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.