Wind River Support Network

HomeDefectsLIN6-2557
Not to be fixed

LIN6-2557 : Feature Testing: QEMU hangs when booting wrlinux from vdisk with serial console

Created: Mar 10, 2013    Updated: Apr 28, 2018
Resolved Date: Apr 17, 2018
Previous ID: LIN5-4471
Found In Version: 6.0
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

Problem Description
======================
Firstly boot installer ISO and install wrlinux in vdisk, and then try to boot from vdisk.

It's passed to boot from graphics console, with QEMU option "-gc".
But QEMU hangs if boot from serial console, using QEMU option "-c".
The test case was passed to boot from the serial console in spin lx30.

Expected Behavior
======================
Passed to boot wrlinux from disk both in graphics and serial console.

Observed Behavior
======================
Failed to boot from serial console.

Logs
======================
Attached.

Misc Info 
======================
N/A

Steps to Reproduce

step 1; build installer iso
wrlinux-5/wrlinux/configure --enable-board=qemux86-64 --enable-kernel=standard --enable-rootfs=glibc-small --enable-parallel-pkgbuilds=5 --enable-jobs=5 --enable-target-installer=yes --with-sstate-dir=/buildarea/build/lx34-prjs/qemux86-64-sstate --with-rcpl-version=0

make fs
step 2; boot from ISO and install to vdisk
host-cross/usr/bin/qemu-img create -f qcow hd0.vdisk 5000M
make start-target TOPTS="-in 4 -cd export/qemux86-64-glibc-small-standard-dist.iso -disk hd0.vdisk -gc" TARGET_QEMU_KERNEL=""

step 3; boot wrlinux from disk
From graphics console:
make start-target TOPTS="-in 4 -disk hd0.vdisk -root disk -gc" TARGET_QEMU_KERNEL=""

From serial console:
make start-target TOPTS="-in 4 -disk hd0.vdisk -root disk -c" TARGET_QEMU_KERNEL=""

Other Downloads


Live chat
Online