[elrepo] lirc_serial recommendation?
Wade Berrier
wberrier at gmail.com
Tue Jan 6 01:04:42 EST 2015
On Jan 04 22:19, Wade Berrier wrote:
> On Jan 04 16:50, Phil Perry wrote:
> > On 04/01/15 14:10, Phil Perry wrote:
> > > On 04/01/15 14:03, Akemi Yagi wrote:
> > >> On Sun, Jan 4, 2015 at 4:46 AM, Phil Perry <phil at elrepo.org> wrote:
> > >>> On 04/01/15 01:08, Wade Berrier wrote:
> > >>>> Hello,
> > >>>>
> > >>>> What is the recommended way to install or build an lirc_serial package?
> > >>>> It's in the kernel staging area.
> > >>>>
> > >>>> I see that fedora ships staging drivers, but not enterprise linux.
> > >>>>
> > >>>> I'm specifically interested in el7.
> > >>>>
> > >>>> Recommendations to proceed?
> > >>>>
> > >>>> Thanks,
> > >>>>
> > >>>> Wade
> > >>
> > >>> Hi Wade,
> > >>>
> > >>> We have two options. We can either build the modules within a kernel or
> > >>> build them as standalone kmod (kernel module) packages.
> > >>>
> > >>> If you are a CentOS user we could ask Akemi if she would consider
> > >>> enabling these modules within the CentOS-Plus kernel - that is an el7
> > >>> kernel maintained by the CentOS project within which they have the
> > >>> flexibility to enable drivers (or apply patches) that Red Hat have
> > >>> chosen to ignore.
> > >>>
> > >>> The other option is that elrepo builds the driver as a standalone kmod
> > >>> package for you, backported from the latest 3.10.x kernel.
> > >>
> > >> The kmod option is the way to go whenever possible.
> > >>
> > >> The source code that is not enabled in the RHEL kernel is not being
> > >> maintained (updated), so it might have bugs and security issues.
> > >> Fedora is a moving target and its kernel is much newer.
> > >>
> > >> In addition, kmods can serve the whole EL community better. Switching
> > >> the kernel to the centosplus kernel may not be trivial if you are not
> > >> a CentOS user.
> > >>
> > >> Of course this does not mean I am unwilling to enable it in the plus
> > >> kernel. I will do that if a request is made. Then people can have a
> > >> choice. :)
> > >>
> > >> Akemi
> > >
> > > Thanks Akemi.
> > >
> > > I'll see if I can make a kmod package for this later today and get it
> > > out into the testing repository.
> > >
> > > Phil
> > >
> >
> > Hi Wade,
> >
> > I've built a kmod-lirc package from the drivers in staging of
> > kernel-3.10.63. It's currently syncing to our mirrors and should show up
> > shortly in the testing repository:
> >
> > http://elrepo.org/linux/testing/el7/x86_64/RPMS/kmod-lirc-0.0-1.el7.elrepo.x86_64.rpm
> >
> > The package contains the following lirc modules:
> >
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_bt829.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_igorplugusb.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_imon.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_parallel.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_sasem.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_serial.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_sir.ko
> > /lib/modules/3.10.0-123.el7.x86_64/extra/lirc/lirc_zilog.ko
> >
> > To test, please install with:
> >
> > yum --enablerepo=elrepo-testing install kmod-lirc
> >
> > Please could you let us know how the package works for you. You will
> > need to make sure the correct module for your hardware is loaded.
>
> Wow, thank you for the work on this. It looks great and I plan on
> trying it out in the next few days. I'll let you know how it goes.
>
Looks like something isn't quite right:
------------------
warning: kmod-lirc-0.0-1.el7.elrepo.x86_64.rpm: Header V4 DSA/SHA1
Signature, key ID baadae52: NOKEY
################################# [100%]
Updating / installing...
################################# [100%]
Working. This may take some time ...
sed: -e expression #1, char 36: unterminated `s' command
modinfo: ERROR: Module /lib/modules/3.10.0-123.13.2.el7.x86_64/weak-updates/ not found.
/sbin/weak-modules: line 226: $tmpdir/extra-symvers-$module_krel: ambiguous redirect
sort: cannot read: 3.10.0-123.el7.x86_64: No such file or directory
join: extra operand '/tmp/weak-modules.Yzhbv3/modvers'
Try 'join --help' for more information.
Done.
------------------
I'm running the latest kernel from updates (with all previous versions removed).
[root at eltest wberrier]# uname -a
Linux eltest 3.10.0-123.13.2.el7.x86_64 #1 SMP Thu Dec 18 14:09:13 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
------------------
But, I was able to load the lirc_serial module in a vm just fine.
------------------
On a different machine (one that I actually have a remote hooked up
to), I'm getting this for some reason:
[ 5339.248363] Request for unknown module key 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key: f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11
[ 5339.248461] lirc_serial: disagrees about version of symbol lirc_register_driver
[ 5339.248464] lirc_serial: Unknown symbol lirc_register_driver (err -22)
But, that's a pxeboot nfs root machine, which has been a bit finicky,
so it may be related to something else, I'm not sure just yet.
uname -a
Linux myth 3.10.0-123.13.2.el7.x86_64 #1 SMP Thu Dec 18 14:09:13 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
(same kernel version as above)
------------------
Ideas about the module installation and "disagreeing symbol version"?
Wade
More information about the elrepo
mailing list