FAQ: [#6332] sometimes sdio mmc device node can not generated correctly after partition(2010)

Document created by Aaronwu Employee on Sep 11, 2013
Version 1Show Document
  • View in full screen mode

[#6332] sometimes sdio mmc device node can not generated correctly after partition

Submitted By: Vivi Li

Open Date

2010-11-08 04:48:31     Close Date

2011-09-02 03:52:46

Priority:

Low     Assignee:

steven miao

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1-RC5     Release:

Category:

N/A     Board:

N/A

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Not reproducible

Uboot version or rev.:

    Toolchain version or rev.:

2010r1

App binary format:

N/A     

Summary: sometimes sdio mmc device node can not generated correctly after partition

Details:

 

After partition, sometimes mmc device node can not generated correctly in bf518f-ezbrd/bf548-ezkit in trunk and 2010 branch.

 

Bellow is the log:

--

fdisk /dev/mmcblk0

 

The number of cylinders for this disk is set to 31000.

There is nothing wrong with that, but this is larger than 1024,

and could in certain setups cause problems with:

1) software that runs at boot time (e.g., old versions of LILO)

2) booting and partitioning software from other OSs

   (e.g., DOS FDISK, OS/2 FDISK)

 

Command (m for help): p

 

Disk /dev/mmcblk0: 4 heads, 16 sectors, 31000 cylinders

Units = cylinders of 64 * 512 bytes

 

        Device Boot    Start       End    Blocks   Id  System

/dev/mmcblk0p1             1     31000    991992   83  Linux

 

Command (m for help): d

Partition number (1-4): 1

 

Command (m for help): fdisk /dev/mmcblk0

f: unknown command

Command action

   a   toggle a bootable flag

   b   edit bsd disklabel

   c   toggle the dos compatibility flag

   d   delete a partition

   l   list known partition types

   m   print this menu

   n   add a new partition

   o   create a new empty DOS partition table

   p   print the partition table

   q   quit without saving changes

   s   create a new empty Sun disklabel

   t   change a partition's system id

   u   change display/entry units

   v   verify the partition table

   w   write table to disk and exit

   x   extra functionality (experts only)

 

Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 1

First cylinder (1-31000, default 1):

Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-31000, default 31000):

Using default value 31000

 

Command (m for help): t

Partition number (1-4): 1

Hex code (type L to list codes): 83

 

Command (m for help): p

w

 

Disk /dev/mmcblk0: 4 heads, 16 sectors, 31000 cylinders

Units = cylinders of 64 * 512 bytes

 

        Device Boot    Start       End    Blocks   Id  System

/dev/mmcblk0p1             1     31000    991992   83  Linux

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

 

Calling ioctl() to re-read partition table.

mmcblk0: p1

mmcblk0: p1

 

WARNING: If you have created or modified any DOS 6.x

partitions, please see the fdisk manual page for additional

information.

Syncing disks.

root:/> ls /dev/mmcblk0*

/dev/mmcblk0

root:/>

--

 

Follow-ups

 

--- Vivi Li                                                  2010-11-08 04:57:26

It is somewhat similar to bug 5806. I've updated sdiommc test script to make

sure that device nodes have enough time to be created. Need to recheck the

result for some time later.

 

--- Vivi Li                                                  2010-11-10 01:35:01

This bug still exists after my modification to test script.

 

--- steven miao                                              2010-11-16 05:10:21

can't reproduce

 

--- Vivi Li                                                  2011-09-02 03:52:46

Can not see this bug in latest trunk.

Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.linux.sdiommc    application/octet-stream    46745    Vivi Li

Attachments

Outcomes