how to debug problem with "failing unmounting"

Abu Rasheda rcpilot2010 at gmail.com
Thu Jul 9 09:51:29 EDT 2020


On Thu, Jul 9, 2020 at 5:24 AM Tomek The Messenger <
tomekthemessenger at gmail.com> wrote:

> Hi
> On the soc on which I work there is issue with unmouting some
> partitions/directories during /sbin/reboot, here is some example:
>
> [   OK   ]  Stopped target Local File System.
> Unmouting Temporary Directory (/tmp)...
> Unmouting /run/user/0...
> ...
> [   FAILED  ]  Failed unmouting Temporary Directory (/tmp).
> [   FAILED  ]  Failed unmouting  /run/user/0.
> ....
>
> Unfortunately like it is typical in kernel information about why
> unmouting failed doesn't appear.  So seems like searching in darkness what
> is going on. Is any way how to search in darkness? Firstly I should make
> sure /tmp or /run/user/0 is really a partition and was mount at linux
> startup. Then maybe I should check access rights if it is rwx. What else
> can be tried here?
> _______________________________________________
>
> make sure there is no process which has these directories open (cd into it
or open a file), you can I put some printk in the code to debug what leads
to this condition.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200709/c30f026d/attachment.html>


More information about the Kernelnewbies mailing list