[Bug 244845] ue0 realtek interface stops working after some time connection stalls problem down->up helps unitek Y-3083B

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 18 22:58:41 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244845

--- Comment #12 from Tomasz "CeDeROM" CEDRO <tomek at cedro.info> ---
Today the link was lost - ifconfig showed no media and the ifconfig down/up did
not help the card driver got into some sort of locked state - but the cable was
all the time connected to the card and the leds were blinking.

Dmesg showed:

ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ue0: link state changed to UP
ure_bulk_read_callback: bulk read error, USB_ERR_IOERROR
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED
ue0: link state changed to DOWN
ure_bulk_read_callback: bulk read error, USB_ERR_CANCELLED


I did not catch that IOERROR / CANCELLED on usbdump sorry. Will provide more
info when have one. This IOERROR is also related with link loss / media detect
failure.

Below is the grep from usbdump related with TIMEOUT error that leads to
connectivity loss that can be fixed with ifconfid down/up:

% usbdump -v  -r freeebsd-ue-ure-usbdump-20200316-3.pcap|grep -A 6 -B 5 -n -w
"ERR=[A-Z]*"

5252760- frame[1] READ 4 bytes
5252761-20:50:59.099903 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5252762- frame[0] WRITE 8 bytes
5252763- frame[1] READ 4 bytes
5252764- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5252765:20:50:59.557650 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5252766-20:50:59.607357 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5252767- frame[0] WRITE 8 bytes
5252768- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5252769-20:50:59.607850 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5252770- frame[0] WRITE 8 bytes
5252771-20:50:59.607852 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=1444,IVAL=0
--
5253579- frame[1] READ 4 bytes
5253580-20:51:09.108675 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5253581- frame[0] WRITE 8 bytes
5253582- frame[1] READ 4 bytes
5253583- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5253584:20:51:09.379367 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5253585-20:51:09.429616 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5253586- frame[0] WRITE 8 bytes
5253587- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5253588-20:51:09.430104 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5253589- frame[0] WRITE 8 bytes
5253590-20:51:09.430106 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5254312- frame[1] READ 4 bytes
5254313-20:51:19.118915 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5254314- frame[0] WRITE 8 bytes
5254315- frame[1] READ 4 bytes
5254316- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5254317:20:51:19.197339 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5254318-20:51:19.247365 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5254319- frame[0] WRITE 8 bytes
5254320- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5254321-20:51:19.247857 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5254322- frame[0] WRITE 8 bytes
5254323-20:51:19.247858 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5254973- frame[1] READ 4 bytes
5254974-20:51:28.128696 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5254975- frame[0] WRITE 8 bytes
5254976- frame[1] READ 4 bytes
5254977- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5254978:20:51:29.015878 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5254979-20:51:29.065282 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5254980- frame[0] WRITE 8 bytes
5254981- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5254982-20:51:29.065632 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5254983- frame[0] WRITE 8 bytes
5254984-20:51:29.065648 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=1444,IVAL=0
--
5255792- frame[1] READ 4 bytes
5255793-20:51:38.139942 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5255794- frame[0] WRITE 8 bytes
5255795- frame[1] READ 4 bytes
5255796- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5255797:20:51:38.833663 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5255798-20:51:38.883373 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5255799- frame[0] WRITE 8 bytes
5255800- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5255801-20:51:38.883862 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5255802- frame[0] WRITE 8 bytes
5255803-20:51:38.883863 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=76,IVAL=0
--
5256525- frame[1] READ 4 bytes
5256526-20:51:48.151193 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5256527- frame[0] WRITE 8 bytes
5256528- frame[1] READ 4 bytes
5256529- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5256530:20:51:48.651917 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5256531-20:51:48.701623 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5256532- frame[0] WRITE 8 bytes
5256533- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5256534-20:51:48.702115 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5256535- frame[0] WRITE 8 bytes
5256536-20:51:48.702117 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=108,IVAL=0
--
5257260- frame[1] READ 4 bytes
5257261-20:51:58.162347 usbus0.9
DONE-CTRL-EP=00000080,SPD=SUPER,NFR=2,SLEN=4,IVAL=0,ERR=0
5257262- frame[0] WRITE 8 bytes
5257263- frame[1] READ 4 bytes
5257264- 0000  00 38 00 00 -- -- -- --  -- -- -- -- -- -- -- --  |.8..         
  |
5257265:20:51:58.471157 usbus0.9
DONE-BULK-EP=00000002,SPD=SUPER,NFR=0,SLEN=0,IVAL=0,ERR=TIMEOUT
5257266-20:51:58.520289 usbus0.9
SUBM-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=8,IVAL=50
5257267- frame[0] WRITE 8 bytes
5257268- 0000  02 01 00 00 02 00 00 00  -- -- -- -- -- -- -- --  |........     
  |
5257269-20:51:58.520570 usbus0.9
DONE-CTRL-EP=00000000,SPD=SUPER,NFR=1,SLEN=0,IVAL=50,ERR=0
5257270- frame[0] WRITE 8 bytes
5257271-20:51:58.520574 usbus0.9
SUBM-BULK-EP=00000002,SPD=SUPER,NFR=1,SLEN=108,IVAL=0

I hope that helps anyhow..

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list