Hi,

24 hour full load testing shows positive results.

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 (pkt#1)
checksum err (pkt#1)
...

You're right DHCP client is working for axen0:

# cat /etc/hostname.axen0
dhcp lladdr yy.yy.yy.yy.yy

What can cause 'checksum err (pkt#1)' for axen?

Denis

On 8/15/2018 2:29 AM, sc.dy...@gmail.com wrote:
> 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:
> 
> Thank you for sending report.
> 
> It looks someone (maybe DHCP) makes the interface down and up repeatedly.
> That causes TXERR (transaction error) on RX pipe.
> I guess there is something inconsistent between the state of xhci and
> the device. xhci spec 1.1 sec 4.3.5 requires the driver shall do
> set_config and configure endpoint.
> 
> I added set_config part to axen2.diff and attached as axen3.diff.
> Can you try attached axen3.diff?
> 
> Thanks.
> 
>>
>> xhci0: port=2 change=0x04
>> xhci0: port=2 change=0x04
>> xhci0: xhci_cmd_slot_control
>> xhci0: dev 1, input=0xffffff0001988000 slot=0xffffff0001988020
>> ep0=0xffffff0001988040
>> xhci0: dev 1, setting DCBAA to 0x0000000001989000
>> xhci_pipe_init: pipe=0xffff800000a8d000 addr=0 depth=1 port=2 speed=4
>> dev 1 dci 1 (epAddr=0x0)
>> xhci0: xhci_cmd_set_address BSR=1
>> xhci0: xhci_cmd_set_address BSR=0
>> xhci0: dev 1 addr 1
>> axen0 at uhub0 port 2 configuration 1 interface 0 "ASIX Elec. Corp.
>> AX88179" rev 3.00/1.00 addr 2
>> axen0: AX88179, address xx:xx:xx:xx:xx:xx
>> ukphy0 at axen0 phy 3: Generic IEEE 802.3u media interface, rev. 5: OUI
>> 0x000732, model 0x0011
>> xhci_pipe_init: pipe=0xffff800000b38000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000bfc000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_abort_xfer: xfer=0xffffff044e6aee10 status=IN_PROGRESS
>> err=CANCELLED actlen=0 len=65536 idx=0
>> xhci0: xhci_cmd_stop_ep dev 1 dci 5
>> xhci_event_xfer: stopped xfer=0xffffff044e6aee10
>> xhci0: xhci_cmd_set_tr_deq_async dev 1 dci 5
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000b3a000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000b3e000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_abort_xfer: xfer=0xffffff044e6aed20 status=IN_PROGRESS
>> err=CANCELLED actlen=0 len=65536 idx=42
>> xhci0: xhci_cmd_stop_ep dev 1 dci 5
>> xhci_event_xfer: stopped xfer=0xffffff044e6aed20
>> xhci0: xhci_cmd_set_tr_deq_async dev 1 dci 5
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000790000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000791000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: txerr? code 4
>> axen0: usb errors on rx: IOERROR
>> xhci_abort_xfer: xfer=0xffffff044e6aee10 status=NOT_STARTED
>> err=CANCELLED actlen=0 len=65536 idx=-1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff8000007a9000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff8000007aa000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: txerr? code 4
>> axen0: usb errors on rx: IOERROR
>> xhci0: txerr? code 4
>> axen0: usb error on tx: IOERROR
>> axen0: watchdog timeout
>> axen0: usb error on tx: IOERROR
>> xhci_abort_xfer: xfer=0xffffff044e6aed20 status=NOT_STARTED
>> err=CANCELLED actlen=0 len=65536 idx=-1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000865000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff800000866000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: txerr? code 4
>> axen0: usb errors on rx: IOERROR
>> xhci0: txerr? code 4
>> axen0: usb error on tx: IOERROR
>> xhci_abort_xfer: xfer=0xffffff044e6aee10 status=NOT_STARTED
>> err=CANCELLED actlen=0 len=65536 idx=-1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff80000087e000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 5 (epAddr=0x82)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci_pipe_init: pipe=0xffff80000087f000 addr=2 depth=1 port=2 speed=4
>> dev 1 dci 6 (epAddr=0x3)
>> xhci0: xhci_cmd_configure_ep dev 1
>> xhci0: txerr? code 4
>> axen0: usb errors on rx: IOERROR
>> xhci0: txerr? code 4
>> axen0: usb error on tx: IOERROR
>> axen0: watchdog timeout
>>
>>
> 

Reply via email to