Laptop won't shut down if SSHFS is mounted
Hi all,
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? Thanks :) |
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. |
Quote:
Thanks :) |
Quote:
As a workaround you can create a script /etc/rc.local.shutdown that contains this little script Code:
#!/bin/sh |
Hi,
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. |
All times are GMT -5. The time now is 10:43 AM. |