Regression on Linux 6.0-rc1

Conor.Dooley at microchip.com Conor.Dooley at microchip.com
Tue Aug 16 08:46:19 PDT 2022


On 16/08/2022 15:58, Dao Lu wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> I will take a look at it, sorry about that.
> 
> Thanks,
> Dao
> 
> On Tue, Aug 16, 2022 at 5:58 AM Ron Economos <re at w6rz.net> wrote:
>>
>> The following Oops occurs on Linux 6.0-rc1 on the HiFive Unmatched. This
>> is with gcc 11.2.0 and binutils 2.38 (from
>> https://github.com/riscv-collab/riscv-gnu-toolchain).
>>
>> Begin: Loading essential drivers ... [   14.774748] Unable to handle
>> kernel paging request at virtual address ffffffff813cdc90
>> [   14.781976] Oops [#1]
>> [   14.784163] Modules linked in: raid6_pq(+) libcrc32c raid1 raid0
>> multipath linear da9063_regulator
>> [   14.800763] CPU: 1 PID: 248 Comm: modprobe Not tainted 6.0.0-rc1 #1
>> [   14.806747] Hardware name: SiFive HiFive Unmatched A00 (DT)
>> [   14.812307] epc : jump_label_module_notify+0x1bc/0x270
>> [   14.817430]  ra : jump_label_module_notify+0x19a/0x270
>> [   14.822555] epc : ffffffff801b804c ra : ffffffff801b802a sp :
>> ffffffc80424bc0
>> [   14.829766]  gp : ffffffff81a2d7b8 tp : ffffffd895ae1980 t0 :
>> ffffffd88067e20
>> [   14.836975]  t1 : 6f1d98585898183f t2 : ffffffdbfed19e58 s0 :
>> ffffffc80424bc0
>> [   14.844185]  s1 : ffffffff813cdc88 a0 : 0000000000000000 a1 :
>> 000000000000000
>> [   14.851394]  a2 : 0000000000000000 a3 : ffffffff01c77000 a4 :
>> 000000000000000
>> [   14.858602]  a5 : 0000000000000000 a6 : 0000000000ff0000 a7 :
>> 000000000000021
>> [   14.865812]  s2 : ffffffff01c73000 s3 : ffffffff01c740c0 s4 :
>> ffffffd88067e80
>> [   14.873021]  s5 : ffffffff01c73010 s6 : 0000000000000dc0 s7 :
>> ffffffff813cdf0
>> [   14.880230]  s8 : ffffffd88067e282 s9 : ffffffff01c73008 s10:
>> 000000000000002
>> [   14.887439]  s11: ffffffc80424bd50 t3 : e26cb9592a0e8a69 t4 :
>> 000000800000000
>> [   14.894649]  t5 : 000000ff00000000 t6 : ffffffd8819ac4a0
>> [   14.899945] status: 0000000200000120 badaddr: ffffffff813cdc90 cause:
>> 000000f
>> [   14.907853] [<ffffffff8004055a>]
>> blocking_notifier_call_chain_robust+0x72/0x8
>> [   14.915061] [<ffffffff800a1dfc>] load_module+0x17bc/0x1e98
>> [   14.920531] [<ffffffff800a2718>] __do_sys_finit_module+0x98/0x100
>> [   14.926611] [<ffffffff800a27a4>] sys_finit_module+0x24/0x30
>> [   14.932170] [<ffffffff80003ca6>] ret_from_syscall+0x0/0x2
>> [   14.937680] ---[ end trace 0000000000000000 ]---
>> Segmentation fault

FWIW I got one of these while trying out the d1 patchset yesterday :)

[    5.856640] Unable to handle kernel paging request at virtual address ffffffff80dd4cb0
[    5.865027] Oops [#1]
[    5.867420] Modules linked in: drm(+) i2c_core drm_panel_orientation_quirks backlight
[    5.875649] CPU: 0 PID: 86 Comm: modprobe Not tainted 6.0.0-rc1-00030-g9c1ba73cde81-dirty #1
[    5.884491] Hardware name: Allwinner D1 Nezha (DT)
[    5.889505] epc : jump_label_module_notify+0x19e/0x230
[    5.894915]  ra : jump_label_module_notify+0x172/0x230
[    5.900298] epc : ffffffff80107182 ra : ffffffff80107156 sp : ffffffc8041f3c10
[    5.907872]  gp : ffffffff812f7ad0 tp : ffffffd80191c500 t0 : ffffffd803561bc0
[    5.915444]  t1 : 0000000000000000 t2 : 00000000013b3e62 s0 : ffffffc8041f3c70
[    5.923025]  s1 : ffffffff80dd4ca8 a0 : 0000000000000000 a1 : 0000000000000000
[    5.930614]  a2 : 0000000000000000 a3 : ffffffff01483000 a4 : 0000000000000000
[    5.938178]  a5 : 0000000000000000 a6 : ffffffff80106882 a7 : ffffffff80106a6e
[    5.945759]  s2 : ffffffff013d3000 s3 : ffffffff013d55c0 s4 : ffffffd803561b40
[    5.953340]  s5 : ffffffff013d3010 s6 : 0000000000000dc0 s7 : ffffffff80dd4f90
[    5.960930]  s8 : ffffffd803561b82 s9 : ffffffff013d3008 s10: ffffffff013d55c8
[    5.968511]  s11: ffffffc8041f3d50 t3 : 0000000000000001 t4 : fefefefefefefeff
[    5.976093]  t5 : 0000000000000001 t6 : 0000000000040000
[    5.981662] status: 0000000200000120 badaddr: ffffffff80dd4cb0 cause: 000000000000000f
[    5.989954] [<ffffffff8002c96c>] blocking_notifier_call_chain_robust+0x5a/0xc2
[    5.997533] [<ffffffff80073f9a>] load_module+0x10fc/0x17b6
[    6.003299] [<ffffffff80074824>] __do_sys_finit_module+0x90/0xc8
[    6.009621] [<ffffffff80074880>] sys_finit_module+0x10/0x18
[    6.015466] [<ffffffff8000330a>] ret_from_syscall+0x0/0x2
[    6.021486] ---[ end trace 0000000000000000 ]---
[   15.757304] ------------[ cut here ]------------

I don't see it on any of my PolarFire SoC configs though, just I am
just not loading any modules that trigger it..
Thanks,
Conor.

>>
>> Manually bisected to this commit:
>>
>> arch/riscv: add Zihintpause support
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8eb060e10185cfc97ef0200d197ec246ba0f9f8c
>>



More information about the linux-riscv mailing list