Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2613768ybc; Mon, 18 Nov 2019 01:49:57 -0800 (PST) X-Google-Smtp-Source: APXvYqy2T55iVPrQPXBHNvD0pqQy3A3aiiBzqKvhYabDGfEHeKt1BotH2cPfxH6BQJ4S1SdGIy4C X-Received: by 2002:a17:906:70ca:: with SMTP id g10mr25090666ejk.141.1574070597637; Mon, 18 Nov 2019 01:49:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574070597; cv=none; d=google.com; s=arc-20160816; b=m+LG9nvW5haT2/OX/GxSYmT3ozjRjQDA4QuPx3q64ERfsDIJRgnOIv0OX3uvKDSyW6 RVbgtg/L8nKjApeYFgCg8lvqh7t0HrsLhF6E9OF+dLZAoUVBrKMIwr4RM/lIS7SaRB5g XN3IO5JTo8bDrrXwV6OHc+/v6cJlMW88Jby4JOc9CvuOvC9nLRDPNdXawTFHIWbFZYQw qHDDpYZcguQKtpK6TpkD/YTjwMaf5VlqidL6ti8tyI3MLN4LLlnNAcMu5Fkatz7pcrnM PGRUSQRotHeU8vbf5EhSlpxQkj01Ub3GC8zghxo+vWqi+JojRyFaE6vgW8MaEYCriGca qZkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to; bh=KcJSrFa/jThdVic5y5+S7NGGoGte8fV8Kd63lC7OXSU=; b=AAnPvXZHNOEikjzaNLDnWIVo7TKA2vkRKzWTPmcktyu87tJOKqfh11IqD//xDJGsWP kWj6jLxYi+ElPkRT96AkOPsh20jGqquy0yclUcrOvUQFmS8hXMpCtclmez02xLfIccD9 nhK7diziXZijuDpN9nUoVaAB7crouzksqAcp/TLdq6ADR5hs8h5xDd7Jz++l39NNzlfs kWKLIzrK3GnzpoO4O+ygWlZIKtfxgiGThyVyl4sCfTP1R5NwgcitPJN9FLplDZe9CeGE MtAJD3jiZfyvktrDpnuIwvKCZZZ4g09n9Il2pcZ9+93Zz/dfQIyz5iUQ7hDB37L/bVp2 59ZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v27si11810616ejk.63.2019.11.18.01.49.32; Mon, 18 Nov 2019 01:49:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726626AbfKRJs2 (ORCPT + 99 others); Mon, 18 Nov 2019 04:48:28 -0500 Received: from mx2.cyber.ee ([193.40.6.72]:33679 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbfKRJs2 (ORCPT ); Mon, 18 Nov 2019 04:48:28 -0500 To: LKML , "sparclinux@vger.kernel.org" From: Meelis Roos Subject: 5.4-rc8 OOPS from path_openat->link_path_walk->inode_permission, on sparc64 Message-ID: Date: Mon, 18 Nov 2019 11:48:20 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Just tried 5.3 and 5.4-rc8 on my revived Sun Netra 240 (Ultrasparc III). gcc-8 was used to compile 5.3, then as a test, packages were upgraded so gcc-9 was used to compile the 5.4-rc8 kernel in question. Did not see any problems with 5.3. Started some more package upgrades with 5.4-rc8 with apt and got a crash: [ 294.269620] Kernel unaligned access at TPC[5a9e84] generic_permission+0x164/0x200 [ 294.368107] Unable to handle kernel paging request in mna handler [ 294.368110] at virtual address 91d0200591d02055 [ 294.508933] current->{active_,}mm->context = 0000000000000001 [ 294.584438] current->{active_,}mm->pgd = fff000133c930000 [ 294.655439] \|/ ____ \|/ [ 294.655439] "@'/ .. \`@" [ 294.655439] /_| \__/ |_\ [ 294.655439] \__U_/ [ 294.848739] systemd(1): Oops [#1] [ 294.892191] CPU: 0 PID: 1 Comm: systemd Not tainted 5.4.0-rc8 #12 [ 294.972257] TSTATE: 0000009111001600 TPC: 00000000005a9e84 TNPC: 00000000005a9e88 Y: 00000000 Not tainted [ 295.101497] TPC: [ 295.163253] g0: 0000000000000000 g1: 91d0200591d02005 g2: 00000000000091d0 g3: 0000000000010000 [ 295.277641] g4: fff000133c0ab760 g5: fff000133ec8a000 g6: fff000133c100000 g7: 0000000000000000 [ 295.392015] o0: 0000000000000001 o1: fff000133c103d38 o2: fff000133c103a40 o3: fff000133c103a38 [ 295.506381] o4: fff000133c103a34 o5: 0000000000040000 sp: fff000133c1030f1 ret_pc: 00000000005abc3c [ 295.625335] RPC: [ 295.677938] l0: fff000133c9bde60 l1: 0000000000200008 l2: 0000010000284df0 l3: 000007feffd41088 [ 295.792320] l4: 00000100000fb0a0 l5: 000001000026ac10 l6: 0000000000000000 l7: fff0000100a65d20 [ 295.906690] i0: fff000132e001d08 i1: 0000000000000081 i2: fff000133c103a38 i3: fff000133c103a34 [ 296.021068] i4: 0000000000000001 i5: 00000000000091d0 i6: fff000133c1031a1 i7: 00000000005a9f40 [ 296.135438] I7: [ 296.192623] Call Trace: [ 296.224647] [00000000005a9f40] inode_permission+0x20/0x1e0 [ 296.297851] [00000000005ad8f4] link_path_walk.part.0+0x74/0x540 [ 296.376770] [00000000005ae498] path_openat+0x78/0x12e0 [ 296.445420] [00000000005b0608] do_filp_open+0x48/0xc0 [ 296.512994] [000000000059c168] do_sys_open+0x168/0x240 [ 296.581716] [0000000000406254] linux_sparc_syscall+0x34/0x44 [ 296.657291] Disabling lock debugging due to kernel taint [ 296.727063] Caller[00000000005a9f40]: inode_permission+0x20/0x1e0 [ 296.807121] Caller[00000000005ad8f4]: link_path_walk.part.0+0x74/0x540 [ 296.892905] Caller[00000000005ae498]: path_openat+0x78/0x12e0 [ 296.968388] Caller[00000000005b0608]: do_filp_open+0x48/0xc0 [ 297.042734] Caller[000000000059c168]: do_sys_open+0x168/0x240 [ 297.118218] Caller[0000000000406254]: linux_sparc_syscall+0x34/0x44 [ 297.200570] Caller[fff0000100207200]: 0xfff0000100207200 [ 297.270332] Instruction DUMP: [ 297.270334] b8102000 [ 297.309217] c25e2028 [ 297.340098] 07000040 [ 297.370982] [ 297.401860] 82084003 [ 297.432743] 22c04007 [ 297.463623] d0062008 [ 297.494506] 8408a038 [ 297.525384] 80a0a000 [ 297.556264] [ 297.643992] printk: systemd: 15 output lines suppressed due to ratelimiting [ 297.735610] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 [ 297.836282] Press Stop-A (L1-A) from sun keyboard or send break [ 297.836282] twice on console to return to the boot prom [ 297.982667] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009 ]--- -- Meelis Roos