From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatoly Pugachev Date: Fri, 21 Oct 2016 09:12:25 +0000 Subject: Re: Regression with 4.7.2 on sun4u Message-Id: List-Id: References: <3fc12066-505b-5f87-cbbe-88593a736162@physik.fu-berlin.de> In-Reply-To: <3fc12066-505b-5f87-cbbe-88593a736162@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org On Wed, Sep 7, 2016 at 1:01 PM, Anatoly Pugachev wrote: > On Wed, Sep 7, 2016 at 12:22 PM, John Paul Adrian Glaubitz > wrote: >> Hello! >> >> After kernel 4.7.2 entered Debian unstable, I decided to upgrade the buildds and ran into an >> apparent regression with the 4.7.x kernels on sun4u machines: > > It's not only with sun4u, we're getting kernel OOPS on sun4v as well: debian packaged 4.7.6 kernel, machine is a LDOM on T5-2 server, OOPS after kernel boot within a few minutes: [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux stretch/sid ttip console ttip login: [5435944.506755] systemd-journald[334]: File /var/log/journal/c02366aaa6e44182ba0caa130d880aac/user-1000.journal corrupted or uncleanly shut down, renaming and replacing. [5435988.433976] \|/ ____ \|/ [5435988.433976] "@'/ .. \`@" [5435988.433976] /_| \__/ |_\ [5435988.433976] \__U_/ [5435988.434000] systemd(1): Kernel illegal instruction [#1] [5435988.434008] CPU: 0 PID: 1 Comm: systemd Not tainted 4.7.0-1-sparc64-smp #1 Debian 4.7.6-1 [5435988.434016] task: fff8000815f43620 ti: fff8000815f44000 task.ti: fff8000815f44000 [5435988.434023] TSTATE: 0000004411001603 TPC: 00000000005c2a9c TNPC: 00000000005c2aa0 Y: 00000000 Not tainted [5435988.434039] TPC: <__kmalloc_track_caller+0x13c/0x200> [5435988.434044] g0: fff800082c3e6000 g1: 0000000000400000 g2: 0000000000000000 g3: 0000000000000001 [5435988.434051] g4: fff8000815f43620 g5: fff800082c3e6000 g6: fff8000815f44000 g7: 0000000000636500 [5435988.434057] o0: 0000000000000000 o1: 0000000003ffffff o2: 0000000000000000 o3: ffffffffffffffff [5435988.434063] o4: 0000000000b0d450 o5: 0000000000b0d400 sp: fff8000815f46f01 ret_pc: 00000000005c2a94 [5435988.434075] RPC: <__kmalloc_track_caller+0x134/0x200> [5435988.434082] l0: 0000000040000000 l1: fff80000304020e0 l2: 0006000012208db8 l3: ffffffffffffffff [5435988.434091] l4: fff800082d00de68 l5: 0006000012208dd8 l6: 0000000000000000 l7: fff8000100e9a000 [5435988.434101] i0: fff80000304020e0 i1: 00000000024000c0 i2: 0000000000585ffc i3: 00000000024000c0 [5435988.434110] i4: 000000000000000b i5: 00000000024000c0 i6: fff8000815f46fb1 i7: 0000000000585f88 [5435988.434127] I7: [5435988.434132] Call Trace: [5435988.434140] [0000000000585f88] kstrdup+0x28/0x60 [5435988.434148] [0000000000585ffc] kstrdup_const+0x3c/0x60 [5435988.434158] [0000000000657b10] __kernfs_new_node+0x10/0xc0 [5435988.434165] [0000000000658d64] kernfs_new_node+0x24/0x60 [5435988.434173] [000000000065913c] kernfs_create_dir_ns+0x1c/0x80 [5435988.434182] [00000000004fb864] cgroup_mkdir+0x1c4/0x2c0 [5435988.434189] [0000000000658cbc] kernfs_iop_mkdir+0x5c/0xa0 [5435988.434198] [00000000005e7a78] vfs_mkdir+0xd8/0x160 [5435988.434205] [00000000005ed4fc] SyS_mkdirat+0xdc/0x160 [5435988.434212] [00000000005ed598] SyS_mkdir+0x18/0x40 [5435988.434223] [00000000004061f4] linux_sparc_syscall+0x34/0x44 [5435988.434229] Disabling lock debugging due to kernel taint [5435988.434237] Caller[0000000000585f88]: kstrdup+0x28/0x60 [5435988.434245] Caller[0000000000585ffc]: kstrdup_const+0x3c/0x60 [5435988.434252] Caller[0000000000657b10]: __kernfs_new_node+0x10/0xc0 [5435988.434259] Caller[0000000000658d64]: kernfs_new_node+0x24/0x60 [5435988.434266] Caller[000000000065913c]: kernfs_create_dir_ns+0x1c/0x80 [5435988.434273] Caller[00000000004fb864]: cgroup_mkdir+0x1c4/0x2c0 [5435988.434281] Caller[0000000000658cbc]: kernfs_iop_mkdir+0x5c/0xa0 [5435988.434288] Caller[00000000005e7a78]: vfs_mkdir+0xd8/0x160 [5435988.434295] Caller[00000000005ed4fc]: SyS_mkdirat+0xdc/0x160 [5435988.434302] Caller[00000000005ed598]: SyS_mkdir+0x18/0x40 [5435988.434309] Caller[00000000004061f4]: linux_sparc_syscall+0x34/0x44 [5435988.434316] Caller[fff80001001ef870]: 0xfff80001001ef870 [5435988.434322] Instruction DUMP: a0100008 400eed9b 01000000 <3fffffed> 01000000 106fffc3 01000000 c611a036 05002be5 [5435988.435227] \|/ ____ \|/ [5435988.435227] "@'/ .. \`@" [5435988.435227] /_| \__/ |_\ [5435988.435227] \__U_/ [5435988.435250] systemd(1): Kernel illegal instruction [#2] [5435988.435259] CPU: 0 PID: 1 Comm: systemd Tainted: G D 4.7.0-1-sparc64-smp #1 Debian 4.7.6-1 [5435988.435273] task: fff8000815f43620 ti: fff8000815f44000 task.ti: fff8000815f44000 [5435988.435285] TSTATE: 0000004411001602 TPC: 00000000005c30a0 TNPC: 00000000005c30a4 Y: 00198519 Tainted: G D [5435988.435300] TPC: <__kmalloc+0x140/0x200> [5435988.435309] g0: 0000000000b4bc00 g1: 0000000000400000 g2: 0000000000000000 g3: 000000000800ad84 [5435988.435322] g4: fff8000815f43620 g5: fff800082c3e6000 g6: fff8000815f44000 g7: 0000000000000000 [5435988.435336] o0: 0000000000000000 o1: 0000000003ffffff o2: fff800080fd08e80 o3: 0000000000000000 [5435988.435349] o4: fff800081292cb80 o5: fff8000074278300 sp: fff8000815f46321 ret_pc: 00000000005c3098 [5435988.435363] RPC: <__kmalloc+0x138/0x200> [5435988.435372] l0: fff800081292cb10 l1: fff80000304021a0 l2: 0000000000c44668 l3: 0000000000b1cc00 [5435988.435385] l4: 0000000000000000 l5: 0000000000000080 l6: 0000000000c65318 l7: 0000000000c6531c [5435988.435398] i0: fff80000304021a0 i1: 00000000024000c0 i2: 0000000000623d18 i3: 00000000024000c0 [5435988.435412] i4: 0000000000000030 i5: 00000000024000c0 i6: fff8000815f463d1 i7: 0000000000623d18 [5435988.435429] I7: [5435988.435437] Call Trace: [5435988.435446] [0000000000623d18] inotify_handle_event+0x78/0x1a0 [5435988.435457] [000000000062488c] inotify_ignored_and_remove_idr+0x2c/0x60 [5435988.435468] [0000000000623e70] inotify_freeing_mark+0x10/0x20 [5435988.435478] [0000000000622504] __fsnotify_free_mark+0x44/0xa0 [5435988.435489] [0000000000622ef4] fsnotify_detach_group_marks+0x34/0x80 [5435988.435499] [0000000000622024] fsnotify_destroy_group+0x24/0x80 [5435988.435508] [0000000000623f8c] inotify_release+0x2c/0x80 [5435988.435519] [00000000005de0b4] __fput+0x94/0x220 [5435988.435528] [00000000005de2cc] ____fput+0xc/0x20 [5435988.435541] [0000000000485b80] task_work_run+0x80/0xc0 [5435988.435554] [000000000046b95c] do_exit+0x2fc/0xb60 [5435988.435566] [000000000042899c] die_if_kernel+0x19c/0x320 [5435988.435578] [000000000042ad04] do_illegal_instruction+0x184/0x1a0 [5435988.435591] [0000000000420210] tl0_ill+0x10/0x20 [5435988.435601] [00000000005c2a9c] __kmalloc_track_caller+0x13c/0x200 [5435988.435612] [0000000000585f88] kstrdup+0x28/0x60 [5435988.435622] Caller[0000000000623d18]: inotify_handle_event+0x78/0x1a0 [5435988.435633] Caller[000000000062488c]: inotify_ignored_and_remove_idr+0x2c/0x60 [5435988.435646] Caller[0000000000623e70]: inotify_freeing_mark+0x10/0x20 [5435988.435656] Caller[0000000000622504]: __fsnotify_free_mark+0x44/0xa0 [5435988.435666] Caller[0000000000622ef4]: fsnotify_detach_group_marks+0x34/0x80 [5435988.435677] Caller[0000000000622024]: fsnotify_destroy_group+0x24/0x80 [5435988.435687] Caller[0000000000623f8c]: inotify_release+0x2c/0x80 [5435988.435697] Caller[00000000005de0b4]: __fput+0x94/0x220 [5435988.435706] Caller[00000000005de2cc]: ____fput+0xc/0x20 [5435988.435717] Caller[0000000000485b80]: task_work_run+0x80/0xc0 [5435988.435726] Caller[000000000046b95c]: do_exit+0x2fc/0xb60 [5435988.435736] Caller[000000000042899c]: die_if_kernel+0x19c/0x320 [5435988.435746] Caller[000000000042ad04]: do_illegal_instruction+0x184/0x1a0 [5435988.435756] Caller[0000000000420210]: tl0_ill+0x10/0x20 [5435988.435765] Caller[00000000005c2a94]: __kmalloc_track_caller+0x134/0x200 [5435988.435775] Caller[0000000000585f88]: kstrdup+0x28/0x60 [5435988.435784] Caller[0000000000585ffc]: kstrdup_const+0x3c/0x60 [5435988.435793] Caller[0000000000657b10]: __kernfs_new_node+0x10/0xc0 [5435988.435802] Caller[0000000000658d64]: kernfs_new_node+0x24/0x60 [5435988.435812] Caller[000000000065913c]: kernfs_create_dir_ns+0x1c/0x80 [5435988.435822] Caller[00000000004fb864]: cgroup_mkdir+0x1c4/0x2c0 [5435988.435832] Caller[0000000000658cbc]: kernfs_iop_mkdir+0x5c/0xa0 [5435988.435843] Caller[00000000005e7a78]: vfs_mkdir+0xd8/0x160 [5435988.435852] Caller[00000000005ed4fc]: SyS_mkdirat+0xdc/0x160 [5435988.435862] Caller[00000000005ed598]: SyS_mkdir+0x18/0x40 [5435988.435873] Caller[00000000004061f4]: linux_sparc_syscall+0x34/0x44 [5435988.435875] \|/ ____ \|/ [5435988.435875] "@'/ .. \`@" [5435988.435875] /_| \__/ |_\ [5435988.435875] \__U_/ [5435988.435877] dbus-daemon(563): Kernel illegal instruction [#3] [5435988.435881] CPU: 1 PID: 563 Comm: dbus-daemon Tainted: G D 4.7.0-1-sparc64-smp #1 Debian 4.7.6-1 [5435988.435887] task: fff80000742d92e0 ti: fff800080d7fc000 task.ti: fff800080d7fc000 [5435988.435889] TSTATE: 0000004411001606 TPC: 00000000005c2a9c TNPC: 00000000005c2aa0 Y: 00000000 Tainted: G D [5435988.435893] TPC: <__kmalloc_track_caller+0x13c/0x200> [5435988.435895] g0: 0000000000000001 g1: 0000000000400000 g2: 0000000000000000 g3: 00000000c0000000 [5435988.435897] g4: fff80000742d92e0 g5: fff800082c406000 g6: fff800080d7fc000 g7: 000000007fffe000 [5435988.435899] o0: 0000000000000000 o1: 0000000003ffffff o2: fff800080d7ffd98 o3: 0000000000004040 [5435988.435901] o4: 0000000000000000 o5: fff800080d7ffbb8 sp: fff800080d7feda1 ret_pc: 00000000005c2a94 [5435988.435903] RPC: <__kmalloc_track_caller+0x134/0x200> [5435988.435906] l0: 0000000000000007 l1: fff8000030402560 l2: 000007feff8bf2b0 l3: 0000000000000000 [5435988.435908] l4: 0000000000000000 l5: 0000000000000020 l6: fff8000100b875c8 l7: fff800010026bf30 [5435988.435910] i0: fff8000030402560 i1: 00000000024106c0 i2: 000000000085361c i3: 00000000024106c0 [5435988.435913] i4: 0000000000000240 i5: 00000000024106c0 i6: fff800080d7fee51 i7: 0000000000853560 [5435988.435919] I7: <__kmalloc_reserve.isra.5+0x20/0x80> [5435988.435920] Call Trace: [5435988.435924] [0000000000853560] __kmalloc_reserve.isra.5+0x20/0x80 [5435988.435926] [000000000085361c] __alloc_skb+0x5c/0x180 [5435988.435929] [0000000000853784] alloc_skb_with_frags+0x44/0x1e0 [5435988.435938] [000000000084e0ac] sock_alloc_send_pskb+0x1ec/0x220 [5435988.435948] [0000000000921718] unix_stream_sendmsg+0x218/0x360 [5435988.435953] [00000000008488dc] sock_sendmsg+0x3c/0x80 [5435988.435956] [0000000000849310] ___sys_sendmsg+0x250/0x260 [5435988.435959] [000000000084a294] __sys_sendmsg+0x34/0x80 [5435988.435961] [000000000084a300] SyS_sendmsg+0x20/0x40 [5435988.435964] [00000000004061f4] linux_sparc_syscall+0x34/0x44 [5435988.435967] Caller[0000000000853560]: __kmalloc_reserve.isra.5+0x20/0x80 [5435988.435970] Caller[000000000085361c]: __alloc_skb+0x5c/0x180 [5435988.435973] Caller[0000000000853784]: alloc_skb_with_frags+0x44/0x1e0 [5435988.435976] Caller[000000000084e0ac]: sock_alloc_send_pskb+0x1ec/0x220 [5435988.435979] Caller[0000000000921718]: unix_stream_sendmsg+0x218/0x360 [5435988.435982] Caller[00000000008488dc]: sock_sendmsg+0x3c/0x80 [5435988.435984] Caller[0000000000849310]: ___sys_sendmsg+0x250/0x260 [5435988.435987] Caller[000000000084a294]: __sys_sendmsg+0x34/0x80 [5435988.435989] Caller[000000000084a300]: SyS_sendmsg+0x20/0x40 [5435988.435993] Caller[00000000004061f4]: linux_sparc_syscall+0x34/0x44 [5435988.435996] Caller[fff800010081770c]: 0xfff800010081770c [5435988.436006] Instruction DUMP: a0100008 400eed9b 01000000 <3fffffed> 01000000 106fffc3 01000000 c611a036 05002be5 [5435988.436386] Caller[fff80001001ef870]: 0xfff80001001ef870 [5435988.436405] Instruction DUMP: a0100008 400eec1a 01000000 <3fffffed> 01000000 106fffc3 01000000 c611a036 05002be5 [5435988.436465] Fixing recursive fault but reboot is needed! ...