Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187418 - app-misc/lirc-0.8.2 - lirc_gpio broken w/ 2.6.22+ kernels and LIRC_DEVICES="cph06x"
Summary: app-misc/lirc-0.8.2 - lirc_gpio broken w/ 2.6.22+ kernels and LIRC_DEVICES="c...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.22
  Show dependency tree
 
Reported: 2007-08-01 18:39 UTC by Jakub Moc (RETIRED)
Modified: 2008-03-09 12:43 UTC (History)
4 users (show)

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 Jakub Moc (RETIRED) gentoo-dev 2007-08-01 18:39:27 UTC
Basically makes the remote control useless, lircd/lircmd fails to start.

WARNING: //lib/modules/2.6.22-gentoo-r2/misc/lirc_gpio.ko needs unknown symbol bttv_get_cardinfo
WARNING: //lib/modules/2.6.22-gentoo-r2/misc/lirc_gpio.ko needs unknown symbol bttv_get_gpio_queue

---

Portage 2.1.3_rc9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 i686)
=================================================================
System uname: 2.6.22-gentoo-r2 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System release 1.13.0_alpha12
Timestamp of tree: Wed, 01 Aug 2007 15:00:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17, 2.17.50.0.15, 2.17.50.0.16, 2.17.50.0.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /usr/share/X11/xkb"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.osuosl.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --prune-empty-dirs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/beryl /usr/local/overlays/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X X509 a52 aac aalib acl acpi alsa amr ao asf audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr chroot cli cpudetection cracklib crypt cscope css cups curl curlwrappers daap dbus dbx dga directfb dri dts dv dvb dvd dvdr dvdread encode exif expat fam fame fbcon ffmpeg fftw firefox flac flash flatfile foomaticdb ftp fuse gd gdbm ggi gif gimp glibc-omitfp glitz glut gmp gphoto2 gpm graphviz gs gstreamer gtk hal ical iconv icq idn imagemagick imap imlib inifile ipv6 irda jack javascript jbig joystick jpeg jpeg2k kdeenablefinal kdehiddenvisibility kipi lame lcms libcaca libg++ libnotify libsamplerate lirc live lm_sensors logrotate lzo mad maildir matroska midi mikmod mime mjpeg mmap mmx mmxext mng modplug moznopango mp3 mp4 mpeg mplayer mudflap multiuser musepack musicbrainz ncurses network network-cron nfs nls nodrm nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl png portaudio ppds python qt3 qt3support quicktime rar readline real reflection rle ruby samba sdl sdl-image session skey sms sndfile speex spell spl sqlite sqlite3 sse ssl startup-notification subtitles svg symlink syslog tcpd theora threads threadsafe thumbnail tiff truetype unicode urandom usb v4l v4l2 vcd vim-syntax vim-with-x vorbis wavpack win32codecs wmf x264 x86 xattr xcomposite xine xinerama xinetd xml xmlrpc xorg xosd xpm xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="emu10k1 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="cph06x" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia v4l vesa vmware"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-08-01 18:50:38 UTC
Attach URL kernel patch that removed these symbols since the kernel authors said they were unused.
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2007-08-03 23:29:37 UTC
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/125384

You might be able to get away without lirc_gpio:
http://bugs.archlinux.org/task/7660

Doesn't seem to be a real answer here (other than get lirc stuff upstream), sorry...
Comment 3 Matthias Schwarzott gentoo-dev 2007-10-18 16:07:24 UTC
Disabled lirc_gpio compilation for lirc-0.8.2-r1 and newer on Kernel 2.6.22+.

If someone attaches a better text to let the user know how to workaround the problem it will be added to the ebuilds.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-10-18 17:52:05 UTC
(In reply to comment #3)
> If someone attaches a better text to let the user know how to workaround the
> problem it will be added to the ebuilds.

Sigh... Maybe upstream kernel folks could do some basic research before claiming something is unused and removing it from kernel?!

Comment 5 Duane Griffin 2007-10-19 12:25:37 UTC
(In reply to comment #4)
> Sigh... Maybe upstream kernel folks could do some basic research before
> claiming something is unused and removing it from kernel?!

It is unused as far as upstream are concerned. Out-of-tree doesn't count when it comes to the Linux kernel. As Daniel says above, the only real solution is to get it in-tree. There has been talk about that for lirc, but not much in the way of action, AFAICS.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-10-19 12:54:05 UTC
(In reply to comment #5)
> Out-of-tree doesn't count when it comes to the Linux kernel.

Riiight...

Closing this UPSTREAM, with lot of thanks to kernel folks for breaking something that's been working for ages.



Comment 7 Doug Goldstein (RETIRED) gentoo-dev 2007-10-19 13:52:28 UTC
There's actually a lot of work to get lirc into the kernel. Jarod over at Red Hat has been spearheading this and has a git tree with that work included.
Comment 8 Duane Griffin 2007-10-19 15:58:53 UTC
Sorry, I stand corrected! I can't wait to see this, it will help me too.

For others interested the git tree seems to be here:
http://git.wilsonet.com/linux-2.6-lirc.git/