Re: ERR MSG： called regular read() on /dev/rtdm/fake_dev
sunshilong369 at gmail.com
Thu Apr 16 11:09:13 CEST 2020
I am using native calls.I intentionally not to use the posix calls to
avoid the conflicts with the posix calls provided by linux.
My makefile is listed below.
CFLAGS := $(shell $(XENO_CONFIG) --skin=native --cflags) -Wall
LDFLAGS := $(shell $(XENO_CONFIG) --skin=native --ldflags)
Look forward to hearing from you.
Thanks a lot.
Jan Kiszka <jan.kiszka at siemens.com> 于2020年4月16日周四 下午5:01写道：
> 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
> > I think the main thread is allready turned into xenomai thread
> > because I have called rt_shadow_task function before the reading
> > I wonder why this error message occurs.
> > Error message from kernel.
> > [155453.637967] [Xenomai] task at 1 called regular
> > 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.
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
More information about the Xenomai