Bug 108929

Summary: [CI][BAT] igt@runner@aborted - fail - sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1b.0/sound/card0/input3'
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED MOVED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: SNB i915 features: display/audio

Description Martin Peres 2018-12-03 16:38:59 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5186_54/fi-snb-2600/igt@runner@aborted.html

<6>[    3.558590] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input3
<4>[    3.558769] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:1b.0/sound/card0/input3'
<4>[    3.558773] CPU: 4 PID: 322 Comm: systemd-udevd Not tainted 4.20.0-rc3-g890ed44fe261-repeat_15+ #1
<4>[    3.558775] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06 10/17/2011
<4>[    3.558776] Call Trace:
<4>[    3.558782]  dump_stack+0x67/0x9b
<4>[    3.558788]  sysfs_warn_dup+0x51/0x60
<4>[    3.558793]  sysfs_create_dir_ns+0xa9/0xc0
<4>[    3.558799]  kobject_add_internal+0xac/0x2d0
<4>[    3.558804]  kobject_add+0x71/0xd0
<4>[    3.558815]  device_add+0x110/0x670
<4>[    3.558819]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[    3.558823]  ? __kmalloc+0x262/0x2e0
<4>[    3.558829]  input_register_device+0x182/0x4f0
<4>[    3.558836]  snd_jack_dev_register+0x94/0xc0
<4>[    3.558840]  __snd_device_register.part.0+0x16/0x30
<4>[    3.558843]  snd_device_register_all+0x33/0x50
<4>[    3.558847]  snd_card_register+0x5f/0x1d0
<4>[    3.558855]  ? snd_hda_codec_build_controls+0xac/0x200 [snd_hda_codec]
<4>[    3.558863]  ? hda_codec_driver_probe+0x120/0x140 [snd_hda_codec]
<4>[    3.558868]  hda_codec_driver_probe+0x120/0x140 [snd_hda_codec]
<4>[    3.558872]  really_probe+0xf3/0x3e0
<4>[    3.558878]  driver_probe_device+0x10a/0x120
<4>[    3.558882]  __driver_attach+0xdb/0x100
<4>[    3.558884]  ? driver_probe_device+0x120/0x120
<4>[    3.558887]  ? driver_probe_device+0x120/0x120
<4>[    3.558890]  bus_for_each_dev+0x74/0xc0
<4>[    3.558896]  bus_add_driver+0x15f/0x250
<4>[    3.558899]  ? 0xffffffffc0266000
<4>[    3.558903]  driver_register+0x56/0xe0
<4>[    3.558906]  ? 0xffffffffc0266000
<4>[    3.558908]  do_one_initcall+0x58/0x2e0
<4>[    3.558913]  ? do_init_module+0x1d/0x1ea
<4>[    3.558915]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[    3.558918]  ? kmem_cache_alloc_trace+0x264/0x290
<4>[    3.558924]  do_init_module+0x56/0x1ea
<4>[    3.558928]  load_module+0x2714/0x29f0
<4>[    3.558948]  ? __se_sys_finit_module+0xd3/0xf0
<4>[    3.558951]  __se_sys_finit_module+0xd3/0xf0
<4>[    3.558964]  do_syscall_64+0x55/0x190
<4>[    3.558968]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[    3.558970] RIP: 0033:0x7f40257d3839
<4>[    3.558973] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1f f6 2c 00 f7 d8 64 89 01 48
<4>[    3.558975] RSP: 002b:00007ffd553f9e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4>[    3.558978] RAX: ffffffffffffffda RBX: 0000560085bcc5f0 RCX: 00007f40257d3839
<4>[    3.558980] RDX: 0000000000000000 RSI: 00007f40254b2145 RDI: 000000000000000f
<4>[    3.558981] RBP: 00007f40254b2145 R08: 0000000000000000 R09: 00007ffd553f9f80
<4>[    3.558983] R10: 000000000000000f R11: 0000000000000246 R12: 0000000000000000
<4>[    3.558985] R13: 0000560085bc32e0 R14: 0000000000020000 R15: 0000560085bcc5f0
<3>[    3.559004] kobject_add_internal failed for input3 with -EEXIST, don't try to register things with the same name in the same directory.
Comment 1 Francesco Balestrieri 2019-01-08 13:28:31 UTC
Latest occurrence a week ago: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_183/fi-snb-2600/igt@runner@aborted.html
Comment 2 Lakshmi 2019-02-27 08:16:56 UTC
Last seen drmtip_183 (1 month, 3 weeks / 1118 runs ago). Dropping the priority to medium.
Comment 3 Ida 2019-03-15 11:15:15 UTC
This issue does not reproduce on ICL U (HDA Legacy Audio).

This is the Kernel we use:
https://gfx-assets.igk.intel.com/artifactory/webapp/#/artifacts/browse/tree/General/gfx-osgc-assets-igk/builds/DRM/CI_DRM/5675
Comment 4 Martin Peres 2019-11-29 18:01:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/196.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.