On 4/21/2016 7:32 PM, Robert Nelson wrote:
> On Thu, Apr 21, 2016 at 7:25 PM, Charles Steinkuehler 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     OK, this doesn't appear to be a PRU issue, it's a fundamental problem
>     with udev.  The systemd-udevd process that are chewing up CPU cycles
>     are endlessly trying to create a symlink due to the contents of
>     /etc/udev/rules.d/uio.rules, which contains:
> 
>     SUBSYSTEM=="uio", SYMLINK+="uio/%s{device/of_node/uio-alias}"
>     SUBSYSTEM=="uio", GROUP="users", MODE="0660"
> 
>     When you strace one of the 'stuck' systemd-udevd processes, you get an
>     endless (until the process is killed) repeating stream of:
> 
>      > mkdir("/dev", 0755)                     = -1 EEXIST (File exists)
>      > symlink("../uio1", "/dev/uio/")         = -1 ENOENT (No such file or
>     directory)
>      > stat64("/dev/uio", 0xbeffb430)          = -1 ENOENT (No such file or
>     directory)
>      > mkdir("/dev", 0755)                     = -1 EEXIST (File exists)
>      > symlink("../uio1", "/dev/uio/")         = -1 ENOENT (No such file or
>     directory)
>      > stat64("/dev/uio", 0xbeffb430)          = -1 ENOENT (No such file or
>     directory)
>      > ...
> 
>     The symlink fails because there is no /dev/uio directory, which the
>     systemd-udevd process seems to think is supposed to exist.
> 
>     Any uio and/or udev gurus know what's going on?
> 
> 
> and of course, i never added who pinged me on this, when i pushed the 
> change...
> 
> https://github.com/RobertCNelson/omap-image-builder/commit/47f982cf2896664dacd21126cf4381b078b94d15

Well things are _mostly_ working.  The /dev/uio[0-7] entries are
created, they apparently just don't get symlinked to wherever it is
the first line in the uio.rules file is trying to put them.

Any ideas what this was all about?

Is it OK to just comment out the SYMLINK line?

-- 
Charles Steinkuehler
[email protected]

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5719733F.8010809%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to