[aarch64] [ampere] [5.19.0-rc1] sysfs: cannot create duplicate filename '/devices/mc0'
Bruno Goncalves
bgoncalv at redhat.com
Fri Jun 10 04:43:00 PDT 2022
Hello,
We recently started to hit this call trace when booting up ampere machines.
sysfs: cannot create duplicate filename '/devices/mc0'
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.19.0-rc1 #1
Hardware name: Lenovo HR330A 7X33CTO1WW /FALCON ,
BIOS hve104q-1.14 06/25/2020
Call trace:
dump_backtrace+0xc4/0x130
show_stack+0x24/0x70
dump_stack_lvl+0x64/0x80
dump_stack+0x18/0x34
sysfs_warn_dup+0x70/0x90
sysfs_create_dir_ns+0xc4/0xd4
create_dir+0x2c/0x160
kobject_add_internal+0xd0/0x240
kobject_add+0x84/0xdc
device_add+0xb8/0x780
pmu_dev_alloc+0xb4/0x12c
perf_pmu_register+0x324/0x46c
xgene_pmu_dev_add+0x168/0x2b0
acpi_pmu_dev_add+0xc8/0x320
acpi_ns_walk_namespace+0x13c/0x1f8
acpi_walk_namespace+0xb4/0xfc
xgene_pmu_probe.part.0+0x32c/0x350
xgene_pmu_probe+0x54/0x64
platform_probe+0x74/0xd0
really_probe+0x19c/0x3f0
__driver_probe_device+0x11c/0x190
driver_probe_device+0x44/0xf4
__driver_attach+0xd8/0x1b4
bus_for_each_dev+0x6c/0xb0
driver_attach+0x30/0x40
bus_add_driver+0x154/0x240
driver_register+0x84/0x140
__platform_driver_register+0x34/0x40
xgene_pmu_driver_init+0x28/0x34
do_one_initcall+0x40/0x220
do_initcalls+0x104/0x144
kernel_init_freeable+0x1b0/0x218
kernel_init+0x30/0x150
ret_from_fork+0x10/0x20
kobject_add_internal failed for mc0 with -EEXIST, don't try to
register things with the same name in the same directory.
console log: https://s3.us-east-1.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/06/09/560228707/redhat:560228707_aarch64/tests/12119622_aarch64_1_console.log
more logs: https://datawarehouse.cki-project.org/kcidb/tests/3839162
cki issue tracker: https://datawarehouse.cki-project.org/issue/1297
kernel config: http://s3.amazonaws.com/arr-cki-prod-datawarehouse-public/datawarehouse-public/2022/06/09/560228707/redhat:560228707/redhat:560228707_aarch64/.config
Thanks,
Bruno Goncalves
More information about the linux-arm-kernel
mailing list