Bug 717102

Summary: [KVM] kernel: BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1087
Product: [Fedora] Fedora Reporter: nihlathak <nihlathak>
Component: kernelAssignee: Justin M. Forbes <jforbes>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, paolo.campegiani
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:dec7467d648967fe8d0b41f66ca8ca97324e7d2a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-26 19:09:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description nihlathak 2011-06-28 02:16:42 UTC
abrt version: 2.0.3
architecture:   i686
cmdline:        ro root=/dev/mapper/vg_power-LogVol_Root rd_LVM_LV=vg_power/LogVol_Root rd_LVM_LV=vg_power/LogVolSwap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
comment:        open virt-manager and virtual machine
component:      kernel
kernel:         2.6.38.8-32.fc15.i686.PAE
kernel_tainted: 1
kernel_tainted_long: Proprietary module has been loaded.
os_release:     Fedora release 15 (Lovelock)
package:        kernel
reason:         BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1087
time:           Tue Jun 28 10:12:49 2011

backtrace:
:BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1087
:in_atomic(): 0, irqs_disabled(): 1, pid: 2478, name: qemu-kvm
:Pid: 2478, comm: qemu-kvm Tainted: P            2.6.38.8-32.fc15.i686.PAE #1
:Call Trace:
: [<c07e17f3>] ? printk+0x2d/0x2f
: [<c0435bee>] __might_sleep+0xdd/0xe4
: [<c07ec0e2>] do_page_fault+0x179/0x30c
: [<c045c409>] ? hrtimer_interrupt+0x110/0x1aa
: [<f8f4c979>] ? x86_emulate_insn+0x1d49/0x2fd4 [kvm]
: [<c040b44b>] ? do_softirq+0x8c/0x92
: [<c07ebf69>] ? do_page_fault+0x0/0x30c
: [<c07e9cef>] error_code+0x67/0x6c
: [<c07e9641>] ? restore_nocheck+0xb/0x10
: [<f8f32c58>] ? arch_local_irq_enable+0x7/0xb [kvm]
: [<f8f3f30f>] kvm_arch_vcpu_ioctl_run+0xa33/0xd20 [kvm]
: [<f8f3abe0>] ? kvm_arch_vcpu_load+0x109/0x11e [kvm]
: [<f8f2e86b>] kvm_vcpu_ioctl+0x105/0x4b1 [kvm]
: [<c059cfa8>] ? file_has_perm+0x9a/0xb3
: [<f8f2e766>] ? kvm_vcpu_ioctl+0x0/0x4b1 [kvm]
: [<c04f9f11>] do_vfs_ioctl+0x451/0x482
: [<c059d219>] ? selinux_file_ioctl+0x39/0x3c
: [<c04f9f8a>] sys_ioctl+0x48/0x6a
: [<c040969f>] sysenter_do_call+0x12/0x28

Comment 1 Dave Jones 2011-07-11 21:15:05 UTC
another variant of bug 718741 ?

Comment 2 Dave Jones 2011-08-15 21:40:11 UTC
*** Bug 715407 has been marked as a duplicate of this bug. ***

Comment 3 Dave Jones 2011-08-15 21:54:26 UTC
Can you confirm whether or not this still occurs in the 2.6.40 update ?

Comment 4 Paolo Campegiani 2011-08-16 07:02:11 UTC
The bug is fixed, VMs can now be started/stopped/restarted.

$ uname -a
Linux spacedock.flotta 2.6.40-4.fc15.i686.PAE #1 SMP Fri Jul 29 18:47:58 UTC 2011 i686 i686 i386 GNU/Linux