[Bug 605283] [NEW] sftp/ssh freeze after hibernate
donquixote
605283 at bugs.launchpad.net
Wed Jul 14 06:00:45 UTC 2010
Public bug reported:
Steps:
1. ssh-connect to a remote server with nautilus (a web server vm, in my case)
2. Open some remote files with gedit directly from nautilus
3. Open a terminal, and connect to ssh
4. Hibernate and resume.
Result:
- gedit freezes
- ssh terminal unresponsive
- at the time when i still had 2GB memory (instead of 4GB), the rest of the system was also quite unresponsive.
Responsiveness (for everything) is back when I unmount the ssh/sftp
connection in Nautilus, and/or close the ssh terminals.
------
Solution:
- Applications should understand that the connection is temporarily gone, and not waste resources on a broken ssh connection.
- Ideally, all involved applications should remember the remote filesystem location and opened files, until the connection is back. If they already do, we need to take care that the bugfix does not change this.
- Ubuntu hibernate should tell applications that ssh connections are temporarily gone.
- Ubuntu wake-up-from-hibernate should ask the ssh password and reconnect, if I want to use one of the applications that depends on the ssh connection. This should not be in a modal dialog, but rather in a panel notification or anything that can wait until user takes care of it.
Bottomline:
Remember the state, allow to reconnect, and be patient (with dialogs and system resources) as long as the connection is (temporarily) gone.
Important:
As it is now, if after the unmount I then change one of the files in gedit, it will ask me for the ssh password and reconnect. This is good, and should stay this way!!
-----
I make this a kernel bug, because of the hibernate stuff.
I imagine that gedit is just one example for this problem, and the real solution has to happen in the kernel.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-23-generic 2.6.32-23.37
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: lemonhead 26870 F.... pulseaudio
/dev/snd/pcmC0D0p: lemonhead 26870 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xea100000 irq 22'
Mixer name : 'Realtek ALC888'
Components : 'HDA:10ec0888,1458a002,00100001'
Controls : 40
Simple ctrls : 22
Date: Wed Jul 14 07:38:03 2010
HibernationDevice: RESUME=UUID=70ea4d68-3ffb-49fb-bcac-6b8763075a6b
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
ppp0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. EP43-DS3L
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-23-generic root=UUID=1821e0b4-ad3f-4483-a9cc-c486acd7d7b4 ro quiet splash
ProcEnviron:
LC_TIME=custom.UTF-8"
LANGUAGE=en
PATH=(custom, user)
LANG=de_DE.utf8
SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.1
RfKill:
SourcePackage: linux
dmi.bios.date: 07/22/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F6
dmi.board.name: EP43-DS3L
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF6:bd07/22/2008:svnGigabyteTechnologyCo.,Ltd.:pnEP43-DS3L:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnEP43-DS3L:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: EP43-DS3L
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug gedit hibernate lucid needs-upstream-testing resume sftp ssh
--
sftp/ssh freeze after hibernate
https://bugs.launchpad.net/bugs/605283
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list