project jira-projects / Miscellaneous avatar

jira-projects/MISC#32: USB-C Ethernet Adapter Lockups



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Created: 24-Mar-23 08:55



Description

I've been having some issues with lockups on my wired network adaptor. Originally flagged in LAN#93 but raising dedicated ticket for better tracking.


Hardware

ben@ratchett:~$ lsusb
Bus 004 Device 009: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 003: ID 5986:2145 Acer, Inc Integrated RGB Camera
Bus 003 Device 107: ID 0d8c:0014 C-Media Electronics, Inc. Audio Adapter (Unitek Y-247A)
Bus 003 Device 106: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 003 Device 002: ID 06cb:00fc Synaptics, Inc. 
Bus 003 Device 004: ID 8087:0033 Intel Corp. 
Bus 003 Device 089: ID 291a:8338 Anker                   Anker USB-C Hub Device 
Bus 003 Device 085: ID 0c45:6366 Microdia Webcam Vitade AF
Bus 003 Device 032: ID 1050:0407 Yubico.com Yubikey 4/5 OTP+U2F+CCID
Bus 003 Device 031: ID 258a:002a SINO WEALTH Gaming KB 
Bus 003 Device 030: ID 1bcf:0005 Sunplus Innovation Technology Inc. Optical Mouse
Bus 003 Device 029: ID 05e3:0610 Genesys Logic, Inc. Hub
Bus 003 Device 081: ID 291a:b817 Anker                   USB2.0 Hub             
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 021: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 002 Device 037: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Bus 002 Device 017: ID 291a:a817 Anker                   USB3.0 Hub             
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Software

ben@ratchett:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:    22.04
Codename:   jammy
ben@ratchett:~$ uname -a
Linux ratchett 5.19.0-35-generic [[#36](/issue/jira-projects/MISC/36.html)](/issue/jira-projects/MISC/36.html)~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

(it's actually Xubuntu rather than ubuntu, but that shouldn't matter here)

When the lockup occurs, the following is logged in dmesg

Edit: it seems this isn't consistently logged, the panic was not seen on subsequent lockups

[150012.703270] ------------[ cut here ]------------
[150012.703276] NETDEV WATCHDOG: enxa0cec86958e9 (ax88179_178a): transmit queue 0 timed out
[150012.703299] WARNING: CPU: 9 PID: 0 at net/sched/sch_generic.c:529 dev_watchdog+0x21f/0x230
[150012.703311] Modules linked in: xt_mark cdc_mbim cdc_wdm cdc_ncm cdc_ether ax88179_178a usbnet mii typec_displayport xt_nat veth nft_chain_nat xt_MASQUERADE nf_nat nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter bridge stp llc overlay hid_cmedia snd_usb_audio usbhid snd_usbmidi_lib xt_tcpudp xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c tls nfnetlink ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda joydev snd_hda_ext_core snd_soc_acpi_intel_match mei_hdcp mei_pxp snd_soc_acpi intel_tcc_cooling soundwire_bus x86_pkg_temp_thermal pmt_telemetry
[150012.703389]  intel_powerclamp pmt_class snd_soc_core coretemp iwlmvm intel_rapl_msr snd_compress ac97_bus mac80211 btusb snd_pcm_dmaengine kvm_intel btrtl libarc4 snd_hda_intel btbcm kvm uvcvideo snd_intel_dspcfg btintel videobuf2_vmalloc snd_intel_sdw_acpi processor_thermal_device_pci btmtk videobuf2_memops snd_seq_midi rapl iwlwifi snd_hda_codec processor_thermal_device videobuf2_v4l2 nls_iso8859_1 thinkpad_acpi processor_thermal_rfim intel_cstate bluetooth snd_seq_midi_event input_leds videobuf2_common snd_hda_core think_lmi processor_thermal_mbox ucsi_acpi serio_raw snd_hwdep spi_nor nvram mei_me wmi_bmof firmware_attributes_class snd_rawmidi videodev typec_ucsi processor_thermal_rapl ecdh_generic snd_pcm mtd cfg80211 ledtrig_audio mc hid_multitouch mei ecc intel_vsec igen6_edac intel_rapl_common typec snd_seq snd_seq_device snd_timer snd soc_button_array soundcore int3403_thermal platform_profile int340x_thermal_zone mac_hid intel_hid int3400_thermal acpi_thermal_rel sparse_keymap
[150012.703467]  acpi_pad acpi_tad sch_fq_codel msr parport_pc ppdev lp parport ramoops pstore_blk reed_solomon pstore_zone efi_pstore ip_tables x_tables autofs4 dm_crypt i915 drm_buddy i2c_algo_bit ttm drm_display_helper cec rc_core hid_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_simd spi_intel_pci cryptd psmouse i2c_i801 intel_lpss_pci nvme drm spi_intel i2c_smbus intel_lpss thunderbolt nvme_core idma64 xhci_pci xhci_pci_renesas wmi i2c_hid_acpi i2c_hid hid video pinctrl_tigerlake
[150012.703522] CPU: 9 PID: 0 Comm: swapper/9 Not tainted 5.19.0-35-generic [[#36](/issue/jira-projects/MISC/36.html)](/issue/jira-projects/MISC/36.html)~22.04.1-Ubuntu
[150012.703527] Hardware name: LENOVO 21CBCTO1WW/21CBCTO1WW, BIOS N3AET71W (1.36 ) 01/31/2023
[150012.703529] RIP: 0010:dev_watchdog+0x21f/0x230
[150012.703536] Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 ef ac 70 01 01 e8 c6 9d f8 ff 44 89 f1 4c 89 e6 48 c7 c7 a8 da 30 ad 48 89 c2 e8 89 e3 1b 00 <0f> 0b e9 22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[150012.703540] RSP: 0018:ffffaa618038ce70 EFLAGS: 00010246
[150012.703543] RAX: 0000000000000000 RBX: ffff9ef2d15944c8 RCX: 0000000000000000
[150012.703546] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[150012.703548] RBP: ffffaa618038ce98 R08: 0000000000000000 R09: 0000000000000000
[150012.703550] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9ef2d1594000
[150012.703552] R13: ffff9ef2d159441c R14: 0000000000000000 R15: 0000000000000000
[150012.703554] FS:  0000000000000000(0000) GS:ffff9ef9ff640000(0000) knlGS:0000000000000000
[150012.703557] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[150012.703560] CR2: 00007f87448a9000 CR3: 0000000117810004 CR4: 0000000000770ee0
[150012.703563] PKRU: 55555554
[150012.703565] Call Trace:
[150012.703567]  <IRQ>
[150012.703573]  ? pfifo_fast_reset+0x170/0x170
[150012.703579]  call_timer_fn+0x29/0x160
[150012.703584]  ? pfifo_fast_reset+0x170/0x170
[150012.703589]  __run_timers.part.0+0x1e9/0x290
[150012.703592]  ? ktime_get+0x43/0xc0
[150012.703597]  ? lapic_next_deadline+0x2c/0x50
[150012.703602]  ? clockevents_program_event+0xb2/0x140
[150012.703607]  run_timer_softirq+0x2a/0x60
[150012.703610]  __do_softirq+0xd5/0x32a
[150012.703615]  ? hrtimer_interrupt+0x12b/0x240
[150012.703619]  __irq_exit_rcu+0x8d/0xd0
[150012.703624]  irq_exit_rcu+0xe/0x20
[150012.703629]  sysvec_apic_timer_interrupt+0x96/0xb0
[150012.703645]  </IRQ>
[150012.703647]  <TASK>
[150012.703648]  asm_sysvec_apic_timer_interrupt+0x1b/0x20
[150012.703654] RIP: 0010:cpuidle_enter_state+0xea/0x640
[150012.703660] Code: 00 31 ff e8 48 7e 59 ff 80 7d d0 00 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 4d 03 00 00 31 ff e8 9c 18 61 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 4d 63 ee 49 83 fd 09 0f 87 22 04 00 00
[150012.703663] RSP: 0018:ffffaa61801a3e18 EFLAGS: 00000246
[150012.703666] RAX: 0000000000000000 RBX: ffffca617fc40d00 RCX: 0000000000000000
[150012.703668] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[150012.703669] RBP: ffffaa61801a3e68 R08: 0000000000000000 R09: 0000000000000000
[150012.703671] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffadcb18c0
[150012.703673] R13: 0000000000000004 R14: 0000000000000004 R15: 0000886f8de36b34
[150012.703677]  ? cpuidle_enter_state+0xc8/0x640
[150012.703681]  ? raw_spin_rq_unlock+0x10/0x40
[150012.703687]  cpuidle_enter+0x2e/0x50
[150012.703690]  call_cpuidle+0x23/0x60
[150012.703695]  cpuidle_idle_call+0x119/0x190
[150012.703699]  do_idle+0x82/0x110
[150012.703702]  cpu_startup_entry+0x20/0x30
[150012.703704]  start_secondary+0x122/0x160
[150012.703709]  secondary_startup_64_no_verify+0xe5/0xeb
[150012.703716]  </TASK>
[150012.703717] ---[ end trace 0000000000000000 ]---

At that point, the interface cannot be interacted with.

On the first lockup, due to time pressures, I simply switched to a Wifi connection and got on with what I needed to do.

On a later lockup though, that wasn't possible. A timeout was logged, as above, but the adaptor continued to be used for the default route.

  • Unplugged the CAT-6, but no change
  • Connecting and disconnecting from Wifi, no change
  • XFCE's network manager gadget was unable to disconnect the adaptor
  • ifdown wasn't installed, so couldn't test with that

In order to restore connectivity, the USB-C hub had to be unplugged and then plugged back in



Toggle State Changes

Activity


assigned to @btasker

moved from LAN#94

assigned to @btasker

Full lsusb for the hub is

Bus 002 Device 017: ID 291a:a817 Anker                   USB3.0 Hub             
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x291a 
  idProduct          0xa817 
  bcdDevice            4.63
  iManufacturer           1 Anker                  
  iProduct                2 USB3.0 Hub             
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x001f
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           19
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Feedback
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               8
        bMaxBurst               0
Hub Descriptor:
  bLength              12
  bDescriptorType      42
  nNbrPorts             4
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
  bPwrOn2PwrGood      175 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  bHubDecLat          0.4 micro seconds
  wHubDelay          2292 nano seconds
  DeviceRemovable    0x00
 Hub Port Status:
   Port 1: 0000.0263 lowspeed L1 enable connect
   Port 2: 0000.02a0 lowspeed L1
   Port 3: 0000.02a0 lowspeed L1
   Port 4: 0000.0223 lowspeed L1 enable connect
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength       0x002a
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000002
      HIRD Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   1
      Lowest fully-functional device speed is Full Speed (12Mbps)
    bU1DevExitLat           4 micro seconds
    bU2DevExitLat         231 micro seconds
  Container ID Device Capability:
    bLength                20
    bDescriptorType        16
    bDevCapabilityType      4
    bReserved               0
    ContainerID             {30eef35c-07d5-2549-b001-802d79434c30}
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled

Reviews for the hub are generally positive, and I've always found Anker to be quite good, so I don't think the issue is a product issue (in the sense of them having used cheap chips rather than manufacturing defects).

My current working theory is that it's the result of excess demands on either power or bandwidth.

In terms of power, my previous laptop used a similar hub, but that only had 2 USB-A ports on it so some stuff was plugged directly into the laptop. In this case, the following is plugged in

  • USB sound card (for headset)
  • Webcam
  • USB Switcher -> Keyboard, Mouse, Yubikey
  • 4K monitor (via HDMI)
  • Network

It's more than was plugged into the old one, but still really isn't that much, it's not like I'm charging devices off it.

So it's probably not power (although it might still be some form of power-saving).

Bandwidth is possible, we've got that HDMI connection and my monitor has been running at a higher resolution (4K) than on the old laptop.

  • The hub lists as a USB 3.0 hub, so in theory it's got a max bandwidth of 5Gb/s.
  • The minimum bandwidth for 4K UHD is apparently 10.2Gb/s

The adapter probably uses DisplayPort to communicate back, so there'll be compression between laptop and hub. But it does seem like a reasonable bet that we might be stretching the bandwidth available.

I need stability, so I've started by unplugging most things from the hub

  • HDMI is now plugged directly into Laptop
  • USB-A hub (and USB soundcard) are plugged into laptop

Will have to see how that gets on.

mentioned in issue LAN#93

Just for avoidance of doubt, in yesterdays lockup, the NIC really wasn't having to do much Screenshot_2023-03-24_09-38-23

Just had a drop again, it's only the webcam and keyboard etc plugged into that hub.

[Fri Mar 24 10:21:08 2023] usb 3-1: USB disconnect, device number 81
[Fri Mar 24 10:21:08 2023] usb 3-1.1: USB disconnect, device number 33
[Fri Mar 24 10:21:08 2023] usb 3-1.1.1: USB disconnect, device number 34
[Fri Mar 24 10:21:08 2023] usb 2-1: USB disconnect, device number 17
[Fri Mar 24 10:21:08 2023] usb 2-1.1: USB disconnect, device number 38
[Fri Mar 24 10:21:08 2023] usb 2-1.4: USB disconnect, device number 21
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9: unregister 'ax88179_178a' usb-0000:00:0d.0-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9: Failed to read reg index 0x0002: -19
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9: Failed to write reg index 0x0002: -19
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9 (unregistered): Failed to write reg index 0x0002: -19
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9 (unregistered): Failed to write reg index 0x0001: -19
[Fri Mar 24 10:21:08 2023] ax88179_178a 2-1.4:1.0 enxa0cec86958e9 (unregistered): Failed to write reg index 0x0002: -19
[Fri Mar 24 10:21:08 2023] usb 3-1.1.2: USB disconnect, device number 35
[Fri Mar 24 10:21:08 2023] usb 3-1.1.4: USB disconnect, device number 36
[Fri Mar 24 10:21:09 2023] usb 3-1.3: USB disconnect, device number 85
[Fri Mar 24 10:21:09 2023] usb 3-1.5: USB disconnect, device number 89
[Fri Mar 24 10:21:13 2023] usb 3-1: new high-speed USB device number 37 using xhci_hcd
[Fri Mar 24 10:21:13 2023] usb 2-1: new SuperSpeed USB device number 39 using xhci_hcd
[Fri Mar 24 10:21:13 2023] usb 2-1: New USB device found, idVendor=291a, idProduct=a817, bcdDevice= 4.63
[Fri Mar 24 10:21:13 2023] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Fri Mar 24 10:21:13 2023] usb 2-1: Product: USB3.0 Hub             
[Fri Mar 24 10:21:13 2023] usb 2-1: Manufacturer: Anker                  
[Fri Mar 24 10:21:13 2023] hub 2-1:1.0: USB hub found
[Fri Mar 24 10:21:13 2023] hub 2-1:1.0: 4 ports detected
[Fri Mar 24 10:21:13 2023] usb 3-1: New USB device found, idVendor=291a, idProduct=b817, bcdDevice= 4.63
[Fri Mar 24 10:21:13 2023] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Fri Mar 24 10:21:13 2023] usb 3-1: Product: USB2.0 Hub             
[Fri Mar 24 10:21:13 2023] usb 3-1: Manufacturer: Anker                  
[Fri Mar 24 10:21:13 2023] hub 3-1:1.0: USB hub found
[Fri Mar 24 10:21:13 2023] hub 3-1:1.0: 5 ports detected
[Fri Mar 24 10:21:13 2023] usb 3-1.1: new high-speed USB device number 38 using xhci_hcd
[Fri Mar 24 10:21:14 2023] usb 3-1.1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice= 6.55
[Fri Mar 24 10:21:14 2023] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Fri Mar 24 10:21:14 2023] usb 3-1.1: Product: USB2.1 Hub
[Fri Mar 24 10:21:14 2023] usb 3-1.1: Manufacturer: GenesysLogic
[Fri Mar 24 10:21:14 2023] hub 3-1.1:1.0: USB hub found
[Fri Mar 24 10:21:14 2023] hub 3-1.1:1.0: 4 ports detected
[Fri Mar 24 10:21:14 2023] usb 3-1.3: new high-speed USB device number 39 using xhci_hcd
[Fri Mar 24 10:21:14 2023] usb 3-1.3: New USB device found, idVendor=0c45, idProduct=6366, bcdDevice= 1.00
[Fri Mar 24 10:21:14 2023] usb 3-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[Fri Mar 24 10:21:14 2023] usb 3-1.3: Product: HD Webcam USB
[Fri Mar 24 10:21:14 2023] usb 3-1.3: Manufacturer: HD Webcam USB
[Fri Mar 24 10:21:14 2023] usb 3-1.3: SerialNumber: HD Webcam USB
[Fri Mar 24 10:21:14 2023] usb 3-1.3: Found UVC 1.00 device HD Webcam USB (0c45:6366)
[Fri Mar 24 10:21:14 2023] input: HD Webcam USB: HD Webcam USB as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input248
[Fri Mar 24 10:21:14 2023] usb 3-1.3: 3:1: cannot get freq at ep 0x84
[Fri Mar 24 10:21:14 2023] usb 3-1.1.1: new low-speed USB device number 40 using xhci_hcd
[Fri Mar 24 10:21:14 2023] usb 3-1.1.1: New USB device found, idVendor=1bcf, idProduct=0005, bcdDevice= 0.14
[Fri Mar 24 10:21:14 2023] usb 3-1.1.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Fri Mar 24 10:21:14 2023] usb 3-1.1.1: Product: USB Optical Mouse
[Fri Mar 24 10:21:14 2023] input: USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.1/3-1.1.1:1.0/0003:1BCF:0005.00B6/input/input249
[Fri Mar 24 10:21:14 2023] hid-generic 0003:1BCF:0005.00B6: input,hidraw2: USB HID v1.10 Mouse [USB Optical Mouse] on usb-0000:00:14.0-1.1.1/input0
[Fri Mar 24 10:21:14 2023] usb 2-1.4: new SuperSpeed USB device number 40 using xhci_hcd
[Fri Mar 24 10:21:14 2023] usb 3-1.1.2: new full-speed USB device number 41 using xhci_hcd
[Fri Mar 24 10:21:14 2023] usb 3-1.3: 3:1: cannot get freq at ep 0x84
[Fri Mar 24 10:21:14 2023] usb 3-1.3: 3:1: cannot get freq at ep 0x84
[Fri Mar 24 10:21:14 2023] usb 3-1.1.2: New USB device found, idVendor=258a, idProduct=002a, bcdDevice=90.29
[Fri Mar 24 10:21:14 2023] usb 3-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Fri Mar 24 10:21:14 2023] usb 3-1.1.2: Product: Gaming KB 
[Fri Mar 24 10:21:14 2023] usb 3-1.1.2: Manufacturer: SINO WEALTH
[Fri Mar 24 10:21:14 2023] input: SINO WEALTH Gaming KB  as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.2/3-1.1.2:1.0/0003:258A:002A.00B7/input/input250
[Fri Mar 24 10:21:14 2023] hid-generic 0003:258A:002A.00B7: input,hidraw4: USB HID v1.11 Keyboard [SINO WEALTH Gaming KB ] on usb-0000:00:14.0-1.1.2/input0
[Fri Mar 24 10:21:14 2023] input: SINO WEALTH Gaming KB  System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.2/3-1.1.2:1.1/0003:258A:002A.00B8/input/input251
[Fri Mar 24 10:21:14 2023] usb 2-1.4: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[Fri Mar 24 10:21:14 2023] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fri Mar 24 10:21:14 2023] usb 2-1.4: Product: AX88179A
[Fri Mar 24 10:21:14 2023] usb 2-1.4: Manufacturer: ASIX
[Fri Mar 24 10:21:14 2023] usb 2-1.4: SerialNumber: 00000000000001
[Fri Mar 24 10:21:14 2023] input: SINO WEALTH Gaming KB  Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.2/3-1.1.2:1.1/0003:258A:002A.00B8/input/input252
[Fri Mar 24 10:21:14 2023] input: SINO WEALTH Gaming KB  Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.2/3-1.1.2:1.1/0003:258A:002A.00B8/input/input253
[Fri Mar 24 10:21:14 2023] hid-generic 0003:258A:002A.00B8: input,hiddev0,hidraw5: USB HID v1.11 Keyboard [SINO WEALTH Gaming KB ] on usb-0000:00:14.0-1.1.2/input1
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] usb 3-1.1.4: new full-speed USB device number 42 using xhci_hcd
[Fri Mar 24 10:21:15 2023] usb 3-1.1.4: New USB device found, idVendor=1050, idProduct=0407, bcdDevice= 5.27
[Fri Mar 24 10:21:15 2023] usb 3-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[Fri Mar 24 10:21:15 2023] usb 3-1.1.4: Product: YubiKey OTP+FIDO+CCID
[Fri Mar 24 10:21:15 2023] usb 3-1.1.4: Manufacturer: Yubico
[Fri Mar 24 10:21:15 2023] input: Yubico YubiKey OTP+FIDO+CCID as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1.4/3-1.1.4:1.0/0003:1050:0407.00B9/input/input254
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] hid-generic 0003:1050:0407.00B9: input,hidraw6: USB HID v1.10 Keyboard [Yubico YubiKey OTP+FIDO+CCID] on usb-0000:00:14.0-1.1.4/input0
[Fri Mar 24 10:21:15 2023] hid-generic 0003:1050:0407.00BA: hiddev1,hidraw7: USB HID v1.10 Device [Yubico YubiKey OTP+FIDO+CCID] on usb-0000:00:14.0-1.1.4/input1
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0006: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): invalid MAC address, using random
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0006: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0005: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x0019: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x000e: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 (unnamed net_device) (uninitialized): Failed to read reg index 0x0000: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.0 eth0: register 'ax88179_178a' at usb-0000:00:0d.0-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, 1a:69:4f:fe:af:6f
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:15 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to read reg index 0x0006: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): invalid MAC address, using random
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0006: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0005: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0002: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to read reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0001: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x0019: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x001f: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to read reg index 0x000e: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000d: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to write reg index 0x000e: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 (unnamed net_device) (uninitialized): Failed to read reg index 0x0000: -32
[Fri Mar 24 10:21:16 2023] ax88179_178a 2-1.4:2.1 eth1: register 'ax88179_178a' at usb-0000:00:0d.0-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, c6:e4:ab:8f:47:a2

Might be time to start being suspicious of the hardware (and/or it's driver) then.

Adapter info:

root@ratchett:~# ethtool -i enxa0cec86958e9
driver: ax88179_178a
version: 5.19.0-35-generic
firmware-version: 
expansion-rom-version: 
bus-info: 2-1.4:1.0
supports-statistics: no
supports-test: no
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no


root@ratchett:~# ethtool  enxa0cec86958e9
Settings for enxa0cec86958e9:
    Supported ports: [ TP    MII ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                         100baseT/Half 100baseT/Full
                                         1000baseT/Full
    Link partner advertised pause frame use: No
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Auto-negotiation: on
    Port: MII
    PHYAD: 3
    Transceiver: internal
    Supports Wake-on: pg
    Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
    Link detected: yes

Well... looky-looky, there's a kernel bug report: USB Ethernet adapter ASIX AX88179 disconnects under heavy load.

When I install and run transmission-daemon to download some torrents - network connection between tablet and external devices disappears (Transmission loses connection too). From inside of tablet I can ping ASIX adapter's IP, but I can't ping router or any Internet address. I can't ping tablet from outside. Adapter's LINK LED in ON and even ACT LED is blinking but there is no actual connection.

Sounds familiar.

It looks like there are some out of band fixes.

Also looks like there might be a manufacturer fix: https://bugzilla.kernel.org/show_bug.cgi?id=212731#c10

Hmmm

OP here, and I can say that since kernel 5.18 the ASIX chip works fine out of the box.

But

Linux ratchett 5.19.0-35-generic [#36](/issue/jira-projects/MISC/36.html)~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

One of the linked GH repos (https://github.com/nothingstopsme/AX88179_178A_Linux_Driver) makes an interesting note

During my tests it has also been found that this hardware seems quite susceptible to signal noise, especially when running at super speed mode (usb 3.0). For example, when an additional 1-metre-long usb extention cable (which had worked well with my previous network adaptor) was connected between my device and a host socket, a few second's to a few minute's worth of packet transmission at super speed would cause malfunctions of it and no subsequent packets could be sent or received (albeit the corresponding network interface was still reported by the ifconfig command)

I am using an extension cable (although it's only about a foot long). Might be worth taking that out of the loop.

Others have noted, though, that using that driver helped so I think that's the next port of call

Building and installing

ben@ratchett:~/Repos$ git clone https://github.com/nothingstopsme/AX88179_178A_Linux_Driver.git
ben@ratchett:~/Repos$ cd AX88179_178A_Linux_Driver/source
ben@ratchett:~/Repos/AX88179_178A_Linux_Driver/source$ make
ben@ratchett:~/Repos/AX88179_178A_Linux_Driver/source$ sudo make install

That's installed to /lib/modules/5.19.0-35-generic/kernel/drivers/net/usb/ax88179_178a.ko, so it's reboot time.

Modules loaded:

ben@ratchett:~/Repos/AX88179_178A_Linux_Driver/source$ lsmod | grep ax8
ax88179_178a           36864  0
usbnet                 53248  1 ax88179_178a
mii                    20480  2 usbnet,ax88179_178a

I guess we wait and see.

Just went on a Zoom call to test and didn't have any issues.

Usage was a bit more constrained than yesterday

Screenshot_2023-03-24_17-01-23

I've set a largish file copy going to try and stretch it a bit more - currently coming across at 111MB/s. The test file is 2.8GB so the speed is sustrained for about 25 seconds at a time (I've run multiple back to back)

Screenshot_2023-03-24_17-49-03

Ideally, I'd use iperf to run a longer test, but I'm on-call and can't risk coming back to the laptop to find it's crapped itself. Still, I'm fairly sure I wouldn't have been able to do those copies earlier today.

I'll hold off further testing, but will keep the ticket open for the time being.

changed the description

Has remained stable so far, including whilst I pushed a backup to achieve a fairly sustained period of demand.

Found a related bug report in launchpad, with relatively little activity on it, so have provided some details there: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.19/+bug/2012520?comments=all

Just had a dropout whilst on a call, looks exactly the same

[Tue Mar 28 09:38:23 2023] NETDEV WATCHDOG: enxa0cec86958e9 (ax88179_178a): transmit queue 0 timed out
[Tue Mar 28 09:38:23 2023] WARNING: CPU: 9 PID: 0 at net/sched/sch_generic.c:529 dev_watchdog+0x21f/0x230
[Tue Mar 28 09:38:23 2023] Modules linked in: cpuid rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace sunrpc fscache netfs tls nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter bridge stp llc xt_MASQUERADE xt_mark nft_chain_nat nf_nat ccm rfcomm cmac algif_hash algif_skcipher af_alg typec_displayport bnep overlay snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_sof_probes snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_dmic snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match mei_pxp intel_tcc_cooling xt_tcpudp snd_soc_acpi xt_state soundwire_bus x86_pkg_temp_thermal intel_powerclamp mei_hdcp xt_conntrack snd_soc_core coretemp nf_conntrack snd_compress ac97_bus nf_defrag_ipv6 snd_pcm_dmaengine nf_defrag_ipv4 iwlmvm pmt_telemetry nft_compat
[Tue Mar 28 09:38:23 2023]  snd_hda_intel pmt_class intel_rapl_msr kvm_intel nf_tables binfmt_misc mac80211 btusb libcrc32c snd_intel_dspcfg kvm thinkpad_acpi btrtl snd_intel_sdw_acpi nfnetlink libarc4 iwlwifi snd_hda_codec btbcm spi_nor uvcvideo btintel mei_me rapl think_lmi nvram nls_iso8859_1 intel_cstate videobuf2_vmalloc btmtk serio_raw firmware_attributes_class wmi_bmof mtd snd_hda_core hid_multitouch mei videobuf2_memops snd_usb_audio ledtrig_audio cfg80211 videobuf2_v4l2 bluetooth snd_usbmidi_lib videobuf2_common snd_hwdep snd_seq_midi joydev input_leds videodev snd_seq_midi_event snd_pcm ecdh_generic mc processor_thermal_device_pci ecc snd_rawmidi processor_thermal_device processor_thermal_rfim processor_thermal_mbox intel_vsec processor_thermal_rapl snd_seq intel_rapl_common igen6_edac ucsi_acpi typec_ucsi snd_seq_device typec snd_timer snd mac_hid soundcore int3403_thermal platform_profile int340x_thermal_zone soc_button_array intel_hid int3400_thermal sparse_keymap acpi_tad
[Tue Mar 28 09:38:23 2023]  acpi_thermal_rel acpi_pad sch_fq_codel msr parport_pc ppdev lp parport ramoops pstore_blk reed_solomon pstore_zone efi_pstore ip_tables x_tables autofs4 dm_crypt hid_cmedia usbhid ax88179_178a usbnet mii i915 drm_buddy i2c_algo_bit ttm drm_display_helper cec hid_generic rc_core crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm_kms_helper aesni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_simd spi_intel_pci cryptd psmouse nvme i2c_i801 intel_lpss_pci drm thunderbolt spi_intel i2c_smbus intel_lpss nvme_core xhci_pci idma64 xhci_pci_renesas wmi i2c_hid_acpi i2c_hid hid video pinctrl_tigerlake
[Tue Mar 28 09:38:23 2023] CPU: 9 PID: 0 Comm: swapper/9 Not tainted 5.19.0-35-generic [#36](/issue/jira-projects/MISC/36.html)~22.04.1-Ubuntu
[Tue Mar 28 09:38:23 2023] Hardware name: LENOVO 21CBCTO1WW/21CBCTO1WW, BIOS N3AET71W (1.36 ) 01/31/2023
[Tue Mar 28 09:38:23 2023] RIP: 0010:dev_watchdog+0x21f/0x230
[Tue Mar 28 09:38:23 2023] Code: 00 e9 31 ff ff ff 4c 89 e7 c6 05 ef ac 70 01 01 e8 c6 9d f8 ff 44 89 f1 4c 89 e6 48 c7 c7 a8 da d0 af 48 89 c2 e8 89 e3 1b 00 <0f> 0b e9 22 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
[Tue Mar 28 09:38:23 2023] RSP: 0018:ffffbcf5c038ce70 EFLAGS: 00010246
[Tue Mar 28 09:38:23 2023] RAX: 0000000000000000 RBX: ffff9e91823064c8 RCX: 0000000000000000
[Tue Mar 28 09:38:23 2023] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[Tue Mar 28 09:38:23 2023] RBP: ffffbcf5c038ce98 R08: 0000000000000000 R09: 0000000000000000
[Tue Mar 28 09:38:23 2023] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9e9182306000
[Tue Mar 28 09:38:23 2023] R13: ffff9e918230641c R14: 0000000000000000 R15: 0000000000000000
[Tue Mar 28 09:38:23 2023] FS:  0000000000000000(0000) GS:ffff9e98bf640000(0000) knlGS:0000000000000000
[Tue Mar 28 09:38:23 2023] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Tue Mar 28 09:38:23 2023] CR2: 00007f61548f4fe0 CR3: 000000015d810002 CR4: 0000000000770ee0
[Tue Mar 28 09:38:23 2023] PKRU: 55555554
[Tue Mar 28 09:38:23 2023] Call Trace:
[Tue Mar 28 09:38:23 2023]  <IRQ>
[Tue Mar 28 09:38:23 2023]  ? pfifo_fast_reset+0x170/0x170
[Tue Mar 28 09:38:23 2023]  call_timer_fn+0x29/0x160
[Tue Mar 28 09:38:23 2023]  ? pfifo_fast_reset+0x170/0x170
[Tue Mar 28 09:38:23 2023]  __run_timers.part.0+0x1e9/0x290
[Tue Mar 28 09:38:23 2023]  ? ktime_get+0x43/0xc0
[Tue Mar 28 09:38:23 2023]  ? lapic_next_deadline+0x2c/0x50
[Tue Mar 28 09:38:23 2023]  ? clockevents_program_event+0xb2/0x140
[Tue Mar 28 09:38:23 2023]  run_timer_softirq+0x2a/0x60
[Tue Mar 28 09:38:23 2023]  __do_softirq+0xd5/0x32a
[Tue Mar 28 09:38:23 2023]  ? hrtimer_interrupt+0x12b/0x240
[Tue Mar 28 09:38:23 2023]  __irq_exit_rcu+0x8d/0xd0
[Tue Mar 28 09:38:23 2023]  irq_exit_rcu+0xe/0x20
[Tue Mar 28 09:38:23 2023]  sysvec_apic_timer_interrupt+0x96/0xb0
[Tue Mar 28 09:38:23 2023]  </IRQ>
[Tue Mar 28 09:38:23 2023]  <TASK>
[Tue Mar 28 09:38:23 2023]  asm_sysvec_apic_timer_interrupt+0x1b/0x20
[Tue Mar 28 09:38:23 2023] RIP: 0010:cpuidle_enter_state+0xea/0x640
[Tue Mar 28 09:38:23 2023] Code: 00 31 ff e8 48 7e 59 ff 80 7d d0 00 74 16 9c 58 0f 1f 40 00 f6 c4 02 0f 85 4d 03 00 00 31 ff e8 9c 18 61 ff fb 0f 1f 44 00 00 <45> 85 f6 0f 88 85 01 00 00 4d 63 ee 49 83 fd 09 0f 87 22 04 00 00
[Tue Mar 28 09:38:23 2023] RSP: 0018:ffffbcf5c01a3e18 EFLAGS: 00000246
[Tue Mar 28 09:38:23 2023] RAX: 0000000000000000 RBX: ffffdcf5bfc40d00 RCX: 0000000000000000
[Tue Mar 28 09:38:23 2023] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[Tue Mar 28 09:38:23 2023] RBP: ffffbcf5c01a3e68 R08: 0000000000000000 R09: 0000000000000000
[Tue Mar 28 09:38:23 2023] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffb06b18c0
[Tue Mar 28 09:38:23 2023] R13: 0000000000000004 R14: 0000000000000004 R15: 0001202d381e537e
[Tue Mar 28 09:38:23 2023]  ? cpuidle_enter_state+0xc8/0x640
[Tue Mar 28 09:38:23 2023]  ? raw_spin_rq_unlock+0x10/0x40
[Tue Mar 28 09:38:23 2023]  cpuidle_enter+0x2e/0x50
[Tue Mar 28 09:38:23 2023]  call_cpuidle+0x23/0x60
[Tue Mar 28 09:38:23 2023]  cpuidle_idle_call+0x119/0x190
[Tue Mar 28 09:38:23 2023]  do_idle+0x82/0x110
[Tue Mar 28 09:38:23 2023]  cpu_startup_entry+0x20/0x30
[Tue Mar 28 09:38:23 2023]  start_secondary+0x122/0x160
[Tue Mar 28 09:38:23 2023]  secondary_startup_64_no_verify+0xe5/0xeb
[Tue Mar 28 09:38:23 2023]  </TASK>
[Tue Mar 28 09:38:23 2023] ---[ end trace 0000000000000000 ]---

That sucks.

This time I was able to hit "Disconnect" in the network gadget to fail-over to wifi. There's nothing relevant before or after in dmesg we just suddenly get the panic.

At that time, we were receiving at about 1.25Mib/s. We'd been receiving at that rate without issue just half an hour earlier.

Screenshot_2023-03-28_13-48-52

However, being a video call, we were also sending at a little over 1Mib/s

Screenshot_2023-03-28_13-50-34

Which suggests there might be a couple of possibilities

  • The drop-outs only happen when sending
  • The drop-outs only happen when we're doing both at once

It's odd though, after I originally swapped the driver I went on a call and did screensharing etc to really try and stress it with no issues. There must be something we're missing here.

Unfortunately, I need this to just work, so I've ordered a different dongle based on a different chipset.

There's a suggestion here that it's an issue with the order that modules are loaded in

rmmod ax88179_178a
modprobe cdc_mbim

With the following used to force the order on reboot

echo "softdep ax88179_178a pre: cdc_mbim" > \
  /etc/modprobe.d/ax88179_178a-fix.conf