Bug 89321

Summary: "BUG: Bad page map in ..." after several S4 hibernate/resume cycles
Product: Drivers Reporter: Jens (jens-bugzilla.kernel.org)
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED UNREPRODUCIBLE    
Severity: normal CC: intel-gfx-bugs, mauromol
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.18.0rc6+ (git a834a782adf, 2014.11.25) Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg output with boot messages and full crash log

Description Jens 2014-12-06 09:29:33 UTC
Created attachment 159881 [details]
dmesg output with boot messages and full crash log

This might be related to https://bugs.freedesktop.org/show_bug.cgi?id=82864, but I don't want to pollute the bug with too many possibly unrelated crash reports, thus here. If it's in fact a duplicate, please mark it as such. Thanks!

After about 20 suspend/resume cycles on a Haswell B85M chipset, I'm getting a "BUG" in the kernel and the system is unusable afterwards (new processes cannot be started, I could just barely shut down cleanly).

One "BUG" dmesg output (there were several, full text see attachment):

------------------------------------------------------------------
[132659.951749] BUG: Bad page map in process systemd-udevd  pte:20a8ffffffffffff pmd:361c4067
[132659.951758] addr:00007f055e400000 vm_flags:08000070 anon_vma:          (null) mapping:ffff88020e76bd20 index:30d
[132659.951764] vma->vm_ops->fault: filemap_fault+0x0/0x430
[132659.951768] vma->vm_file->f_op->mmap: ext4_file_mmap+0x0/0x40
[132659.951771] CPU: 3 PID: 453 Comm: systemd-udevd Tainted: G        W   E  3.18.0-rc6+ #7
[132659.951773] Hardware name: MSI MS-7817/CSM-B85M-E45 (MS-7817), BIOS V10.5 05/30/2014
[132659.951774]  ffff880212a69b80 ffff8800c6b0fc38 ffffffff81762cfc 0000000000000000
[132659.951776]  00007f055e400000 ffff8800c6b0fc88 ffffffff81191eda 20a8ffffffffffff
[132659.951777]  000000000000030d ffffea0002fe7180 ffff8800361c4000 20a8ffffffffffff
[132659.951779] Call Trace:
[132659.951783]  [<ffffffff81762cfc>] dump_stack+0x46/0x58
[132659.951786]  [<ffffffff81191eda>] print_bad_pte+0x1aa/0x250
[132659.951788]  [<ffffffff81192c45>] vm_normal_page+0x55/0xa0
[132659.951789]  [<ffffffff811930c3>] unmap_single_vma+0x433/0x8f0
[132659.951792]  [<ffffffff811759f0>] ? put_pages_list+0x70/0x70
[132659.951794]  [<ffffffff81194071>] unmap_vmas+0x51/0xa0
[132659.951797]  [<ffffffff8119d25c>] exit_mmap+0x9c/0x170
[132659.951800]  [<ffffffff8106c174>] mmput+0x64/0x130
[132659.951802]  [<ffffffff810716cc>] do_exit+0x27c/0xa80
[132659.951807]  [<ffffffff8109e304>] ? vtime_account_user+0x54/0x60
[132659.951809]  [<ffffffff81071f5f>] do_group_exit+0x3f/0xa0
[132659.951811]  [<ffffffff81071fd4>] SyS_exit_group+0x14/0x20
[132659.951814]  [<ffffffff8176b12d>] system_call_fastpath+0x16/0x1b
[132659.951815] Disabling lock debugging due to kernel taint
[132659.951816] BUG: Bad page map in process systemd-udevd  pte:4500081a661f66 pmd:361c4067
[132659.951818] addr:00007f055e401000 vm_flags:08000070 anon_vma:          (null) mapping:ffff88020e76bd20 index:30e
------------------------------------------------------------------
Comment 1 Jens 2015-01-11 07:30:25 UTC
Cannot reproduce any more with 3.19.0-rc2+. Will reopen if it happens again.