Unable to use modules in dapper

Bug #45703 reported by Mario Limonciello
22
Affects Status Importance Assigned to Milestone
LIRC
Fix Released
Unknown
lirc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After building a lirc module, inserting it fails. This has been resolved in debian upstream.
sudo modprobe lirc_dev

dmesg | tail
[4303877.158000] lirc_dev: Unknown symbol class_simple_device_add
[4303877.159000] lirc_dev: Unknown symbol class_simple_destroy
[4303877.159000] lirc_dev: Unknown symbol class_simple_device_remove
[4303877.160000] lirc_dev: Unknown symbol class_simple_create

Revision history for this message
In , Amaya Rodrigo (amaya) wrote : Lirc house cleaning

merge 326672 303663

thanks

--
 .''`. Follow the white Rabbit - Ranty (and Lewis Carroll)
: :' :
`. `' Proudly running unstable Debian GNU/Linux
  `- www.amayita.com www.malapecora.com www.chicasduras.com

Revision history for this message
In , Amaya Rodrigo (amaya) wrote :

tags 303078 help
tags 303078 pending
tags 303663 pending
tags 304609 pending
tags 300989 pending
tags 326703 pending

thanks

--
 .''`. Follow the white Rabbit - Ranty (and Lewis Carroll)
: :' :
`. `' Proudly running unstable Debian GNU/Linux
  `- www.amayita.com www.malapecora.com www.chicasduras.com

Revision history for this message
In , Amaya Rodrigo (amaya) wrote : Bug#303663: fixed in lirc 0.7.1pre2-7
Download full text (4.2 KiB)

Source: lirc
Source-Version: 0.7.1pre2-7

We believe that the bug you reported is fixed in the latest version of
lirc, which is due to be installed in the Debian FTP archive:

liblircclient-dev_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/liblircclient-dev_0.7.1pre2-7_i386.deb
liblircclient0_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/liblircclient0_0.7.1pre2-7_i386.deb
lirc-modules-source_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/lirc-modules-source_0.7.1pre2-7_i386.deb
lirc-svga_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/lirc-svga_0.7.1pre2-7_i386.deb
lirc-x_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/lirc-x_0.7.1pre2-7_i386.deb
lirc_0.7.1pre2-7.diff.gz
  to pool/main/l/lirc/lirc_0.7.1pre2-7.diff.gz
lirc_0.7.1pre2-7.dsc
  to pool/main/l/lirc/lirc_0.7.1pre2-7.dsc
lirc_0.7.1pre2-7_i386.deb
  to pool/main/l/lirc/lirc_0.7.1pre2-7_i386.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Amaya Rodrigo Sastre <email address hidden> (supplier of updated lirc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 17 Sep 2005 20:47:15 +0200
Source: lirc
Binary: liblircclient-dev liblircclient0 lirc-svga lirc lirc-modules-source lirc-x
Architecture: source i386
Version: 0.7.1pre2-7
Distribution: unstable
Urgency: low
Maintainer: Amaya Rodrigo Sastre <email address hidden>
Changed-By: Amaya Rodrigo Sastre <email address hidden>
Description:
 liblircclient-dev - development files for LIRC client library
 liblircclient0 - LIRC client library
 lirc - Linux Infra-red Remote Control support
 lirc-modules-source - Linux Infra-red Remote Control support (kernel modules)
 lirc-svga - Linux Infra-red Remote Control support (svgalib dependent parts)
 lirc-x - Linux Infra-red Remote Control support (X dependent parts)
Closes: 300989 302141 303663 304609 305291 310639 312497 315579 318268 326703
Changes:
 lirc (0.7.1pre2-7) unstable; urgency=low
 .
   * The "Kicked out from the MIA Team, by Debconf5 and RL meetings" Release.
   * Acknowledge bugs closed by previous NMU. Thanks Blars!
     (Closes: #315579, #318268, #312497, #310639, #302141).
   * Applied patch from Agustin Martin <email address hidden>, fixing:
     - Get rid of unknown symbols when inserting lirc_sir.ko
     - Build when two drivers requiring lirc_dev are selected
     - Build the atiusb driver properly
     (Closes: #303663, #304609, #300989).
   * Apply patch supplied by Juergen Pfennig, making irxevent send keys to the
     right application. (Closes: #326703).
   * Apply patch from Robert Bihlmeyer <email address hidden> to partially take
     care of #303078, while a more elegant solution is found.
   * Apply patch from Alban <email address hidden> to correct spurious
     warning with aclocal >= 1.8....

Read more...

Revision history for this message
In , Adilson dos Santos Dantas (adilson-dantas) wrote : Re: Bug#326672 acknowledged by developer (Bug#303663: fixed in lirc 0.7.1pre2-7)
Download full text (7.4 KiB)

It doesn't work here :( Now with kernel 2.6.13.1

I got the latest packages from incoming and I received these errors
after building the modules :(

root@yoda:~# modprobe lirc_gpio
WARNING: Error inserting lirc_dev
(/lib/modules/2.6.13.1/misc/lirc_dev.ko): Unknown symbol in module, or
unknown parameter (see dmesg)
FATAL: Error inserting lirc_gpio
(/lib/modules/2.6.13.1/misc/lirc_gpio.ko): Unknown symbol in module, or
unknown parameter (see dmesg)
root@yoda:~#

Sep 17 23:50:39 yoda kernel: lirc_dev: Unknown symbol
class_simple_device_add
Sep 17 23:50:39 yoda kernel: lirc_dev: Unknown symbol class_simple_destroy
Sep 17 23:50:39 yoda kernel: lirc_dev: Unknown symbol
class_simple_device_remove
Sep 17 23:50:39 yoda kernel: lirc_dev: Unknown symbol class_simple_create
Sep 17 23:50:39 yoda kernel: lirc_gpio: Unknown symbol
lirc_unregister_plugin
Sep 17 23:50:39 yoda kernel: lirc_gpio: Unknown symbol lirc_register_plugin

My remote control is still unusable.

I think that this bug should not be closed

                              Adilson

Debian Bug Tracking System escreveu:

>This is an automatic notification regarding your Bug report
>#326672: lirc-modules-source: Lirc modules fails to load under kernel 2.6.13,
>which was filed against the lirc-modules-source package.
>
>It has been closed by one of the developers, namely
>Amaya Rodrigo Sastre <email address hidden>.
>
>Their explanation is attached below. If this explanation is
>unsatisfactory and you have not received a better one in a separate
>message then please contact the developer, by replying to this email.
>
>Debian bug tracking system administrator
>(administrator, Debian Bugs database)
>
>Received: (at 303663-close) by bugs.debian.org; 18 Sep 2005 00:09:24 +0000
>From <email address hidden> Sat Sep 17 17:09:24 2005
>Return-path: <email address hidden>
>Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
> id 1EGmdB-000375-00; Sat, 17 Sep 2005 17:02:05 -0700
>From: Amaya Rodrigo Sastre <email address hidden>
>To: <email address hidden>
>X-Katie: $Revision: 1.56 $
>Subject: Bug#303663: fixed in lirc 0.7.1pre2-7
>Message-Id: <email address hidden>
>Sender: Archive Administrator <email address hidden>
>Date: Sat, 17 Sep 2005 17:02:05 -0700
>Delivered-To: <email address hidden>
>X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
> (1.212-2003-09-23-exp) on spohr.debian.org
>X-Spam-Level:
>X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
> autolearn=no version=2.60-bugs.debian.org_2005_01_02
>X-CrossAssassin-Score: 3
>
>Source: lirc
>Source-Version: 0.7.1pre2-7
>
>We believe that the bug you reported is fixed in the latest version of
>lirc, which is due to be installed in the Debian FTP archive:
>
>liblircclient-dev_0.7.1pre2-7_i386.deb
> to pool/main/l/lirc/liblircclient-dev_0.7.1pre2-7_i386.deb
>liblircclient0_0.7.1pre2-7_i386.deb
> to pool/main/l/lirc/liblircclient0_0.7.1pre2-7_i386.deb
>lirc-modules-source_0.7.1pre2-7_i386.deb
> to pool/main/l/lirc/lirc-modules-source_0.7.1pre2-7_i386.deb
>lirc-svga_0.7.1pre2-7_i386.deb
> to pool/main/l/lirc/lirc-svga_0.7.1pre2-7_i386.deb
>lirc-x_0.7.1...

Read more...

Revision history for this message
In , Deactivated Account (deactivated-account-deactivatedaccount) wrote : lirc-modules-source: Unresolved symbols with kernels >=2.6.13

Package: lirc-modules-source
Version: 0.7.1pre2-9
Tags: patch
Followup-For: Bug #326672

I'm experiencing exactly the same problem with kernel 2.6.13.2
using the `lirc_serial' driver. The following kernel messages are
generated upon trying to load the relevant modules:

lirc_dev: Unknown symbol class_simple_device_add
lirc_dev: Unknown symbol class_simple_destroy
lirc_dev: Unknown symbol class_simple_device_remove
lirc_dev: Unknown symbol class_simple_create
lirc_serial: Unknown symbol lirc_unregister_plugin
lirc_serial: Unknown symbol lirc_register_plugin

This problem is due to a sysfs interface change in kernel 2.6.13
and has been fixed upstream (in version 0.7.2).

An interim solution would be to replace the files `drivers/kcompat.h'
and `lirc_dev/lirc_dev.c' with their respective versions from upstream
version 0.7.2. The attached patch resembles exactly these changes and
results in perfectly working modules for kernels above and below version
2.6.13.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2-maia
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages lirc-modules-source depends on:
ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy
ii debhelper 4.9.10 helper programs for debian/rules
ii debianutils 2.14.3 Miscellaneous utilities specific t

Versions of packages lirc-modules-source recommends:
ii dpkg 1.13.11 package maintenance system for Deb
ii dpkg-dev 1.13.11 package building tools for Debian
ii gcc [c-compiler] 4:4.0.1-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.6-10 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.4-8 The GNU C compiler
ii gcc-4.0 [c-compiler] 4.0.1-9 The GNU C compiler
ii kernel-package 9.007 A utility for building Linux kerne
ii make 3.80-11 The GNU version of the "make" util

-- debconf information excluded

Revision history for this message
In , Adilson dos Santos Dantas (adilson-dantas) wrote :

This patch works for me too and really fix this bug

Oct 1 11:41:42 yoda kernel: lirc_dev: IR Remote Control driver
registered, at major 61
Oct 1 11:41:42 yoda kernel: lirc_gpio: no version for
"lirc_unregister_plugin" found: kernel tainted.
Oct 1 11:41:42 yoda kernel: The bttv_* interface is obsolete and will
go away,
Oct 1 11:41:42 yoda kernel: please use the new, sysfs based interface
instead.
Oct 1 11:41:42 yoda kernel: lirc_gpio (-1): card type 0x25, id 0x0
Oct 1 11:41:42 yoda kernel: lirc_dev: lirc_register_plugin: sample_rate: 12
Oct 1 11:41:42 yoda kernel: lirc_gpio (0): driver registered
Oct 1 11:41:42 yoda lircd 0.7.1pre2[13264]: lircd(any) ready
Oct 1 11:41:42 yoda lircd 0.7.1pre2[13264]: accepted new client on
/dev/lircd

I don't know why this bug is still marked as done. It should be reopened
or upload a package with this patch or a new lirc upstream version.

--

|------------------------------------------------------|
|Adilson dos Santos Dantas - Rio de Janeiro - Brasil |
|e-mail: <email address hidden> |
| <email address hidden> |
| <email address hidden> |
|URL: http://www.adilson.cjb.net ICQ UIN# : 4542346 |
|http://www.geocities.com/SiliconValley/7479 |
|------------------------------------------------------|
~!

Revision history for this message
In , Amaya Rodrigo (amaya) wrote : Re: Bug#326672: lirc-modules-source: Unresolved symbols with kernels >=2.6.13

reopen 326672
thanks

Adilson dos Santos Dantas wrote:
> This patch works for me too and really fix this bug

Ok, will look into it further.

> I don't know why this bug is still marked as done. It should be
> reopened or upload a package with this patch or a new lirc upstream
> version.

Reopened.

Thanks for noticing this problem (again).

--
 .''`. Follow the white Rabbit - Ranty (and Lewis Carroll)
: :' :
`. `' Proudly running unstable Debian GNU/Linux
  `- www.amayita.com www.malapecora.com www.chicasduras.com

Revision history for this message
In , graziano obertelli (graziano.obertelli) wrote : fails on 2.6.14: lirc 0.7.3pre1 seems to work fine

Package: lirc
Version: 0.7.1pre2-11
Followup-For: Bug #326672

the current version of lirc seems to fails to load modules also with
kernel 2.6.14. I tried version 0.7.3pre1 (not debian of course) and
everything seems to work fine.

graziano

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)

Versions of packages lirc depends on:
ii debconf [debconf-2.0] 1.4.59 Debian configuration management sy
ii dialog 1.0-20051107-1 Displays user-friendly dialog boxe
ii libasound2 1.0.10-1 ALSA library
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii liblircclient0 0.7.1pre2-11 LIRC client library
ii libusb-0.1-4 2:0.1.10a-22 userspace USB programming library

lirc recommends no packages.

-- debconf information:
  lirc/take_care_of_old_config:
* lirc/install_devices: true
* lirc/reconfigure: false
  lirc/lircmd_conf:
  lirc/remove_var-log-lircd: true
  lirc/driver: default
  lirc/should-use-IntelliMouse:
  lirc/cflags: -DLIRC_SERIAL_SOFTCARRIER
  lirc/irq: 3
  lirc/lircd_conf:
  lirc/port: 0x2f8
  lirc/device: /dev/lirc
  lirc/timer: 65536
  lirc/modules: lirc_dev lirc_sir

Revision history for this message
In , Amaya Rodrigo (amaya) wrote : Lirc is going through a major repackage

tags 338286 pending
tags 303663 pending
tags 326672 pending
tags 338226 pending
tags 304388 pending
tags 326084 pending
tags 333653 pending
tags 303078 pending
tags 246730 pending
tags 303494 pending
tags 310178 pending
tags 340809 pending
tags 128072 pending
thanks

Lirc packaging is going through a major rewrite, with invaluable
assistance from Hector (<email address hidden>).

We are still considering sereral issues, but lirc is basically being
repackaged almost from scratch, being migrated to module-assistant,
upgraded to latest upstream version, and we expect major improvements.

Of course, all this is going to take some time. But looking at lirc the
way it is now is a major waste of time. Please bear with us while we
keep working on this.

--
 .''`. Follow the white Rabbit - Ranty (and Lewis Carroll)
: :' :
`. `' Proudly running unstable Debian GNU/Linux
  `- www.amayita.com www.malapecora.com www.chicasduras.com

Revision history for this message
In , Julien Danjou (jdanjou) wrote : Fixed in 0.8.0-2

Hello,

This bugs were fixed in the latest upload, 0.8.0-2
Please reopen if needed.

Cheers,
--
Julien Danjou
.''`. Debian Developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
  `- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD

Revision history for this message
Mario Limonciello (superm1) wrote :

After building a lirc module, inserting it fails. This has been resolved in debian upstream.
sudo modprobe lirc_dev

dmesg | tail
[4303877.158000] lirc_dev: Unknown symbol class_simple_device_add
[4303877.159000] lirc_dev: Unknown symbol class_simple_destroy
[4303877.159000] lirc_dev: Unknown symbol class_simple_device_remove
[4303877.160000] lirc_dev: Unknown symbol class_simple_create

Revision history for this message
Mario Limonciello (superm1) wrote :

Debian has updated to 0.8 based lirc, and resolved this issue.

Changed in lirc:
status: Unconfirmed → Fix Released
status: Fix Released → Unconfirmed
Revision history for this message
Jak Spalding (jak-munkees) wrote :

Ubuntu repo's still affected

Changed in lirc:
status: Unconfirmed → Confirmed
Revision history for this message
Zoltan Peczoli (peczoli) wrote :

Is it possible to have this fixed in ubuntu-updates? I guess it's kindof important...

Revision history for this message
finalbeta (j-greenhouse) wrote :

Still 0.7. Waiting...

Revision history for this message
finalbeta (j-greenhouse) wrote :

Still 0.7. Please update.

Revision history for this message
Nicklas Svanteson (nicklas-teknister) wrote :

Any new info. regarding this bug?

I'm also waiting for an update...

Thanks

Revision history for this message
Mario Limonciello (superm1) wrote :

Im not really sure what the hold up is. the debian source package
builds if you grab libsvga from them.

On 7/13/06, Nicklas Svanteson <email address hidden> wrote:
> Any new info. regarding this bug?
>
> I'm also waiting for an update...
>
> Thanks
>
> --
> Unable to use modules in dapper
> https://launchpad.net/bugs/45703
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
noof (kalas) wrote :

Download:
http://librarian.launchpad.net/3326669/lirc-modules-source_0.8.0-5ubuntu1_all.deb
and use that instead. I'm sucessfully using it together with lirc_0.7.1pre2-11ubuntu1.

Revision history for this message
Mario Limonciello (superm1) wrote :

This has been fixed for Ubuntu 6.10 (Edgy)

Changed in lirc:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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