Re: [PATCH v2] wait while adding MMC host to ensure root mounts
From: Jaehoon Chung
Date: Thu Mar 14 2013 - 22:51:33 EST
On 03/14/2013 01:08 PM, Namjae Jeon wrote:
> 2013/3/14, Sergey Yanovich <ynvich@xxxxxxxxx>:
>> MMC hosts are added asynchronously. We need to wait until detect returns to
>> avoid failed root filesystem mounts.
>> ---8<---
>> VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0): error -6
>> Please append a correct "root=" boot option; here are the available
>> partitions:
>> mmc0: host does not support reading read-only switch. assuming
>> write-enable.
>> 1f00 256 mtdblock0 (driver?)
>> 1f01 256 mtdblock1 (driver?)
>> 1f02 2560 mtdblock2 mmc0: new SDHC card at address b368
>> (driver?)
>> 1f03 29696 mtdblock3 (driver?)
>> 1f04 16384 mtdblock4 mmcblk0: mmc0:b368 USD 3.72 GiB
>> (driver?)
>> mmcblk0: p1
>> b300 3910656 mmcblk0 driver: mmcblk
>> b301 3906560 mmcblk0p1 00000000-01
>> Kernel panic - not syncing: VFS: Unable to mount root fs on
>> unknown-block(0,0)
>> ---8<---
>>
>> Signed-off-by: Sergey Yanovich <ynvich@xxxxxxxxx>
>> ---
> Hi.
> Have you ever tried to use rootwait or rootdelay on command line ?
> If no, You can use them.
I agreed the Namjae's suggestion..if you use the rootwait or rootdelay, it's waiting for mounting rootfs.
Best Regards,
Jaehoon Chung
>
> Thanks.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/