Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-05 Thread ori
Quoth adr : > On Thu, 4 Aug 2022, Richard Miller wrote: > >> I don't know any reliable server with good bandwidth serving without tls > > > > I am able to connect to your example arch.mirror.constant.com using > > both http and https. > > And now I feel like an idiot! The thing is that other

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-04 Thread adr
On Thu, 4 Aug 2022, Richard Miller wrote: I don't know any reliable server with good bandwidth serving without tls I am able to connect to your example arch.mirror.constant.com using both http and https. And now I feel like an idiot! The thing is that other tests I've made (I'm talking about

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-04 Thread ori
Quoth Richard Miller <9f...@hamnavoe.com>: > I am able to connect to your example arch.mirror.constant.com using > both http and https. Same. > Something is going on with usb ethernet and tls which I don't understand. > Could it be as simple as different block sizes interacting with the usb >

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-04 Thread Richard Miller
> I don't know any reliable server with good bandwidth serving without tls I am able to connect to your example arch.mirror.constant.com using both http and https. Something is going on with usb ethernet and tls which I don't understand. Could it be as simple as different block sizes interacting

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-03 Thread adr
On Wed, 3 Aug 2022, Richard Miller wrote: 9legacy should always have up to date patches for the Raspberry Pi, and the 9legacy SD card image will usually be fresher than the 9pi.img.gz image in contrib/miller. The only value now in the 9pi image is for historians: I've tried to conserve the

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-03 Thread adr
On Wed, 3 Aug 2022, Richard Miller wrote: That was a typo, is almost five times slower (~80% slower). Just to be clear, it is really worst! Unless your "small arm linux machine" is a raspberry pi, you are changing too many variables to make a meaningful comparison. Benchmarking i/o across the

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-03 Thread Richard Miller
> By the way Richard, should I take the last rpi image at 9legacy as > the more recent with your work? Are you going to abandon > https://plan9.io/sources/contrib/miller/? 9legacy should always have up to date patches for the Raspberry Pi, and the 9legacy SD card image will usually be fresher

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-03 Thread Richard Miller
>> See the difference? That's a little more than 19Mb/s, some 2MiB/s almost 50% >> slower. > > That was a typo, is almost five times slower (~80% slower). Just > to be clear, it is really worst! Unless your "small arm linux machine" is a raspberry pi, you are changing too many variables to make

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread adr
On Wed, 3 Aug 2022, adr wrote: linux: $ wget -O /dev/null https://arch.mirror.constant.com/images/v20220801.71902/Arch-Linux-x86_64-basic-20220801.71902.qcow2 [...] /dev/null 100%[===>] 489.88M 10.5MB/sin 51s 2022-08-02 22:56:44 (9.58 MB/s) - ???/dev/null???

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread adr
By the way Richard, should I take the last rpi image at 9legacy as the more recent with your work? Are you going to abandon https://plan9.io/sources/contrib/miller/? -- 9fans: 9fans Permalink:

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread adr
On Tue, 2 Aug 2022, Richard Miller wrote: It should be documented somewhere, but at present it's only implemented for the bcm kernel, and raspberry pi doesn't have a plan9.ini. I think that cmdline.txt should be described in plan9.ini(8) (It should be possible to move etherusb.c to

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread adr
On Tue, 2 Aug 2022, Richard Miller wrote: So bad maxpkt... etherusb check for maxpkt < 512 which is the max for bulk transfers in usb2 high speed. Using 1024 instead fixes the problem. Thanks, the code was correct when written but the world has moved on! Is your adapter transmitting packets

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread Richard Miller
> Shouln't the usb type be documented in the ethernet section of plan9ini(8), It should be documented somewhere, but at present it's only implemented for the bcm kernel, and raspberry pi doesn't have a plan9.ini. (It sould be possible to move etherusb.c to /sys/src/9/port and use it on other

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-02 Thread Richard Miller
> So bad maxpkt... etherusb check for maxpkt < 512 which is the max for > bulk transfers in usb2 high speed. Using 1024 instead fixes the problem. Thanks, the code was correct when written but the world has moved on! Is your adapter transmitting packets successfully now? > Should it chek for the

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-01 Thread Lucio De Re
On 8/1/22, adr wrote: > > Oh, and thanks for trying with your pi, I know it takes time and > I appreaciate it. > Well, let me say thanks to you for instigating some interesting and seemingly fruitful discussion - a rare gem and a precious one. Lucio. --

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-01 Thread adr
% aux/stub -d /net/etherU0 && bind /dev/etherU0 /net/etherU0 (for a single alias without extra clutter) Thanks Richard, I didn't know about stub. Oh, and thanks for trying with your pi, I know it takes time and I appreaciate it. -- 9fans: 9fans

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-01 Thread adr
> % aux/stub -d /net/etherU0 && bind /dev/etherU0 /net/etherU0 >   (for a single alias without extra clutter) Thanks Richard, I didn't know about stub. Shouln't the usb type be documented in the ethernet section of plan9ini(8), and noauto in usbd(4)? --

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-01 Thread adr
I've been experimenting again. With etherusb in the kernel, usbd is triggering usb/ether and the device is mounted at /dev. I don't know what happened before. But there is no etherusb device. ; echo noauto ether > /dev/usbdctl (unplug and plug again the device) ; sed /ether/q /dev/usb/ctl ...

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-08-01 Thread Richard Miller
> Other programs expect the devices mounted in > /net. I'm binding the device inside a directory in /tmp and then > binding this directory to /net. I would appreciate if someone shares > the correct way of doing this. Two ideas come to mind: % mount -a /srv/usb /net (then all usb devices

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-07-31 Thread Richard Miller
What you're trying to do should work. I've just checked an ASIX usb2 ether dongle on a pi4 as '#l1', usbd recognises it and I can mount '#l1' on /net and configure it. I did have to add etherusb to the kernel config and rebuild first, as you did. The tricky part is that the real usb ether driver

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-07-31 Thread adr
Sorry hiro, try this https://aliexpress.com/item/1005003167747779.html -- 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T668643d11149fab4-M77a66abad7a13dbfad7f19b7 Delivery options:

Re: [9fans] USB3 1Gb ethernet card working on 9legacy (rpi 4)

2022-07-31 Thread hiro
"Esta página no existe :(" On 7/31/22, a...@sdf.org wrote: > https://es.aliexpress.com/item/1005003167747779.html > > First time using usb/ether, so let me share my experience for other users. > > This is on the last 9pi image at 9legacy. > > First, I added a line with did=0x8153 to