Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

[NOUPSTREAM] altra_cpuectlr_el1 driver can't re-insmod #119

Open
bobolmw opened this issue Nov 19, 2021 · 0 comments
Open

[NOUPSTREAM] altra_cpuectlr_el1 driver can't re-insmod #119

bobolmw opened this issue Nov 19, 2021 · 0 comments

Comments

@bobolmw
Copy link
Collaborator

bobolmw commented Nov 19, 2021

The patch fixes bellow error:

After "rmmod altra_cpuectlr_el1",run "modprobe altra_cpuectlr_el1" will failed.

Error logs in kmsg:

[41987.876502] sysfs: cannot create duplicate filename '/firmware/altra_cpuectlr'
[41987.876518] CPU: 119 PID: 160544 Comm: insmod Not tainted 5.10.27-cpuectlr-el1 #10
[41987.876520] Hardware name: WIWYNN Mt.Jade Server System B81.03001.0009/Mt.Jade Motherboard, BIOS 1.5.20210426 (SCP: 1.5.20210426) 2021/04/26
[41987.876524] Call trace:
[41987.876540] dump_backtrace+0x0/0x200
[41987.876544] show_stack+0x20/0x30
[41987.876552] dump_stack+0xd0/0x128
[41987.876562] sysfs_warn_dup+0x6c/0x88
[41987.876565] sysfs_create_dir_ns+0xec/0x108
[41987.876572] kobject_add_internal+0xe0/0x3a0
[41987.876574] kobject_add+0x94/0x108
[41987.876576] kobject_create_and_add+0x3c/0x88
[41987.876580] altra_cpuectlr_init+0x30/0x10000 [altra_cpuectlr_el1]
[41987.876583] do_one_initcall+0x4c/0x280
[41987.876590] do_init_module+0x60/0x230
[41987.876595] load_module+0x1020/0x1300
[41987.876597] __do_sys_finit_module+0xbc/0x128
[41987.876599] __arm64_sys_finit_module+0x28/0x38
[41987.876604] do_el0_svc+0x98/0x268
[41987.876608] el0_svc+0x58/0x68
[41987.876611] el0_sync_handler+0xb0/0xc8
[41987.876613] el0_sync+0x174/0x180
[41987.876616] kobject_add_internal failed for altra_cpuectlr with -EEXIST, don't try to register things with the same name in the same directory.
[41987.889630] kobject_create_and_add: kobject_add error: -17
[41987.889650] altra_cpuectlr_el1: Altra cpuectlr_el1: Firmware registration failed.

@adamliyi adamliyi changed the title altra_cpuectlr_el1 driver can't re-insmod [NOUPSTREAM] altra_cpuectlr_el1 driver can't re-insmod Nov 22, 2021
@adamliyi adamliyi added bug Something isn't working and removed patch labels Nov 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants