Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198109 - app-misc/lirc modprobe fails with "kobject_add failed for lirc_serial.0"
Summary: app-misc/lirc modprobe fails with "kobject_add failed for lirc_serial.0"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-04 23:25 UTC by Jochen Buchholz
Modified: 2008-05-06 08:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Buchholz 2007-11-04 23:25:13 UTC
After my last update modprobe lirc_serial fails every time. Lirc is unusable.

Reproducible: Always

Steps to Reproduce:
1. emerge lirc
2. enter "options lirc_serial irq=4 io=0x3f8" to /etc/modules.d/lirc
3. modprobe lirc_serial

Actual Results:  
dmesg output:
kobject_add failed for lirc_serial.0 with -EEXIST, don't try to register things with the same name in the same directory.
 [<c0230d87>] kobject_shadow_add+0x141/0x173
 [<c0230eeb>] kobject_set_name+0x2b/0x92
 [<c029b9f9>] device_add+0xa6/0x519
 [<c029ed5c>] platform_device_add+0xe8/0x116
 [<e550602a>] init_module+0x2a/0x27d [lirc_serial]
 [<c0142db6>] __vunmap+0xbd/0xd1
 [<c0130be3>] sys_init_module+0x11f8/0x132e
 [<e4d6a5fe>] lirc_register_plugin+0x0/0x41f [lirc_dev]
 [<c014aeaa>] do_sync_read+0x0/0x109
 [<c0103a76>] sysenter_past_esp+0x5f/0x85
 [<c0350000>] write_bytes_to_xdr_buf+0x54/0xa2
 =======================



I used lirc 3 years without problems. My last working kernel was 2.6.20 r8. At this time every kernel produce the same error message, I tried with 2.6.22 r9, 2.6.21 r4 and 2.6.20 r8.
Comment 1 Matthias Schwarzott gentoo-dev 2008-05-06 08:23:07 UTC
Does this still fails with lirc-0.8.3.
Is /usr/src/linux linked to the currently running kernel?
Your error sounded like already loaded other lirc module or is very strange.

Please also attach emerge --info output.