Internal error: arm64: allmodconfig

From: Anders Roxell
Date: Wed Dec 11 2019 - 09:24:06 EST


Hi,

I've got an "Internal error: Oops" when I was running an arm64
allmodconfig kernel
from linux-next, tag: next-20191211.
I disabled CONFIG_DEBUG_TEST_DRIVER_REMOVE and I didn't see this.

Have anyone seen this before?

[ 197.227295][ T1] ------------[ cut here ]------------
[ 197.229206][ T1] kernel BUG at lib/list_debug.c:53!
[ 197.231775][ T1] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[ 197.233776][ T1] Modules linked in:
[ 197.235087][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted
5.5.0-rc1-next-20191211-00015-ge6f2690932be #1
[ 197.238131][ T1] Hardware name: linux,dummy-virt (DT)
[ 197.239892][ T1] pstate: 80400005 (Nzcv daif +PAN -UAO)
[ 197.241788][ T1] pc : __list_del_entry_valid+0xd0/0x138
[ 197.243663][ T1] lr : __list_del_entry_valid+0xd0/0x138
[ 197.245444][ T1] sp : ffff00006a3e7660
[ 197.246845][ T1] x29: ffff00006a3e7660 x28: ffff000065d1bce8
[ 197.248855][ T1] x27: ffff000065d72830 x26: ffffa000144ee900
[ 197.250810][ T1] x25: ffffa00015a76fc2 x24: 0000000000000000
[ 197.252762][ T1] x23: ffff000065d728c8 x22: ffff000065d72878
[ 197.254723][ T1] x21: ffff000065d25618 x20: ffff000065d25618
[ 197.256721][ T1] x19: ffff000065d728f8 x18: 0000000000002660
[ 197.258704][ T1] x17: 0000000000002710 x16: 0000000000001480
[ 197.260716][ T1] x15: 00000000000014bc x14: 20747562202c3866
[ 197.262706][ T1] x13: ffff80000d47ce43 x12: 1fffe0000d47ce42
[ 197.264685][ T1] x11: 1fffe0000d47ce42 x10: ffff80000d47ce42
[ 197.266648][ T1] x9 : ffffa000103d14a4 x8 : 0000000000000001
[ 197.268586][ T1] x7 : ffff80000d47ce43 x6 : 0000000041b58ab3
[ 197.270515][ T1] x5 : ffff00006a3d8040 x4 : 0000000000000000
[ 197.272525][ T1] x3 : ffffa000103d14c0 x2 : 90253b7cba50c200
[ 197.274444][ T1] x1 : 0000000000000000 x0 : 0000000000000054
[ 197.276411][ T1] Call trace:
[ 197.277536][ T1] __list_del_entry_valid+0xd0/0x138
[ 197.279240][ T1] __dentry_kill+0x174/0x3e8
[ 197.280741][ T1] dput+0x880/0x8f8
[ 197.282009][ T1] simple_recursive_removal+0x1bc/0x3b8
[ 197.283798][ T1] debugfs_remove+0x80/0x98
[ 197.285301][ T1] irq_domain_remove+0x48/0x228
[ 197.286889][ T1] gpiochip_irqchip_remove+0x160/0x308
[ 197.288670][ T1] gpiochip_remove+0x6c/0x1c0
[ 197.290227][ T1] devm_gpio_chip_release+0x2c/0x38
[ 197.291940][ T1] release_nodes+0x530/0x570
[ 197.293507][ T1] devres_release_all+0x70/0x90
[ 197.295120][ T1] really_probe+0x51c/0x928
[ 197.296574][ T1] driver_probe_device+0x16c/0x238
[ 197.298259][ T1] device_driver_attach+0x94/0xc8
[ 197.299924][ T1] __driver_attach+0x1e8/0x200
[ 197.301473][ T1] bus_for_each_dev+0xf8/0x190
[ 197.303029][ T1] driver_attach+0x3c/0x48
[ 197.304478][ T1] bus_add_driver+0x20c/0x3d0
[ 197.305966][ T1] driver_register+0x168/0x200
[ 197.307566][ T1] amba_driver_register+0xbc/0xc8
[ 197.309216][ T1] pl061_gpio_init+0x20/0x28
[ 197.310704][ T1] do_one_initcall+0x4c8/0xae8
[ 197.312250][ T1] kernel_init_freeable+0x3e8/0x508
[ 197.314019][ T1] kernel_init+0x1c/0x208
[ 197.315519][ T1] ret_from_fork+0x10/0x18
[ 197.317088][ T1] Code: aa1403e2 aa1303e1 91088000 97cf4483 (d4210000)
[ 197.319496][ T1] ---[ end trace 73596202c5dd1276 ]---
[ 197.321358][ T1] Kernel panic - not syncing: Fatal exception
[ 197.323402][ T1] Kernel Offset: disabled
[ 197.324892][ T1] CPU features: 0x00002,20002004
[ 197.326550][ T1] Memory Limit: none
[ 197.327957][ T1] ---[ end Kernel panic - not syncing: Fatal exception ]---


Cheers,
Anders