Bug 82111

Summary: kernel Oopses on futex_wake three times during boot
Product: Other Reporter: j.fikar
Component: OtherAssignee: Andrew Morton (akpm)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.16.0 Subsystem:
Regression: No Bisected commit-id:
Attachments: full dmesg

Description j.fikar 2014-08-10 15:20:35 UTC
Created attachment 146151 [details]
full dmesg

I see this on my HP Microserver already for some time, but it is present also in 3.16.0. Not sure what is causing this.


...
[    2.167152] PCI: CLS 64 bytes, default 64
[    2.167245] Unpacking initramfs...
[    2.816320] Freeing initrd memory: 3524K (ffff88003790e000 - ffff880037c7f000)
[    2.817174] BUG: unable to handle kernel paging request at 00000001a8ed6740
[    2.817187] IP: [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.817199] PGD 40d3d7067 PUD 0 
[    2.817204] Oops: 0000 [#1] SMP 
[    2.817209] Modules linked in:
[    2.817215] CPU: 0 PID: 35 Comm: modprobe Not tainted 3.16.0 #5
[    2.817220] Hardware name: HP ProLiant MicroServer, BIOS O41     10/01/2013
[    2.817226] task: ffff88040d9f97c0 ti: ffff88040d020000 task.ti: ffff88040d020000
[    2.817231] RIP: 0010:[<ffffffff810aa335>]  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.817239] RSP: 0018:ffff88040d023e00  EFLAGS: 00010202
[    2.817243] RAX: 00000001a8ed6740 RBX: 00007fff82354880 RCX: 00000000ad60448d
[    2.817247] RDX: ffffffffffffffff RSI: 000000004477787d RDI: 0000000000000000
[    2.817251] RBP: 0000000000000000 R08: 00000000a1f9dd4a R09: 0000000000000000
[    2.817255] R10: 00007fff823545b0 R11: 0000000000000202 R12: 00000000ffffffff
[    2.817259] R13: 0000000000000001 R14: 0000003f37022100 R15: 00000001a8ed6740
[    2.817263] FS:  00007fe123f9f700(0000) GS:ffff88041fc00000(0000) knlGS:0000000000000000
[    2.817268] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.817271] CR2: 00000001a8ed6740 CR3: 000000040d3db000 CR4: 00000000000007f0
[    2.817274] Stack:
[    2.817277]  00007fff82354000 ffff88040d018000 0000000000000880 00007fff82354880
[    2.817284]  0000000000000001 0000000000000000 0000000000000000 0000003f37022100
[    2.817290]  0000003f375a6c20 ffffffff810ac1a5 ffff88040d9f97c0 ffffffff81034539
[    2.817296] Call Trace:
[    2.817303]  [<ffffffff810ac1a5>] ? do_futex+0x105/0xb00
[    2.817311]  [<ffffffff81034539>] ? __do_page_fault+0x1e9/0x480
[    2.817318]  [<ffffffff811337cb>] ? dput+0x2b/0x190
[    2.817324]  [<ffffffff810acc1c>] ? SyS_futex+0x7c/0x170
[    2.817331]  [<ffffffff816a1ad6>] ? system_call_fastpath+0x1a/0x1f
[    2.817334] Code: c7 44 24 10 00 00 00 00 74 38 83 e6 01 31 c9 41 89 d5 48 89 e2 e8 0c f8 ff ff 85 c0 89 c5 75 22 48 89 e7 e8 3e f7 ff ff 49 89 c7 <8b> 00 85 c0 75 25 48 8b 7c 24 08 48 8d 74 24 10 e8 f6 f5 ff ff 
[    2.817374] RIP  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.817379]  RSP <ffff88040d023e00>
[    2.817382] CR2: 00000001a8ed6740
[    2.817388] ---[ end trace 6d91bbaa4d8d6df6 ]---[    2.817901] PCI-DMA: Disabling AGP.
[    2.818012] PCI-DMA: aperture base @ d4000000 size 65536 KB
[    2.818015] PCI-DMA: using GART IOMMU.
[    2.818020] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
[    2.823043] microcode: CPU0: patch_level=0x010000c8
[    2.823081] microcode: CPU1: patch_level=0x010000c8
[    2.823191] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    2.823203] LVT offset 1 assigned for vector 0x400
[    2.823214] IBS: LVT offset 1 assigned
[    2.823236] perf: AMD IBS detected (0x0000001f)
[    2.830225] BUG: unable to handle kernel paging request at 0000000c96429000
[    2.830236] IP: [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.830245] PGD 40d3d1067 PUD 0 
[    2.830249] Oops: 0000 [#2] SMP 
[    2.830254] Modules linked in:
[    2.830259] CPU: 0 PID: 61 Comm: modprobe Tainted: G      D       3.16.0 #5
[    2.830264] Hardware name: HP ProLiant MicroServer, BIOS O41     10/01/2013
[    2.830269] task: ffff88040c482f80 ti: ffff88040c4b4000 task.ti: ffff88040c4b4000
[    2.830273] RIP: 0010:[<ffffffff810aa335>]  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.830281] RSP: 0018:ffff88040c4b7e00  EFLAGS: 00010206
[    2.830285] RAX: 0000000c96429000 RBX: 00007ffff36517c0 RCX: 0000000077aa6ca8
[    2.830289] RDX: ffffffffffffffff RSI: 0000000006fde9f0 RDI: 0000000000000000
[    2.830292] RBP: 0000000000000000 R08: 00000000a87ca2d2 R09: 0000000000000000
[    2.830296] R10: 00007ffff36514f0 R11: 0000000000000202 R12: 00000000ffffffff
[    2.830300] R13: 0000000000000001 R14: 0000003f37022100 R15: 0000000c96429000
[    2.830305] FS:  00007f8d18909700(0000) GS:ffff88041fc00000(0000) knlGS:0000000000000000
[    2.830309] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.830313] CR2: 0000000c96429000 CR3: 000000040d3d3000 CR4: 00000000000007f0
[    2.830316] Stack:
[    2.830319]  00007ffff3651000 ffff88040d018740 00000000000007c0 00007ffff36517c0
[    2.830325]  0000000000000001 0000000000000000 0000000000000000 0000003f37022100
[    2.830331]  0000003f375a6c20 ffffffff810ac1a5 ffff88040c482f80 ffffffff81034539
[    2.830337] Call Trace:
[    2.830344]  [<ffffffff810ac1a5>] ? do_futex+0x105/0xb00
[    2.830351]  [<ffffffff81034539>] ? __do_page_fault+0x1e9/0x480
[    2.830358]  [<ffffffff811337cb>] ? dput+0x2b/0x190
[    2.830363]  [<ffffffff810acc1c>] ? SyS_futex+0x7c/0x170
[    2.830370]  [<ffffffff816a1ad6>] ? system_call_fastpath+0x1a/0x1f
[    2.830374] Code: c7 44 24 10 00 00 00 00 74 38 83 e6 01 31 c9 41 89 d5 48 89 e2 e8 0c f8 ff ff 85 c0 89 c5 75 22 48 89 e7 e8 3e f7 ff ff 49 89 c7 <8b> 00 85 c0 75 25 48 8b 7c 24 08 48 8d 74 24 10 e8 f6 f5 ff ff 
[    2.830411] RIP  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.830416]  RSP <ffff88040c4b7e00>
[    2.830419] CR2: 0000000c96429000
[    2.830423] ---[ end trace 6d91bbaa4d8d6df7 ]---
[    2.831000] BUG: unable to handle kernel paging request at 00000034f5363780
[    2.831006] IP: [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.831012] PGD 40d3c4067 PUD 0 
[    2.831016] Oops: 0000 [#3] SMP[    2.831019] Modules linked in:
[    2.831024] CPU: 0 PID: 63 Comm: modprobe Tainted: G      D       3.16.0 #5
[    2.831027] Hardware name: HP ProLiant MicroServer, BIOS O41     10/01/2013
[    2.831031] task: ffff88040c483b60 ti: ffff88040c4bc000 task.ti: ffff88040c4bc000
[    2.831035] RIP: 0010:[<ffffffff810aa335>]  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.831042] RSP: 0018:ffff88040c4bfe00  EFLAGS: 00010202
[    2.831046] RAX: 00000034f5363780 RBX: 00007fffa23d0980 RCX: 00000000ac5fc753
[    2.831050] RDX: ffffffffffffffff RSI: 00000000ff3f39dd RDI: 0000000000000000
[    2.831053] RBP: 0000000000000000 R08: 00000000fb458a39 R09: 0000000000000000
[    2.831057] R10: 00007fffa23d06b0 R11: 0000000000000202 R12: 00000000ffffffff
[    2.831061] R13: 0000000000000001 R14: 0000003f37022100 R15: 00000034f5363780
[    2.831065] FS:  00007fb5e876c700(0000) GS:ffff88041fc00000(0000) knlGS:0000000000000000
[    2.831070] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.831073] CR2: 00000034f5363780 CR3: 000000040d3bc000 CR4: 00000000000007f0
[    2.831076] Stack:
[    2.831079]  00007fffa23d0000 ffff88040d018000 0000000000000980 00007fffa23d0980
[    2.831085]  0000000000000001 0000000000000000 0000000000000000 0000003f37022100
[    2.831091]  0000003f375a6c20 ffffffff810ac1a5 ffff88040c483b60 ffffffff81034539
[    2.831097] Call Trace:
[    2.831102]  [<ffffffff810ac1a5>] ? do_futex+0x105/0xb00
[    2.831108]  [<ffffffff81034539>] ? __do_page_fault+0x1e9/0x480
[    2.831114]  [<ffffffff811337cb>] ? dput+0x2b/0x190
[    2.831120]  [<ffffffff810acc1c>] ? SyS_futex+0x7c/0x170
[    2.831125]  [<ffffffff816a1ad6>] ? system_call_fastpath+0x1a/0x1f
[    2.831128] Code: c7 44 24 10 00 00 00 00 74 38 83 e6 01 31 c9 41 89 d5 48 89 e2 e8 0c f8 ff ff 85 c0 89 c5 75 22 48 89 e7 e8 3e f7 ff ff 49 89 c7 <8b> 00 85 c0 75 25 48 8b 7c 24 08 48 8d 74 24 10 e8 f6 f5 ff ff 
[    2.831166] RIP  [<ffffffff810aa335>] futex_wake+0x55/0x120
[    2.831171]  RSP <ffff88040c4bfe00>
[    2.831174] CR2: 00000034f5363780
[    2.831177] ---[ end trace 6d91bbaa4d8d6df8 ]---
[    2.832195] futex hash table entries: 512 (order: 3, 32768 bytes)
[    2.832547] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    2.834583] zbud: loaded
[    2.835735] SGI XFS with security attributes, large block/inode numbers, no debug enabled
...
Comment 1 j.fikar 2015-01-29 13:52:34 UTC
the problem is in initramfs created by dracut without systemd but with udev, more information here:

https://bugzilla.kernel.org/show_bug.cgi?id=65661

https://bugs.gentoo.org/show_bug.cgi?id=462928

as I don't want systemd, it is enough to build initramfs by dracut in chrooted enviroment, which has systemd installed

anyway I guess kernel should not oops on userland program even if it is in initramfs, should it?