Re: ERR MSG: called regular read() on /dev/rtdm/fake_dev

Jan Kiszka jan.kiszka at siemens.com
Thu Apr 16 11:01:10 CEST 2020


On 16.04.20 10:57, 孙世龙 via Xenomai wrote:
> Hi,
>         I got the error message listed below when I called read operation to
> an opened rtdm file handle in main function.
>         I have implemented the rt read operation in my rtdm driver allready.
>         I think the main thread is allready turned into xenomai thread
> because I have called rt_shadow_task function before the reading opreation.
>         I wonder why this error message occurs.
> 
>         Error message from kernel.
>         [155453.637967] [Xenomai] task at 1[42395][42395] called regular read()
> on /dev/rtdm/fake_dev.
>         Look forward to hearing from you.
>        Thanks a lot.
> 

Your application is not properly wrapping the posix calls, in this case 
read. Check you makefile, ensure that you use the output of "xeno-config 
--skin posix --ldflags" for linking.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list