[Vserver] Re: vserver, kernel 2.6.11.7 and lirc

From: Milan Zamazal <pdm_at_zamazal.org>
Date: Mon 17 Jul 2006 - 16:16:08 BST
Message-ID: <87u05ggt3b.fsf@zamazal.org>

I tried to get lirc run on my vserver enabled Linux 2.6.17. It didn't
work and I can see I receive the same error as was reported more than a
year ago (see below). Does anybody run lirc on vserver successfully?
(If not, I'll probably try to find some workaround myself, but it may
take infinite time due to the priority of this task in my scheduler.)

Thanks,

Milan Zamazal

>>>>> "HP" == Herbert Poetzl <herbert@13thfloor.at> writes:

    HP> On Tue, Apr 19, 2005 at 08:27:51PM +0200, Thorsten Busse wrote:
>> Hi,
>>

>> on a vanilla kernel 2.6.11.7 with applied vserver patches lirc 0.7.0
>> doesn't work the way expected:
>>
>> Loading the driver mceusb produces the following error messages
>> in the logs:
>>
>> Apr 10 17:46:39 localhost kernel: lirc_dev: Unknown symbol
>> vx_rmap_pid Apr 10 17:46:39 localhost kernel: lirc_mceusb:
>> Unknown symbol lirc_unregister_plugin Apr 10 17:46:39 localhost
>> kernel: lirc_mceusb: Unknown symbol lirc_register_plugin
>>
>> Lirc works with the same kernel sources without vserver patches
>> without a glitch. Any hints how this issue could be solved?

    HP> yup, I see a few options there ...

    HP> a) the easy one

    HP> pay a visit to the #vserver irc channel, with the lirc patch
    HP> handy and politely ask me to make the adjustments for you ;)

    HP> b) the salutary one

    HP> look where vx_rmap_pid() is used in the vserver kernel
    HP> sources, discover that find_task_by_pid() was renamed to
    HP> find_task_by_real_pid and instead of the original there is a
    HP> version doing some reverse mapping ... then decide which one is
    HP> appropriate for lirc_{un,}register_plugin() and add the proper
    HP> includes for the code ...

    HP> c) the smart one

    HP> figure that the call to find_task_by_pid() is somewhat fishy
    HP> and replace it by a better design

    HP> HTH, Herbert

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Jul 17 16:22:04 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 17 Jul 2006 - 16:22:09 BST by hypermail 2.1.8