Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jun 2020 13:00:30 -0300
From:      =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= <rollingbits@gmail.com>
To:        Carlo Strub <cs@freebsd.org>
Cc:        freebsd-security@freebsd.org
Subject:   Re: Odd ssh sessions
Message-ID:  <08BDD3F1-D396-49F4-8DB6-0CFDE9411F8E@gmail.com>
In-Reply-To: <A3FDF16D-6B51-43AD-81B1-CA1B42124D18@gmail.com>
References:  <A3FDF16D-6B51-43AD-81B1-CA1B42124D18@gmail.com>

index | next in thread | previous in thread | raw e-mail

> On Jun 12, 2020, at 7:27 PM, Lucas Nali de Magalhães <rollingbits@gmail.com> wrote:
>> On Jun 12, 2020, at 7:10 PM, Lucas Nali de Magalhães <rollingbits@gmail.com> wrote:
>>> On Jun 12, 2020, at 3:23 AM, Carlo Strub <cs@freebsd.org> wrote:
>>>> On Fri, 5 Jun 2020, 20:48 Lucas Nali de Magalhães, <rollingbits@gmail.com> wrote:
>>>>  On Jun 5, 2020, at 3:45 PM, Lucas Nali de Magalhães <rollingbits@gmail.com> wrote:
>>>>> 
>>>>>  I've an old machine where I play with FreeBSD and after a while off, I came back and noted that
>>>>> sometimes when I enter an ssh session part of the text repeats. It can be many lines or it can be
>>>>> just one or even it can be none. So it also looks like I found a memory problem. Is it just me?
>>>> And I'm going from FreeBSD 12.1-p3 to 12.1-p5 in this case.
>> 
>>> Can you elaborate on what steps you are doing to get to such a state?
>> 
>> 
>> 
>> I wrote in the hope it was somewhat easy, sorry. I've difficulty in reproducing it myself. Network is not
>> very reliable in it and I first though it was the WiFi but I observed it over Ethernet IPv6, too. My sessions
>> have some "host not found"  and "connection lost." I access from a Windows 10 machine. I've no idea if
>> the things are related or not. I hope it have no relation with my typos. Today it was stable and I tried to
>> use the sftp but Windows (for the first time) tried to resolve the IPv6 address and didn't find the host.
>> The next ssh sessions had the line duplication problem. It's a 32bit Intel Celeron M notebook used for
>> experimentation with customized FreeBSD (with make.conf and src.conf).
>> 
> 
> 
> $ cat /etc/make.conf
> (...)
> $ cat /etc/src.conf
> (...)

Usually the wifi is the problem on this machine. In fact, I'm no sure if these things are related.
A few days ago the drive caused a double fault on detach. I was turning it off and it ended in 
a kernel backtrace. Nothing was saved on disk and the part of the message I could read said 
the wifi didn't allowed the detach (or something alike). This isn't common. The part of the 
dmesg that is related to it is

ugen4.2: <vendor 0x0bda product 0x8187> at usbus4
urtw0 on uhub0
urtw0: <Bulk-IN,Bulk-OUT,Bulk-OUT> on usbus4
urtw0: unknown RTL8187L type: 0x8000000
urtw0: rtl8187l rf rtl8225u hwrev none
uhub_reattach_port: giving up port reset - device vanished
wlan0: Ethernet address: 00:15:af:XX:XX:XX
uhub_reattach_port: giving up port reset - device vanished

and a few more messages of unrecognized devices follows in the dmesg. It's computer bought in Brazil, if that matters.

-- 
rollingbits — 📧 rollingbits@gmail.com 📧 rollingbits@terra.com.br 📧 rollingbits@yahoo.com 📧 rollingbits@globo.com 📧 rollingbits@icloud.com



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08BDD3F1-D396-49F4-8DB6-0CFDE9411F8E>