[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] MicroBlaze jffs2 erase error
Victor,
I experience the Magic bitmask problem, but no panic. The problem I had was
my flash chip was only 16 bits wide, and the Linux2.6 JFFS2 code expects to
have a 32-bit read satisfied via memory mapped I/O, and my chip only
returned 16 bits with the low order bits being 0x0000, resulting in the
bitmask error.
Jeff Fellin
CorEdge Networks.
________________________________________
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of
victor-sv_yeo@xxxxxxxxxxx
Sent: Tuesday, August 28, 2007 2:30 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: [microblaze-uclinux] MicroBlaze jffs2 erase error
Hi,
Is there anyone using jffs2 in microblaze linux 2.6 kernel? I met with a
jffs2 erase error which is shown below.
Thanks,
Victor
------------------------------------- console output
-----------------------------------------
vjffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001ad01c:
0x23ce in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001ad020:
0x8873 in
stead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x001ad024:
0xe21c in
stead
Further such events for this erase block will not be printed
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 0, bad_blocks 0, c->nr_blocks 430
VFS: Cannot open root device "<NULL>" or unknown-block(31,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(31,0)
<0>Rebooting in 120 seconds..Machine restart...
Stack:
27fe5e88 00000000 00000000 0001648b 27f8d013 2401dd44 241c2410 00000001
0000001d 00000000 000652c4 00004001 2400a538 2400a52c 000000a0 000000a0
000000a0 00000000 00000001 2420cd50 241c3414 00000078 24228528 00000000
Call Trace:
[<2401dd44>] emergency_restart+0xc/0x20
[<2400a538>] panic+0x12c/0x168
[<2400a52c>] panic+0x120/0x168
[<2420cd50>] mount_block_root+0x240/0x284
[<2420d044>] mount_root+0x15c/0x178
[<2420d02c>] mount_root+0x144/0x178
[<2420d1d8>] prepare_namespace+0x178/0x1c8
[<24021d1c>] flush_scheduled_work+0x10/0x24
[<24000330>] init+0x234/0x35c
[<24000318>] init+0x21c/0x35c
[<24001304>] kernel_thread_helper+0x10/0x24
[<240012f4>] kernel_thread_helper+0x0/0x24
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/