I was getting some strange bugs from some remoteproc stuff I was doing on a 
BBB, and eventually I tracked it down to the overunning the rpmsg system 
which can block for several seconds on a write.

Okay, fine.  No big deal.  This is what poll() was made for--flip 
"/dev/rpmsg_pru30" to O_NONBLOCK, set up POLLOUT, wait for a write event, 
write the data, and check the error.

Except that my overrun writes to "/dev/rpmsg_pru30" *still* block for 
several seconds (very bad) and then terminate with an Error 512 (huh?).

I can handle the error, but the big problem is the blocking.  That 
absolutely should not be allowed to happen.

What's going on?  And where do I file a bug about this?

Thanks.

# uname -a
Linux beaglebone 4.19.94-ti-r42 #1buster SMP PREEMPT Tue Mar 31 19:38:29 
UTC 2020 armv7l GNU/Linux


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/43a93c6a-d432-4487-b100-46b8f1981bdeo%40googlegroups.com.

Reply via email to