I am experimenting with getting Machinekit running on Debian Jessie,
and have run into an issue with loading capes.

After I manually load a cape:

$ SLOTS=/sys/devices/bone_capemgr.*/slots
$ sudo -A su -c "echo cape-bebopr-brdg:R2 > $SLOTS"

...CPU usage maxes out and I have eight systemd-udevd tasks running
that are each taking a good chunk of the CPU.  These typically go away
after apx. 17 seconds of CPU time (each), or about 2-1/2 minutes, but
I'm wondering what in the world is going on.

Is this a known issue?  Any ideas how to tell what the systemd-udevd
processes are doing?

The kernel is 3.8.13-xenomai-r78, which works fine under Wheezy.

Here's an example from top shortly after loading the cape:

> Tasks: 107 total,  10 running,  97 sleeping,   0 stopped,   0 zombie
> %Cpu(s): 15.7 us, 84.3 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 
> st
> KiB Mem:    507640 total,   405956 used,   101684 free,    23924 buffers
> KiB Swap:        0 total,        0 used,        0 free.   208136 cached Mem
> 
>   PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
>  1692 root      20   0   10876   1284    512 R 10.5  0.3   0:01.49 
> systemd-udevd
>  1693 root      20   0   10876   1312    540 R 10.5  0.3   0:01.49 
> systemd-udevd
>  1694 root      20   0   10876   1300    528 R 10.5  0.3   0:01.49 
> systemd-udevd
>  1698 root      20   0   10876   1284    512 R 10.5  0.3   0:01.48 
> systemd-udevd
>  1701 root      20   0   10876   1268    496 R 10.5  0.2   0:01.47 
> systemd-udevd
>  1719 root      20   0   10876   1088    324 R 10.5  0.2   0:01.46 
> systemd-udevd
>  1720 root      20   0   10876   1088    324 R 10.5  0.2   0:01.46 
> systemd-udevd
>  1721 root      20   0   10876   1088    324 R 10.5  0.2   0:01.46 
> systemd-udevd
>   661 machine+  20   0  209288  25224  18420 S  5.9  5.0   0:11.20 lxqt-panel
>     3 root      20   0       0      0      0 R  2.6  0.0   0:00.80 ksoftirqd/0
>   436 root      20   0   59688  16448   8540 S  1.0  3.2   0:02.70 Xorg
>  1135 machine+  20   0    3100   1252    808 R  0.7  0.2   0:00.51 top
>  1112 machine+  20   0    9208   1596    924 S  0.3  0.3   0:00.08 sshd


-- 
Charles Steinkuehler
char...@steinkuehler.net

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to