still got the other call trace after re-loading mtk_mdp3 module:
[   61.478615] sysfs: cannot create duplicate filename '/class/hdmirxswitch'
[   61.478619] CPU: 4 PID: 1282 Comm: modprobe Not tainted 5.15.0-1036-mtk 
#43-Ubuntu
[   61.478624] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 
2022.10-gcab6fe6708 10/01/2022
[   61.478626] Call trace:
[   61.478627]  dump_backtrace+0x0/0x200
[   61.478635]  show_stack+0x20/0x30
[   61.478638]  dump_stack_lvl+0x68/0x84
[   61.478647]  dump_stack+0x18/0x34
[   61.478651]  sysfs_warn_dup+0x6c/0x90
[   61.478656]  sysfs_create_dir_ns+0xf0/0x110
[   61.478659]  create_dir+0x30/0x1a0
[   61.478666]  kobject_add_internal+0x8c/0x200
[   61.478669]  kset_register+0x60/0xa4
[   61.478672]  __class_register+0xd0/0x190
[   61.478678]  __class_create+0x5c/0xa4
[   61.478682]  uevent_dev_register.constprop.0.isra.0+0x68/0x1f0 [mtk_hdmirx]
[   61.478698]  hdmirx_probe+0xd4/0x5ec [mtk_hdmirx]
[   61.478709]  platform_probe+0x70/0x110
[   61.478711]  really_probe+0xd0/0x490
[   61.478715]  __driver_probe_device+0x148/0x190
[   61.478719]  driver_probe_device+0x48/0x180
[   61.478722]  __driver_attach+0x104/0x240
[   61.478726]  bus_for_each_dev+0x78/0xd0
[   61.478729]  driver_attach+0x2c/0x40
[   61.478732]  bus_add_driver+0x154/0x270
[   61.478736]  driver_register+0x80/0x13c
[   61.478739]  __platform_driver_register+0x30/0x40
[   61.478742]  hdmirx_driver_init+0x2c/0x1000 [mtk_hdmirx]
[   61.478753]  do_one_initcall+0x4c/0x2bc
[   61.478756]  do_init_module+0x50/0x270
[   61.478760]  load_module+0xa4c/0xbf0
[   61.478762]  __do_sys_finit_module+0xa8/0x114
[   61.478764]  __arm64_sys_finit_module+0x28/0x3c
[   61.478767]  invoke_syscall+0x78/0x100
[   61.478772]  el0_svc_common.constprop.0+0x54/0x184
[   61.478776]  do_el0_svc+0x30/0xac
[   61.478778]  el0_svc+0x48/0x160
[   61.478783]  el0t_64_sync_handler+0xa4/0x12c
[   61.478787]  el0t_64_sync+0x1a4/0x1a8
[   61.478790] kobject_add_internal failed for hdmirxswitch with -EEXIST, don't 
try to register things with the same name in the same directory.
[   61.480441] [RX]create_switch_class fail
[   61.480442] [RX]aud_uevent_dev_register, 0xffff0000c9800140
[   61.480450] sysfs: cannot create duplicate filename '/class/hdmirxaud'
[   61.480452] CPU: 4 PID: 1282 Comm: modprobe Not tainted 5.15.0-1036-mtk 
#43-Ubuntu
[   61.480454] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 
2022.10-gcab6fe6708 10/01/2022
[   61.480456] Call trace:
[   61.480457]  dump_backtrace+0x0/0x200
[   61.480459]  show_stack+0x20/0x30
[   61.480461]  dump_stack_lvl+0x68/0x84
[   61.480465]  dump_stack+0x18/0x34
[   61.480469]  sysfs_warn_dup+0x6c/0x90
[   61.480471]  sysfs_create_dir_ns+0xf0/0x110
[   61.480473]  create_dir+0x30/0x1a0
[   61.480475]  kobject_add_internal+0x8c/0x200
[   61.480478]  kset_register+0x60/0xa4
[   61.480480]  __class_register+0xd0/0x190
[   61.480484]  __class_create+0x5c/0xa4
[   61.480488]  aud_uevent_dev_register.constprop.0.isra.0+0x68/0x294 
[mtk_hdmirx]
[   61.480498]  hdmirx_probe+0xf4/0x5ec [mtk_hdmirx]
[   61.480507]  platform_probe+0x70/0x110
[   61.480509]  really_probe+0xd0/0x490
[   61.480512]  __driver_probe_device+0x148/0x190
[   61.480515]  driver_probe_device+0x48/0x180
[   61.480519]  __driver_attach+0x104/0x240
[   61.480522]  bus_for_each_dev+0x78/0xd0
[   61.480524]  driver_attach+0x2c/0x40
[   61.480527]  bus_add_driver+0x154/0x270
[   61.480531]  driver_register+0x80/0x13c
[   61.480534]  __platform_driver_register+0x30/0x40
[   61.480536]  hdmirx_driver_init+0x2c/0x1000 [mtk_hdmirx]
[   61.480545]  do_one_initcall+0x4c/0x2bc
[   61.480548]  do_init_module+0x50/0x270
[   61.480550]  load_module+0xa4c/0xbf0
[   61.480552]  __do_sys_finit_module+0xa8/0x114
[   61.480554]  __arm64_sys_finit_module+0x28/0x3c
[   61.480556]  invoke_syscall+0x78/0x100
[   61.480560]  el0_svc_common.constprop.0+0x54/0x184
[   61.480564]  do_el0_svc+0x30/0xac
[   61.480565]  el0_svc+0x48/0x160
[   61.480568]  el0t_64_sync_handler+0xa4/0x12c
[   61.480571]  el0t_64_sync+0x1a4/0x1a8
[   61.480574] kobject_add_internal failed for hdmirxaud with -EEXIST, don't 
try to register things with the same name in the same directory.
[   61.482153] [RX]create_aud_switch_class fail
[   61.482162] sysfs: cannot create duplicate filename '/class/hdmirx'
[   61.482164] CPU: 4 PID: 1282 Comm: modprobe Not tainted 5.15.0-1036-mtk 
#43-Ubuntu
[   61.482166] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 
2022.10-gcab6fe6708 10/01/2022
[   61.482167] Call trace:
[   61.482168]  dump_backtrace+0x0/0x200
[   61.482170]  show_stack+0x20/0x30
[   61.482172]  dump_stack_lvl+0x68/0x84
[   61.482175]  dump_stack+0x18/0x34
[   61.482179]  sysfs_warn_dup+0x6c/0x90
[   61.482181]  sysfs_create_dir_ns+0xf0/0x110
[   61.482183]  create_dir+0x30/0x1a0
[   61.482185]  kobject_add_internal+0x8c/0x200
[   61.482187]  kset_register+0x60/0xa4
[   61.482190]  __class_register+0xd0/0x190
[   61.482193]  __class_create+0x5c/0xa4
[   61.482196]  hdmirx_probe+0x168/0x5ec [mtk_hdmirx]
[   61.482206]  platform_probe+0x70/0x110
[   61.482208]  really_probe+0xd0/0x490
[   61.482211]  __driver_probe_device+0x148/0x190
[   61.482214]  driver_probe_device+0x48/0x180
[   61.482217]  __driver_attach+0x104/0x240
[   61.482220]  bus_for_each_dev+0x78/0xd0
[   61.482223]  driver_attach+0x2c/0x40
[   61.482226]  bus_add_driver+0x154/0x270
[   61.482229]  driver_register+0x80/0x13c
[   61.482232]  __platform_driver_register+0x30/0x40
[   61.482234]  hdmirx_driver_init+0x2c/0x1000 [mtk_hdmirx]
[   61.482243]  do_one_initcall+0x4c/0x2bc
[   61.482245]  do_init_module+0x50/0x270
[   61.482247]  load_module+0xa4c/0xbf0
[   61.482249]  __do_sys_finit_module+0xa8/0x114
[   61.482251]  __arm64_sys_finit_module+0x28/0x3c
[   61.482253]  invoke_syscall+0x78/0x100
[   61.482257]  el0_svc_common.constprop.0+0x54/0x184
[   61.482260]  do_el0_svc+0x30/0xac
[   61.482262]  el0_svc+0x48/0x160
[   61.482265]  el0t_64_sync_handler+0xa4/0x12c
[   61.482268]  el0t_64_sync+0x1a4/0x1a8
[   61.482270] kobject_add_internal failed for hdmirx with -EEXIST, don't try 
to register things with the same name in the same directory.

** Tags removed: verification-needed-jammy-linux-mtk
** Tags added: verification-failed-jammy-linux-mtk

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-mtk in Ubuntu.
https://bugs.launchpad.net/bugs/2090981

Title:
  [g1200-evk] Call trace appeared when reload mtk_mdp3 module

Status in linux-mtk package in Ubuntu:
  New
Status in linux-mtk source package in Jammy:
  New

Bug description:
  Test steps:
  1. modprobe -r mtk_mdp3
  2. modprobe mtk_mdp3

  # modprobe mtk_mdp3
  [ 4729.890621] kobject_add_internal failed for hdmirxswitch with -EEXIST, 
don't try to register things with the same n
  ame in the same directory.
  [ 4729.892417] kobject_add_internal failed for hdmirxaud with -EEXIST, don't 
try to register things with the same name
   in the same directory.
  [ 4729.894397] kobject_add_internal failed for hdmirx with -EEXIST, don't try 
to register things with the same name in
   the same directory.
  [ 4729.898123] debugfs: File 'hdmirx' in directory '/' already present!
  [ 4729.908381] mtk-mdp3 14001000.mdp3-rdma0: failed to request channel
  [ 4729.909295] Unable to handle kernel paging request at virtual address 
fffffffffffffff0
  [ 4729.910302] Mem abort info:
  [ 4729.910658] ESR = 0x0000000096000004
  [ 4729.911135] EC = 0x25: DABT (current EL), IL = 32 bits
  [ 4729.911819] SET = 0, FnV = 0
  [ 4729.912208] EA = 0, S1PTW = 0
  [ 4729.912606] FSC = 0x04: level 0 translation fault
  [ 4729.913224] Data abort info:
  [ 4729.913590] ISV = 0, ISS = 0x00000004
  [ 4729.914075] CM = 0, WnR = 0
  [ 4729.914452] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000f16ee000
  [ 4729.915301] [fffffffffffffff0] pgd=0000000000000000, p4d=0000000000000000
  [ 4729.916166] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
  [ 4729.916962] Modules linked in: mtk_mdp3(E+) mtk_scp(E) mtk_rpmsg(E) 
mtk_scp_ipi(E) mtk_hdmirx(E) algif_hash(E) algi
  f_skcipher(E) af_alg(E) bnep(E) binfmt_misc(E) apusys(E) mtk_jpeg(E) 
mtk_vcodec_enc_v1_mt8395(E) nls_iso8859_1(E) btus
  b(E) apu_top(E) btrtl(E) mtk_vcodec_dec_v1_mt8395(E) mtk_vcu_mt8395(E) 
btbcm(E) mtk_vcodec_common_mt8395(E) btintel(E)
   joydev(E) btmtk(E) bluetooth(E) ecdh_generic(E) ecc(E) mt7921e(E) 
mt6360_adc(E) mt7921_common(E) industrialio_trigger
  ed_buffer(E) kfifo_buf(E) v4l2_mem2mem(E) videobuf2_dma_contig(E) 
industrialio(E) mt76_connac_lib(E) videobuf2_memops(
  E) videobuf2_v4l2(E) mt76(E) videobuf2_common(E) tcpci_mt6360(E) tcpci(E) 
tcpm(E) it5205fn(E) videodev(E) mac80211(E)
  typec(E) mc(E) cfg80211(E) libarc4(E) usb_conn_gpio(E) mcp251xfd(E) 
can_dev(E) pwm_mtk_disp(E) optee(E) pwm_mediatek(E
  ) tee(E) uio_pdrv_genirq(E) uio(E) sch_fq_codel(E) dm_multipath(E) 
scsi_dh_rdac(E) scsi_dh_emc(E) scsi_dh_alua(E) dma_
  buf_test_exporter(E) efi_pstore(E) ip_tables(E) x_tables(E)
  [ 4729.917018] autofs4(E)
  [ 4729.917503] mtk-scp 10500000.scp: creating channel cros-ec-rpmsg addr 0xd
  [ 4729.917556] mtk-scp 10500000.scp: SCP is ready. FW version 
cherry_scp_v2.0.21051-de9944a9e
  [ 4729.917560] remoteproc remoteproc0: remote processor scp is now up
  [ 4729.928029] btrfs(E) blake2b_generic(E) zstd_compress(E) raid10(E) 
raid456(E) async_raid6_recov(E) async_memcpy(E)
   async_pq(E) async_xor(E) async_tx(E) xor(E) xor_neon(E) raid6_pq(E) 
libcrc32c(E) raid1(E) raid0(E) multipath(E) linea
  r(E) crct10dif_ce(E) ghash_ce(E) sha2_ce(E) sha256_arm64(E) sha1_ce(E) 
mediatek_drm_hdmi(E) realtek(E) phy_mtk_hdmi_dr
  v(E) dwmac_mediatek(E) stmmac_platform(E) stmmac(E) pcs_xpcs(E) phylink(E) 
spidev(E) mtk_rng(E) mtk_pmic_keys(E) gpio_
  keys(E) pwm_bl(E) aes_neon_blk(E) crypto_simd(E) cryptd(E) aes_ce_cipher(E) 
[last unloaded: mtk_rpmsg]
  [ 4729.937370] CPU: 7 PID: 1588 Comm: modprobe Tainted: G E 5.15.152+ #6
  [ 4729.938351] Hardware name: Unknown Unknown Product/Unknown Product, BIOS 
2022.10 10/01/2022
  [ 4729.939407] pstate: 80400009 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
  [ 4729.940289] pc : mtk_mutex_put+0x1c/0x50
  [ 4729.940795] lr : mdp_probe+0x490/0x684 [mtk_mdp3]
  [ 4729.941403] sp : ffff80000bcf38b0
  [ 4729.941823] x29: ffff80000bcf38b0 x28: ffff800001b21598 x27: 
ffff800001b215b8
  [ 4729.942729] x26: ffff800001b215d8 x25: ffff800001b214f8 x24: 
0000000000000005
  [ 4729.943634] x23: ffff0000c1145410 x22: fffffffffffffff0 x21: 
0000000000000005
  [ 4729.944538] x20: fffffffffffffff0 x19: fffffffffffffff0 x18: 
0000000000000000
  [ 4729.945443] x17: 000000040044ffff x16: ffff80000be1f000 x15: 
ffff0000c8f0f850
  [ 4729.946347] x14: 0000000000000000 x13: 0000000000000000 x12: 
0000000000000001
  [ 4729.947252] x11: 0000000000000002 x10: 0000000000000010 x9 : 
ffff800001b07850
  [ 4729.948156] x8 : 0000000000000004 x7 : ffff0000d7c69010 x6 : 
ffff800009b84000
  [ 4729.949061] x5 : ffff800008b9ad90 x4 : fffffc00037dc120 x3 : 
000000008020000f
  [ 4729.949965] x2 : 0000000000000000 x1 : 0000000000000009 x0 : 
fffffffffffffff0
  [ 4729.950869] Call trace:
  [ 4729.951181] mtk_mutex_put+0x1c/0x50
  [ 4729.951638] mdp_probe+0x490/0x684 [mtk_mdp3]
  [ 4729.952197] platform_probe+0x70/0x110
  [ 4729.952678] really_probe+0xd0/0x490
  [ 4729.953134] __driver_probe_device+0x148/0x190
  [ 4729.953701] driver_probe_device+0x48/0x180
  [ 4729.954234] __driver_attach+0x104/0x240
  [ 4729.954735] bus_for_each_dev+0x78/0xd0
  [ 4729.955223] driver_attach+0x2c/0x40
  [ 4729.955679] bus_add_driver+0x154/0x270
  [ 4729.956168] driver_register+0x80/0x13c
  [ 4729.956657] __platform_driver_register+0x30/0x40
  [ 4729.957257] mdp_driver_init+0x2c/0x1000 [mtk_mdp3]
  [ 4729.957881] do_one_initcall+0x4c/0x2ac
  [ 4729.958373] do_init_module+0x50/0x270
  [ 4729.958853] load_module+0x23c0/0x28d4
  [ 4729.959331] __do_sys_finit_module+0xa8/0x114
  [ 4729.959887] __arm64_sys_finit_module+0x28/0x3c
  [ 4729.960464] invoke_syscall+0x78/0x100
  [ 4729.960944] el0_svc_common.constprop.0+0x54/0x184
  [ 4729.961556] do_el0_svc+0x30/0xac
  [ 4729.961980] el0_svc+0x48/0x160
  [ 4729.962383] el0t_64_sync_handler+0xa4/0x12c
  [ 4729.962928] el0t_64_sync+0x1a4/0x1a8
  [ 4729.963396] Code: a9be7bfd 910003fd f9000bf3 aa0003f3 (b9800001)
  [ 4729.964170] ---[ end trace dfe4dfc5feffee66 ]---
  Segmentation fault

  LP: #2069666

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-mtk/+bug/2090981/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to