This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP L138 and UBIFS on 2.6.33-rc4

Other Parts Discussed in Thread: OMAP-L138

Hi

I try to use UBIFS as root file system  on NAND and I see something  strange on 2.6.33-rc4

The file system is mounted as a read-write and when it boots up for first time everything is fine, but after the first reboot I have a file system crash! And it happens always.

emac-mii: probed
omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:35 UTC (946684835)
UBI error: ubi_io_read: error -74 while reading 126976 bytes from PEB 3:4096, read 126976 bytes
UBI error: ubi_io_read: error -74 while reading 126976 bytes from PEB 4:4096, read 126976 bytes
UBI error: ubi_io_read: error -74 while reading 11 bytes from PEB 10:6144, read 11 bytes
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00             128 mtdblock0 (driver?)
1f01             128 mtdblock1 (driver?)
1f02             512 mtdblock2 (driver?)
1f03            4096 mtdblock3 (driver?)
1f04          518144 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Backtrace:
[<c0031730>] (dump_backtrace+0x0/0x114) from [<c03664b8>] (dump_stack+0x18/0x1c)
 r7:00008000 r6:c1c14000 r5:c0025a08 r4:c0499d18
[<c03664a0>] (dump_stack+0x0/0x1c) from [<c0366520>] (panic+0x64/0x13c)
[<c03664bc>] (panic+0x0/0x13c) from [<c0008fec>] (mount_block_root+0x1e0/0x220)
 r3:00000001 r2:00000001 r1:c1c23f78 r0:c0400c86
[<c0008e0c>] (mount_block_root+0x0/0x220) from [<c00091bc>] (prepare_namespace+0x94/0x1c8)
 r8:00000000 r7:00000000 r6:00000000 r5:c0025a08 r4:c0025a18
[<c0009128>] (prepare_namespace+0x0/0x1c8) from [<c00084c8>] (kernel_init+0xf0/0x12c)
 r5:00000000 r4:c0499440
[<c00083d8>] (kernel_init+0x0/0x12c) from [<c004536c>] (do_exit+0x0/0x6b4)

 

Does anyone of you has used UBIFS with NAND on OMAP 138L EVM LOGIC board?

The software hasn't changed at all, as it comes from TI, just enabled NAND support and UBI/UBIFS

Thank you