Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 02:55:23 +0800
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>, Howard Su <howard0su@gmail.com>
Subject:   Re: sshd crash
Message-ID:  <CAHNYxxP%2BAHK5n_ZDoWTO8g8y_jccFZ9nyWJpmVCD9RMjQz=d0Q@mail.gmail.com>
In-Reply-To: <CAHNYxxNiuKP8wfTaZuL%2BBXiLcYA9eU3LBb-659ZBYr-WBSmZeQ@mail.gmail.com>
References:  <CAAvnz_rj43Ww6=mMfnp2u5TA2pWb20vWOqyAtuK08wgzy0dH6A@mail.gmail.com> <1383313834.31172.65.camel@revolution.hippie.lan> <CAHNYxxMMF_GJv10drYuQFO%2Bav%2BTdp8OBvJfFZObEZ=tgaBovSA@mail.gmail.com> <1383328423.31172.92.camel@revolution.hippie.lan> <CAHNYxxNiuKP8wfTaZuL%2BBXiLcYA9eU3LBb-659ZBYr-WBSmZeQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--f46d044286e29e372d04ea221d09
Content-Type: text/plain; charset=UTF-8

and attached logs putty connecting to rpi successfully.

putty profiles were copied for both bbb & rpi. So there should
be no obvious setting differences.

-Jia-Shiun.

On Sat, Nov 2, 2013 at 2:40 AM, Jia-Shiun Li <jiashiun@gmail.com> wrote:
> On Sat, Nov 2, 2013 at 1:53 AM, Ian Lepore <ian@freebsd.org> wrote:
>> On Sat, 2013-11-02 at 01:44 +0800, Jia-Shiun Li wrote:
>>> may I add: putty causes this to happen. mine 0.62. But ssh from another
>>> FreeBSD host has no problem.
>>>
>>> I suspect it to be some issues related to memory or malloc issues
>>> specific to bbb. 'tmux a -d' without existing detached sessions
>>> causes tmux client to core dump. But sshd and it are both fine on rpi.
>>>
>>> -Jia-Shiun.
>>
>> This is the first I've heard of being able to ssh to an arm platform
>> that doesn't have PrivSep disabled, since about July or so.  I've never
>> heard a report yet that anything on the client side could make a
>> difference.
>>
>> It's definitely not a beaglebone thing, it happens on every arm board
>> I've got... dreamplug, rpi, bbw, imx53, wandboard.
>
>
> Ok let me make sure I did not mix things up. ;)
>
> IIRC  I once saw similar issue on rpi shortly. But after another
> weekly update it was gone. I did not pay too much attention on rpi,
> and thought it was bbb specific.
>
> I did not change sshd_config, UsePrivilegeSeparation supposed
> remaining on as default is.
>
> sshd logs attached initiating ssh to bbb from:
>  - PuTTY on Windows w/ key auth,
>  - PuTTY on Windows w/ password auth, and
>  - (open)ssh on rpi
>
> Both rpi & bbb are now running r257094:
> --- 8< ---
> jsli@beaglebone:~ % uname -a
> FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r257094: Sat
> Oct 26 03:06:24 CST 2013
> jsli@4cbsd:/root/crochet-freebsd/work/obj/arm.armv6/usr/src/sys/BEAGLEBONE
>  arm
> jsli@beaglebone:~ %
>
> jsli@raspberry-pi:~ % uname -a
> FreeBSD raspberry-pi 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r257094: Sat
> Oct 26 00:16:37 CST 2013
> jsli@4cbsd:/rpi/obj/arm.armv6/usr/src/sys/RPI-B  arm
> jsli@raspberry-pi:~ %
> --- 8< ---
>
> -Jia-Shiun.

--f46d044286e29e372d04ea221d09
Content-Type: text/plain; charset=US-ASCII; name="sshd-rpi-from-putty0.62.log.txt"
Content-Disposition: attachment; filename="sshd-rpi-from-putty0.62.log.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hnhs6v6k3

anNsaUByYXNwYmVycnktcGk6fiAjIGB3aGljaCBzc2hkYCAtZApkZWJ1ZzE6IEhQTiBCdWZmZXIg
U2l6ZTogNjU1MzYKZGVidWcxOiBzc2hkIHZlcnNpb24gT3BlblNTSF82LjNwMV9ocG4xM3YxMSBG
cmVlQlNELTIwMTMwOTE4LCBPcGVuU1NMIDEuMC4xZS1mcmVlYnNkIDExIEZlYiAyMDEzCmRlYnVn
MTogcm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