Wind River Support Network

HomeDefectsLIN5-4463
Fixed

LIN5-4463 : Feature Testing: QEMU hangs when booting wrlinux from vdisk with serial console

Created: Mar 10, 2013    Updated: Dec 19, 2017
Resolved Date: Mar 20, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.1
Severity: Severe
Applicable for: Wind River Linux 5
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