[etherlab-users] Error loading generic module on kernel 3.2.0 with RT-Preempt

Raz Ben Yehuda rbenyehuda at manz.com
Thu Jun 28 09:06:28 CEST 2012


are you sure you are directed to RT PREEMPT KERNEL SOURCE ? 

On Wed, 2012-06-27 at 17:53 +0200, hamelin.philippe at ireq.ca wrote:
> Hello,
>  
> I'm trying to use the IgH EtherCAT Master on Ubuntu 12.04. I'm using
> the 3.2.0 kernel with RT-Preempt patches from this PPA:
> https://launchpad.net/~abogani/+archive/realtime. During compilation
> of the kernel modules, I get the following warnings:
>  
>   Building modules, stage 2.
>   MODPOST 3 modules
> WARNING:
> "ecrt_slave_config_state" [/home/hamelinp/devroot/ethercat-1.5.1-rt/examples/mini/ec_mini.ko] undefined!
> WARNING:
> "ecrt_slave_config_pdos" [/home/hamelinp/devroot/ethercat-1.5.1-rt/examples/mini/ec_mini.ko] undefined!
> WARNING:
> "_raw_read_lock" [/home/hamelinp/devroot/ethercat-1.5.1-rt/devices/ec_generic.ko] undefined!
> WARNING:
> "_raw_read_unlock" [/home/hamelinp/devroot/ethercat-1.5.1-rt/devices/ec_generic.ko] undefined!
> 
> CC      /home/hamelinp/devroot/ethercat-1.5.1-rt/devices/ec_generic.mod.o
>   LD
> [M]  /home/hamelinp/devroot/ethercat-1.5.1-rt/devices/ec_generic.ko
> 
> CC      /home/hamelinp/devroot/ethercat-1.5.1-rt/examples/mini/ec_mini.mod.o
>   LD
> [M]  /home/hamelinp/devroot/ethercat-1.5.1-rt/examples/mini/ec_mini.ko
> 
> CC      /home/hamelinp/devroot/ethercat-1.5.1-rt/master/ec_master.mod.o
>   LD [M]  /home/hamelinp/devroot/ethercat-1.5.1-rt/master/ec_master.ko
>  
>  
> Indeed, when trying to load the module I get this error:
>  
> FATAL: Error inserting ec_generic
> (/lib/modules/3.2.0-23-realtime-pae/ethercat/devices/ec_generic.ko):
> Unknown symbol in module, or unknown parameter (see dmesg)
>  
> and in dmesg:
>  
> [ 2487.244002] EtherCAT: Master driver 1.5.1 0f7a243b03e4
> [ 2487.244013] EtherCAT: 0 masters waiting for devices.
> [ 2487.244114] ec_generic: Unknown symbol _raw_read_unlock (err 0)
> [ 2487.244122] ec_generic: Unknown symbol _raw_read_lock (err 0)
> 
> Using this command:
>  
> cat /proc/kallsyms | grep raw_read_unlock
>  
> I can confirm that these symbols are not available. However, I have a
> 'rt_read_unlock' available in the symbols table.
>  
> Any hint?
>  
> Thank you,
>  
> ------------------------------------
> Philippe Hamelin, ing., M. Ing
> Chercheur / Researcher
> 
> T: 450-652-8499 x2198
> F: 450-652-1316
> 
> Expertise robotique et civil
> Institut de recherche d'Hydro-Qu├ębec (IREQ)
> 1740, boul. Lionel-Boulet
> Varennes (QC) J3X 1S1, Canada
> 
>  

-- 

http://raziebe.wix.com/ironspeedlinux#!Home/mainPage 





More information about the Etherlab-users mailing list