Hardy: sysfs: duplicate filename 'i2c ir driver' can not be created

Bug #222359 reported by Frank Haverkamp
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

According to my dmesg output sysfs has trouble when lirc is used:
    sysfs: duplicate filename 'i2c ir driver' can not be created

I am using Hardy and updated to the latest code.

uname -r
2.6.24-16-generic

Here my dmesg output:

[ 74.677303] lirc_dev: IR Remote Control driver registered, at major 61
[ 74.734266] bttv: driver version 0.9.17 loaded
[ 74.734271] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 74.817681] ivtv: Start initialization, version 1.1.0
[ 74.818238] ivtv: End initialization
[ 74.834615] lirc_i2c: chip 0x1001b found @ 0x71 (Hauppauge HVR1300)
[ 74.834981] lirc_dev: lirc_register_plugin: sample_rate: 10
[ 74.912254] sysfs: duplicate filename 'i2c ir driver' can not be created
[ 74.912260] WARNING: at /build/buildd/linux-2.6.24/fs/sysfs/dir.c:424 sysfs_add_one()
[ 74.912264] Pid: 7423, comm: modprobe Tainted: PF 2.6.24-16-generic #1
[ 74.912266]
[ 74.912266] Call Trace:
[ 74.912292] [<ffffffff802fe418>] sysfs_add_one+0xb8/0xf0
[ 74.912301] [<ffffffff802fea30>] create_dir+0x60/0xb0
[ 74.912321] [<ffffffff802feab1>] sysfs_create_dir+0x31/0x50
[ 74.912327] [<ffffffff80344912>] kobject_get+0x12/0x20
[ 74.912332] [<ffffffff80344f23>] kobject_add+0xb3/0x200
[ 74.912345] [<ffffffff80345108>] kobject_register+0x28/0x50
[ 74.912355] [<ffffffff803b9581>] bus_add_driver+0x91/0x220
[ 74.912374] [<ffffffff8821588f>] :i2c_core:i2c_register_driver+0x7f/0x130
[ 74.912384] [<ffffffff88eb01c3>] :lirc_pvr150:init_module+0x53/0x60
[ 74.912391] [<ffffffff80263b6e>] sys_init_module+0x18e/0x1a90
[ 74.912452] [<ffffffff88e480d0>] :lirc_dev:lirc_register_plugin+0x0/0x520
[ 74.912478] [<ffffffff8020c37e>] system_call+0x7e/0x83
[ 74.912507]
[ 74.912510] kobject_add failed for i2c ir driver with -EEXIST, don't try to register things with the same name in the same directory.
[ 74.912514] Pid: 7423, comm: modprobe Tainted: PF 2.6.24-16-generic #1
[ 74.912516]
[ 74.912516] Call Trace:
[ 74.912524] [<ffffffff80344fb9>] kobject_add+0x149/0x200
[ 74.912537] [<ffffffff80345108>] kobject_register+0x28/0x50
[ 74.912546] [<ffffffff803b9581>] bus_add_driver+0x91/0x220
[ 74.912563] [<ffffffff8821588f>] :i2c_core:i2c_register_driver+0x7f/0x130
[ 74.912572] [<ffffffff88eb01c3>] :lirc_pvr150:init_module+0x53/0x60
[ 74.912578] [<ffffffff80263b6e>] sys_init_module+0x18e/0x1a90
[ 74.912633] [<ffffffff88e480d0>] :lirc_dev:lirc_register_plugin+0x0/0x520
[ 74.912659] [<ffffffff8020c37e>] system_call+0x7e/0x83
[ 74.912688]
[ 1313.931147] wlan2: RX disassociation from 00:1b:11:f7:94:72 (reason=4)

Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :
Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :
Revision history for this message
Frank Haverkamp (f-haverkamp) wrote :

Are there yet any ideas how this can be fixed?

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

[This is an automated message. Apologies if it has reached you inappropriately.]

This bug was reported against the linux-meta package when it likely should have been reported against the linux package instead. We are automatically transitioning this to the linux kernel package so that the appropriate teams are notified and made aware of this issue. Thanks.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
kernel-janitor (kernel-janitor) wrote :

Hi f-haverkamp,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ . Please then run following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux-image-`uname -r` 222359

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.