(rteth0): failed to find device 4 'rteth0' with udev device (rteth0-mac): failed to find device 5 'rteth0-mac' with udev

2019-02-27 Thread Ashok kumar via Xenomai
Hi,
while starting rtnet I found the below message and I am not able to rtping
(rteth0): failed to find device 4 'rteth0' with udev   device (rteth0-mac):
failed to find device 5 'rteth0-mac' with udev

start running ordered scripts...
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.223795] RTnet:
registered rteth0
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.223797] rt_e1000e: (PCI
Express:2.5GT/s:Width x1) 00:1b:21:63:5e:5b
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.223797] rt_e1000e:
Intel(R) PRO/1000 Network Connection
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.223809] rt_e1000e: MAC:
3, PHY: 8, PBA No: E25867-006
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.232336] initializing
loopback...
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.232345] RTnet:
registered rtlo
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7894] device (rteth0): failed to find device 4 'rteth0' with
udev
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7894] device (rteth0): driver '(null)' does not support carrier
detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7896] device (rteth0): driver 'unknown' does not support
carrier detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.235327] RTcap:
real-time capturing interface
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7903] manager: (rteth0): new Ethernet device
(/org/freedesktop/NetworkManager/Devices/3)
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7906] device (rteth0-mac): failed to find device 5 'rteth0-mac'
with udev
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7907] device (rteth0-mac): driver '(null)' does not support
carrier detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7908] device (rteth0-mac): driver 'unknown' does not support
carrier detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7915] manager: (rteth0-mac): new Ethernet device
(/org/freedesktop/NetworkManager/Devices/4)
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7918] device (rtlo): failed to find device 6 'rtlo' with udev
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7918] device (rtlo): driver '(null)' does not support carrier
detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7920] device (rtlo): driver 'unknown' does not support carrier
detection.
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.7928] manager: (rtlo): new Ethernet device
(/org/freedesktop/NetworkManager/Devices/5)
Feb 27 20:54:48 texsonics-AmITX-SL-G whoopsie[1956]: [20:54:48] Cannot
reach: https://daisy.ubuntu.com
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2624]: Process
'bridge-network-interface' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2625]: Process
'bridge-network-interface' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2624]: Process
'/lib/resolvconf/net-interface-handler start' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2625]: Process
'/lib/resolvconf/net-interface-handler start' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2623]: Process
'bridge-network-interface' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2623]: Process
'/lib/resolvconf/net-interface-handler start' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G ifupdown-hotplug[2646]: Bad ifupdown
udev helper invocation: $INTERFACE is not set
Feb 27 20:54:48 texsonics-AmITX-SL-G ifupdown-hotplug[2645]: Bad ifupdown
udev helper invocation: $INTERFACE is not set
Feb 27 20:54:48 texsonics-AmITX-SL-G ifupdown-hotplug[2650]: Bad ifupdown
udev helper invocation: $INTERFACE is not set
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2625]: Process
'ifupdown-hotplug' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2624]: Process
'ifupdown-hotplug' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G systemd-udevd[2623]: Process
'ifupdown-hotplug' failed with exit code 1.
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.247081] RTcfg: init
real-time configuration distribution protocol
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.252087] RTmac: init
realtime media access control
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.255033] RTmac/TDMA:
init time division multiple access control mechanism
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.255956] RTcfg:
rtcfg_do_main_event() rtdev=1, event=RTCFG_CMD_SERVER, state=RTCFG_MAIN_OFF
Feb 27 20:54:48 texsonics-AmITX-SL-G kernel: [   63.255957] RTcfg: next
main state=RTCFG_MAIN_SERVER_RUNNING
Feb 27 20:54:48 texsonics-AmITX-SL-G NetworkManager[967]: 
[1551281088.8792] device (vnic0): failed to find device 7 'vnic0' with udev
Feb 27 

[Xenomai] How to allocate Cpu core and memory segment for xenomai kernel in boot configuration

2018-08-03 Thread Ashok kumar
Hi,

I am using xenomai-3 with Rtnet for controlling servo drive  using ethercat
protocol, to control 4 servo drive when I increase the slaves such as servo
drive I get ethercat frames missing in Rtnet.

I have used isolcpus  to isolate a core and taskset -c 0 to run my
application on the particular core but still I am not able to achieve
timings 1ms  to send ethercat frames.

I used numactl and allocated a memory node for my application and still I
am not able to achieve 1ms  to send ethercat frames at accurate time.

*can you help me steps or procedure to provide a dedicated cpu core and
memory segment for xenomai kernel to use so that other application will not
take cpu core timings and memory , while booting xenomai kernel or running
xenomai application.*

Thank you
R.Ashokkumar



 Sent with Mailtrack

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] task sleep time is getting added when I move my mouse

2018-07-24 Thread Ashok kumar
Hi,

I mention below a sample code of my project using soem I use the task
function as below.

ret4 = rt_task_create(_Pll_task, "Dc_time_Pll_task", 0, 99, 0);


void Dc_time_Pll_function()
{

 struct timespec   ts, tleft;

 static int64 integral = 0;

 int64 sec, nsec,delta, cycletime=100;

 clock_gettime(CLOCK_MONOTONIC, );
 while(1)
 {
 previous1 = rt_timer_read();   //read time

 input_ek1818  = (Ek1818_data_inputt *)
ec_slave[slave_pos_beck_digitalIO].inputs;//struct
pointers to slave I/O pointers inputs//
 output_ek1818 = (Ek1818_data_outputt*) ec_slave[slave_pos_beck_
digitalIO].outputs;
 in_EL5101 = (in_EL5101t*) ec_slave[slave_pos_beck_
encoderinterface].inputs;
 out_EL5101= (out_EL5101t*) ec_slave[slave_pos_beck_
encoderinterface].outputs;

 nsec = (cycletime + offsettime) % NSEC_PER_SEC;
 sec  = ((cycletime + offsettime) - nsec) / NSEC_PER_SEC;

 ts.tv_sec += sec;
 ts.tv_nsec += nsec;

 if (ts.tv_nsec >= NSEC_PER_SEC )
 {
   nsec = ts.tv_nsec % NSEC_PER_SEC;
   ts.tv_sec += (ts.tv_nsec - nsec) / NSEC_PER_SEC;
   ts.tv_nsec = nsec;
 }
 clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ,
);
   // Loop user code here

if (ec_slave[0].hasdc)
{
  //ec_Dctime is the system time synchronised with Ethercat
slave
  delta = (ec_DCtime -(cycletime/4)) % cycletime;
  if(delta > (cycletime / 2))
  {
   delta= delta - cycletime;
  }

 if(delta>0)
  {
   integral++;
  }

 if(delta<0)
  {
  integral--;
  }
  offsettime = -(delta / 100) - (integral / 20);
}

}
}

and I am using clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ,
); to wait for a time untill the sleep wakes up this routine
works good,

but when I move a mouse the clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME,
, );  gets some amount of microsecond added then, and my ethercat
slave loss frame but the slave is synchronised with master.


can anybody solve the problem such that when I move my mouse or keyboard
clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, , );  nanosleep
time should not get jumped or time get added to it so that


I dont loss any ethercat frames.

ret4 = rt_task_create(_Pll_task, "Dc_time_Pll_task", 0, 99, 0);
and the task priority I set is high.


Thank you

R. Ashokkumar





‌
 Sent with Mailtrack

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] task sleep time is getting added when I move my mouse

2018-07-24 Thread Ashok kumar
Hi,

I mention below a sample code of my project using soem I use the task
function as below

void Dc_time_Pll_function()
{

 struct timespec   ts, tleft;

 static int64 integral = 0;

 int64 sec, nsec,delta, cycletime=100;

 clock_gettime(CLOCK_MONOTONIC, );
 while(1)
 {
 previous1 = rt_timer_read();   //read time

 input_ek1818  = (Ek1818_data_inputt *)
ec_slave[slave_pos_beck_digitalIO].inputs;//struct pointers to slave I/O
pointers inputs//
 output_ek1818 = (Ek1818_data_outputt*)
ec_slave[slave_pos_beck_digitalIO].outputs;
 in_EL5101 = (in_EL5101t*)
ec_slave[slave_pos_beck_encoderinterface].inputs;
 out_EL5101= (out_EL5101t*)
ec_slave[slave_pos_beck_encoderinterface].outputs;

 nsec = (cycletime + offsettime) % NSEC_PER_SEC;
 sec  = ((cycletime + offsettime) - nsec) / NSEC_PER_SEC;

 ts.tv_sec += sec;
 ts.tv_nsec += nsec;

 if (ts.tv_nsec >= NSEC_PER_SEC )
 {
   nsec = ts.tv_nsec % NSEC_PER_SEC;
   ts.tv_sec += (ts.tv_nsec - nsec) / NSEC_PER_SEC;
   ts.tv_nsec = nsec;
 }
 clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ,
);
   // Loop user code here

if (ec_slave[0].hasdc)
{
  //ec_Dctime is the system time synchronised with Ethercat
slave
  delta = (ec_DCtime -(cycletime/4)) % cycletime;
  if(delta > (cycletime / 2))
  {
   delta= delta - cycletime;
  }

 if(delta>0)
  {
   integral++;
  }

 if(delta<0)
  {
  integral--;
  }
  offsettime = -(delta / 100) - (integral / 20);
}

}
}

and I am using clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, ,
); to wait for a time untill the sleep wakes up this routine
works good,

but when I move a mouse the clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME,
, );  gets some amount of microsecond added then, and my ethercat
slave loss frame but the slave is synchronised with master.


can anybody solve the problem such that when I move my mouse or keyboard
clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, , );  nanosleep
time should not get jumped or time get added to it so that

I dont loss any ethercat frames.

Thank you

R. Ashokkumar






‌
 Sent with Mailtrack

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] in rtnet Xenomai: RTDM: closing file descriptor 0.

2018-07-19 Thread Ashok kumar
in rtnet

I am getting below message and frame is not sending


Xenomai: RTDM: closing file descriptor 0.
Jul 19 13:16:05 texsonics1-UDOO-x86 kernel: [10809.573905] Xenomai: native:
cleaning up mutex "getindex_mutex" (ret=0).
Jul 19 13:16:05 texsonics1-UDOO-x86 kernel: [10809.573918] Xenomai: native:
cleaning up mutex "tx_mutex" (ret=0).
Jul 19 13:16:05 texsonics1-UDOO-x86 kernel: [10809.573925] Xenomai: native:
cleaning up mutex "rx_mutex" (ret=0).

Thank you
R.Ashokkumar
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] rtnet , rt_e1000e is not getting loaded in kernel

2018-07-18 Thread Ashok kumar
Hi,
when I start rtnet and look in to dmesg I get
this

 e1000e :01:00.0 eth0: removed PHC
[14084.361544] e1000e: eth0 NIC Link is Down
[14084.404356] rt_e1000e :01:00.0: Disabling ASPM L0s
[14084.519260] RTnet: registered rteth0
[14084.519261] rt_e1000e: (PCI Express:2.5GT/s:Width x1) 68:05:ca:2d:b4:0e
[14084.519262] rt_e1000e: Intel(R) PRO/1000 Network Connection
[14084.519273] rt_e1000e: MAC: 3, PHY: 8, PBA No: E46981-008
[14084.522581] initializing loopback...
[14084.522590] RTnet: registered rtlo
[14090.273229] e1000e: rteth0 NIC Link is Up 100 Mbps Full Duplex, Flow
Control: None
[14090.273231] rt_e1000e: 10/100 speed: disabling TSO

I want to load rt_e1000e :rteth0 to get loaded, instead of e1000e :rteth0

Is that rtnet , rt_e1000e correctly got loaded in kernel ?


Thank you
Ashokkumar
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] rt_e1000e is not getting loaded : e1000e: rteth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None

2018-07-17 Thread Ashok kumar
Hi,

I am starting rtnet and using dmesg I get this output

e1000e: rteth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 2141.574339] rt_e1000e: 10/100 speed: disabling TSO

rt_e1000e is not getting loaded in rteth0

e1000e: rteth0 NIC Link is Up 100 Mbps, e1000e is only getting loaded
instead of rt_e1000e

I don’t find any difference in eth0 and rteth0,

I am using SOEM ethercat protocol for controlling servo drive and *EL5101*
| Incremental *encoder* interface

and I am using xenomai-3.07 with linux 4.9.90 patch

can you help to to get load the rt_e1000e.

Thank you
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] rt_e1000e is not getting loaded : e1000e: rteth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None

2018-07-17 Thread Ashok kumar
Hi,

I am starting rtnet and using dmesg I get this output

e1000e: rteth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 2141.574339] rt_e1000e: 10/100 speed: disabling TSO

rt_e1000e is not getting loaded in rteth0

e1000e: rteth0 NIC Link is Up 100 Mbps, e1000e is only getting loaded
instead of rt_e1000e

I don’t find any difference in eth0 and rteth0,

I am using SOEM ethercat protocol for controlling servo drive and *EL5101*
| Incremental *encoder* interface

can you help to to get load the rt_e1000e.

Thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] can I install linux- 4.9.90 with xenomai 3.0.7 on i3 processor

2018-07-12 Thread Ashok kumar
can I install linux- 4.9.90 with xenomai 3.0.7 on i3 processor
I have mentioned lscpu terminal output

root@texsonics:/usr/src# lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):4
On-line CPU(s) list:   0-3
Thread(s) per core:2
Core(s) per socket:2
Socket(s): 1
NUMA node(s):  1
Vendor ID: GenuineIntel
CPU family:6
Model: 158
Stepping:  9
CPU MHz:   800.000
BogoMIPS:  7823.98
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  3072K
NUMA node0 CPU(s): 0-3

or anyother specific processor mother board is there for this xenomai-3.0.7

and can you suggest x86 architecture 64 bit processor and mother board for
xenomai-3.0.7

Thank you
R.Ashokkumar
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] BUG: unable to handle kernel paging request

2018-07-12 Thread Ashok kumar
Thank you for your reply,

can I install linux- 4.9.90 with xenomai 3.0.7 on i3 processor
I have mentioned lscpu terminal output

root@texsonics:/usr/src# lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):4
On-line CPU(s) list:   0-3
Thread(s) per core:2
Core(s) per socket:2
Socket(s): 1
NUMA node(s):  1
Vendor ID: GenuineIntel
CPU family:6
Model: 158
Stepping:  9
CPU MHz:   800.000
BogoMIPS:  7823.98
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  3072K
NUMA node0 CPU(s): 0-3

or anyother specific processor mother board is there for this xenomai-3.0.7

and can you suggest x86 architecture 64 bit processor and mother board for
xenomai-3.0.7

Thank you
R.Ashokkumar

On Thu, Jul 12, 2018 at 7:39 PM, Henning Schild 
wrote:

> Am Thu, 12 Jul 2018 19:22:39 +0530
> schrieb Ashok kumar :
>
> > Hi,
> >
> > I am patching  linux- 3.14.44 with -xenomai-2.6.4,  I am using
> > ipipe-core-3.14.44-x86-12.patch
>
> Ok, have you tried 4.9.90 with xenomai 3.0.7? What you are using is far
> from still being supported.
>
> The only possible reason you are using such an outdated kernel is
> because you rely on other patches as well. Do you see the same bug when
> not applying these other patches?
>
> > and in menu config
> >
> > Required Options:
> > * Real-time sub-system
> >   --> Xenomai (Enable)
> >   --> Nucleus (Enable)
> > * Power management and ACPI options
> >   --> Run-time PM core functionality (Disable)
> >   --> ACPI (Advanced Configuration and Power Interface) Support
> >   --> Processor (Disable)
> >   --> CPU Frequency scaling
> >   --> CPU Frequency scaling (Disable)
> >   --> CPU idle
> >   --> CPU idle PM support (Disable)
> >
> > after installing the xenomai user library, while  checking latency I
> > am getting the following error
> >
> > BUG: unable to handle kernel paging  request
> >
> > I have attached the screen shot of this bug
>
> Please attach a serial console and provide this as text.
>
> Henning
>
> > anybody can help me to solve this issue
> >
> > Thank you
> > R.Ashokkumar
> > -- next part --
> > A non-text attachment was scrubbed...
> > Name: Screenshot from 2018-07-12 19:14:08.png
> > Type: image/png
> > Size: 129556 bytes
> > Desc: not available
> > URL:
> > <http://xenomai.org/pipermail/xenomai/attachments/20180712/
> df4ce641/attachment.png>
> > ___ Xenomai mailing list
> > Xenomai@xenomai.org
> > https://xenomai.org/mailman/listinfo/xenomai
>
>
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] BUG: unable to handle kernel paging request

2018-07-12 Thread Ashok kumar
Hi,

I am patching  linux- 3.14.44 with -xenomai-2.6.4,  I am using
ipipe-core-3.14.44-x86-12.patch

and in menu config

Required Options:
* Real-time sub-system
  --> Xenomai (Enable)
  --> Nucleus (Enable)
* Power management and ACPI options
  --> Run-time PM core functionality (Disable)
  --> ACPI (Advanced Configuration and Power Interface) Support
  --> Processor (Disable)
  --> CPU Frequency scaling
  --> CPU Frequency scaling (Disable)
  --> CPU idle
  --> CPU idle PM support (Disable)

after installing the xenomai user library, while  checking latency I am
getting the following error

BUG: unable to handle kernel paging  request

I have attached the screen shot of this bug

anybody can help me to solve this issue

Thank you
R.Ashokkumar
-- next part --
A non-text attachment was scrubbed...
Name: Screenshot from 2018-07-12 19:14:08.png
Type: image/png
Size: 129556 bytes
Desc: not available
URL: 

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] xeno_nucleus.xenomai_gid=125 crashkernel=384M-:128M

2018-07-02 Thread Ashok kumar
hi,

when I did

dmesg | grep -i crash

[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-3.14.17-xenomai-2.6.4
root=UUID=813858f4-8e1e-4ace-8f8f-ceac0a0ca164 ro
xeno_nucleus.xenomai_gid=125 crashkernel=384M-:128M

I got this above message
will this create problem in rtdm
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] modules folder missing in usr/xenomai & modules not getting compiled in xenomai 2.6.4 - xeno_hal.ko xeno_rtdm.ko xeno_nucleus.ko

2018-06-30 Thread Ashok kumar
Hi,

I have patched the xenomai-2.6.4 with linux-3.14.17
after that I am running xenomai user library

cd
/usr/src

sudo
mkdir build_xenomai-2.6.4

cd
build_xenomai-2.6.4

in build_xenomai-2.6.4
I have  config.log, config.status and makefile generated
after running configure command below

sudo  ../xenomai-2.6.4/configure --enable-shared --enable-smp
--enable-x86-sepsudo make

make install

the modules folder missing in usr/xenomai & modules not getting
compiled in xenomai 2.6.4

I have attached the config.log, config.status and makefile for your
reference and I am using autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.11.6 aclocal (GNU automake) 1.11.6

help me to get the modules xeno_hal.ko xeno_rtdm.ko xeno_nucleus.ko

getting compiled from the makefile generated.

is there any guidelines for configuring ,compiling xenomai-2.6.4
,user-space libraries and header files

Thank you

R.Ashokkumar
-- next part --
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 87103 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: config.status
Type: application/octet-stream
Size: 75741 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: libtool
Type: application/octet-stream
Size: 293593 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 27174 bytes
Desc: not available
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 12235 bytes
Desc: not available
URL: 

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] BUG: unable to handle kernel paging request at 00007ffccbd27e10 using rtnet -xenomai-3.0.5

2018-06-28 Thread Ashok kumar
Hi,

I am using rtnet with xenomai-3.0.5
and soem ethercat  code to communicate with EK1818 Ethercat coupler , I am
getting the following message in my syslog

and I am not able to get slave information.

Jun 28 19:01:41 texsonics kernel: [ 2173.562482]
BUG: unable to handle kernel paging request at 7ffccbd27e10

Jun 28 19:01:41 texsonics kernel: [ 2173.562518]
IP: [] strncmp+0xc/0x50

Jun 28 19:01:41 texsonics kernel: [ 2173.562541]
PGD 6d0f7067

Jun 28 19:01:41 texsonics kernel: [ 2173.562552]
PUD 8484c067

Jun 28 19:01:41 texsonics kernel: [ 2173.562563]
PMD 6d263067

Jun 28 19:01:41 texsonics kernel: [ 2173.562569]
PTE 800099010867

Jun 28 19:01:41 texsonics kernel: [ 2173.562581]

Jun 28 19:01:41 texsonics kernel: [ 2173.562589]
Oops: 0001 [#1] SMP

Jun 28 19:01:41 texsonics kernel: [ 2173.562601]
Modules linked in: tdma(E) rtmac(E) rtcfg(E) rtcap(E) rt_loopback(E)
rtudp(E) rtpacket(E) rtipv4(E) nls_utf8(E) isofs(E) uas(E)
usb_storage(E) bnep(E) rfcomm(E) snd_hda_codec_hdmi(E)
snd_hda_codec_realtek(E) intel_rapl(E) snd_hda_codec_generic(E)
x86_pkg_temp_thermal(E) intel_powerclamp(E) i915(E) coretemp(E)
kvm_intel(E) snd_hda_intel(E) kvm(E) snd_hda_codec(E) snd_hda_core(E)
drm_kms_helper(E) joydev(E) input_leds(E) snd_hwdep(E) drm(E)
snd_pcm(E) snd_seq_midi(E) snd_seq_midi_event(E) snd_rawmidi(E)
snd_seq(E) irqbypass(E) snd_seq_device(E) snd_timer(E) hci_uart(E)
i2c_algo_bit(E) btbcm(E) btqca(E) btintel(E) fb_sys_fops(E) snd(E)
bluetooth(E) syscopyarea(E) crct10dif_pclmul(E) crc32_pclmul(E)
ghash_clmulni_intel(E) aesni_intel(E) soundcore(E) rt_e1000e(E)
sysfillrect(E) eeepc_wmi(E)

Jun 28 19:01:41 texsonics kernel: [ 2173.562924]
 asus_wmi(E) sparse_keymap(E) aes_x86_64(E) sysimgblt(E) mxm_wmi(E)
lrw(E) gf128mul(E) glue_helper(E) rtnet(E) acpi_als(E) serio_raw(E)
ablk_helper(E) cryptd(E) intel_lpss_acpi(E) kfifo_buf(E)
pinctrl_sunrisepoint(E) intel_lpss(E) shpchp(E) i2c_hid(E) video(E)
industrialio(E) wmi(E) mei_me(E) mei(E) pinctrl_intel(E) mac_hid(E)
parport_pc(E) ppdev(E) lp(E) parport(E) hid_generic(E) usbhid(E)
hid(E) psmouse(E) e1000e(E) ptp(E) pps_core(E) ahci(E) libahci(E)
fjes(E)

Jun 28 19:01:41 texsonics kernel: [ 2173.563124]
CPU: 0 PID: 2858 Comm: slave Tainted: GE
4.9.38-xenomai-3.0.5 #1

Jun 28 19:01:41 texsonics kernel: [ 2173.563152]
Hardware name: System manufacturer System Product Name/H110M-D, BIOS
3601 12/12/2017

Jun 28 19:01:41 texsonics kernel: [ 2173.563182]
I-pipe domain: Linux

Jun 28 19:01:41 texsonics kernel: [ 2173.563195]
task: 93b6c4866740 task.stack: bb53c1eb4000

Jun 28 19:01:41 texsonics kernel: [ 2173.563216]
RIP: 0010:[]  []
strncmp+0xc/0x50

Jun 28 19:01:41 texsonics kernel: [ 2173.563244]
RSP: 0018:bb53c1eb7d58  EFLAGS: 00010202

Jun 28 19:01:41 texsonics kernel: [ 2173.563264]
RAX: bb53c0917040 RBX: c0358780 RCX: 0072

Jun 28 19:01:41 texsonics kernel: [ 2173.563288]
RDX: 0010 RSI: 7ffccbd27e10 RDI: 93b6c48c4004

Jun 28 19:01:41 texsonics kernel: [ 2173.563313]
RBP: bb53c1eb7d58 R08: 0010 R09: 0008

Jun 28 19:01:41 texsonics kernel: [ 2173.563338]
R10: 0001 R11:  R12: 93b6c48c4000

Jun 28 19:01:41 texsonics kernel: [ 2173.563362]
R13: 7ffccbd27e10 R14: 7ffccbd27e10 R15: aa19d3f0

Jun 28 19:01:41 texsonics kernel: [ 2173.563387]
FS:  7fb983c68780() GS:93b77220()
knlGS:

Jun 28 19:01:41 texsonics kernel: [ 2173.563415]
CS:  0010 DS:  ES:  CR0: 8005003b

Jun 28 19:01:41 texsonics kernel: [ 2173.563435]
CR2: 7ffccbd27e10 CR3: 80b92000 CR4: 003406f0

Jun 28 19:01:41 texsonics kernel: [ 2173.563460]
Stack:

Jun 28 19:01:41 texsonics kernel: [ 2173.563469]
 bb53c1eb7d80 c0352152 7ffccbd27e10 

Jun 28 19:01:41 texsonics kernel: [ 2173.563500]
 00054888 bb53c1eb7da8 c0352673 93b6d8682200

Jun 28 19:01:41 texsonics kernel: [ 2173.563532]
 40180021 93b6c4866740 bb53c1eb7de0 c0355494

Jun 28 19:01:41 texsonics kernel: [ 2173.563564]
Call Trace:

Jun 28 19:01:41 texsonics kernel: [ 2173.563577]
 [] __rtdev_get_by_name+0x32/0x60 [rtnet]

Jun 28 19:01:41 texsonics kernel: [ 2173.563602]
 [] rtdev_get_by_name+0x53/0xc0 [rtnet]

Jun 28 19:01:41 texsonics kernel: [ 2173.563626]
 [] rt_socket_if_ioctl+0x34/0x240 [rtnet]

Jun 28 19:01:41 texsonics kernel: [ 2173.563651]
 [] ? CoBaLt_fcntl+0x20/0x20

Jun 28 19:01:41 texsonics kernel: [ 2173.563671]
 [] rt_packet_ioctl+0x154/0x310 [rtpacket]

Jun 28 19:01:41 texsonics kernel: [ 2173.563695]
 [] ? CoBaLt_fcntl+0x20/0x20

Jun 28 19:01:41 texsonics kernel: [ 2173.563715]
 [] rtdm_fd_ioctl+0xe1/0x210

Jun 28 19:01:41 texsonics kernel: [ 2173.563736]
 [] ? xnthread_switch_fpu+0x2d/0x40

Jun 28 19:01:41 texsonics kernel: [ 2173.563758]
 [] ? CoBaLt_fcntl+0x20/0x20

Jun 28 19:01:41 texsonics kernel: [ 2173.563778]
 [] CoBaLt_ioctl+0x10/0x20


[Xenomai] rtping not pinging in rtnet

2018-06-22 Thread Ashok kumar
Hi,

I have installed xenomai-3.0.5 and enabled rtnet
in /usr/xenomai/sbin
I started rtnet
rtnet start and I did

./rtifconfig and the output is

rteth0Medium: Ethernet  Hardware address: 68:05:CA:2D:B4:0E
  IP address: 192.168.0.5  Broadcast address: 192.168.0.255
  UP BROADCAST RUNNING  MTU: 1500

rtlo  Medium: Local Loopback
  IP address: 127.0.0.1
  UP LOOPBACK RUNNING  MTU: 1500

but when I executed rtping to other system rtping is not working
./rtping 192.168.0.4

Real-time PING 192.168.0.4 56(84) bytes of data.
ioctl: No route to host

at the same time when the other system pings with rtnet system,

After other system pings or establishes connection my rtnet system gets
communication and starts pinging using ./rtping 192.168.0.4

I need to ping rtnet system without getting error

*Real-time PING 192.168.0.4 56(84) bytes of data.*
*ioctl: No route to host*


*kindly help me to solve this issue*


Thank you
Ashokkumar
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-20 Thread Ashok kumar
Hi,

After patching and executing this command

CONCURRENCY_LEVEL=$(nproc) make-kpkg --rootcmd fakeroot --initrd
kernel_image kernel_headers

I am  get the following message
and I have attached the screen shot for you


chown -R root:root
/usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5

chmod -R og=rX /usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5

dpkg --build /usr/src/linux-4.9.38/debian/linux-headers-4.9.38-xenomai-3.0.5 ..

dpkg-deb: building package `linux-headers-4.9.38-xenomai-3.0.5' in
`../linux-headers-4.9.38-xenomai-3.0.5_4.9.38-xenomai-3.0.5-10.00.Custom_amd64.deb'.

cp -pf debian/control.dist debian/control

make[2]: Leaving directory `/usr/src/linux-4.9.38'

make[1]: Leaving directory `/usr/src/linux-4.9.38'

for module in ; do \

if test -d $module; then \

(cd $module; \

if ./debian/rules KVERS="4.9.38-xenomai-3.0.5" KSRC="/usr/src/linux-4.9.38" \

KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unkn...@unconfigured.in.etc.kernel-pkg.conf" \

KPKG_DEST_DIR="/usr/src/linux-4.9.38/.." \

KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \

ARCH=x86_64 \

KPKG_EXTRAV_ARG="" \

KDREV="4.9.38-xenomai-3.0.5-10.00.Custom" kdist; then \

echo "Module $module processed fine"; \

else \

echo "Module $module failed."; \

if [ "Xfakeroot" != "X" ]; then \

echo "Perhaps $module does not understand --rootcmd?"; \

echo "If you see messages that indicate that it is not"; \

echo "in fact being built as root, please file a bug "; \

echo "against $module."; \

fi; \

echo "Hit return to Continue?"; \

read ans; \

fi; \

); \

else \

echo "Module $module does not exist"; \

echo "Hit return to Continue?"; \

fi; \

done

for module in ; do \

if test -d $module; then \

(cd $module; \

if ./debian/rules KVERS="4.9.38-xenomai-3.0.5" KSRC="/usr/src/linux-4.9.38" \

KMAINT="Unknown Kernel Package Maintainer"
KEMAIL="unkn...@unconfigured.in.etc.kernel-pkg.conf" \

KPKG_DEST_DIR="/usr/src/linux-4.9.38/.." \

KPKG_MAINTAINER="Unknown Kernel Package Maintainer" \

KPKG_EXTRAV_ARG="" \

ARCH="x86_64" \

KDREV="4.9.38-xenomai-3.0.5-10.00.Custom" kdist_image; then \

echo "Module $module processed fine"; \

else \

echo "Module $module failed."; \

if [ "Xfakeroot" != "X" ]; then \

echo "Perhaps $module does not understand --rootcmd?"; \

echo "If you see messages that indicate that it is not"; \

echo "in fact being built as root, please file a bug "; \

echo "against $module."; \

fi; \

echo "Hit return to Continue"; \

read ans; \

fi; \

); \

else \

echo "Module $module does not exist"; \

echo "Hit return to Continue?"; \

fi; \

done



On Wed, Jun 20, 2018 at 12:16 AM, Greg Gallagher  wrote:
> You can use RTNet with Xenomai-3, please look through the mail list,
> there have been many threads about configuring RTNet and Xenomai-3.
> RTNet is built into Xenomai-3, you don't need these modules.  The link
> below has some good information on RTNet.
>
> https://gitlab.denx.de/Xenomai/xenomai/wikis/Programming
>
> For your module problem you need to look at the  make-kpkg command and
> see how to use modules_image flag.  It should build your modules.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 2:33 PM, Ashok kumar  wrote:
>> I want to use xenomai with RTnet, so that I can use soem ethercat
>> protocol for controlling applications for servo drive.
>> for this I need to load the following modules.
>>
>> sudo modprobe xeno_rtdm.ko
>> sudo modprobe xeno_hal.ko
>> sudo modprobe xeno_nucleus.ko
>>
>> I followed this links to go with, but I got struck with the problem to
>> get the modules installed,
>> mainly rtdm modules which is used to open rteth0 for ethercat communication.
>>
>> https://gist.github.com/cbhust/62a01ff22007b9695ef1da2ccc16b993
>>
>> can you please help to solve the problems to configure and to build
>> the kernel and installing the modules in x86_64 architecture.
>>
>> Thank you
>>
>>
>> On Tue, Jun 19, 2018 at 11:11 PM, Greg Gallagher  
>> wrote:
>>> You won't need them for Xenomai-3 if you aren't using things like
>>> rtnet, ipc or any driver that can be found in the Xenomai tree.  Are
>>> you using a Debian system?  This tutorial will get you started:
>>>
>>> http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai3.html
>>>
>>> You'll post later tonight my steps on building an x86 kernel.  With
>>> the above tutorial you'll need to do

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I want to use xenomai with RTnet, so that I can use soem ethercat
protocol for controlling applications for servo drive.
for this I need to load the following modules.

sudo modprobe xeno_rtdm.ko
sudo modprobe xeno_hal.ko
sudo modprobe xeno_nucleus.ko

I followed this links to go with, but I got struck with the problem to
get the modules installed,
mainly rtdm modules which is used to open rteth0 for ethercat communication.

https://gist.github.com/cbhust/62a01ff22007b9695ef1da2ccc16b993

can you please help to solve the problems to configure and to build
the kernel and installing the modules in x86_64 architecture.

Thank you


On Tue, Jun 19, 2018 at 11:11 PM, Greg Gallagher  wrote:
> You won't need them for Xenomai-3 if you aren't using things like
> rtnet, ipc or any driver that can be found in the Xenomai tree.  Are
> you using a Debian system?  This tutorial will get you started:
>
> http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai3.html
>
> You'll post later tonight my steps on building an x86 kernel.  With
> the above tutorial you'll need to do the modules_image step to
> generate an image for the modules.  If you explain what you are trying
> to achieve I may be able to help you configure you system better.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 1:26 PM, Ashok kumar  wrote:
>> can you please provide me steps to
>> configure and to build xenomai -3 in x86_64 architecture.
>>
>> to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>
>> thank you
>>
>> On Tue, Jun 19, 2018 at 10:35 PM, Ashok kumar  
>> wrote:
>>> Ok I will go through the make-kpkg command can you please provide me
>>> to how to build xenomai -3 in x86_64 architecture.
>>>
>>> to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>>
>>>
>>>
>>> On Tue, Jun 19, 2018 at 10:24 PM, Greg Gallagher  
>>> wrote:
>>>> Look at the documentation for make-kpkg, you need to build the modules
>>>> using 'modules_image'
>>>>
>>>> https://manpages.debian.org/jessie/kernel-package/make-kpkg.1.en.html
>>>>
>>>> I don't think this is a Xenomai problem, this is an issue with using 
>>>> make-kpkg.
>>>>
>>>> There are other ways to build a kernel for x86_64 that you can follow.
>>>> If this isn't an existing project I really recommend using Xenomai-3
>>>> instead of the older version.
>>>>
>>>> -Greg
>>>>
>>>> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
>>>> wrote:
>>>>> I have build  3.14.17-xenomai-2.6.4 and I have build
>>>>> 3.14.17-xenomai-2.6.4 too using the links below
>>>>>
>>>>> https://github.com/lma-cfpp/cfppa-framework-old/wiki/Xenomai-Kernel
>>>>> http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html
>>>>>
>>>>> http://rtt-lwr.readthedocs.io/en/latest/adv-tutos/bicompil.html
>>>>>
>>>>> both gave me the same result, and I am using x86_64 architecture.
>>>>>
>>>>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>>>>> wrote:
>>>>>> You said before you are using 3.18.20?  Are you building for 3.18.20
>>>>>> or 3.14.17? Are you seeing the object files in your build directory in
>>>>>> the driver folder?
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 12:33 PM, Ashok kumar  
>>>>>> wrote:
>>>>>>> in my lib/module/
>>>>>>>
>>>>>>> I am able to get this folder 3.14.17-xenomai-2.6.4 ,
>>>>>>> in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o.
>>>>>>> some where in arch , drivers, kernel directory , but I am not able to 
>>>>>>> get
>>>>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 19, 2018 at 9:56 PM, Greg Gallagher  
>>>>>>> wrote:
>>>>>>>> When you install your package what do you see under /lib/modules ?
>>>>>>>>
>>>>>>>> On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar 
>>>>>>>>  wrote:
>>>>>>>>> sudo make menuconfig
>>>>>>>>>
>>>>>>>>> make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
>>>>>>>>> kernel-image kernel-hea

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
can you please provide me steps to
configure and to build xenomai -3 in x86_64 architecture.

to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.

thank you

On Tue, Jun 19, 2018 at 10:35 PM, Ashok kumar  wrote:
> Ok I will go through the make-kpkg command can you please provide me
> to how to build xenomai -3 in x86_64 architecture.
>
> to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>
>
>
> On Tue, Jun 19, 2018 at 10:24 PM, Greg Gallagher  
> wrote:
>> Look at the documentation for make-kpkg, you need to build the modules
>> using 'modules_image'
>>
>> https://manpages.debian.org/jessie/kernel-package/make-kpkg.1.en.html
>>
>> I don't think this is a Xenomai problem, this is an issue with using 
>> make-kpkg.
>>
>> There are other ways to build a kernel for x86_64 that you can follow.
>> If this isn't an existing project I really recommend using Xenomai-3
>> instead of the older version.
>>
>> -Greg
>>
>> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  
>> wrote:
>>> I have build  3.14.17-xenomai-2.6.4 and I have build
>>> 3.14.17-xenomai-2.6.4 too using the links below
>>>
>>> https://github.com/lma-cfpp/cfppa-framework-old/wiki/Xenomai-Kernel
>>> http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html
>>>
>>> http://rtt-lwr.readthedocs.io/en/latest/adv-tutos/bicompil.html
>>>
>>> both gave me the same result, and I am using x86_64 architecture.
>>>
>>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>>> wrote:
>>>> You said before you are using 3.18.20?  Are you building for 3.18.20
>>>> or 3.14.17? Are you seeing the object files in your build directory in
>>>> the driver folder?
>>>>
>>>> On Tue, Jun 19, 2018 at 12:33 PM, Ashok kumar  
>>>> wrote:
>>>>> in my lib/module/
>>>>>
>>>>> I am able to get this folder 3.14.17-xenomai-2.6.4 ,
>>>>> in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o.
>>>>> some where in arch , drivers, kernel directory , but I am not able to get
>>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Jun 19, 2018 at 9:56 PM, Greg Gallagher  
>>>>> wrote:
>>>>>> When you install your package what do you see under /lib/modules ?
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar  
>>>>>> wrote:
>>>>>>> sudo make menuconfig
>>>>>>>
>>>>>>> make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
>>>>>>> kernel-image kernel-headers modules
>>>>>>>
>>>>>>> On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher  
>>>>>>> wrote:
>>>>>>>> What command are you using to build the kernel?
>>>>>>>>
>>>>>>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar 
>>>>>>>>  wrote:
>>>>>>>>> I too have followed the steps as mentioned in
>>>>>>>>> http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>>>>>>
>>>>>>>>> in kernel config point number  7. Make appropriate changes to
>>>>>>>>> Real-time sub-system.
>>>>>>>>>
>>>>>>>>> I am using x86_64 architecture ,64 bit processor
>>>>>>>>> what features should I enable and disable to get these modules
>>>>>>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>>>>>>>> in Real-time sub-system. kernel configuration.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> # Configure and build kernel
>>>>>>>>> # 1. Processor type and features -> Processor family -- select proper
>>>>>>>>> #processor.
>>>>>>>>> # 2. Power management and ACPI options -> ACPI (Advanced 
>>>>>>>>> Configuration and
>>>>>>>>> #Power Interface) Support -- turn of Processor.
>>>>>>>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- 
>>>>>>>>> turn off
>>>>>>>>> #CPU Frequency scaling.
>>>>>>>>> # 4. Po

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Ok I will go through the make-kpkg command can you please provide me
to how to build xenomai -3 in x86_64 architecture.

to get the modules xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.



On Tue, Jun 19, 2018 at 10:24 PM, Greg Gallagher  wrote:
> Look at the documentation for make-kpkg, you need to build the modules
> using 'modules_image'
>
> https://manpages.debian.org/jessie/kernel-package/make-kpkg.1.en.html
>
> I don't think this is a Xenomai problem, this is an issue with using 
> make-kpkg.
>
> There are other ways to build a kernel for x86_64 that you can follow.
> If this isn't an existing project I really recommend using Xenomai-3
> instead of the older version.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 12:45 PM, Ashok kumar  wrote:
>> I have build  3.14.17-xenomai-2.6.4 and I have build
>> 3.14.17-xenomai-2.6.4 too using the links below
>>
>> https://github.com/lma-cfpp/cfppa-framework-old/wiki/Xenomai-Kernel
>> http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html
>>
>> http://rtt-lwr.readthedocs.io/en/latest/adv-tutos/bicompil.html
>>
>> both gave me the same result, and I am using x86_64 architecture.
>>
>> On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  
>> wrote:
>>> You said before you are using 3.18.20?  Are you building for 3.18.20
>>> or 3.14.17? Are you seeing the object files in your build directory in
>>> the driver folder?
>>>
>>> On Tue, Jun 19, 2018 at 12:33 PM, Ashok kumar  
>>> wrote:
>>>> in my lib/module/
>>>>
>>>> I am able to get this folder 3.14.17-xenomai-2.6.4 ,
>>>> in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o.
>>>> some where in arch , drivers, kernel directory , but I am not able to get
>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko,
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Jun 19, 2018 at 9:56 PM, Greg Gallagher  
>>>> wrote:
>>>>> When you install your package what do you see under /lib/modules ?
>>>>>
>>>>> On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar  
>>>>> wrote:
>>>>>> sudo make menuconfig
>>>>>>
>>>>>> make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
>>>>>> kernel-image kernel-headers modules
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher  
>>>>>> wrote:
>>>>>>> What command are you using to build the kernel?
>>>>>>>
>>>>>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>>>>>>> wrote:
>>>>>>>> I too have followed the steps as mentioned in
>>>>>>>> http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>>>>>
>>>>>>>> in kernel config point number  7. Make appropriate changes to
>>>>>>>> Real-time sub-system.
>>>>>>>>
>>>>>>>> I am using x86_64 architecture ,64 bit processor
>>>>>>>> what features should I enable and disable to get these modules
>>>>>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>>>>>>> in Real-time sub-system. kernel configuration.
>>>>>>>>
>>>>>>>>
>>>>>>>> # Configure and build kernel
>>>>>>>> # 1. Processor type and features -> Processor family -- select proper
>>>>>>>> #processor.
>>>>>>>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration 
>>>>>>>> and
>>>>>>>> #Power Interface) Support -- turn of Processor.
>>>>>>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- 
>>>>>>>> turn off
>>>>>>>> #CPU Frequency scaling.
>>>>>>>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>>>>>>>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>>>>>>>> # 6. Turn off Virtualization.
>>>>>>>> # 7. Make appropriate changes to Real-time sub-system.
>>>>>>>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher 
>>>>>>>>  wrote:
>>>>>

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I have build  3.14.17-xenomai-2.6.4 and I have build
3.14.17-xenomai-2.6.4 too using the links below

https://github.com/lma-cfpp/cfppa-framework-old/wiki/Xenomai-Kernel
http://rtt-lwr.readthedocs.io/en/latest/rtpc/xenomai.html

http://rtt-lwr.readthedocs.io/en/latest/adv-tutos/bicompil.html

both gave me the same result, and I am using x86_64 architecture.

On Tue, Jun 19, 2018 at 10:10 PM, Greg Gallagher  wrote:
> You said before you are using 3.18.20?  Are you building for 3.18.20
> or 3.14.17? Are you seeing the object files in your build directory in
> the driver folder?
>
> On Tue, Jun 19, 2018 at 12:33 PM, Ashok kumar  wrote:
>> in my lib/module/
>>
>> I am able to get this folder 3.14.17-xenomai-2.6.4 ,
>> in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o.
>> some where in arch , drivers, kernel directory , but I am not able to get
>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko,
>>
>>
>>
>>
>> On Tue, Jun 19, 2018 at 9:56 PM, Greg Gallagher  
>> wrote:
>>> When you install your package what do you see under /lib/modules ?
>>>
>>> On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar  
>>> wrote:
>>>> sudo make menuconfig
>>>>
>>>> make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
>>>> kernel-image kernel-headers modules
>>>>
>>>> On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher  
>>>> wrote:
>>>>> What command are you using to build the kernel?
>>>>>
>>>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>>>>> wrote:
>>>>>> I too have followed the steps as mentioned in
>>>>>> http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>>>
>>>>>> in kernel config point number  7. Make appropriate changes to
>>>>>> Real-time sub-system.
>>>>>>
>>>>>> I am using x86_64 architecture ,64 bit processor
>>>>>> what features should I enable and disable to get these modules
>>>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>>>>> in Real-time sub-system. kernel configuration.
>>>>>>
>>>>>>
>>>>>> # Configure and build kernel
>>>>>> # 1. Processor type and features -> Processor family -- select proper
>>>>>> #processor.
>>>>>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration 
>>>>>> and
>>>>>> #Power Interface) Support -- turn of Processor.
>>>>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn 
>>>>>> off
>>>>>> #CPU Frequency scaling.
>>>>>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>>>>>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>>>>>> # 6. Turn off Virtualization.
>>>>>> # 7. Make appropriate changes to Real-time sub-system.
>>>>>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>>>>>> wrote:
>>>>>>> Make sure you do your make step with 'make modules'.  I used this
>>>>>>> tutorial [1] when i was building xenomai 2.6 a long time ago, it
>>>>>>> should help you as well.
>>>>>>>
>>>>>>> [1] http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>>>>
>>>>>>> On Tue, Jun 19, 2018 at 11:47 AM, Ashok kumar  
>>>>>>> wrote:
>>>>>>>> In menuconfig I have used
>>>>>>>>
>>>>>>>> the following
>>>>>>>>
>>>>>>>> * General setup
>>>>>>>>   --> Local version - append to kernel release: -xenomai-2.6.5
>>>>>>>>   --> Timers subsystem
>>>>>>>>   --> High Resolution Timer Support (Enable)
>>>>>>>> * Real-time sub-system
>>>>>>>>   --> Xenomai (Enable)
>>>>>>>>   --> Nucleus (Enable)
>>>>>>>>   --> Pervasive real-time support in user-space (Enable)
>>>>>>>> * Power management and ACPI options
>>>>>>>>   --> Run-time PM core functionality (Disable)
>>>>>>>>  

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
in my lib/module/

I am able to get this folder 3.14.17-xenomai-2.6.4 ,
in this folder I am able to get xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o.
some where in arch , drivers, kernel directory , but I am not able to get
xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko,




On Tue, Jun 19, 2018 at 9:56 PM, Greg Gallagher  wrote:
> When you install your package what do you see under /lib/modules ?
>
> On Tue, Jun 19, 2018 at 12:13 PM, Ashok kumar  wrote:
>> sudo make menuconfig
>>
>> make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
>> kernel-image kernel-headers modules
>>
>> On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher  
>> wrote:
>>> What command are you using to build the kernel?
>>>
>>> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  
>>> wrote:
>>>> I too have followed the steps as mentioned in
>>>> http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>
>>>> in kernel config point number  7. Make appropriate changes to
>>>> Real-time sub-system.
>>>>
>>>> I am using x86_64 architecture ,64 bit processor
>>>> what features should I enable and disable to get these modules
>>>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>>>> in Real-time sub-system. kernel configuration.
>>>>
>>>>
>>>> # Configure and build kernel
>>>> # 1. Processor type and features -> Processor family -- select proper
>>>> #processor.
>>>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
>>>> #Power Interface) Support -- turn of Processor.
>>>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
>>>> #CPU Frequency scaling.
>>>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>>>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>>>> # 6. Turn off Virtualization.
>>>> # 7. Make appropriate changes to Real-time sub-system.
>>>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>>>
>>>>
>>>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>>>> wrote:
>>>>> Make sure you do your make step with 'make modules'.  I used this
>>>>> tutorial [1] when i was building xenomai 2.6 a long time ago, it
>>>>> should help you as well.
>>>>>
>>>>> [1] http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>>>
>>>>> On Tue, Jun 19, 2018 at 11:47 AM, Ashok kumar  
>>>>> wrote:
>>>>>> In menuconfig I have used
>>>>>>
>>>>>> the following
>>>>>>
>>>>>> * General setup
>>>>>>   --> Local version - append to kernel release: -xenomai-2.6.5
>>>>>>   --> Timers subsystem
>>>>>>   --> High Resolution Timer Support (Enable)
>>>>>> * Real-time sub-system
>>>>>>   --> Xenomai (Enable)
>>>>>>   --> Nucleus (Enable)
>>>>>>   --> Pervasive real-time support in user-space (Enable)
>>>>>> * Power management and ACPI options
>>>>>>   --> Run-time PM core functionality (Disable)
>>>>>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>>>>>   --> Processor (Disable)
>>>>>>   --> CPU Frequency scaling
>>>>>>   --> CPU Frequency scaling (Disable)
>>>>>>   --> CPU idle
>>>>>>   --> CPU idle PM support (Disable)
>>>>>> * Pocessor type and features
>>>>>>   --> Processor family
>>>>>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>>>>>> returns 6, set as Generic otherwise)
>>>>>> * Power management and ACPI options
>>>>>>   --> Memory power savings
>>>>>>   --> Intel chipset idle memory power saving driver (Disable)
>>>>>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>>>>>
>>>>>> and I am using x86_64 processor configuration.
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>>>>>> wrote:
>>>>>>> Under the Xenomai section of menuconfig, do you have them selected as
>>>>>>> modules you can load or b

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
sudo make menuconfig

make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4 -j8
kernel-image kernel-headers modules

On Tue, Jun 19, 2018 at 9:41 PM, Greg Gallagher  wrote:
> What command are you using to build the kernel?
>
> On Tue, Jun 19, 2018 at 12:02 PM, Ashok kumar  wrote:
>> I too have followed the steps as mentioned in
>> http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>
>> in kernel config point number  7. Make appropriate changes to
>> Real-time sub-system.
>>
>> I am using x86_64 architecture ,64 bit processor
>> what features should I enable and disable to get these modules
>> xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
>> in Real-time sub-system. kernel configuration.
>>
>>
>> # Configure and build kernel
>> # 1. Processor type and features -> Processor family -- select proper
>> #processor.
>> # 2. Power management and ACPI options -> ACPI (Advanced Configuration and
>> #Power Interface) Support -- turn of Processor.
>> # 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
>> #CPU Frequency scaling.
>> # 4. Power management and ACPI options -- turn off CPU idle PM support.
>> # 5. Kernel hacking turn off KGDB: kernel debugger.
>> # 6. Turn off Virtualization.
>> # 7. Make appropriate changes to Real-time sub-system.
>> # 8. Device Drivers -> IOMMU Hardware Support -- turn off
>>
>>
>> On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  
>> wrote:
>>> Make sure you do your make step with 'make modules'.  I used this
>>> tutorial [1] when i was building xenomai 2.6 a long time ago, it
>>> should help you as well.
>>>
>>> [1] http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>>>
>>> On Tue, Jun 19, 2018 at 11:47 AM, Ashok kumar  
>>> wrote:
>>>> In menuconfig I have used
>>>>
>>>> the following
>>>>
>>>> * General setup
>>>>   --> Local version - append to kernel release: -xenomai-2.6.5
>>>>   --> Timers subsystem
>>>>   --> High Resolution Timer Support (Enable)
>>>> * Real-time sub-system
>>>>   --> Xenomai (Enable)
>>>>   --> Nucleus (Enable)
>>>>   --> Pervasive real-time support in user-space (Enable)
>>>> * Power management and ACPI options
>>>>   --> Run-time PM core functionality (Disable)
>>>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>>>   --> Processor (Disable)
>>>>   --> CPU Frequency scaling
>>>>   --> CPU Frequency scaling (Disable)
>>>>   --> CPU idle
>>>>   --> CPU idle PM support (Disable)
>>>> * Pocessor type and features
>>>>   --> Processor family
>>>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>>>> returns 6, set as Generic otherwise)
>>>> * Power management and ACPI options
>>>>   --> Memory power savings
>>>>   --> Intel chipset idle memory power saving driver (Disable)
>>>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>>>
>>>> and I am using x86_64 processor configuration.
>>>>
>>>>
>>>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>>>> wrote:
>>>>> Under the Xenomai section of menuconfig, do you have them selected as
>>>>> modules you can load or built into the kernel?  Also you are using a
>>>>> pretty old version on Xenomai, have you considered using Xenomai-3
>>>>> instead?  I haven't used Xenomai 2.6 in a while so my support may be
>>>>> rusty.
>>>>>
>>>>> On Tue, Jun 19, 2018 at 11:29 AM, Ashok kumar  
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am not
>>>>>> getting xeno_rtdm.ko, xeno_hal.ko, xeno_nucleus.ko
>>>>>>
>>>>>> I should get .ko file to load it in kernel module .
>>>>>>
>>>>>> Thank you
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 19, 2018 at 8:47 PM, Greg Gallagher  
>>>>>> wrote:
>>>>>>> Are you building the RTDM modules? Do you see them getting built in
>>>>>>> the kernel output.
>>>>>>>
>>>>>>> Please re

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
I too have followed the steps as mentioned in
http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt

in kernel config point number  7. Make appropriate changes to
Real-time sub-system.

I am using x86_64 architecture ,64 bit processor
what features should I enable and disable to get these modules
xeno_rtdm.ko,xeno_hal.ko,xeno_nucleus.ko.
in Real-time sub-system. kernel configuration.


# Configure and build kernel
# 1. Processor type and features -> Processor family -- select proper
#processor.
# 2. Power management and ACPI options -> ACPI (Advanced Configuration and
#Power Interface) Support -- turn of Processor.
# 3. Power management and ACPI options -> CPU Frequency scaling -- turn off
#CPU Frequency scaling.
# 4. Power management and ACPI options -- turn off CPU idle PM support.
# 5. Kernel hacking turn off KGDB: kernel debugger.
# 6. Turn off Virtualization.
# 7. Make appropriate changes to Real-time sub-system.
# 8. Device Drivers -> IOMMU Hardware Support -- turn off


On Tue, Jun 19, 2018 at 9:24 PM, Greg Gallagher  wrote:
> Make sure you do your make step with 'make modules'.  I used this
> tutorial [1] when i was building xenomai 2.6 a long time ago, it
> should help you as well.
>
> [1] http://www.orocos.org/files/tut_install_orocos_hydro_xeno.txt
>
> On Tue, Jun 19, 2018 at 11:47 AM, Ashok kumar  wrote:
>> In menuconfig I have used
>>
>> the following
>>
>> * General setup
>>   --> Local version - append to kernel release: -xenomai-2.6.5
>>   --> Timers subsystem
>>   --> High Resolution Timer Support (Enable)
>> * Real-time sub-system
>>   --> Xenomai (Enable)
>>   --> Nucleus (Enable)
>>   --> Pervasive real-time support in user-space (Enable)
>> * Power management and ACPI options
>>   --> Run-time PM core functionality (Disable)
>>   --> ACPI (Advanced Configuration and Power Interface) Support
>>   --> Processor (Disable)
>>   --> CPU Frequency scaling
>>   --> CPU Frequency scaling (Disable)
>>   --> CPU idle
>>   --> CPU idle PM support (Disable)
>> * Pocessor type and features
>>   --> Processor family
>>   --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
>> returns 6, set as Generic otherwise)
>> * Power management and ACPI options
>>   --> Memory power savings
>>   --> Intel chipset idle memory power saving driver (Disable)
>> and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc
>>
>> and I am using x86_64 processor configuration.
>>
>>
>> On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  
>> wrote:
>>> Under the Xenomai section of menuconfig, do you have them selected as
>>> modules you can load or built into the kernel?  Also you are using a
>>> pretty old version on Xenomai, have you considered using Xenomai-3
>>> instead?  I haven't used Xenomai 2.6 in a while so my support may be
>>> rusty.
>>>
>>> On Tue, Jun 19, 2018 at 11:29 AM, Ashok kumar  
>>> wrote:
>>>> Hi,
>>>>
>>>> I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am not
>>>> getting xeno_rtdm.ko, xeno_hal.ko, xeno_nucleus.ko
>>>>
>>>> I should get .ko file to load it in kernel module .
>>>>
>>>> Thank you
>>>>
>>>>
>>>> On Tue, Jun 19, 2018 at 8:47 PM, Greg Gallagher  
>>>> wrote:
>>>>> Are you building the RTDM modules? Do you see them getting built in
>>>>> the kernel output.
>>>>>
>>>>> Please refrain from continuously posting the same question, we will
>>>>> try to help you but it may take some time to respond.
>>>>>
>>>>> -Greg
>>>>>
>>>>> On Tue, Jun 19, 2018 at 5:44 AM, Ashok kumar  
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have turned modules ON, I have attached the enable modules section
>>>>>> in the kernel configuration
>>>>>>
>>>>>> thank you
>>>>>> R.Ashokkumar
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 18, 2018 at 7:30 PM, Greg Gallagher  
>>>>>> wrote:
>>>>>>> Did you turn them on in menuconfig when you built your kernel?
>>>>>>>
>>>>>>> -Greg
>>>>>>>
>>>>>>> On Mon, Jun 18, 2018 at 1:40 AM, Ashok kumar  
>>>>>>> wrote:
>>&g

Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
In menuconfig I have used

the following

* General setup
  --> Local version - append to kernel release: -xenomai-2.6.5
  --> Timers subsystem
  --> High Resolution Timer Support (Enable)
* Real-time sub-system
  --> Xenomai (Enable)
  --> Nucleus (Enable)
  --> Pervasive real-time support in user-space (Enable)
* Power management and ACPI options
  --> Run-time PM core functionality (Disable)
  --> ACPI (Advanced Configuration and Power Interface) Support
  --> Processor (Disable)
  --> CPU Frequency scaling
  --> CPU Frequency scaling (Disable)
  --> CPU idle
  --> CPU idle PM support (Disable)
* Pocessor type and features
  --> Processor family
  --> Core 2/newer Xeon (if \"cat /proc/cpuinfo | grep family\"
returns 6, set as Generic otherwise)
* Power management and ACPI options
  --> Memory power savings
  --> Intel chipset idle memory power saving driver (Disable)
and in nucleus I have seleted RTDM drivers, in interfaces,drivers etc

and I am using x86_64 processor configuration.


On Tue, Jun 19, 2018 at 9:12 PM, Greg Gallagher  wrote:
> Under the Xenomai section of menuconfig, do you have them selected as
> modules you can load or built into the kernel?  Also you are using a
> pretty old version on Xenomai, have you considered using Xenomai-3
> instead?  I haven't used Xenomai 2.6 in a while so my support may be
> rusty.
>
> On Tue, Jun 19, 2018 at 11:29 AM, Ashok kumar  wrote:
>> Hi,
>>
>> I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am not
>> getting xeno_rtdm.ko, xeno_hal.ko, xeno_nucleus.ko
>>
>> I should get .ko file to load it in kernel module .
>>
>> Thank you
>>
>>
>> On Tue, Jun 19, 2018 at 8:47 PM, Greg Gallagher  
>> wrote:
>>> Are you building the RTDM modules? Do you see them getting built in
>>> the kernel output.
>>>
>>> Please refrain from continuously posting the same question, we will
>>> try to help you but it may take some time to respond.
>>>
>>> -Greg
>>>
>>> On Tue, Jun 19, 2018 at 5:44 AM, Ashok kumar  
>>> wrote:
>>>> Hi,
>>>>
>>>> I have turned modules ON, I have attached the enable modules section
>>>> in the kernel configuration
>>>>
>>>> thank you
>>>> R.Ashokkumar
>>>>
>>>>
>>>>
>>>> On Mon, Jun 18, 2018 at 7:30 PM, Greg Gallagher  
>>>> wrote:
>>>>> Did you turn them on in menuconfig when you built your kernel?
>>>>>
>>>>> -Greg
>>>>>
>>>>> On Mon, Jun 18, 2018 at 1:40 AM, Ashok kumar  
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I have patched xenomai -2.6.4 with linux 3.18.20 .
>>>>>> and installed the patched kernel, and  compiled the xenomai library 
>>>>>> using below
>>>>>> commands
>>>>>>
>>>>>> cd /usr/src
>>>>>> sudo mkdir build_xenomai-2.6.4
>>>>>> cd build_xenomai-2.6.4
>>>>>>
>>>>>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>>>>>> --enable-x86-sep
>>>>>> sudo make -j8
>>>>>> sudo make install
>>>>>>
>>>>>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>>>>>> modules
>>>>>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>>>>>
>>>>>> I used the below command to load the modules
>>>>>>
>>>>>> sudo modprobe xeno_rtdm,
>>>>>> sudo modprobe xeno_hal
>>>>>> sudo modprobe xeno_nucleus
>>>>>>
>>>>>> but the modules are not getting loaded.
>>>>>>
>>>>>>
>>>>>> is there any modification should be done in the make file, or any
>>>>>> other options should be enabled in the configure options
>>>>>>
>>>>>> kindly help me the get the xenomai modules available.
>>>>>>
>>>>>>
>>>>>> Thank you
>>>>>> R.Ashokkumar
>>>>>>
>>>>>> ___
>>>>>> Xenomai mailing list
>>>>>> Xenomai@xenomai.org
>>>>>> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Hi,

I am getting xeno_rtdm.o,xeno_hal.o,xeno_nucleus.o. file but I am not
getting xeno_rtdm.ko, xeno_hal.ko, xeno_nucleus.ko

I should get .ko file to load it in kernel module .

Thank you


On Tue, Jun 19, 2018 at 8:47 PM, Greg Gallagher  wrote:
> Are you building the RTDM modules? Do you see them getting built in
> the kernel output.
>
> Please refrain from continuously posting the same question, we will
> try to help you but it may take some time to respond.
>
> -Greg
>
> On Tue, Jun 19, 2018 at 5:44 AM, Ashok kumar  wrote:
>> Hi,
>>
>> I have turned modules ON, I have attached the enable modules section
>> in the kernel configuration
>>
>> thank you
>> R.Ashokkumar
>>
>>
>>
>> On Mon, Jun 18, 2018 at 7:30 PM, Greg Gallagher  
>> wrote:
>>> Did you turn them on in menuconfig when you built your kernel?
>>>
>>> -Greg
>>>
>>> On Mon, Jun 18, 2018 at 1:40 AM, Ashok kumar  
>>> wrote:
>>>> Hi,
>>>>
>>>> I have patched xenomai -2.6.4 with linux 3.18.20 .
>>>> and installed the patched kernel, and  compiled the xenomai library using 
>>>> below
>>>> commands
>>>>
>>>> cd /usr/src
>>>> sudo mkdir build_xenomai-2.6.4
>>>> cd build_xenomai-2.6.4
>>>>
>>>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp 
>>>> --enable-x86-sep
>>>> sudo make -j8
>>>> sudo make install
>>>>
>>>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>>>> modules
>>>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>>>
>>>> I used the below command to load the modules
>>>>
>>>> sudo modprobe xeno_rtdm,
>>>> sudo modprobe xeno_hal
>>>> sudo modprobe xeno_nucleus
>>>>
>>>> but the modules are not getting loaded.
>>>>
>>>>
>>>> is there any modification should be done in the make file, or any
>>>> other options should be enabled in the configure options
>>>>
>>>> kindly help me the get the xenomai modules available.
>>>>
>>>>
>>>> Thank you
>>>> R.Ashokkumar
>>>>
>>>> ___
>>>> Xenomai mailing list
>>>> Xenomai@xenomai.org
>>>> https://xenomai.org/mailman/listinfo/xenomai

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] Xenomai modules xeno_rtdm, xeno_hal, xeno_nucleus not getting installed

2018-06-19 Thread Ashok kumar
Hi,

I have patched xenomai -2.6.4 with linux 3.18.20 .
and after installing ,I am not able to get Xenomai modules xeno_rtdm.ko,
xeno_hal.ko, xeno_nucleus.ko,


I am using x86_64 bit architecture,

kindly help me to get install the xenomai modules.

Thank you
R.Ashokkumar

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-19 Thread Ashok kumar
Hi,

I have turned modules ON, I have attached the enable modules section
in the kernel configuration

thank you
R.Ashokkumar



On Mon, Jun 18, 2018 at 7:30 PM, Greg Gallagher  wrote:
> Did you turn them on in menuconfig when you built your kernel?
>
> -Greg
>
> On Mon, Jun 18, 2018 at 1:40 AM, Ashok kumar  wrote:
>> Hi,
>>
>> I have patched xenomai -2.6.4 with linux 3.18.20 .
>> and installed the patched kernel, and  compiled the xenomai library using 
>> below
>> commands
>>
>> cd /usr/src
>> sudo mkdir build_xenomai-2.6.4
>> cd build_xenomai-2.6.4
>>
>> sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
>> sudo make -j8
>> sudo make install
>>
>> in /usr/xenomai/ I am not able to get the modules directory and xenomai 
>> modules
>> are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.
>>
>> I used the below command to load the modules
>>
>> sudo modprobe xeno_rtdm,
>> sudo modprobe xeno_hal
>> sudo modprobe xeno_nucleus
>>
>> but the modules are not getting loaded.
>>
>>
>> is there any modification should be done in the make file, or any
>> other options should be enabled in the configure options
>>
>> kindly help me the get the xenomai modules available.
>>
>>
>> Thank you
>> R.Ashokkumar
>>
>> ___
>> Xenomai mailing list
>> Xenomai@xenomai.org
>> https://xenomai.org/mailman/listinfo/xenomai
-- next part --
A non-text attachment was scrubbed...
Name: Screenshot from 2018-06-19 15:11:41.png
Type: image/png
Size: 286626 bytes
Desc: not available
URL: 
<http://xenomai.org/pipermail/xenomai/attachments/20180619/d91f7d23/attachment.png>
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] xenomai modules - xeno_rtdm, xeno_hal, xeno_nucleus. not getting installed

2018-06-17 Thread Ashok kumar
Hi,

I have patched xenomai -2.6.4 with linux 3.18.20 .
and installed the patched kernel, and  compiled the xenomai library using below
commands

cd /usr/src
sudo mkdir build_xenomai-2.6.4
cd build_xenomai-2.6.4

sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
sudo make -j8
sudo make install

in /usr/xenomai/ I am not able to get the modules directory and xenomai modules
are not available ,xeno_rtdm,xeno_hal,xeno_nucleus.

I used the below command to load the modules

sudo modprobe xeno_rtdm,
sudo modprobe xeno_hal
sudo modprobe xeno_nucleus

but the modules are not getting loaded.


is there any modification should be done in the make file, or any
other options should be enabled in the configure options

kindly help me the get the xenomai modules available.


Thank you
R.Ashokkumar

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] how to install the following modules xeno_rtdm xeno_hal xeno_nucleus to use RTnet

2018-06-12 Thread Ashok kumar
Hi,

I am using xenomai -2.6.2.1 and I have patched the xenomai -2.6.2.1
with linux kernel 3.4.6
and I installed using the following commands

sudo make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4
-j8 kernel-image kernel-headers modules
# Install kernel
cd ..
sudo dpkg -i linux-image-*.deb
sudo dpkg -i linux-headers-*.deb

sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
sudo make -j8
sudo make install

cd /etc/ld.so.conf.d/
sudo touch xenomai.conf
sudo sh -c "echo '/usr/xenomai/lib' >> xenomai.conf"
sudo ldconfig

echo "export PATH=$PATH:/usr/xenomai/bin" >> ~/.bashrc
# echo "export 
PATH=$PATH:/usr/xenomai/bin:/usr/xenomai/lib:/usr/xenomai/include"
>> ~/.bashrc
sudo su
echo "export PATH=$PATH:/usr/xenomai/bin" >> ~/.bashrc
# echo "export 
PATH=$PATH:/usr/xenomai/bin:/usr/xenomai/lib:/usr/xenomai/include"
>> ~/.bashr
* 
after installing xenomai-2.6.4 with linux kernel 3.4.6
I am not able to get the module in the xenomai directory, to use  RTnet

‌I  required to load the modules  for RTnet operations
sudo modprobe xeno_rtdm
sudo modprobe xeno_hal
sudo modprobe xeno_nucleus

after executing this command I am using lsmod to view these modules
,but the modules are not getting loaded.

In /usr/xenomai I am not able to see the modules.

help me to get the following module xeno_rtdm, xeno_hal, xeno_nucleus
install to use the rtnet


Thank you
R. Ashokkumar

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] how to install module xeno_rtdm xeno_hal xeno_nucleus to use RTnet

2018-06-11 Thread Ashok kumar
Hi,

I am using xenomai -2.6.2.1 and I have patched the xenomai -2.6.2.1
with linux kernel 3.4.6
and I installed using the following commands

sudo make-kpkg --bzimage --initrd --append-to-version=-xenomai-2.6.4
-j8 kernel-image kernel-headers modules
# Install kernel
cd ..
sudo dpkg -i linux-image-*.deb
sudo dpkg -i linux-headers-*.deb

sudo ../xenomai-2.6.4/configure --enable-shared --enable-smp --enable-x86-sep
sudo make -j8
sudo make install

cd /etc/ld.so.conf.d/
sudo touch xenomai.conf
sudo sh -c "echo '/usr/xenomai/lib' >> xenomai.conf"
sudo ldconfig

echo "export PATH=$PATH:/usr/xenomai/bin" >> ~/.bashrc
# echo "export 
PATH=$PATH:/usr/xenomai/bin:/usr/xenomai/lib:/usr/xenomai/include"
>> ~/.bashrc
sudo su
echo "export PATH=$PATH:/usr/xenomai/bin" >> ~/.bashrc
# echo "export 
PATH=$PATH:/usr/xenomai/bin:/usr/xenomai/lib:/usr/xenomai/include"
>> ~/.bashr
* 
after installing xenomai-2.6.4 with linux kernel 3.4.6
I am not able to get the module in the xenomai directory, to use  RTnet

‌I  required to load the modules  for RTnet operations
sudo modprobe xeno_rtdm
sudo modprobe xeno_hal
sudo modprobe xeno_nucleus

after executing this command I am using lsmod to view these modules
,but the modules are not getting loaded.

In /usr/xenomai I am not able to see the modules.

help me to get the following module xeno_rtdm, xeno_hal, xeno_nucleus
install to use the rtnet


Thank you
R. Ashokkumar

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] xenomai 3.02 hangs in raspberry pi 3

2017-09-15 Thread Ashok kumar
Hi,

I am xenomai 3.0.2 in raspberry pi 3 quad core after starting Real
time tast the Raspberry pi freezes.

Can i use Rtprintf in xenomai 3, any api is there to use the printf
function in xenomai 3.

Thank you
Ashok

___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] Multitask code example

2017-08-03 Thread Ashok kumar
Hi,

I am new to xenomai multitasking, anybody can share a code in xenomai 2.4
version for multitasking for example four task running at 1ms  and printing
the task name.


thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] Programming manual for xenomai

2017-08-02 Thread Ashok kumar
Hi,

anyone provide me programming manual for xenomai, to getting started for
xenomai.

Thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


Re: [Xenomai] Cobalt core install linker problem

2017-07-12 Thread Ashok kumar
Hi,

I want to patch xenomai on raspberry pi 3 , I have tried it but after
compilation the xenomai kernel is not booting.

kindly help me to patch xenomai on raspberry pi 3.

Installation steps to install xenomai on raspberry pi 3 directly without
cross compilation.


Thank you
Ashok

On Wed, Jul 12, 2017 at 2:49 PM, Henning Schild 
wrote:

> Am Wed, 12 Jul 2017 07:16:45 +
> schrieb Simone Zucchi :
>
> > > Recent compilers default to generating position independant
> > > binaries. That problem should get fixed in xenomai. For the time
> > > being you can run make CFLAGS="-no-pie" -j `nproc`
> > > to work around the problem.
> >
> > That was the case! Built without a problem.Thanks a lot!
> > By the way, Is it correct that xeno-test won't be built?
>
> It should be. If you
> touch testsuite/xeno-test/xeno-test-run.c; make
> it will rebuild something. After a "make install" you should be able to
> run something like this:
> xeno-test -l "dohell -m /tmp 300" -p 1000
>
> Our CI does "dh_autoreconf; dpkg-buildpackage -j$(JOBS) -uc -us" and
> the packages contain a runnable xeno-test
>
> Henning
>
> > Simone
> >
> > On 07/11/2017 05:33 PM, Henning Schild wrote:
> > > Am Tue, 11 Jul 2017 14:22:02 +
> > > schrieb Simone Zucchi :
> > >
> > >> Hello everybody,
> > >> I'm trying to compile xenomai tools --with-core=cobalt but I keep
> > >> ha ving issues on latency tool, seems on linking.
> > >> If I try to build --with-core=mercury switch it works flawlessly:
> > > ...
> > >> Then I try to build --with-core=cobalt and something goes wrong:
> > >>
> > >> root@debian9:/usr/src/xenomai-3.0.5# ./configure --with-core=cobalt
> > >> --prefix=/usr/local/xenomai/cobalt --disable-debug --enable-pshared
> > >> --enable-smp >/dev/null
> > >> root@debian9:/usr/src/xenomai-3.0.5# time make -j8 >/dev/null
> > > ...
> > >> /usr/bin/ld: -r and -pie may not be used together
> > >> collect2: error: ld returned 1 exit status
> > >> make[2]: *** [latency] Error 1
> > >> make[1]: *** [all-recursive] Error 1
> > >> make: *** [all-recursive] Error 1
> > > Recent compilers default to generating position independant
> > > binaries. That problem should get fixed in xenomai. For the time
> > > being you can run make CFLAGS="-no-pie" -j `nproc`
> > > to work around the problem.
> > >
> > > Henning
> > >
> > >> real0m8.055s
> > >> user0m26.924s
> > >> sys0m1.928s
> > >>
> > >> ld fails at this:
> > >>
> > >>
> > >>   Making all in testsuite
> > >>   make[1]: Entering directory
> > >> '/usr/src/xenomai-3.0.5/testsuite' Making all in latency
> > >>   make[2]: Entering directory
> > >> '/usr/src/xenomai-3.0.5/testsuite/latency'
> > >> CC   latency-latency.o
> > >> CCLD latency
> > >>   /usr/bin/ld: -r and -pie may not be used together
> > >>   collect2: error: ld returned 1 exit status
> > >>   Makefile:451: recipe for target 'latency' failed
> > >>   make[2]: *** [latency] Error 1
> > >>   make[2]: Leaving directory
> > >> '/usr/src/xenomai-3.0.5/testsuite/latency'
> > >>   Makefile:423: recipe for target 'all-recursive' failed
> > >>   make[1]: *** [all-recursive] Error 1
> > >>   make[1]: Leaving directory '/usr/src/xenomai-3.0.5/testsuite'
> > >>   Makefile:460: recipe for target 'all-recursive' failed
> > >>   make: *** [all-recursive] Error 1
> > >>
> > >>
> > >> No matter which options I include or not, it never goes over this.
> > >> Make plain (without -j8) doesn't help either.
> > >>
> > >> I'm working on a Debian 9 which I just compiled with Cobalt Core -
> > >> but even with standard Debian kernel it doesn't go through.
> > >> Odd enough, if I build Xenomai tools with a Fedora 25 machine, it
> > >> works. *HINT* on Fedora I got a different ld version (OLDER), which
> > >> doesn't warns out about " ar: `u' modifier ignored since `D' is the
> > >> default (see `U')":
> > >>
> > >> FEDORA VERSION:
> > >>   ld -v
> > >>   GNU ld version 2.26.1-1.fc25
> > >>
> > >>
> > >> Here's some versioning on my Debian box:
> > >>
> > >> root@debian9:/usr/src/xenomai-3.0.5# gcc -v
> > >> Using built-in specs.
> > >> COLLECT_GCC=gcc
> > >> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
> > >> Target: x86_64-linux-gnu
> > >> Configured with: ../src/configure -v --with-pkgversion='Debian
> > >> 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
> > >> --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++
> > >> --prefix=/usr --program-suffix=-6
> > >> --program-prefix=x86_64-linux-gnu- --enable-shared
> > >> --enable-linker-build-id --libexecdir=/usr/lib
> > >> --without-included-gettext --enable-threads=posix
> > >> --libdir=/usr/lib --enable-nls --with-sysroot=/
> > >> --enable-clocale=gnu --enable-libstdcxx-debug
> > >> --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new
> > >> --enable-gnu-unique-object 

[Xenomai] Xenomai version for raspberry pi kernel 4.9.36 v7 Arm architecture

2017-07-07 Thread Ashok kumar
Hi,

kindly help me to patch xenomai  for raspberry pi kernel 4.9.36 v7 Arm
architecture.

Thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] watchdog triggered -- signalling runaway thread

2017-06-28 Thread Ashok kumar
Hi,

In xenomai I am running two task for 1ms task period for two task
after a while  I get Cpu time limit exceeded (core dumped) in the terminal
and in the syslog  the error message "watchdog triggered -- signalling
runaway thread"

is there any solution to this problem

Thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] CPU time limit exceeded (core dumped)

2017-06-27 Thread Ashok kumar
Hi,
I am using xenomai -2.6.2.1 . I have configured two task, after some time
of running
I got this message in the terminal
CPU time limit exceeded (core dumped)

in one task for 1ms time I am reading Ethercat frames and other task of 1ms
I am running an application for calculation.

please provide me the solution for this  error

CPU time limit exceeded (core dumped)

Thank you
Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai


[Xenomai] Hi

2017-06-02 Thread Ashok kumar
I am Ashok , I have installed the xenomai-2.6.21 patch with linux kernel
3.2.21  I am using Dell laptop core i3,x86_64 , after installation my wifi
network is not working ,
I have run the command

lspci | grep Network

06:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev
01)

but in ifconfig command wlan is not seen.

please provide me a solution to enable wifi with xenomai kernel.

Thank you
from Ashok
___
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai