modprobe nftl hangs

Egorkat egorkat at gmail.com
Tue Jun 8 11:13:37 EDT 2010


Good day to ALL!

I'm struggling with M-systems DiskOnChip support under kernel 2.6.34.

Compiled support for DoC as a module under MTD device.
Module loads fine, no errors.
When I make nftl_format /dev/mtd0, I receive warnings:

voyage:~# nftl_format /dev/mtd0
version 1.24 2005/11/07 11:15:13 gleixner
Phase 1. Checking and erasing Erase Zones from 0x00000000 to 0x02000000
Skipping bad zone (factory marked) #0 @ 0x0
Skipping bad zone (factory marked) #1 @ 0x4000
Skipping bad zone (factory marked) #3 @ 0xc000
Skipping bad zone (factory marked) #4 @ 0x10000

After I try to modprobe nftl, I get:
NFTL Media Headers at 0x0 and 0x8000 disagree.
NFTL Media Headers at 0x0 and 0xc000 disagree.
NFTL Media Headers at 0x0 and 0x10000 disagree.
NFTL Media Headers at 0x0 and 0x14000 disagree.
Formatting block 2
Formatting block 5

And in hangs forever...

I think it is a problem in wrong headers at 0x0, which also resides on bad zone
But how to work this around?

With best Regards,
Egorkat.




More information about the linux-mtd mailing list