element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design USB 3.0 peripherals cause SSH terminal over wifi to become unresponsive
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 9 replies
  • Subscribers 348 subscribers
  • Views 1035 views
  • Users 0 members are here
Related

USB 3.0 peripherals cause SSH terminal over wifi to become unresponsive

Former Member
Former Member over 7 years ago

When plugging in any USB 3.0 type peripheral such as flash drive, SATA connector, or gigabit ethernet an ssh terminal connecting over the wifi becomes extremely slow to respond, perhaps a few characters every 20-30 seconds or so.  Upon removing the device the ssh terminal speed returns to normal.

I am using the original SD card that came with the system.  Linux Kerrnel 4.9.0-xilinx-v2017.3 aarch64 and the files on the flash are dated 3/27/2018.

Here is the dmesg command response after plugging and uplugging the peripherals:

I tried plugging in a USB 3.0 powered hub as well to see if it made any difference.   The hub came up ok without causing the unresponsiveness, but the same problem occured when plugging in the devices to the hub.

USB 2.0 devices have all worked without causing any problems.  tested wifi, mouse, flash drive.

Since my J6 serial port doesn't seem to be working and I don't have a mini display port cable yet, I can't tell whether it's the whole system bogging down or just the wifi connection as I have only been able to connect over wifi.

Perhaps there's an IRQ conflict with USB 3.0 ?

 

dmesg after plugin and removal:


[  350.284554] usb 1-1.1: new high-speed USB device number 4 using xhci-hcd
[  350.402739] usb 1-1.1: config 1 interface 0 altsetting 0 has 7 endpoint descriptors, different from the interface descriptor's value: 5
[  350.421731] usb 1-1.1: New USB device found, idVendor=148f, idProduct=5370
[  350.428523] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  350.435816] usb 1-1.1: Product: 802.11 n WLAN
[  350.440152] usb 1-1.1: Manufacturer: Ralink
[  350.444318] usb 1-1.1: SerialNumber: 1.0
[  393.836770] usb 1-1.1: USB disconnect, device number 4
[  408.188762] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[  408.218193] usb 2-1.1: New USB device found, idVendor=090c, idProduct=1000
[  408.224987] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  408.232276] usb 2-1.1: Product: Silicon-Power128
[  408.236875] usb 2-1.1: Manufacturer: UFD 3.0
[  408.241128] usb 2-1.1: SerialNumber: P1600585419160400056
[  408.247800] usb-storage 2-1.1:1.0: USB Mass Storage device detected
[  408.254578] scsi host0: usb-storage 2-1.1:1.0
[  409.746883] scsi 0:0:0:0: Direct-Access     UFD 3.0  Silicon-Power128 1100 PQ: 0 ANSI: 6
[  409.755910] sd 0:0:0:0: [sda] 252051456 512-byte logical blocks: (129 GB/120 GiB)
[  409.763885] sd 0:0:0:0: [sda] Write Protect is off
[  409.768605] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  409.769058] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  409.781854]  sda: sda1
[  409.786075] sd 0:0:0:0: [sda] Attached SCSI removable disk
[  410.595836] EXT4-fs (sda1): recovery complete
[  410.600138] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[  458.313279] usb 2-1.1: USB disconnect, device number 3
[  458.320290] blk_update_request: I/O error, dev sda, sector 0
[  458.326611] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  458.331855] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x01 driverbyte=0x00

simililar responses to plugging in usb 3.0->gigabit ethernet and usb3->SATA connector.

[  837.556659] usb 2-1.2: new SuperSpeed USB device number 4 using xhci-hcd
[  837.585358] usb 2-1.2: New USB device found, idVendor=174c, idProduct=55aa
[  837.592163] usb 2-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  837.599457] usb 2-1.2: Product: ASM105x
[  837.603261] usb 2-1.2: Manufacturer: ASMT
[  837.607253] usb 2-1.2: SerialNumber: 00000000000000000000
[  837.656789] scsi host0: uas
[  837.660329] scsi 0:0:0:0: Direct-Access     ASMT     2115             0    PQ: 0 ANSI: 6
[  839.271672] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[  844.524700] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  844.534187] xhci-hcd xhci-hcd.0.auto: @0000000070073ec0 00000000 00000000 1b000000 04078001
[  844.543248] sd 0:0:0:0: [sda] Write Protect is off
[  844.547967] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[  844.548173] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  844.557263] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  844.566742] xhci-hcd xhci-hcd.0.auto: @0000000070073070 00000000 00000000 1b000000 04038000
[  844.582678] sd 0:0:0:0: [sda] Attached SCSI disk
[  844.700274] EXT4-fs (sda): recovery complete
[  844.705143] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[  846.700814] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[  846.710309] xhci-hcd xhci-hcd.0.auto: @0000000070073990 00000000 00000000 1b000000 04048001



[  935.732869] usb 2-1.1: new SuperSpeed USB device number 5 using xhci-hcd
[  935.763339] usb 2-1.1: New USB device found, idVendor=0b95, idProduct=1790
[  935.770136] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  935.777425] usb 2-1.1: Product: AX88179
[  935.781241] usb 2-1.1: Manufacturer: ASIX Elec. Corp.
[  935.786276] usb 2-1.1: SerialNumber: 0000000000012B
[  936.182358] ax88179_178a 2-1.1:1.0 eth0: register 'ax88179_178a' at usb-xhci-hcd.0.auto-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:a3:ef:c9
[  958.701255] usb 2-1.1: USB disconnect, device number 5
[  958.706514] ax88179_178a 2-1.1:1.0 eth0: unregister 'ax88179_178a' usb-xhci-hcd.0.auto-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet
[  958.740584] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19
[  958.749046] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0001: -19
[  958.757560] ax88179_178a 2-1.1:1.0 eth0 (unregistered): Failed to write reg index 0x0002: -19

  • Sign in to reply
  • Cancel
Parents
  • zedhed
    0 zedhed over 7 years ago

    Hi jbattles,

    Have not tried SSH but I have the DisplayPort connected to my HDMI monitor using an adapter.

    When I connect a USB3 device, eventually the system will crawl in response to the pointer being moved by a mouse.

    When I do this command:

    watch -n1 "cat /proc/interrupts"

    I don't see many interrupts more interrupts with USB3 devices than I do with USB2 devices but something different is happening to handle the USB3 devices (somewhere around 100 interrupts/second).

    Not sure what else to check for, it would be great if we can get a few more data points on this from the community.

    Best Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • zedhed
    0 zedhed over 7 years ago

    Hi jbattles,

    Have not tried SSH but I have the DisplayPort connected to my HDMI monitor using an adapter.

    When I connect a USB3 device, eventually the system will crawl in response to the pointer being moved by a mouse.

    When I do this command:

    watch -n1 "cat /proc/interrupts"

    I don't see many interrupts more interrupts with USB3 devices than I do with USB2 devices but something different is happening to handle the USB3 devices (somewhere around 100 interrupts/second).

    Not sure what else to check for, it would be great if we can get a few more data points on this from the community.

    Best Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube