Bug 717297

Summary: [RHEL6.2] Sleeping function called from invalid context at arch/x86/mm/fault.c
Product: Red Hat Enterprise Linux 6 Reporter: PaulB <pbunyan>
Component: kernelAssignee: Vivek Goyal <vgoyal>
Status: CLOSED DEFERRED QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jburke, pbunyan
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 13:32:56 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 PaulB 2011-06-28 14:18:25 UTC
Description of problem:
 The following issue was seen during testing:
Checking dmesg for specific failures!
BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1097
End of log.

See testing here:
 https://beaker.engineering.redhat.com/recipes/208451

 http://tinyurl.com/3ejwysx
 <-SNIP->
  Checking dmesg for specific failures!
  BUG: sleeping function called from invalid context at
  arch/x86/mm/fault.c:1097
  End of log.
 <-SNIP->

http://tinyurl.com/3qkop3s
 <-SNIP->
  BUG: sleeping function called from invalid context at arch/x86
  /mm/fault.c:1097 
  in_atomic(): 0, irqs_disabled(): 1, pid: 25664, name: rhts-db-submit- 
  INFO: lockdep is turned off. 
  irq event stamp: 0 
  hardirqs last  enabled at (0): [<(null)>] (null) 
  hardirqs last disabled at (0): [<ffffffff81069ddd>] copy_process+0x5ed/0x14d0 
  softirqs last  enabled at (0): [<ffffffff81069ddd>] copy_process+0x5ed/0x14d0 
  softirqs last disabled at (0): [<(null)>] (null) 
  Pid: 25664, comm: rhts-db-submit- Tainted: G           ---------------- T   
  2.6.32-162.el6.x86_64.debug #1 
  Call Trace: 
  [<ffffffff810a8300>] ? print_irqtrace_events+0xd0/0xe0 
  [<ffffffff81055a27>] ? __might_sleep+0xf7/0x130 
  [<ffffffff810428a4>] ? __do_page_fault+0x114/0x4e0 
  [<ffffffff8128455e>] ? cfq_set_request+0x8e/0x520 
  [<ffffffff8128455e>] ? cfq_set_request+0x8e/0x520 
  [<ffffffff810ac6cd>] ? trace_hardirqs_on+0xd/0x10 
  [<ffffffff8151441e>] ? do_page_fault+0x3e/0xa0 
  [<ffffffff81511525>] ? page_fault+0x25/0x30 
  [<ffffffff812987ec>] ? debug_object_activate+0x5c/0x160 
  [<ffffffff81298812>] ? debug_object_activate+0x82/0x160 
  [<ffffffff812987ec>] ? debug_object_activate+0x5c/0x160 
  [<ffffffff8107ffdf>] ? mod_timer+0xcf/0x240 
  [<ffffffff8126a6f2>] ? blk_plug_device+0x72/0x100 
  [<ffffffff8126d9a4>] ? __make_request+0x194/0x5e0 
  [<ffffffffa0003b2b>] ? dm_request+0x3b/0x1e0 [dm_mod] 
  [<ffffffff8126bbb9>] ? generic_make_request+0x329/0x640 
  [<ffffffff811c6586>] ? bio_add_page+0x36/0x40 
  [<ffffffff811cb5d0>] ? do_mpage_readpage+0x310/0x5f0 
  [<ffffffff8126bf5d>] ? submit_bio+0x8d/0x120 
  [<ffffffff811cb137>] ? mpage_bio_submit+0x27/0x30 
  [<ffffffff811cba35>] ? mpage_readpages+0x115/0x130 
  [<ffffffffa0244e30>] ? ext4_get_block+0x0/0x120 [ext4] 
  [<ffffffffa0244e30>] ? ext4_get_block+0x0/0x120 [ext4] 
  [<ffffffff8116c30a>] ? alloc_pages_current+0xaa/0x110 
  [<ffffffffa02409ad>] ? ext4_readpages+0x1d/0x20 [ext4] 
  [<ffffffff81139a90>] ? __do_page_cache_readahead+0x1d0/0x260 
  [<ffffffff8113996e>] ? __do_page_cache_readahead+0xae/0x260 
  [<ffffffff81123be0>] ? find_get_page+0x0/0x120 
  [<ffffffff81139b41>] ? ra_submit+0x21/0x30 
  [<ffffffff811245f8>] ? filemap_fault+0x4e8/0x530 
  [<ffffffff8114e844>] ? __do_fault+0x54/0x4f0 
  [<ffffffff812317a4>] ? task_has_capability+0xb4/0x110 
  [<ffffffff8114ed70>] ? handle_pte_fault+0x90/0xa90 
  [<ffffffff81152d98>] ? vma_link+0x58/0xf0 
  [<ffffffff815109eb>] ? _spin_unlock+0x2b/0x40 
  [<ffffffff8114f954>] ? handle_mm_fault+0x1e4/0x2b0 
  [<ffffffff810428f3>] ? __do_page_fault+0x163/0x4e0 
  [<ffffffff81155a2a>] ? do_mmap_pgoff+0x33a/0x380 
  [<ffffffff8151441e>] ? do_page_fault+0x3e/0xa0 
  [<ffffffff81511525>] ? page_fault+0x25/0x30 
 <-SNIP->


Version-Release number of selected component (if applicable):
 2.6.32-162.el6 debug

How reproducible:
 I was not able to reproduce this issue testing with same host.
See here:
 [] J:101962 2.6.32-162.el6 Cthon X5 
     https://beaker.engineering.redhat.com/jobs/101962
 
Actual results:
 BUG: sleeping function called from invalid context at
arch/x86/mm/fault.c:1097

Expected results:
 No failures.

Additional info:
 I originally posted to the following BZ, after searching bugzilla for releated issue:
 https://bugzilla.redhat.com/show_bug.cgi?id=637242

 Following my posting the BZ was closed, as BZ#637242 was opened against Fedora 13.

-pbunyan

Comment 2 Prarit Bhargava 2011-07-01 18:01:51 UTC

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

Comment 3 RHEL Program Management 2011-10-07 15:39:12 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.