From owner-freebsd-arm@FreeBSD.ORG Sat Feb 23 14:27:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B80E39A0 for ; Sat, 23 Feb 2013 14:27:30 +0000 (UTC) (envelope-from mats@exmandato.se) Received: from ext.mellstrand.net (ext.mellstrand.net [IPv6:2001:2040:4:2::51]) by mx1.freebsd.org (Postfix) with ESMTP id E7A31F41 for ; Sat, 23 Feb 2013 14:27:29 +0000 (UTC) Received: by ext.mellstrand.net Sat, 23 Feb 2013 14:27:17 GMT Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Mats Mellstrand X-Priority: 3 In-Reply-To: <28AF530A-E06F-480A-8A4D-242FB0019136@exmandato.se> Date: Sat, 23 Feb 2013 15:27:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <858C493F-151D-4811-8696-AE5932919413@exmandato.se> References: <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <722ED669-A682-4F25-A65B-1E2FF8CFAA4D@exmandato.se> <20130131001553.GC67562@cicely7.cicely.de> <9E78813F3BF946A4A2FCEA2C363A847E@ad.peach.ne.jp> <016DDBBF-D502-4C76-96B5-BEE2D46FC6CC@exmandato.se> <28AF530A-E06F-480A-8A4D-242FB0019136@exmandato.se> To: "Daisuke Aoyama" Cc: freebsd-arm@freebsd.org, ticso@cicely.de X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 14:27:30 -0000 Hi Some more "digging" [client] ~/Desktop% sftp rpi Received message too long 459092027 I tried various clients, with the same result. To summarize - and correct my self: The name rpi is registered in my DNS and associated with both an IPv4 = and IPv6 address. Both addresses also have reverse name definitions (in-addr.arpa and = ip6.arpa).=20 I am using the latest image from http://www.peach.ne.jp/archives/rpi/ FreeBSD a25.mellstrand.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0 = r246603M: Sun Feb 10 10:24:24 JST 2013 = aoyama@fbs.local:/usr/obj-rpi-clang/arm.armv6/usr/src/sys/RPI-B-test16 = arm=20 I have disabled all ipfw functions I can ssh to and from the RPi I can scp from the RPi I can't scp to the RPi I can't open an sftp session to the RPi I have lots of debug output from the sshd and the various clients I have = tried.=20 I am attaching a small part from the client side: debug1: Authentication succeeded (publickey). 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<=3D0 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 debug2: channel 0: rcvd eof 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 /mm On 23 feb 2013, at 07:23, Mats Mellstrand wrote: > Hi > On 23 feb 2013, at 05:00, "Daisuke Aoyama" wrote: >=20 >> Hi, >>=20 >> Did you quote IPv6 address? >=20 > I use hostname.=20 >=20 >> scp use ':' as special char. >> Also '[' and ']' may need quotation/escaping for the shell. >>=20 >> Please try like this: >> # scp -v some.txt pi@'[your IPv6 of RPi]':. >>=20 >> or use host name instead of IPv6 address. >=20 > Hostname. >=20 > The scp client - I have tried many - connects to RPi but after a while = the connection stalls. >=20 > And the same happens with both IPv4. >=20 > [client] ~% scp -4 rpi:/usr/home/mats/tess.txt . > C0755 868 tess.txt >=20 > No file is copied >=20 > [client] ~% scp -6 rpi:/usr/home/mats/tess.txt . > C0755 868 tess.txt >=20 >=20 > No file is copied >=20 >=20 > /mm >=20 >>=20 >> Regards, >> --=20 >> Daisuke Aoyama >>=20 >>=20 >> -------------------------------------------------- >> From: "Mats Mellstrand" >> Sent: Tuesday, February 19, 2013 5:27 PM >> To: "Daisuke Aoyama" >> Cc: ; >> Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot = + ubldr) >>=20 >>> Hi >>>=20 >>> I'm having problem with scp to or from RPi. >>> I have tried IPv4 and IPv6, ue0 and wlan0, but scp don't work. >>> However ssh does. >>>=20 >>> /mm >>>=20 >>> On 11 feb 2013, at 20:22, Daisuke Aoyama wrote: >>>=20 >>>>> In trying to install the ports collection on my RPi, the following = happens: >>>>>=20 >>>>> kmem_malloc(4096): kmem_map too small: 12582912 total allocated >>>>> KDB: enter: panic >>>>> [ thread pid 27505 tid 100053 ] >>>>> Stopped at $d: ldrb r15, [r15, r15, ror r15]! >>>>>=20 >>>>> Suggestions? (more than not installing the ports collection) >>>>=20 >>>> This is known problem of old kernel. You can update the kernel to >>>> http://www.peach.ne.jp/archives/rpi/kernel/kernel-20130209.gz >>>>=20 >>>> or use new image based on SVN r246603: >>>> = http://www.peach.ne.jp/archives/rpi/freebsd-pi-clang-20130210.img.gz >>>>=20 >>>> This image contain both complete source tree and portsnap = fetch/extracted tree. >>>>=20 >>>> Also, some packages making under freebsd-pi-clang-20130210.img are = uploaded to: >>>> http://www.peach.ne.jp/archives/rpi/ports/packages/All/ >>>> (compiled by clang/clang++ with bundled make.conf) >>>> = ---------------------------------------------------------------------- >>>> How to use package: >>>> First, install pkg manually: >>>> # fetch http://www.peach.ne.jp/archives/rpi/pkg-static >>>> # fetch = http://www.peach.ne.jp/archives/rpi/ports/packages/All/pkg-1.0.7.txz >>>> # chmod 755 pkg-static >>>> # ./pkg-static add pkg-1.0.7.txz >>>> # echo 'PACKAGESITE : = http://www.peach.ne.jp/archives/rpi/ports/packages/All' > = /usr/local/etc/pkg.conf >>>>=20 >>>> For example, install bash and subversion: >>>> # pkg install bash >>>> # pkg install subversion >>>> = ---------------------------------------------------------------------- >>>>=20 >>>> Thank you. >>>> --=20 >>>> Daisuke Aoyama >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"