qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
qemu-linaro (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: qemu-kvm
As I'm now implementing the support for creating a rootstock rootfs without requiring root, I need to run the deboostrap' second stage inside a VM, to correctly install the packages into the rootfs.
qemu-system-arm fails right after debootstrap finish the second stage, giving a segmentation fault.
Command:
qemu-system-arm -M versatilepb -cpu cortex-a8 -kernel vmlinuz -no-reboot -nographic -drive file=qemu-
Uncompressing Linux..
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32-21-versatile (buildd@cushaw) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu Fri Apr 16 08:14:53 UTC 2010 (Ubuntu 2.6.32-
...
I: Base system installed successfully.
I: Starting basic services in VM
Segmentation fault (core dumped)
[492816.197352] qemu-system-
Image:
* rootfs: http://
* kernel: http://
I'm able to reproduce the bug on Maverick (amd64) and Lucid (x86).
Maverick qemu-kvm-extras: 0.12.4+
Lucid qemu-kvm-extras: 0.12.3+
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: qemu-kvm-extras 0.12.4+
ProcVersionSign
Uname: Linux 2.6.35-6-generic x86_64
Architecture: amd64
Date: Mon Jul 12 18:55:35 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
KvmCmdLine: Error: command ['ps', '-C', 'kvm', '-F'] failed with exit code 1: UID PID PPID C SZ RSS PSR STIME TTY TIME CMD
MachineType: LENOVO 2764CTO
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 04/19/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET86WW (3.16 )
dmi.board.name: 2764CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2764CTO
dmi.product.
dmi.sys.vendor: LENOVO
tags: | added: armel |
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Medium |
Changed in qemu-kvm (Ubuntu): | |
importance: | Medium → Undecided |
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in qemu: | |
status: | In Progress → Fix Committed |
Changed in qemu-linaro (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in qemu-linaro (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Maverick:
I: Base system installed successfully.
I: Starting basic services in VM
Program received signal SIGSEGV, Segmentation fault. projects/ ubuntu/ maverick/ packages/ qemu-kvm- 0.12.4+ noroms/ cpu-exec. c:172
0xffffffffceeef54c in ?? ()
(gdb) bt full
#0 0xffffffffceeef54c in ?? ()
No symbol table info available.
#1 0x00007fffffffdfa0 in ?? ()
No symbol table info available.
#2 0x000000000059896f in tb_find_slow (pc=Cannot access memory at address 0xffffffffffffffbe
) at /home/rsalveti/
tb = Cannot access memory at address 0xffffffffffffffd2