Activity log for bug #778026

Date Who What changed Old value New value Message
2011-05-05 17:59:36 Jarod Wilson bug added bug
2011-05-05 18:02:02 MarcRandolph lirc (Ubuntu): importance Undecided Critical
2011-05-05 18:02:02 MarcRandolph lirc (Ubuntu): status New Triaged
2011-05-05 18:02:02 MarcRandolph lirc (Ubuntu): milestone natty-updates
2011-05-05 18:32:36 Mario Limonciello nominated for series Ubuntu Natty
2011-05-05 18:32:36 Mario Limonciello bug task added lirc (Ubuntu Natty)
2011-05-05 18:32:36 Mario Limonciello nominated for series Ubuntu Oneiric
2011-05-05 18:32:36 Mario Limonciello bug task added lirc (Ubuntu Oneiric)
2011-05-05 18:32:44 Mario Limonciello lirc (Ubuntu Natty): milestone natty-updates
2011-05-05 18:32:48 Mario Limonciello lirc (Ubuntu Oneiric): milestone natty-updates oneiric-alpha-1
2011-05-05 18:32:51 Mario Limonciello lirc (Ubuntu Natty): importance Undecided Critical
2011-05-05 18:32:54 Mario Limonciello lirc (Ubuntu Natty): status New Triaged
2011-05-05 18:53:13 Launchpad Janitor branch linked lp:~mythbuntu-dev/lirc/ubuntu
2011-05-05 19:50:11 Launchpad Janitor lirc (Ubuntu Oneiric): status Triaged Fix Released
2011-05-05 20:13:18 Launchpad Janitor branch linked lp:ubuntu/lirc
2011-05-05 20:25:40 Mario Limonciello description Binary package hint: lirc-modules-source Ubuntu 11.04 is shipping with a 2.6.38 kernel, which has numerous lirc device drivers from the staging tree enabled, as well as rc-core infrastructure and several new rc-core device drivers. The rc-core drivers and the in-kernel lirc device drivers rely on the lirc device interface driver (lirc_dev.ko) provided by the kernel to provide the lirc character device interface needed by lircd. Also shipping is an lirc-modules-source package, based on lirc 0.8.7-era out-of-tree lirc device driver code. When this package is installed and dkms builds modules, they override the in-kernel ones, most troubling being lirc_dev.ko: # find /lib/modules/$(uname -r)/ -name lirc_dev.ko /lib/modules/2.6.38-8-generic/kernel/drivers/media/rc/lirc_dev.ko /lib/modules/2.6.38-8-generic/updates/dkms/lirc_dev.ko Now when any of the in-kernel lirc drivers or an rc-core driver with support for the ir-lirc-codec bridge driver tries to load, you get something like the following: # modprobe ir-lirc-codec FATAL: Error inserting ir_lirc_codec (/lib/modules/2.6.38-8-generic/kernel/drivers/media/rc/ir-lirc-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg | grep ir_lirc_codec [ 13.439407] ir_lirc_codec: Unknown symbol lirc_dev_fop_poll (err 0) [ 13.439557] ir_lirc_codec: Unknown symbol lirc_dev_fop_open (err 0) [ 13.439622] ir_lirc_codec: disagrees about version of symbol lirc_get_pdata [ 13.439623] ir_lirc_codec: Unknown symbol lirc_get_pdata (err -22) [ 13.439706] ir_lirc_codec: Unknown symbol lirc_dev_fop_close (err 0) [ 13.439770] ir_lirc_codec: Unknown symbol lirc_dev_fop_read (err 0) [ 13.439824] ir_lirc_codec: disagrees about version of symbol lirc_register_driver [ 13.439826] ir_lirc_codec: Unknown symbol lirc_register_driver (err -22) [ 13.439960] ir_lirc_codec: Unknown symbol lirc_dev_fop_ioctl (err 0) This completely breaks in-kernel drivers' lirc support. Please either stop shipping lirc-modules-source, or properly update it to build against the in-kernel lirc bits (and preferably, strip out the entirely redundant drivers). Binary package hint: lirc-modules-source ** Impact ** Ubuntu 11.04 is shipping with a 2.6.38 kernel, which has numerous lirc device drivers from the staging tree enabled, as well as rc-core infrastructure and several new rc-core device drivers. The rc-core drivers and the in-kernel lirc device drivers rely on the lirc device interface driver (lirc_dev.ko) provided by the kernel to provide the lirc character device interface needed by lircd. Also shipping is an lirc-modules-source package, based on lirc 0.8.7-era out-of-tree lirc device driver code. When this package is installed and dkms builds modules, they override the in-kernel ones, most troubling being lirc_dev.ko: # find /lib/modules/$(uname -r)/ -name lirc_dev.ko /lib/modules/2.6.38-8-generic/kernel/drivers/media/rc/lirc_dev.ko /lib/modules/2.6.38-8-generic/updates/dkms/lirc_dev.ko Now when any of the in-kernel lirc drivers or an rc-core driver with support for the ir-lirc-codec bridge driver tries to load, you get something like the following: # modprobe ir-lirc-codec FATAL: Error inserting ir_lirc_codec (/lib/modules/2.6.38-8-generic/kernel/drivers/media/rc/ir-lirc-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg | grep ir_lirc_codec [ 13.439407] ir_lirc_codec: Unknown symbol lirc_dev_fop_poll (err 0) [ 13.439557] ir_lirc_codec: Unknown symbol lirc_dev_fop_open (err 0) [ 13.439622] ir_lirc_codec: disagrees about version of symbol lirc_get_pdata [ 13.439623] ir_lirc_codec: Unknown symbol lirc_get_pdata (err -22) [ 13.439706] ir_lirc_codec: Unknown symbol lirc_dev_fop_close (err 0) [ 13.439770] ir_lirc_codec: Unknown symbol lirc_dev_fop_read (err 0) [ 13.439824] ir_lirc_codec: disagrees about version of symbol lirc_register_driver [ 13.439826] ir_lirc_codec: Unknown symbol lirc_register_driver (err -22) [ 13.439960] ir_lirc_codec: Unknown symbol lirc_dev_fop_ioctl (err 0) This completely breaks in-kernel drivers' lirc support. Please either stop shipping lirc-modules-source, or properly update it to build against the in-kernel lirc bits (and preferably, strip out the entirely redundant drivers). ** Addressing in future versions ** For oneiric and later the lirc-modules-source package has been dropped ** Reproducing the bug ** 1) Install lirc-modules-source 2) modprobe ir-lirc-codec 3) Observe errors in dmesg ** Regression Potential ** Little, although the DKMS package builds, it will not not interact properly with the kernel's built-in LIRC support. It's not possible to use right now, and this is just to prevent users from trying.
2011-05-05 20:26:04 Mario Limonciello attachment added debdiff https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/778026/+attachment/2115245/+files/debdiff
2011-05-05 20:26:13 Mario Limonciello lirc (Ubuntu Natty): status Triaged New
2011-05-05 20:26:17 Mario Limonciello lirc (Ubuntu Natty): assignee Mario Limonciello (superm1)
2011-05-05 20:26:54 Mario Limonciello bug added subscriber Ubuntu Stable Release Updates Team
2011-05-09 14:32:02 Martin Pitt lirc (Ubuntu Natty): status New Fix Committed
2011-05-09 14:32:05 Martin Pitt bug added subscriber SRU Verification
2011-05-09 14:32:07 Martin Pitt tags verification-needed
2011-05-09 15:13:18 Launchpad Janitor branch linked lp:ubuntu/natty-proposed/lirc
2011-05-29 11:16:59 Mal bug added subscriber Mal
2013-05-10 13:56:28 dino99 lirc (Ubuntu Natty): status Fix Committed Fix Released