[Buildroot] [PATCH] board/qemu: ensure root is available before mounting it
Peter Korsgaard
peter at korsgaard.com
Tue Jun 25 20:56:19 UTC 2019
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
> On my machine, it happens once in a while that the virtualised machine
> boots too fast for the rootfs to be available at the time the kernel
> tries to mount it.
> For example, board/qemu/arm-vexpress/readme.txt suggested changing
> "-smp 1" up to "-smp 4". But doing so here causes a kernel panic:
> VFS: Cannot open root device "mmcblk0" or unknown-block(0,0): error -6
> Please append a correct "root=" boot option; here are the available partitions:
> 1f00 131072 mtdblock0
> (driver?)
> 1f01 32768 mtdblock1
> (driver?)
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
> So, add the oh-so-usefull 'rootwait' option to all kernel command lines
> for qemu defconfigs.
> Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
> Cc: Joel Stanley <joel at jms.id.au>
> Cc: Mark Corbin <mark.corbin at embecosm.com>
> Cc: Matt Weber <matthew.weber at rockwellcollins.com>
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list