Reproduction of NFTL Bug with DOC 2000 288MB FULL DEBUG

Brian P. Austin baustin at codemonsters.net
Fri Mar 1 14:59:59 EST 2002


Ok.  I was able to get to the same point as before.

here is my terminal input.
-----------------------------------------------------------------------
MODULE INSERTS

[root at ba /root]# depmod -a
[root at ba /root]# modprobe -a doc2000 nftl mtdchar mtdcore
[root at ba /root]# modprobe -a docprobe
[root at ba /root]# cat /proc/mtd       
dev:    size   erasesize  name
mtd0: 12000000 00004000 "DiskOnChip 2000"

-----------------------------------------------------------------------
FDISK

[root at ba /root]# fdisk /dev/nftla

Device contains neither a valid DOS partition table, nor Sun or SGI
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.


Command (m for help): p

Disk /dev/nftla: 16 heads, 15 sectors, 1023 cylinders
Units = cylinders of 240 * 512 bytes

     Device Boot    Start       End    Blocks   Id  System

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-1023, default 1): 
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-1023, default 1023): 
Using default value 1023

Command (m for help): p

Disk /dev/nftla: 16 heads, 15 sectors, 1023 cylinders
Units = cylinders of 240 * 512 bytes

     Device Boot    Start       End    Blocks   Id  System
/dev/nftla1             1      1023    122752+  83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

-----------------------------------------------------------------------------------
MKE2FS

[root at ba /root]# mke2fs /dev/nftla1

mke2fs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
30720 inodes, 122752 blocks
6137 blocks (5.00%) reserved for the super user
First data block=1
15 block groups
8192 blocks per group, 8192 fragments per group
2048 inodes per group
Superblock backups stored on blocks: 
        8193, 24577, 40961, 57345, 73729

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done
[root at ba /root]# 
-----------------------------------------------------------------------

the message logging is too long, so I attached it.  I hope it makes it
through to the list


Brian P. Austin





More information about the linux-mtd mailing list