[Bug 619302] [NEW] kvm -initrd 'file' dumps core if 'file' does not exist
Scott Moser
smoser at canonical.com
Tue Aug 17 16:34:36 BST 2010
Public bug reported:
Binary package hint: qemu-kvm
The following crashes
$ k=/boot/vmlinuz-$(uname -r)
$ i=does-not-exist
$ rm -f ${i}
$ qemu-img create disk.img 1G
$ kvm -kernel ${k} -initrd ${i} -hda disk.img
Aborted (core dumped)
Note the difference from if kernel doesn't exist:
$ kvm -kernel ${i}
qemu: could not load kernel 'does-not-exist': No such file or directory
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: kvm (not installed)
ProcVersionSignature: Ubuntu 2.6.35-14.20-generic 2.6.35
Uname: Linux 2.6.35-14-generic x86_64
Architecture: amd64
Date: Tue Aug 17 11:19:19 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
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 7417CTO
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-14-generic root=UUID=36286167-4eba-4a1e-a202-155c6baafa01 ro quiet splash
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: qemu-kvm
dmi.bios.date: 04/17/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET70WW (3.00 )
dmi.board.name: 7417CTO
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:bvr7UET70WW(3.00):bd04/17/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO
** Affects: qemu-kvm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug maverick
--
kvm -initrd 'file' dumps core if 'file' does not exist
https://bugs.launchpad.net/bugs/619302
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list