Bug 717382 - [abrt] kernel: BUG: sleeping function called from invalid context at kernel/mutex.c:85
Summary: [abrt] kernel: BUG: sleeping function called from invalid context at kernel/m...
Keywords:
Status: CLOSED DUPLICATE of bug 716549
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-ati
Version: 15
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:bbf1082c2bd3317b7b6f5ceeec6...
: 717839 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-28 17:50 UTC by Robert Kief
Modified: 2011-11-09 20:47 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-09 20:47:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Kief 2011-06-28 17:50:03 UTC
abrt version: 2.0.3
architecture:   x86_64
cmdline:        ro root=/dev/mapper/vg_homenet06-lv_root rd_LVM_LV=vg_homenet06/lv_root rd_LVM_LV=vg_homenet06/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
comment:        Unknown what caused this bug message.  The monitor was off at the time.  This is the first time I've seen this bug message
component:      kernel
kernel:         2.6.38.8-32.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        kernel
reason:         BUG: sleeping function called from invalid context at kernel/mutex.c:85
time:           Mon Jun 27 20:41:22 2011

backtrace:
:BUG: sleeping function called from invalid context at kernel/mutex.c:85
:in_atomic(): 0, irqs_disabled(): 1, pid: 3802, name: Xorg
:Pid: 3802, comm: Xorg Not tainted 2.6.38.8-32.fc15.x86_64 #1
:Call Trace:
: [<ffffffff81047d33>] __might_sleep+0xeb/0xf0
: [<ffffffff81474cc9>] mutex_lock+0x24/0x50
: [<ffffffff81475aeb>] ? _raw_write_unlock_irqrestore+0x1b/0x1d
: [<ffffffffa00aa097>] drm_gem_object_unreference_unlocked+0x24/0x40 [radeon]
: [<ffffffffa00aa60f>] radeon_crtc_page_flip+0x46a/0x49b [radeon]
: [<ffffffffa00265da>] drm_mode_page_flip_ioctl+0x17b/0x1c9 [drm]
: [<ffffffffa0019861>] drm_ioctl+0x29e/0x37b [drm]
: [<ffffffff811eb0eb>] ? inode_has_perm+0x76/0x8c
: [<ffffffffa002645f>] ? drm_mode_page_flip_ioctl+0x0/0x1c9 [drm]
: [<ffffffff81111cca>] ? kfree+0xcc/0xd8
: [<ffffffff811eb1a5>] ? file_has_perm+0xa4/0xc6
: [<ffffffff8112f3a0>] do_vfs_ioctl+0x47e/0x4bf
: [<ffffffff8112f437>] sys_ioctl+0x56/0x7b
: [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b

Comment 1 Rob Wills 2011-06-30 04:43:35 UTC
Package: kernel
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
Im not sure how this happened.

Comment 2 Chuck Ebbert 2011-06-30 07:47:28 UTC
Apparently caused by 498c555f56a02ec1059bc150cde84411ba0ac010, which was backported to 2.6.38.8-32

Comment 3 Chuck Ebbert 2011-07-11 20:30:24 UTC
*** Bug 717839 has been marked as a duplicate of this bug. ***

Comment 4 Kim Bisgaard 2011-08-06 14:25:07 UTC
Looks like this in 2.6.40-4.fc15.i686:

Aug  6 16:22:00 jukebox kernel: [241030.126946] BUG: sleeping function called from invalid context at kernel/mutex.c:
85
Aug  6 16:22:00 jukebox kernel: [241030.126961] in_atomic(): 0, irqs_disabled(): 1, pid: 25083, name: Xorg
Aug  6 16:22:00 jukebox kernel: [241030.126973] Pid: 25083, comm: Xorg Not tainted 2.6.40-4.fc15.i686 #1
Aug  6 16:22:00 jukebox kernel: [241030.126979] Call Trace:
Aug  6 16:22:00 jukebox kernel: [241030.127004]  [<c080ca2a>] ? printk+0x2d/0x2f
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c042fa21>] __might_sleep+0xdd/0xe4
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c08135f9>] mutex_lock+0x1d/0x3b
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f79f64b9>] drm_gem_object_unreference_unlocked+0x1d/0x34 [radeon]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f79f6a7c>] radeon_crtc_page_flip+0x43e/0x462 [radeon]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f78a851a>] ? kzalloc.constprop.9+0x12/0x14 [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f78a851a>] ? kzalloc.constprop.9+0x12/0x14 [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f78aac8d>] drm_mode_page_flip_ioctl+0x140/0x17f [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f789f34b>] drm_ioctl+0x2a4/0x38a [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f78aab4d>] ? drm_mode_gamma_get_ioctl+0xb8/0xb8 [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c059fb1c>] ? inode_has_perm+0x3f/0x46
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c059fbc5>] ? file_has_perm+0xa2/0xbb
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<f789f0a7>] ? drm_copy_field+0x54/0x54 [drm]
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c04f751e>] do_vfs_ioctl+0x457/0x488
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c05a149f>] ? selinux_file_ioctl+0xac/0xb0
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c04f7597>] sys_ioctl+0x48/0x69
Aug  6 16:22:00 jukebox kernel: [241030.127019]  [<c08143cc>] syscall_call+0x7/0xb

Comment 5 Reartes Guillermo 2011-08-06 21:30:54 UTC
HD5670 (reedwood), M4N72-E (nforce 750a SLI), F15 64-BIT KDE, AMD Phenom II 

I updated to 2.6.40-4.fc15.x86_64 today and got this:

[ 3920.868647] virbr0: port 1(vnet0) entering disabled state
[ 3920.868954] device vnet0 left promiscuous mode
[ 3920.868978] virbr0: port 1(vnet0) entering disabled state
[ 3920.869498] virbr0: mixed no checksumming and other settings.
[ 4111.074688] BUG: sleeping function called from invalid context at kernel/mutex.c:85
[ 4111.074699] in_atomic(): 0, irqs_disabled(): 1, pid: 1842, name: X
[ 4111.074709] Pid: 1842, comm: X Not tainted 2.6.40-4.fc15.x86_64 #1
[ 4111.074715] Call Trace:
[ 4111.074733]  [<ffffffff810474ed>] __might_sleep+0xeb/0xf0
[ 4111.074743]  [<ffffffff814b6366>] mutex_lock+0x24/0x4a
[ 4111.074753]  [<ffffffff814b7173>] ? _raw_write_unlock_irqrestore+0x1b/0x1d
[ 4111.074834]  [<ffffffffa00a3ecb>] drm_gem_object_unreference_unlocked+0x24/0x40 [radeon]
[ 4111.074896]  [<ffffffffa00a44a4>] radeon_crtc_page_flip+0x438/0x467 [radeon]
[ 4111.074936]  [<ffffffffa0022747>] drm_mode_page_flip_ioctl+0x165/0x1b1 [drm]
[ 4111.074965]  [<ffffffffa00157f7>] drm_ioctl+0x29e/0x37b [drm]
[ 4111.074996]  [<ffffffffa00225e2>] ? drm_mode_gamma_get_ioctl+0x10f/0x10f [drm]
[ 4111.075008]  [<ffffffff811f5eb4>] ? inode_has_perm+0x32/0x34
[ 4111.075018]  [<ffffffff811f5f5d>] ? file_has_perm+0xa7/0xc9
[ 4111.075028]  [<ffffffff81134aea>] do_vfs_ioctl+0x460/0x4a1
[ 4111.075037]  [<ffffffff81134b81>] sys_ioctl+0x56/0x79
[ 4111.075046]  [<ffffffff814bd7c2>] system_call_fastpath+0x16/0x1b

The only abnormal stuff in the Xorg.0.log is:

[  4111.074] (WW) RADEON(0): flip queue failed: Device or resource busy
[  4111.074] (WW) RADEON(0): Page flip failed: Device or resource busy


It happened while playing neberball (openGL game), amarok was running in the background... it seems it did not like the traslucent song popup from amarok wich showed up in neberball (which was running in full-screen, so that was a full-screen violation). The screen flashed and then... black screen, a reboot was needed.

Comment 6 Kim Bisgaard 2011-08-07 06:24:22 UTC
When I run mythtv-frontend(fullscreen) and amarok at the same time, usually mythtv dies (does not repaint the screen). I can start other applications, so the machine is not hung up, just mythtv. A restart of X is fine to solve the problem (ctrl-bksp).

Perhaps I should try to disable amarok's song-change-popup.

Comment 7 Oliver Henshaw 2011-08-12 15:53:46 UTC
Saw the same oops as in comment #5 after fullscreening a flash video from firefox, albeit with no suspicious log messages.

This is an integrated RS880.

Comment 8 Adam Jackson 2011-11-09 20:47:32 UTC

*** This bug has been marked as a duplicate of bug 716549 ***


Note You need to log in before you can comment on or make changes to this bug.