Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2022 19:23:10 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        Bakul Shah <bakul@iitbombay.org>, freebsd-net@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: 60+% ping packet loss on Pi3 under -current and stable-13
Message-ID:  <20220503022310.GA19378@www.zefox.net>
In-Reply-To: <0d131ec7-3c83-9470-7052-6a80af1bb574@selasky.org>
References:  <20220501181254.GA14961@www.zefox.net> <E0424240-1E6A-446F-A5BC-939BE8D5A6F2@yahoo.com> <CA5CAD79-F2B6-464D-978A-B9FFC8D2125A@yahoo.com> <20220501232757.GA15446@www.zefox.net> <2F4599BF-EEDA-4D08-AB6E-7AA9F410B2C5@yahoo.com> <20220502011312.GA15807@www.zefox.net> <6f57cd1d-e1d4-5ca4-e301-2633c1d4c1fa@selasky.org> <20220502155334.GA17962@www.zefox.net> <D400ADAB-9EB3-4CA1-8746-A378F9878B6A@iitbombay.org> <0d131ec7-3c83-9470-7052-6a80af1bb574@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 02, 2022 at 06:48:58PM +0200, Hans Petter Selasky wrote:
> 
> You may also want to correlate:
> 
> usbconfig dump_stats
> 
On the -current Pi3 I see in part:
ugen1.4: <JMicron SABRENT> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

{
    UE_CONTROL_OK       : 83
    UE_ISOCHRONOUS_OK   : 0
    UE_BULK_OK          : 3730195
    UE_INTERRUPT_OK     : 0
    UE_CONTROL_FAIL     : 0
    UE_ISOCHRONOUS_FAIL : 0
    UE_BULK_FAIL        : 61
    UE_INTERRUPT_FAIL   : 0
}
That's the USB3 hard disk boot drive. All other devices report zero bulk fails. 



> with netstat for ue0 .
>
On the same machine one gets:

root@www:/home/bob # netstat -i -n ue0
Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
lo0   16384 <Link#1>      lo0                    185     0     0      185     0     0
lo0       - ::1/128       ::1                      0     -     -        0     -     -
lo0       - fe80::%lo0/64 fe80::1%lo0              0     -     -        0     -     -
lo0       - 127.0.0.0/8   127.0.0.1              185     -     -      185     -     -
ue0    1500 <Link#2>      b8:27:eb:71:46:4e   244278     0     0   213240     0     0
ue0       - 50.1.20.0/24  50.1.20.28          213957     -     -   210970     -     -
root@www:/home/bob # 
Nothing obviously amiss....if I'm looking at the right data. 

> Especially the BULK column. If something is wrong on the USB level, it will
> show up there.
>

On a whim, I checked a Pi4 running -current which also has a usb-sata boot drive.
It reports UE_BULK_FAIL        : 56 for the disk and performance seems good.

An old Pi2 running -current with a relatively old USB2-sata boot disk
reports zero bulk errors. No bulk errors seems desirable, but is some
non-zero error rate normal? 

All three machines have been updated within a couple of days.  

Thanks for writing!

bob prohaska




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