Cannot unmount because of 'active kernel process'

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

Cannot unmount because of 'active kernel process'

#1 Post by tallboy »

Hi guys. I try to unmount one partition on my HDD, but get the familiar pink window telling me that one or more processes are using the partition: kernel

I have tried to figure out what caused the situation:
1) I opened the partition sda4 just to download the latest .iso of BarryK's EasyPup.
2) I also made a new copy of the release notes by 'print to file' a .pdf from the .html site, and deleted the older version of the same.
3) I deleted a folder which contained a previously downloaded Vivaldi that didn't work.
The pink message came when I tried to unmount the sda4.

I have earlier reported that I no longer have any picture thumbnails, and that Rox does not respond to the settings.
/root/.thumbnails/normal cannot be accessed
I also tried to download another Rox, which did not work.(don't remember version) When I rebooted - without saving - I had no X, and I am now running from an early backup of the save file. http://murga-linux.com/puppy/viewtopic. ... 34#1056734

Can someone please give me some idea about what is happening?

In /var/log/messages, it says:
.... user.err kernel: aufs au_lkup_dentry:226:ROX-Filer[4580]: I/O Error, both of real entry and whiteout found, normal, err -5
I am not sure if this is correct, but /proc/4580/ looks like this, and I don't know where to start:
Attachments
proc4580.jpg
(38.32 KiB) Downloaded 200 times
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#2 Post by bigpup »

What version of Puppy?
Is it installed on sda4?
Is the save on sda4?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
rockedge
Posts: 1864
Joined: Wed 11 Apr 2012, 13:32
Location: Connecticut, United States
Contact:

#3 Post by rockedge »

open htop and investigate what process if still running or is present in RAM and terminate that process.

Do you have the you downloaded opened in anything like geany? If even a txt file is loaded in geany from a partition and is not closed in geany the kernel will respond with that error....for example.

examine what is running that is using something on that partition that will not un-mount.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

Hi tallboy.

About directory /root/.thumbnails/normal:
have you checked if it exists? (Not a joke: anybody, even moi, can be air-headed
and delete stuff accidentally!)
If not, just recreate it.

To add a little note to rockedge's remark:
if you have two processes containing the same name, this can happen too.
IOW, close the process containing the similar name in Geany, if there is one there;
then retry.

About your unmount problem:
wait a little longer? mount/unmount takes longer than running a regular app.
It's never immediate.

what info does the plain mount command give you?

Your error message is probably telling you cannot unmount that partition right now
because some app is still running from it.

If everything else fails, hit the reset button on the PC,
wait 20 seconds and reboot?
If the problem has gone away, it's all good, stop worrying!

IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#5 Post by tallboy »

bigpup wrote:What version of Puppy?
Is it installed on sda4?
Is the save on sda4?
Haha, sorry bigpup, I am a sinner! Easy to forget, except when I remind others! :wink:

Tahr64_6.0.6, frugal, not on sda4, save and install have sda1 to themselves.

I have seemingly not entered the correct url to the thumbnails problem, this is the correct one:
http://murga-linux.com/puppy/viewtopic. ... 8&t=117959
musher0 wrote:If the problem has gone away, it's all good, stop worrying!
No good! I want to know what is going on!

rockedge, one problem is that no unusual PIDs are visible in hTop.
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

bad idea.
Entered in error.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

Hi tallboy.

About the bizarre behavior of .thumbnails directory:
-- could there be a symlink named .thumbnails in your /root pointing to nowhere?

About needing to know why:
-- sometimes the system gets so jumbled after a long session that letting it rest for a while
and rebooting is the only recourse to get it working ok again.

You have to weigh satisfaction of knowledge against satisfaction of a working system.
But that's just me: if there is a boulder in my path and I can't push it, I go around it.
Everyone has has a different attitude for solving problems.

IHTH.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#8 Post by HerrBert »

Just guessing:

Did you open the downloaded .iso file to copy its release notes?
If so, did you unmount the .iso file before trying to unmount sda4?

That's what happens to me very often... :oops:

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#9 Post by tallboy »

musher0, I have gone through every instance of 'thumbnails' found in my system, and none give any clue.
A very strange thing: In /usr/pixmaps, 8 thumbnails are visible. 5 are links to .png images in /usr/local/lib/X11/pixmaps, 3 of them are .png images that I have added to /usr/pixmaps myself. ???
-- sometimes the system gets so jumbled after a long session that letting it rest for a while
and rebooting is the only recourse to get it working ok again.
Not successful, I run off a backup saves dir now.
if there is a boulder in my path and I can't push it, I go around it.
I agree to that, it is the gravel sized rox that bother me! :wink:

Life was so much easier when I ran off a live multisession CD! Just reboot, and everything is OK again!

HerrBert, you are absolutely wrong, but absolutely right! :?
The EasyPup .iso was downloaded from http://distro.ibiblio.org/easyos/amd64/ ... uster/2.3/, addressed from BarryK's blog, and the release notes were printed to .pdf file from http://distro.ibiblio.org/easyos/amd64/ ... es-2.3.htm, also addressed from BarryK's blog, just as I did with previous versions. I have not opened the .iso, I have no reason for that.
But, your suggestion made me search, and in /, I found a mounted, empty directory, see image below. How it got there, I don't know. If I open an .iso, which I usually don't do, I definitely wouldn't open it in the base directory. So, thank you for the suggestion HerrBert - problem solved!
Attachments
easydir.png
(4.18 KiB) Downloaded 75 times
Last edited by tallboy on Mon 01 Jun 2020, 15:48, edited 1 time in total.
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#10 Post by tallboy »

bad idea.
Entered in error.
bigpup, you messages are usually sound and informative, so admitting that you once in the blue moon have a bad idea, is very refreshing! :D
True freedom is a live Puppy on a multisession CD/DVD.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Well, it was a good idea, but when I tested it.
The test did not give me the results, I was thinking would happen.
I posted too soon.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#12 Post by musher0 »

tallboy wrote:(...)
Life was so much easier when I ran off a live multisession CD! Just reboot, and everything is OK again!
(...)
Well... ? :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#13 Post by tallboy »

musher0 wrote:Well... ?
As I wrote, I have downloaded the EasyPup. Reports say it run well, live off a CD. I don't know if it can save back to the multisession CD, but I'll try.
True freedom is a live Puppy on a multisession CD/DVD.

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#14 Post by O.F.I.N.S.I.S. »

HerrBert wrote:Just guessing:

Did you open the downloaded .iso file to copy its release notes?
If so, did you unmount the .iso file before trying to unmount sda4?

That's what happens to me very often... :oops:
That's one of the reasons why I have optimized/increased the code of e.g. /usr/local/pup_event/frontend_rox_funcs. When unmounting a drive it first unloads .sfs files, then unmounts .sfs, 2fs, 3fs, 4fs files from /mnt, then unmounts .iso files from /mnt and after all of that it unmounts the drive itself.

At reboot/shutdown all drives will be unmounted before X quits and so all mounted/loaded .sfs, .iso and .?fs files are unmounted/unloaded.
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#15 Post by O.F.I.N.S.I.S. »

In addition to my post above, here's a screenshot of the right-click menu of my rox filer drive icons.

From top to bottom:

PMount
Drive Icon Management
---
GParted
Grub4DOS
---
Unmount Partition
Mount Partition
---
Refresh Partition Info (Free space available etc.pp.)
Refresh all Partitions Infos (Free space available etc.pp.)
---
Graphical Diks Map for the Partition
Search for files with PFind
Open Partition with XFE (or another FIle Commander)
---
Unmount all Partitions
Mount all Partitions
Refresh all Partitions/Drives (New redraw of icons)
Open all Partitions in ROX filer
Close all Rox filer windows
---
Shutdown/Reboot Menu etc.pp.

8) :D
Attachments
Screenshot.jpg
(84.93 KiB) Downloaded 27 times
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#16 Post by HerrBert »

Other than O.F.I.N.S.I.S. i have
1.) added some code to /usr/local/bin/drive_all to pop up box_ok with the message "${MNTPT} kann nicht ausgehängt werden, solange" "${LOMSG}" "eingehängt ist." which transates to something like "${MNTPT} can not be unmounted while" "${LOMSG}" "is mounted."
2.) made a wrapper for filemnt to add mounted loops to desktop (somewhat unstable since sfs_load unmounts loops without warning...)
Attachments
mntfile.jpg
(39.9 KiB) Downloaded 49 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#17 Post by musher0 »

Who is "Solange" and what is she doing there? :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

HerrBert
Posts: 152
Joined: Thu 03 Nov 2016, 15:11
Location: NRW, Germany

#18 Post by HerrBert »

musher0 wrote:Who is "Solange" and what is she doing there? :)
I guess, she's lost in translation... :shock:

O.F.I.N.S.I.S.
Posts: 159
Joined: Sun 01 Mar 2020, 16:17

#19 Post by O.F.I.N.S.I.S. »

HerrBert wrote:Other than O.F.I.N.S.I.S. i have
1.) added some code to /usr/local/bin/drive_all to pop up box_ok with the message "${MNTPT} kann nicht ausgehängt werden, solange" "${LOMSG}" "eingehängt ist." which transates to something like "${MNTPT} can not be unmounted while" "${LOMSG}" "is mounted."
2.) made a wrapper for filemnt to add mounted loops to desktop (somewhat unstable since sfs_load unmounts loops without warning...)
Yes, in older Puppies like Lucid and Precise the code I changed/expanded was mainly in /usr/local/bin/drive_all. In newer Puppies /usr/local/bin/drive_all is different.
Our Future Is Not Set In Stone
[url]https://www.youtube.com/channel/UCyfyaxCNMduwyXlQFRQKhhQ[/url]
[url]https://soundcloud.com/user-633698367[/url]
[b]My own build of Bionic64[/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#20 Post by musher0 »

HerrBert wrote:
musher0 wrote:Who is "Solange" and what is she doing there? :)
I guess, she's lost in translation... :shock:
Apologies if It sounded like a mockery. It wasn't.
Solange is a woman's first name in French.
And some people label their partitions.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply