Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 10:00:06 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Mats Mellstrand <mats@exmandato.se>
Cc:        freebsd-arm@FreeBSD.org, ticso@cicely.de
Subject:   Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <1361638806.1185.101.camel@revolution.hippie.lan>
In-Reply-To: <010BA15C-C907-43C4-8886-2DE84CE62689@exmandato.se>
References:  <B5F827FF91C94FF2AFEE00194A2BB2C5@ad.peach.ne.jp> <B508111FCE534B2CBA61F4D1EC1078D3@ad.peach.ne.jp> <D3ABE3919EA74D668DB060952B5CD8C0@ad.peach.ne.jp> <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <E48DEAF481F74C69A1BC7A01F2B8E74A@ad.peach.ne.jp> <D867259F89CF44409C2359527D0263D4@ad.peach.ne.jp> <722ED669-A682-4F25-A65B-1E2FF8CFAA4D@exmandato.se> <C46F868CE2644D8AA6F608A41D806128@ad.peach.ne.jp> <DCCE15D5-9AAD-4249-8EBA-29F22B04288F@exmandato.se> <20130131001553.GC67562@cicely7.cicely.de> <9E78813F3BF946A4A2FCEA2C363A847E@ad.peach.ne.jp> <E614FD5C-4177-4628-BAB7-9BF4D3A6DF52@exmandato.se> <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se> <E655542ACB8B4ED08587F66A13F5E308@ad.peach.ne.jp> <CE9B1E37-EA67-4228-BF51-5F67BA9D5E5F@exmandato.se> <E2C570453598470EB3C9969B0ED0C159@ad.peach.ne.jp> <28AF530A-E06F-480A-8A4D-242FB0019136@exmandato.se> <858C493F-151D-4811-8696-AE5932919413@exmandato.se> <010BA15C-C907-43C4-8886-2DE84CE62689@exmandato.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2013-02-23 at 15:45 +0100, Mats Mellstrand wrote:
> Hi 
> 
> I made a cut-and-paste error in my previous mail
> The log file from the client side should be:
> 
> debug1: Sending command: scp -v -f -- tess.txt
> debug2: channel 0: request exec confirm 1
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel 0: rcvd adjust 65536
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: exec request accepted on channel 0
> debug2: channel 0: rcvd ext data 39
> Sending file modes: C0755 868 tess.txt
> debug2: channel 0: written 39 to efd 8
> Sink: C0755 868 tess.txt
> C0755 868 tess.txt
> debug2: channel 0: read<=0 rfd 6 len 0
> debug2: channel 0: read failed
> debug2: channel 0: close_read
> debug2: channel 0: input open -> drain
> debug2: channel 0: ibuf empty
> debug2: channel 0: send eof
> debug2: channel 0: input drain -> closed
> [client] ~/Desktop% debug2: channel 0: rcvd eof                 <--- here the client receives an eof from the RPi, closes the connectionand return. The output from the session continues...
> debug2: channel 0: output open -> drain
> debug2: channel 0: obuf empty
> debug2: channel 0: close_write
> debug2: channel 0: output drain -> closed
> debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
> debug2: channel 0: rcvd close
> debug3: channel 0: will not send data after close
> debug2: channel 0: almost dead
> debug2: channel 0: gc: notify user
> debug2: channel 0: gc: user detached
> debug2: channel 0: send close
> debug2: channel 0: is dead
> debug2: channel 0: garbage collecting
> debug1: channel 0: free: client-session, nchannels 1
> debug3: channel 0: status: The following connections are open:
>   #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)
> 
> debug1: fd 0 clearing O_NONBLOCK
> debug1: fd 1 clearing O_NONBLOCK
> Transferred: sent 2656, received 2488 bytes, in 0.4 seconds
> Bytes per second: sent 7543.1, received 7066.0
> debug1: Exit status 1

Is there any chance you've got a logon script (.cshrc or whatever)
that's echoing output when you log on, even in the case of a
non-interactive session?  I've had that kind of thing cause ssh and scp
problems in the past.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1361638806.1185.101.camel>