ssh connection freezes

Bug #535156 reported by Robert on 2010-03-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Medium
Unassigned

Bug Description

1)
Description: Ubuntu 9.10
Release: 9.10

2)
openssh-client:
  Installiert: 1:5.1p1-6ubuntu2
  Kandidat: 1:5.1p1-6ubuntu2
  Versions-Tabelle:
 *** 1:5.1p1-6ubuntu2 0
        500 http://de.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status
3)
Nothing ;-)
ssh shouldn't stop working.
4)
ssh connection freezes. Extract from kern.log:

Mar 9 16:49:58 c64 kernel: [22944.432793] WARNING: at /build/buildd/linux-2.6.31/net/ipv4/tcp.c:1408 tcp_recvmsg+0xa49/0xb20()
Mar 9 16:49:58 c64 kernel: [22944.432800] Hardware name: X51H
Mar 9 16:49:58 c64 kernel: [22944.432805] Modules linked in: usbhid aes_i586 aes_generic binfmt_misc ppdev snd_hda_codec_si3054 snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm arc4 snd_seq_dummy snd_seq_oss joydev snd_seq_midi ecb snd_rawmidi snd_seq_midi_event iptable_filter ip_tables snd_seq snd_timer ath5k pcmcia psmouse snd_seq_device mac80211 ath sdhci_pci x_tables lp yenta_socket rsrc_nonstatic pcmcia_core sdhci asus_laptop cfg80211 parport serio_raw led_class snd soundcore snd_page_alloc fbcon tileblit font bitblit softcursor 8139too 8139cp mii i915 drm i2c_algo_bit intel_agp agpgart video output
Mar 9 16:49:58 c64 kernel: [22944.432913] Pid: 5918, comm: ssh Tainted: G W 2.6.31-20-generic #57-Ubuntu
Mar 9 16:49:58 c64 kernel: [22944.432919] Call Trace:
Mar 9 16:49:58 c64 kernel: [22944.432925] [<c01450ad>] warn_slowpath_common+0x6d/0xa0
Mar 9 16:49:58 c64 kernel: [22944.432933] [<c04d2659>] ? tcp_recvmsg+0xa49/0xb20
Mar 9 16:49:58 c64 kernel: [22944.432939] [<c04d2659>] ? tcp_recvmsg+0xa49/0xb20
Mar 9 16:49:58 c64 kernel: [22944.432946] [<c01450f5>] warn_slowpath_null+0x15/0x20
Mar 9 16:49:58 c64 kernel: [22944.432953] [<c04d2659>] tcp_recvmsg+0xa49/0xb20
Mar 9 16:49:58 c64 kernel: [22944.432960] [<c0492653>] sock_common_recvmsg+0x43/0x60
Mar 9 16:49:58 c64 kernel: [22944.432967] [<c04922cc>] sock_aio_read+0x11c/0x130
Mar 9 16:49:58 c64 kernel: [22944.432974] [<c0573fd8>] ? _spin_lock+0x8/0x10
Mar 9 16:49:58 c64 kernel: [22944.432981] [<c01e7b1c>] do_sync_read+0xbc/0x100
Mar 9 16:49:58 c64 kernel: [22944.432988] [<c015c180>] ? autoremove_wake_function+0x0/0x40
Mar 9 16:49:58 c64 kernel: [22944.433021] [<c02cbd9f>] ? security_file_permission+0xf/0x20
Mar 9 16:49:58 c64 kernel: [22944.433028] [<c01e7bbf>] ? rw_verify_area+0x5f/0xe0
Mar 9 16:49:58 c64 kernel: [22944.433034] [<c01cc5c0>] ? handle_mm_fault+0x330/0x380
Mar 9 16:49:58 c64 kernel: [22944.433041] [<c01e81fa>] vfs_read+0x17a/0x190
Mar 9 16:49:58 c64 kernel: [22944.433047] [<c01e872d>] sys_read+0x3d/0x70
Mar 9 16:49:58 c64 kernel: [22944.433053] [<c01033ac>] syscall_call+0x7/0xb
Mar 9 16:49:58 c64 kernel: [22944.433059] ---[ end trace d0d1fb602da57778 ]---

ProblemType: Bug
Architecture: i386
Date: Tue Mar 9 17:29:02 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Debian GNU/Linux 5.0 r0 "Lenny" - Official Snapshot i386 LIVE/INSTALL Binary 20091124-21:19
Package: openssh-client 1:5.1p1-6ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: openssh
Uname: Linux 2.6.31-20-generic i686

Robert (me-robcas) wrote :
Daniel Hahler (blueyed) wrote :

Can you provide a testcase, e.g. some publicitly reachable server and a command line you're using?
Apart from that, using multiple "-v" options to "ssh" increases its verbosity and might help debugging this.

Changed in openssh (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
tags: added: karmic
Robert (me-robcas) wrote :

During this session I had multiples ssh "lags" (5-10sec ssh not responding).
I'm aware that short lags are related to my WPA/WEP2 WLAN connection.
But this long lags can't be related to my WLAN connection, because during these lags I was able to
browse and load new pages in my browser.
I extracted the section from the log where the long lags appeared.

...
debug2: channel 0: window 999202 sent adjust 49374
debug2: channel 0: window 996973 sent adjust 51603
...
debug2: channel 0: window 997153 sent adjust 51423
debug2: channel 0: window 998185 sent adjust 46986
...
debug2: channel 0: window 998256 sent adjust 50320
debug2: channel 0: window 993202 sent adjust 55374
...
debug2: channel 0: window 999017 sent adjust 49559
debug2: channel 0: window 998367 sent adjust 50209

Pls see attached file for full log output.

Robert (me-robcas) wrote :

Switching from ath5k to madwifi-hal-0.10.5.6 dosn't change anything.
Still I'm experience thoses lags.

Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers