Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If I shut down my laptop without unmounting a mounted SSHFS directory first, the computer hangs on this screen (apologies for the size of that picture).
None of my other computers have this problem, just this one Laptop. Can anyone help me?
It looks like a kernel crash, with a back trace (some information about the problem) dumped to the screen. Usually this indicates some latent programming bug in the Linux kernel (the program that ultimately runs your system), typically exposed by some quirk of your hardware design or software you are running. (Is your laptop really old, or some unusual brand?)
Perhaps the error involves some kind of interaction between the FUSE module and the kernel (sshfs is based on FUSE) or maybe some bug in the networking code. I really have no idea, though. Theoretically you study up on your kernel programming and debug the specific problem with a lot of time and energy.
A simpler approach, though, would be to try updating your Linux kernel to a newer version, and see if that fixes the problem. If you are running Linux Mint - Debian Edition (as your profile states) then you are likely running a version of the kernel from the 2.6 series, while the latest stable kernel is 3.4.4. Visit kernel.org to get the latest version.
However, building and installing your own kernel does require a bit of learning and maintenance effort. It might be less bother just to unmount your SSHFS mounts before shutting down.
It might be less bother just to unmount your SSHFS mounts before shutting down.
Thanks for the response, apologies for the long delay. This is what I'm currently doing, which is fine... When I remember, it's just that I occasionally forget. I'll keep my fingers crossed for a fix coming in the next Kernal update!
If you are running Linux Mint - Debian Edition (as your profile states) then you are likely running a version of the kernel from the 2.6 series, while the latest stable kernel is 3.4.4. Visit kernel.org to get the latest version.
LMDE is based on Debian Testing, which currently uses a 3.2 kernel. But nonetheless a kernel upgrade may solve your issues. If you are uncomfortable with compiling your own kernel I would recommend to try the kernel from Liquorix.
As a workaround you can create a script /etc/rc.local.shutdown that contains this little script
Code:
#!/bin/sh
umount -av -t sshfs
and look if that works for you. Don't forget to make it executable, this script will unmount all mounted sshfs automatically at shutdown.
Not that comfortable with kernels and stuff from 'strange' websites. I'm really not a computer guy, so worried about doing things wrong with the 'essential' parts of the system.
Also, that work around didn't work, any ideas what I might have done wrong? I nano'd the path/file as root, saved it then chmod +x the file.
Thank you so much for trying to help me with this, it's appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.