Legato 18.05.1 supervisor process uses 100% CPU


#1

I installed mangOH update image built on “mangOH Dev using Legato 18.05.1 on Ubuntu 18.04 - r0.ova”.
I used source files of Legato and mangOH sample application contained in this ova image.
After marked good, I noticed system is too slow to do anything.
I could login by ssh, and found supervisor used 100% CPU by top command like:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
473 root 1 -19 3228 1320 1024 R 97.1 0.9 11:38.40 supervisor
I couldn’t sftp to mangOH because of slow CPU, then I tried to recover using “WPx5xx_Release15_GENERIC_SPK.spk” with swiflash, but error occurred like below.
According to this log, USB communication via VirtualBox may be succeeded.

Is there anyone in this situation?
Is there any way to recover from this situation?
Module is WP8548.

tomoharu

mangoh@mangoh-vm:~/Downloads$ swiflash -r -m WP85XX -i WPx5xx_Release15_GENERIC_SPK.spk
Detecting USB of the target
DONE
Communicating with the target
DONE
Switching to firmware download mode
…DONE
Downloading the firmware
…ERROR: Firmware Download failed. Callback status 59399DONE
ERROR: Firmware Download Failed


#2

There was an issue with kernel module loading. It might have been in 18.05.1.

Once you login, do legato stop and then rm -rf /legato/* and then reboot -n. If legato doesn’t stop properly, just do the rm without waiting for it to stop. When you reboot, it will restore the “golden” system. At that point, I suggest upgrading to legato 18.07.0. You will have to comment out spisvc in the mangOH.sdef though. I need to push that fix…


#3

As you know, Legato didn’t stop properly, but rm -rf and reboot were succeeded.
After reboot, golden system came back!

root@swi-mdm9x15:/legato# legato version
16.10.4_544dbbbb32195d877e35a6648db67c1b

Of course, CPU is stable.

Cpu(s): 0.3%us, 1.0%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st

I’ll try to update latest Legato.
Thanks a lot.

tomoharu


#4

@dfrey Not meet problem with wp76. Only wp85 impacted with 18.05.1 ?
Thanks
Francis