Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-27 Thread sc dying
the hexdump includes MAC addresses and IP addresses. > > > > BTW original axen code leaks mbuf if checksum errors occurs. > > You can see mbuf usage is increasing when cksum error occur. > > This patch will fix that bug, too. > > > >> > >> Denis >

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-27 Thread sc dying
On Sat, Aug 25, 2018 at 9:39 PM Remi Locherer wrote: > > On Fri, Aug 24, 2018 at 06:02:20AM +, sc.dy...@gmail.com wrote: > > On 2018/08/19 09:40, Stefan Sperling wrote: > > > On Sun, Aug 19, 2018 at 11:05:04AM +0200, Stefan Sperling wrote: > > >> On Sun, Aug 19, 2018 at 09:56:33AM +0200, Remi

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-24 Thread sc . dying
On 2018/08/19 09:40, Stefan Sperling wrote: > On Sun, Aug 19, 2018 at 11:05:04AM +0200, Stefan Sperling wrote: >> On Sun, Aug 19, 2018 at 09:56:33AM +0200, Remi Locherer wrote: >>> It would help if you could send a clean version that applies to -current. >> >> One of the attachments was in fact

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-19 Thread sc dying
On 2018/08/18 08:38, Stefan Sperling wrote: > Thank you for taking care of axen(4). > The problems with this driver have been known for some time. > > On Tue, Aug 07, 2018 at 02:04:24PM +, sc.dy...@gmail.com wrote: >> - header: fix comments >> - header: fix unused L3 type mask definition >>

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-18 Thread sc . dying
> > Denis > > On 8/17/2018 6:26 PM, sc dying wrote: >> Hi, >> >> On 2018/08/17 07:40, Denis wrote: >>> Hi, >>> >>> 24 hour full load testing shows positive results. >> >> Good news. >> >>> >>> After axe

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-17 Thread sc dying
Hi, On 2018/08/17 07:40, Denis wrote: > Hi, > > 24 hour full load testing shows positive results. Good news. > > After axen3.diff has been implemented there is no TX/RX error present at > all. But 'checksum err (pkt#1)' appears repeatedly like this: > > ... > checksum err (pkt#1) > checksum err

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-14 Thread sc . dying
Hi, On 2018/08/14 08:19, Denis wrote: > I have 6.3 kernel compiled with option XHCI_debug and axen2.diff > implemented. > > I'm using lladdr option for /etc/hostname.axen0 to have the same IP addr > each session for different Ehternet adapters. > > Here is debug output when axen is connected:

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-08 Thread sc dying
Hi, On Wed, Aug 8, 2018 at 9:24 AM, Denis wrote: > Hi, > > Using second diff applied to 6.3 sources and rebuilt kernel. > > The issue is persistent + new kernel error message: > > checksum err (pkt#1) > > axen0: usb errors on rs: IOERROR > axen0: usb errors on rx: IOERROR > axen0: usb error on

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-07 Thread sc . dying
Hi, On 2018/08/07 09:23, Denis wrote: Hi, axen.patch.1st has been applied to CURRENT src tree fetched from official CVS with errors listed before. Second patch has been applied to sources from official CVS -rOPENBSD_6_3 src. To test it one more time I've unpacked src.tar.gz and sys.tar.gz

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-08-06 Thread sc . dying
Hi, On 2018/08/05 15:31, Denis wrote: Can not patch original files in /usr/src/sys/dev/usb/ despite that if_axenreg.h and if_axen.c files fetched directly from current CVS repo. Previous patch is for -current, but perhaps your source version is 6.3. Please try the new patch below for 6.3.

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-07-31 Thread sc dying
On Mon, Jul 30, 2018 at 12:11 AM, wrote: > - Use DMA buffer aligned at 64KB boundary to avoid xhci bug. In function xhci_event_xfer() xfer->actlen should be calculated from sum of transferred TRB length, not xfer->length - remain, when the transfer is splitted to multiple TRBs. The xhci

Re: axen Ethernet device errors on both USB3.0 and USB2.0 ports

2018-07-29 Thread sc . dying
Hi, On 2018/07/27 09:14, Denis wrote: Every time (after 2-3 minutes of work) ASIX Electronics USB-Ethernet device reports: axen0: usb errors on rx: IOERROR axen0: usb errors on rx: IOERROR axen0: usb errors on tx: IOERROR axen0: watchdog timeout axen0: usb errors on tx: IOERROR The device