DiskOnChip 2000 (DOC 2000) woes.

Andy Kennedy akennedy at techmoninc.com
Thu Aug 9 13:06:21 EDT 2007


More information:

An oops on my locale computer as I was attempting to make a jumpdrive 
back to an vfat filesystem.  I needed to recreate the partition so I 
typed the following:

root at Andy:/# fdisk /dev/sdb1

Obliviously my mistake is just adding the partition number to the device 
-- it happens.  I get the following error:

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by 
w(rite)


I quit out of it but realize that this is the SAME error that I get on 
the DiskOnChip.  So, to me it looks like I'm hitting the first partition 
of the nftl in place of the device base.  This is the command I use:


root at winsys:~# modprobe nftl
root at winsys:~# fdisk /dev/nftla

And here are the results:

Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

Warning: invalid flag 0x0000 of partition table 4 will be corrected by 
w(rite)

Command (m for help): q


So, am I getting the wrong device from the driver?  I cannot update the 
partition table on this unit -- it would make sense to me if I'm 
attempting to put a partition on the device /dev/nftla1 in place of 
/dev/nftla.  I created the block devices nftla{,1,2} using:
mknod /dev/nftla b 93 0
and I end up with a device:
brw-rw---- 1 root disk 93, 0 2007-08-09 10:52 /dev/nftla
So, am I seeing a driver error or am I the error?

Any help would be greatly appreciated.

Andy



More information about the linux-mtd mailing list