unkillable process consuming 100% cpu time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
creating disk images with either VirtualBox or qemu-img causes the process to stop responding and consume 100% of the cpu of one core of the dual core processor. Kill -9 does not effect the process. the only way to stop it is to reboot the computer. i also encountered this with transmission at one point as well.
on my system, to reproduce this, simply run the command:
$ qemu-img create -f raw Ubuntu-
this is supposed to create a five gigabyte raw disk image that i can install a copy of Ubuntu under qemu.
also happens every time i try to create a disk image in VirtualBox. Start VirtualBox, and create a new virtual machine. give it a name, select the OS and version, memory size, virtual hard disk, create new disk. this starts the "virtual disk creation wizard', i choose the VDI image type, and elect to have all of the disk space allocated by checking fixed size. next choose the location and size. lastly, a summary is displayed, clicking on create causes a status dialog to pop up and VirtualBox starts to make the disk. shortly, the VBoxSVC process appears and after a time, consumes 100% cpu time.
this bug is likely related to bug 913787 at https:/
in my case, this issue seemed to apear after upgrading the kernel to 3.0.0-15-generic, however while VirtualBox worked with 3.0.0-14 and older, this problem occures with qemu-img in 3.0.0-14 and -13 as well.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: qemu-kvm 0.14.1+
ProcVersionSign
Uname: Linux 3.0.0-15-generic i686
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Thu Feb 2 00:19:02 2012
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/qemu-img
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
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 2958
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: qemu-kvm
UpgradeStatus: Upgraded to oneiric on 2012-01-14 (18 days ago)
dmi.bios.date: 05/05/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 18CN45WW(V2.54)
dmi.board.name: NITU1
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 2958
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
tags: |
added: kernel-fixed-upstream-v3.3-rc2 removed: needs-upstream-testing |
Hi,
Just an added note, running the qemu-img command on a directory that is not encrypted results in a 5gb image file being created so fast that i thought there must have been an error of some sort, but there is a file created.
william@ ishtar: /home/Books$ qemu-img create -f raw Ubuntu- 11.04-desktop. img 5G 11.04-desktop. img', fmt=raw size=5368709120 ishtar: /home/Books$ ls -al 11.04-desktop. img ishtar: /home/Books$ file Ubuntu- 11.04-desktop. img 11.04-desktop. img: data
Formatting 'Ubuntu-
william@
total 8
drwxrwxrwx 2 root root 4096 2012-02-02 00:48 .
drwxr-xr-x 8 root root 4096 2012-01-20 00:39 ..
-rw-r--r-- 1 william william 5368709120 2012-02-02 00:51 Ubuntu-
william@
Ubuntu-
VirtualBox also created an 8gb disk image file with no trouble.
both of these results were running the latest 3.0.0-15-generic kernel.
there seems to be a bad interaction with the kernel and the encrypted file system.