Comment 2 for bug 1014498

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

origen seems also has the same problem:
(this is help by <davepigott>)

Partitioning disk to LAVA format

Command (m for help): Command action
   e extended
   p primary partition (1-4)
Selected partition 4
First sector (2097152-31260671, default 2097152): Last sector, +sectors or +size{K,M,G} (2097152-31260671, default 31260671): Using default value 31260671

Command (m for help): First sector (2099200-31260671, default 2099200): Using default value 2099200
Last sector, +sectors or +size{K,M,G} (2099200-31260671, default 31260671):
Command (m for help): Partition number (1-5): Hex code (type L to list codes): Changed system type of partition 5 to c (W95 FAT32 (LBA))

Command (m for help): First sector (2232320-31260671, default 2232320): Using default value 2232320
Last sector, +sectors or +size{K,M,G} (2232320-31260671, default 31260671):
Command (m for help): First sector (19011584-31260671, default 19011584): Using default value 19011584
Last sector, +sectors or +size{K,M,G} (19011584-31260671, default 31260671):
Command (m for help): First sector (23207936-31260671, default 23207936): Using default value 23207936
Last sector, +sectors or +size{K,M,G} (23207936-31260671, default 31260671): Using default value 31260671

Command (m for help): Partition number (1-8): Hex code (type L to list codes): Changed system type of partition 8 to c (W95 FAT32 (LBA))

Command (m for help):
Disk /dev/mmcblk0: 16.0 GB, 16005464064 bytes
255 heads, 63 sectors/track, 1945 cylinders, total 31260672 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

        Device Boot Start End Blocks Id System
/dev/mmcblk0p1 1 8191 4095+ da Non-FS data
/dev/mmcblk0p2 * 8192 114687 53248 c W95 FAT32 (LBA)
/dev/mmcblk0p3 114688 2097151 991232 83 Linux
/dev/mmcblk0p4 2097152 31260671 14581760 5 Extended
/dev/mmcblk0p5 2099200 2230271 65536 c W95 FAT32 (LBA)
/dev/mmcblk0p6 2232320 19009535 8388608 83 Linux
/dev/mmcblk0p7 19011584 23205887 2097152 83 Linux
/dev/mmcblk0p8 23207936 31260671 4026368 c W95 FAT32 (LBA)

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
Error: Error informing the kernel about modifications to partition /dev/mmcblk0p8 -- Invalid argument. This means Linux won't know about any changes you made to /dev/mmcblk0p8 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Error: Failed to add partition 8 (Invalid argument)
mkfs.vfat 3.0.9 (31 Jan 2010)
/dev/mmcblk0p8: No such file or directory
mkfs.vfat 3.0.9 (31 Jan 2010)
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=testrootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
524288 inodes, 2097152 blocks
104857 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2147483648
64 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=userdata
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
 32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Generating first-boot UUID