From: Oliver Grawert <ogra@ubuntu.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm
Date: Tue, 13 Jul 2010 07:54:40 -0000 [thread overview]
Message-ID: <20100713075441.8654.18937.launchpad@palladium.canonical.com> (raw)
In-Reply-To: 20100713034431.19595.57398.malonedeb@gandwana.canonical.com
** Tags added: armel
--
qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm
https://bugs.launchpad.net/bugs/604872
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Status in QEMU: New
Status in “qemu-kvm” package in Ubuntu: New
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-armel-201007122016.img,aio=native,cache=none -m 256 -append 'console=ttyAMA0,115200n8 root=/dev/sda rw mem=256M devtmpfs.mount=0 init=/bin/installer'
Uncompressing Linux................................................................................................................................................................................................. done, booting the kernel.
[ 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-21.32-versatile 2.6.32.11+drm33.2)
...
I: Base system installed successfully.
I: Starting basic services in VM
Segmentation fault (core dumped)
[492816.197352] qemu-system-arm[16024]: segfault at ffffffffcf6ba8fc ip ffffffffcf6ba8fc sp 00007fffd0e68680 error 14
Image:
* rootfs: http://rsalveti.net/pub/ubuntu/rootstock/qemu-armel-201007122016.img (md5 1d063ac8a65c798bb004cd1c4c7970c5)
* kernel: http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/versatile/netboot/vmlinuz
I'm able to reproduce the bug on Maverick (amd64) and Lucid (x86).
Maverick qemu-kvm-extras: 0.12.4+noroms-0ubuntu4
Lucid qemu-kvm-extras: 0.12.3+noroms-0ubuntu9.2
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: qemu-kvm-extras 0.12.4+noroms-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-6.9-generic 2.6.35-rc3
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=/vmlinuz-2.6.35-6-generic root=/dev/mapper/primary-root ro crashkernel=384M-2G:64M,2G-:128M quiet splash
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.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET86WW(3.16):bd04/19/2010:svnLENOVO:pn2764CTO:pvrThinkPadT400:rvnLENOVO:rn2764CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2764CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO
next prev parent reply other threads:[~2010-07-13 8:01 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100713034431.19595.57398.malonedeb@gandwana.canonical.com>
2010-07-13 3:49 ` [Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm Ricardo Salveti
2010-07-13 3:55 ` Ricardo Salveti
2010-07-13 7:54 ` Oliver Grawert [this message]
2010-07-15 3:45 ` Serge Hallyn
2010-07-15 4:15 ` Serge Hallyn
2010-07-15 13:08 ` Scott Moser
2010-07-26 2:09 ` Ricardo Salveti
2010-12-23 23:58 ` Peter Maydell
2011-01-03 17:18 ` Peter Maydell
2011-01-05 11:28 ` Ricardo Salveti
2011-01-07 9:53 ` Jani Monoses
2011-01-07 11:28 ` [Qemu-devel] " Ricardo Salveti
2011-01-07 10:26 ` [Qemu-devel] " Loïc Minier
2011-01-07 15:23 ` Peter Maydell
2011-01-14 19:42 ` Aurelien Jarno
2011-02-11 19:18 ` Dustin Kirkland
2011-02-11 23:13 ` Peter Maydell
2011-02-11 23:30 ` Loïc Minier
2011-02-15 20:23 ` Steve Langasek
2011-02-15 20:53 ` Peter Maydell
2011-02-15 23:57 ` Loïc Minier
2011-02-16 8:09 ` Peter Maydell
2011-02-16 9:25 ` Loïc Minier
2011-02-20 17:14 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100713075441.8654.18937.launchpad@palladium.canonical.com \
--to=ogra@ubuntu.com \
--cc=604872@bugs.launchpad.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).