All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] integrated drivers not built?
@ 2012-06-27 10:22 Kronander Klas
  2012-06-27 12:26 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Kronander Klas @ 2012-06-27 10:22 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hello,

Is there some special configuration that must be set in order to build the integrated drivers (specifically the can-related ones)?

I built xenomai, but I am not able to load any of the drivers. When looking in /lib/modules/[MYKERNEL]/ folder, I find the drivers listed in modules.builtin:

cat /lib/modules/[MYKERNEL]/modules.builtin | grep xeno

kernel/kernel/xenomai/nucleus/xeno_nucleus.ko
kernel/kernel/xenomai/skins/native/xeno_native.ko
kernel/kernel/xenomai/skins/posix/xeno_posix.ko
kernel/kernel/xenomai/skins/rtdm/xeno_rtdm.ko
kernel/drivers/xenomai/can/xeno_can.ko
kernel/drivers/xenomai/can/sja1000/xeno_can_sja1000.ko
kernel/drivers/xenomai/can/sja1000/xeno_can_peak_pci.ko
kernel/drivers/xenomai/serial/xeno_16550A.ko
kernel/drivers/xenomai/testing/xeno_timerbench.ko
kernel/drivers/xenomai/testing/xeno_switchtest.ko

but I can't find any of these object files on the paths specified in the moduels.builtin file.  There is no xenomai directory in /lib/modules/[MYKERNEL]/kernel/drivers, which I believe there should be?

Are the modules even built, and if so, where are they? I built xenomai using:
cd /usr/src/xenomai-2.5.5.2
sudo ./configure --enable-dlopen-skins
sudo make
sudo make install

I hope someone can clarify this, thanks in advance
Klas Kronander


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] integrated drivers not built?
  2012-06-27 10:22 [Xenomai] integrated drivers not built? Kronander Klas
@ 2012-06-27 12:26 ` Gilles Chanteperdrix
  2012-06-27 12:38   ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-27 12:26 UTC (permalink / raw)
  To: Kronander Klas; +Cc: xenomai@xenomai.org

On 06/27/2012 12:22 PM, Kronander Klas wrote:
> Hello,
> 
> Is there some special configuration that must be set in order to
> build the integrated drivers (specifically the can-related ones)?
> 
> I built xenomai, but I am not able to load any of the drivers. When
> looking in /lib/modules/[MYKERNEL]/ folder, I find the drivers listed
> in modules.builtin:
> 
> cat /lib/modules/[MYKERNEL]/modules.builtin | grep xeno
> 
> kernel/kernel/xenomai/nucleus/xeno_nucleus.ko 
> kernel/kernel/xenomai/skins/native/xeno_native.ko 
> kernel/kernel/xenomai/skins/posix/xeno_posix.ko 
> kernel/kernel/xenomai/skins/rtdm/xeno_rtdm.ko 
> kernel/drivers/xenomai/can/xeno_can.ko 
> kernel/drivers/xenomai/can/sja1000/xeno_can_sja1000.ko 
> kernel/drivers/xenomai/can/sja1000/xeno_can_peak_pci.ko 
> kernel/drivers/xenomai/serial/xeno_16550A.ko 
> kernel/drivers/xenomai/testing/xeno_timerbench.ko 
> kernel/drivers/xenomai/testing/xeno_switchtest.ko
> 
> but I can't find any of these object files on the paths specified in
> the moduels.builtin file.  There is no xenomai directory in
> /lib/modules/[MYKERNEL]/kernel/drivers, which I believe there should
> be?

All modules named xeno_* are xenomai modules.

> 
> Are the modules even built, and if so, where are they? I built
> xenomai using: cd /usr/src/xenomai-2.5.5.2 sudo ./configure
> --enable-dlopen-skins sudo make sudo make install

Xenomai 2.5.5.2 is doubly outdated:
- it is not the latest stable release in the 2.5 branch;
- 2.5 is not the latest stable branch, 2.6 is.

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai] integrated drivers not built?
  2012-06-27 12:26 ` Gilles Chanteperdrix
@ 2012-06-27 12:38   ` Gilles Chanteperdrix
  0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2012-06-27 12:38 UTC (permalink / raw)
  To: Kronander Klas; +Cc: xenomai@xenomai.org

On 06/27/2012 02:26 PM, Gilles Chanteperdrix wrote:
> On 06/27/2012 12:22 PM, Kronander Klas wrote:
>> Hello,
>>
>> Is there some special configuration that must be set in order to
>> build the integrated drivers (specifically the can-related ones)?
>>
>> I built xenomai, but I am not able to load any of the drivers. When
>> looking in /lib/modules/[MYKERNEL]/ folder, I find the drivers listed
>> in modules.builtin:
>>
>> cat /lib/modules/[MYKERNEL]/modules.builtin | grep xeno
>>
>> kernel/kernel/xenomai/nucleus/xeno_nucleus.ko 
>> kernel/kernel/xenomai/skins/native/xeno_native.ko 
>> kernel/kernel/xenomai/skins/posix/xeno_posix.ko 
>> kernel/kernel/xenomai/skins/rtdm/xeno_rtdm.ko 
>> kernel/drivers/xenomai/can/xeno_can.ko 
>> kernel/drivers/xenomai/can/sja1000/xeno_can_sja1000.ko 
>> kernel/drivers/xenomai/can/sja1000/xeno_can_peak_pci.ko 
>> kernel/drivers/xenomai/serial/xeno_16550A.ko 
>> kernel/drivers/xenomai/testing/xeno_timerbench.ko 
>> kernel/drivers/xenomai/testing/xeno_switchtest.ko
>>
>> but I can't find any of these object files on the paths specified in
>> the moduels.builtin file.  There is no xenomai directory in
>> /lib/modules/[MYKERNEL]/kernel/drivers, which I believe there should
>> be?
> 
> All modules named xeno_* are xenomai modules.

Sorry, I misunderstood the question. You want to know how to build and
install modules. I suggest you read:
http://kernelnewbies.org/FAQ/KernelCompilation

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-27 12:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27 10:22 [Xenomai] integrated drivers not built? Kronander Klas
2012-06-27 12:26 ` Gilles Chanteperdrix
2012-06-27 12:38   ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.