Bug 1297836

Summary: Comm: swapper/0 traces with kernel-4.4.0-1.fc24.x86_64
Product: [Fedora] Fedora Reporter: Jóhann B. Guðmundsson <johannbg>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, johannbg, jonathan, kernel-maint, labbott, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-06 17:57:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
dmesg as requested none

Description Jóhann B. Guðmundsson 2016-01-12 15:09:47 UTC
First...

[    0.387725] ------------[ cut here ]------------
[    0.387728] WARNING: CPU: 0 PID: 1 at arch/x86/mm/ioremap.c:198 __ioremap_caller+0x2c5/0x380()
[    0.387729] Info: mapping multiple BARs. Your kernel is fine.
[    0.387730] Modules linked in:

[    0.387733] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-1.fc24.x86_64 #1
[    0.387734] Hardware name: LENOVO 20BWS18800/20BWS18800, BIOS JBET51WW (1.16 ) 07/08/2015
[    0.387736]  0000000000000000 0000000096f3c794 ffff88032f6fbaf8 ffffffff813b04df
[    0.387738]  ffff88032f6fbb40 ffff88032f6fbb30 ffffffff810a2f02 00000000fed10000
[    0.387740]  ffffc90001910000 0000000000006000 0000000000000000 ffff88032dea0040
[    0.387742] Call Trace:
[    0.387747]  [<ffffffff813b04df>] dump_stack+0x44/0x55
[    0.387749]  [<ffffffff810a2f02>] warn_slowpath_common+0x82/0xc0
[    0.387751]  [<ffffffff810a2f9c>] warn_slowpath_fmt+0x5c/0x80
[    0.387753]  [<ffffffff810a962a>] ? iomem_map_sanity_check+0xba/0xd0
[    0.387754]  [<ffffffff81067a55>] __ioremap_caller+0x2c5/0x380
[    0.387756]  [<ffffffff81067b27>] ioremap_nocache+0x17/0x20
[    0.387758]  [<ffffffff8103ba69>] snb_uncore_imc_init_box+0x79/0xb0
[    0.387760]  [<ffffffff8103a7fa>] uncore_pci_probe+0xca/0x1a0
[    0.387763]  [<ffffffff813fbfc5>] local_pci_probe+0x45/0xa0
[    0.387765]  [<ffffffff813fd3ad>] pci_device_probe+0xfd/0x140
[    0.387768]  [<ffffffff814e9c52>] driver_probe_device+0x222/0x490
[    0.387769]  [<ffffffff814e9f44>] __driver_attach+0x84/0x90
[    0.387771]  [<ffffffff814e9ec0>] ? driver_probe_device+0x490/0x490
[    0.387772]  [<ffffffff814e772c>] bus_for_each_dev+0x6c/0xc0
[    0.387773]  [<ffffffff814e940e>] driver_attach+0x1e/0x20
[    0.387775]  [<ffffffff814e8f4b>] bus_add_driver+0x1eb/0x280
[    0.387777]  [<ffffffff81d71536>] ? uncore_cpu_setup+0x12/0x12
[    0.387778]  [<ffffffff814ea790>] driver_register+0x60/0xe0
[    0.387780]  [<ffffffff813fb90c>] __pci_register_driver+0x4c/0x50
[    0.387781]  [<ffffffff81d71618>] intel_uncore_init+0xe2/0x2e6
[    0.387783]  [<ffffffff81d71536>] ? uncore_cpu_setup+0x12/0x12
[    0.387785]  [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[    0.387787]  [<ffffffff810c0925>] ? parse_args+0x295/0x4b0
[    0.387788]  [<ffffffff81d621c8>] kernel_init_freeable+0x189/0x223
[    0.387791]  [<ffffffff8178d9d0>] ? rest_init+0x80/0x80
[    0.387793]  [<ffffffff8178d9de>] kernel_init+0xe/0xe0
[    0.387795]  [<ffffffff81799a4f>] ret_from_fork+0x3f/0x70
[    0.387797]  [<ffffffff8178d9d0>] ? rest_init+0x80/0x80
[    0.387801] ---[ end trace 010df0282a9ae1e9 ]---

second... 

[    0.731887] Freeing unused kernel memory: 656K (ffff880001b5c000 - ffff880001c00000)
[    0.731892] ------------[ cut here ]------------
[    0.731895] WARNING: CPU: 2 PID: 1 at arch/x86/mm/dump_pagetables.c:225 note_page+0x5e1/0x780()
[    0.731897] x86/mm: Found insecure W+X mapping at address ffff88000009d000/0xffff88000009d000
[    0.731897] Modules linked in:
[    0.731900] CPU: 2 PID: 1 Comm: swapper/0 Tainted: G        W       4.4.0-1.fc24.x86_64 #1
[    0.731901] Hardware name: LENOVO 20BWS18800/20BWS18800, BIOS JBET51WW (1.16 ) 07/08/2015
[    0.731902]  0000000000000000 0000000096f3c794 ffff88032f6fbd48 ffffffff813b04df
[    0.731904]  ffff88032f6fbd90 ffff88032f6fbd80 ffffffff810a2f02 ffff88032f6fbe90
[    0.731905]  8000000000000163 0000000000000004 0000000000000000 0000000000000000
[    0.731907] Call Trace:
[    0.731910]  [<ffffffff813b04df>] dump_stack+0x44/0x55
[    0.731912]  [<ffffffff810a2f02>] warn_slowpath_common+0x82/0xc0
[    0.731913]  [<ffffffff810a2f9c>] warn_slowpath_fmt+0x5c/0x80
[    0.731915]  [<ffffffff8106f681>] note_page+0x5e1/0x780
[    0.731917]  [<ffffffff8106fb27>] ptdump_walk_pgd_level_core+0x307/0x450
[    0.731919]  [<ffffffff8106fd17>] ptdump_walk_pgd_level_checkwx+0x17/0x20
[    0.731920]  [<ffffffff81065a34>] mark_rodata_ro+0xf4/0x100
[    0.731922]  [<ffffffff8178d9d0>] ? rest_init+0x80/0x80
[    0.731923]  [<ffffffff8178d9ed>] kernel_init+0x1d/0xe0
[    0.731925]  [<ffffffff81799a4f>] ret_from_fork+0x3f/0x70
[    0.731926]  [<ffffffff8178d9d0>] ? rest_init+0x80/0x80
[    0.731927] ---[ end trace 010df0282a9ae1eb ]---
[    0.737208] x86/mm: Checked W+X mappings: FAILED, 52297 W+X pages found.
[    0.766970] random: systemd urandom read with 29 bits of entropy available

Comment 1 Josh Boyer 2016-01-12 15:20:01 UTC
Can you please attach the full output of dmesg from this kernel?

Comment 2 Jóhann B. Guðmundsson 2016-01-12 15:39:00 UTC
Created attachment 1113993 [details]
dmesg as requested

Thought it was sufficient and preferred to only have the 
------------[ cut here ]------------
---[ end trace..]---

content on reports.

Comment 3 Josh Boyer 2016-01-12 16:24:05 UTC
(In reply to Jóhann B. Guðmundsson from comment #2)
> Created attachment 1113993 [details]
> dmesg as requested

Thank you.
 
> Thought it was sufficient and preferred to only have the 
> ------------[ cut here ]------------
> ---[ end trace..]---
> 
> content on reports.

Generally, no.  It just marks the start and the end of the trace information itself.  The dmesg often contains much more context.  In this specific case, the dmesg provides enough context to show that the first backtrace is almost certainly a duplicate of bug 1083853 for which I am working on a fix today.

Comment 4 Josh Boyer 2016-01-12 17:06:12 UTC
I've included the fix for bug 1083853 in rawhide in Fedora git.  It will be in whatever build comes out next.

The second backtrace probably needs something else.

Comment 5 Laura Abbott 2018-04-06 17:57:22 UTC
This bug looks like it has a fix. The 2nd issue comes up from time to time but I think it makes sense to close this one.