Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97200 - merge of lirc fails with kernels newer than 2.6.12-git4, patch for lirc available
Summary: merge of lirc fails with kernels newer than 2.6.12-git4, patch for lirc avai...
Status: RESOLVED DUPLICATE of bug 111820
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Heinrich Wendel (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 06:59 UTC by Cyrill Helg
Modified: 2005-11-17 23:30 UTC (History)
4 users (show)

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


Attachments
Patch for lirc (lirc-0.7.1-class_simple-patch1-from_nitro.diff,2.59 KB, patch)
2005-06-27 07:00 UTC, Cyrill Helg
Details | Diff
New ebuild that includes the patch (lirc-0.7.1-r33.ebuild,4.34 KB, text/plain)
2005-06-27 07:02 UTC, Cyrill Helg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrill Helg 2005-06-27 06:59:04 UTC
I'm using nitro sources and I had problems merging latest lirc. The problem only
occurs with kernel sources newer than 2.6.12-git4, because of the changes in
devfs support.

For further information look here:
http://forums.gentoo.org/viewtopic-t-353404-postdays-0-postorder-asc-start-25.html

Tiger provided a patch for solving this problem and an ebuild.

Thanks for considering this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Cyrill Helg 2005-06-27 07:00:51 UTC
Created attachment 62052 [details, diff]
Patch for lirc
Comment 2 Cyrill Helg 2005-06-27 07:02:18 UTC
Created attachment 62053 [details]
New ebuild that includes the patch
Comment 3 Rafael 2005-06-27 09:19:28 UTC
> occurs with kernel sources newer than 2.6.12-git4, because of the changes in
> devfs support.

This is not entirely true.
The bug does not have anything to do with devfs. nitro-sources
include some patches from gregkh, which at this point deprecate and remove
devfs from kernel tree. temporary solution was to readd the two devfs header
files to make external modules compile.

The patch i provided in nitro thread handles the in-kernel changes
which replace the class_simple_* calls and are in git tree beginning with
git4.
Due to the fact that git changes are going into next vanilla too,
the fix should happen on the external modules' side.
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2005-07-10 08:28:01 UTC
is this patch backwards compatible? 
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2005-07-17 12:21:42 UTC
@ Cyrill Helg

It would be very nice, if have you a stabel DL URI 4 the *.diff.bz2 in the 
ebuild.

@Heinrich Wendel

After any try's with different vanilla Kernel, i can say NO, not backwards 
compatible.

The Patch fixed also the f*!n Problem in my reported Bug 
http://bugs.gentoo.org/show_bug.cgi?id=88215

You can also take a look on http://www.vdr-portal.de/board/thread.php?
threadid=36448 , if you can read german.
I think, by your Name, yes.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-08-23 03:38:55 UTC
please try 0.7.2 
Comment 7 Kevin Parent 2005-09-15 13:16:19 UTC
I experienced the same issue with several 2.6.13 kernels - vanilla-sources,
gentoo-sources and ck-sources.  Upgrading to lirc-0.7.2 solved the issue as far
as the 2.6.13 kernels are concerned.
Comment 8 Rutger Hendriks 2005-10-11 03:09:16 UTC
2.6.13-gentoo-r3 (gentoo-sources) just turned stable on amd64, however the
stable lirc is still at 0.7.0-r1 which now complains about missing some symbols
(class_simple_device_add etc.). Same goes for lirc-0.7.1.
I'd suggest making lirc-0.7.2 stable on amd64 as that seems to solve things.
Comment 9 Jules Gagnon 2005-10-15 06:20:29 UTC
gentoo-sources-2.6.13-r3 is also marked stable on x86 so lirc-0.7.2 should be
marked stable on x86 too.
Comment 10 Sebastian Siewior 2005-11-04 13:05:49 UTC
(In reply to comment #9)
> gentoo-sources-2.6.13-r3 is also marked stable on x86 so lirc-0.7.2 should be
> marked stable on x86 too.

0.7.2 will not work due to 'verify_area'. check
http://bugs.gentoo.org/show_bug.cgi?id=106683
Comment 11 Aidan Thornton 2005-11-05 16:55:53 UTC
(In reply to comment #10)  
In my experience, lirc 0.7.2 works on gentoo-sources 2.6.13 and possibly 
2.6.12 (whereas the version marked stable, 0.7.0 IIRC, doesn't) - the bug 
reports also suggest 0.7.1 doesn't work.  
 
Even 0.7.2 doesn't compile on 2.6.14 as-is due to the aforementioned bug 
#106683, but that kernel's not marked stable on any platform (and hopefully 
won't be until this is fixed in portage) and 2.6.13 currently is. 
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2005-11-17 23:30:34 UTC

*** This bug has been marked as a duplicate of 111820 ***