From: Hinko Kocevar <hinko.kocevar@cetrtapot.si>
To: buildroot@busybox.net
Subject: [Buildroot] dropbear & openssh transfers are limited to about 800k !?
Date: Fri, 12 Dec 2008 14:44:13 +0100 [thread overview]
Message-ID: <49426AAD.7030308@cetrtapot.si> (raw)
In-Reply-To: <49411ED2.1060601@gin.de>
Andreas Kuehn wrote:
>
> First, scp (sftp) segfaults in both directions.
>
> - getting a file from the host to the box ends at 880KB
> - putting a file from the box to the host ends at 992KB
>
>
> 1. Here is the debug output of "scp user at host:gimp.ps ."
> Right in the middle you see a "segmentation fault"
>
I would suggest to run the segfaulting process under
gdb(server) and backtrace when segfault occurs. You'll
probably need to rebuild uClibc and busybox with
debugging symbols.
...
>
> read(7, "-!s8W-!s8W-!s8W-!s8W-!s8N\'!zz!!*"..., 4096) = 4096
> write(3, "-!s8W-!s8W-!s8W-!s8W-!s8N\'!zz!!*"..., 4096) = 4096
> read(7, "W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-"..., 4096) = 4096
> write(3, "W-!s8W-!s8W-!s8W-!s8W-!s8W-!s8W-"..., 4096) = 4096
> read(7, "/\\;FNo=3&s;b3C6/$S=5uJs8W-!s8W-!"..., 4096) = 4096
> write(3, "/\\;FNo=3&s;b3C6/$S=5uJs8W-!s8W-!"..., 4096) = 4096
> --- SIGALRM (Alarm clock) @ 0 (0) ---
> getpgrp() = 884
> ioctl(1, TIOCGPGRP, [884]) = 0
> time(NULL) = 6388
> gimp.ps 8% 324KB 324.0KB/s
> 00:01 ) = 80
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
Segfault at 0, hmm, and in first second. Maybe time(NULL)
is the culprit here. Another thing - can you verify that
segfault occurs at the first second (eg. when time(NULL)
is first called), or does it happen on random elapsed time?
IIRC, latest buildroot uses uclibc-0.9.30, do early
versions work, try uClibc-0.9.29 perhaps?
HTH,
Hinko
--
Hinko Ko?evar, OSS developer
?ETRTA POT, d.o.o.
Planina 3, 4000 Kranj, SI EU
tel ++386 (0) 4 280 66 03
e-mail hinko.kocevar at cetrtapot.si
http www.cetrtapot.si
next prev parent reply other threads:[~2008-12-12 13:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 8:03 [Buildroot] dropbear & openssh transfers are limited to about 800k !? Andreas Kuehn
2008-12-11 10:13 ` Peter Korsgaard
2008-12-11 10:39 ` Andreas Kuehn
2008-12-11 12:52 ` Hinko Kocevar
2008-12-11 14:08 ` Andreas Kuehn
2008-12-12 13:44 ` Hinko Kocevar [this message]
2008-12-17 16:32 ` Andreas Kuehn
2008-12-11 15:34 ` Andreas Kuehn
2008-12-11 23:57 ` Peter Korsgaard
2008-12-12 8:52 ` Andreas Kuehn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49426AAD.7030308@cetrtapot.si \
--to=hinko.kocevar@cetrtapot.si \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox