Hi! As mentioned in an earlier thread, the sparc64 kernel can be brought down by certain applications which cause the kernel to lock up. This was first observed in gcc-7 testsuite but also independently by the Free Pascal developers who are currently porting their compiler to sparc64. When running the attached, statically linked binary on a recent kernel, the kernel locks up with: [ 252.730349] 9010001c [ 252.730358] 02400006 [ 252.730360] [ 252.750121] OOPS: Bogus kernel PC [00000000000004c0] in fault handler [ 252.750126] OOPS: RPC [000000000042c908] [ 252.750126] OOPS: RPC [[ 252.750143] OOPS: RPC <arch_cpu_idle+0x68/0xa0> [ 252.750162] CPU: 18 PID: 0 Comm: swapper/18 Tainted: G D 4.12.0-rc1-sparc64-smp #1 Debian 4.12~rc1-1~exp1~sparc64 [ 252.750166] Call Trace: [ 252.750183] [00000000009fe578] do_sparc64_fault+0x178/0x9e0 [ 252.750183] [00000000009fe578] do_sparc64[ 252.750197] [0000000000407c1c] sparc64_realfault_common+0x10/0x20 [ 252.750229] [00000000009fcc68] default_idle_call+0x28/0x60 [ 252.750243] [00000000004b01a4] do_idle+0xc4/0x1a0 [ 252.750257] [00000000004b04c4] cpu_startup_entry+0x24/0x40 [ 252.750276] [000000000043efa4] smp_callin+0x104/0x140 [ 252.750276] [000000000043efa4] smp_ca[ 252.750285] [0000000000bb5c04] 0xbb5c04 [ 252.750297] Unable to handle kernel NULL pointer dereference [ 252.750302] tsk->{mm,active_mm}->context = 00000000000003b5 [ 252.750308] tsk->{mm,active_mm}->pgd = ffff8001f17cc000 [ 252.750313] \|/ ____ \|/ [ 252.750313] "@'/ .. \`@" [ 252.750313] /_| \__/ |_\ [ 252.750313] \__U_/ [ 252.750313] \|/ ____ \|/ [ 252.750[ 252.750319] swapper/18(0): Oops [#36] [ 252.750342] task: ffff8001f405a4a0 task.stack: ffff8001f405c000 [ 252.750353] TSTATE: 0000004480001605 TPC: 00000000000004c0 TNPC: 00000000000004c4 Y: 00000000 Tainted: G D [ 252.750361] TPC: <0x4c0> [ 252.750370] g0: 80000000088007c3 g1: 0000000000000016 g2: 00000000f0200000 g3: 00000000fff78000 [ 252.750380] g4: 0000000000005220 g5: ffff8001fe970000 g6: ffff8001f405c000 g7: 0000000006004000 [ 252.750388] o0: 00000000000004c0 o1: 0000000000000000 o2: 0000000000000000 o3: 0000000000000000 [ 252.750397] o4: 0000000000000000 o5: 0000000000000000 sp: ffff8001f405f3d1 ret_pc: 000000000042c908 [ 252.750412] RPC: <arch_cpu_idle+0x68/0xa0> [ 252.750412] RPC: <arch_cpu_idle+0x68/0xa0> This binary is part of the testsuite of the FreePascal compiler [1]. Adrian > [1] https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/tests/test/units/system/tiorte.pp?view=markup -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@xxxxxxxxxx `. `' Freie Universitaet Berlin - glaubitz@xxxxxxxxxxxxxxxxxxx `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Attachment:
tiorte-kernel-bug.gz
Description: application/gzip