Bug 9586 - usbmount: usbmount slows down the system... to a state of unsusable...
Summary: usbmount: usbmount slows down the system... to a state of unsusable...
Status: RESOLVED NEEDINFO
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 09:55 UTC by lipkegu
Modified: 2017-02-26 14:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lipkegu 2017-01-13 09:55:32 UTC
When selecting the package usbmount "we say USB" the package tries every 2 seconds to remount the rootfs "/" and every 2 seconds all usb drives which results in a state where the system begins to lag. 

In my situation im using the bkuhls/kodi17 branch which is merged into a clean cloned buildroot-upstream. Kodi gets lagging and the CPu usage is always at 42% and Drive-leds alwys active. the sence is clear to me... "mount and unmount" usb drives.

But now we can get problems with the drives power management capabilities.

Packages like hdidle cant bring the drives into a state where we can set them into standby.

to reproduce the problem:

- clone a clean environment of buildroot.
- put a ui for example kodi + samba + dropbear + usbmount
- build the environment and let it boot then wait also 10 minutes.
- in the 10 minutes the system gets unresponseable for every 2 seconds.
- after seeing the problem... (remounting all devices) disable usbmount and reboot your test box and repeat the steps without usbmount.
Comment 1 Thomas Petazzoni 2017-01-17 02:15:36 UTC
Could you provide a minimal Buildroot configuration that exhibits the problem, for example based on one of the Qemu defconfigs that we provide, so that we can easily reproduce the issue? Thanks!
Comment 2 Thomas Petazzoni 2017-02-26 14:23:55 UTC
The request for a minimal configuration reproducing the issue has not seen any response for more than one month. In addition, this very much looks like a bug in an upstream package rather than a bug in Buildroot itself.

Therefore, closing at NEEDINFO. If you're still interested in fixing this bug, please reopen with more details, especially exact reproduction steps.