Re: FW: xhci ASMedia lockups - a theory and a patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An update, iommu=pt made no difference in the end the system still came down 
eventually.

So i've started from scratch.

Cloned linus' tree

merged "for-usb-linus-3.14" from the xhci tree

applied the latest patch I saw from david on the list: 

http://www.spinics.net/lists/linux-usb/msg101747.html


verdict: still get kevent 4 errors when plugging the ax88179_178a into the 
asmedia controller however the device appears to be working without crashing 
the system when plugged into the VIA VL800

Transfer speed has been impacted when transmitting a file via scp, speed has 
reduced from 117MB/s to 30-50MB/s. Recieving a file via scp still functions 
above 100MB/s.

I'm seeing this spammed in my dmesg:

[ 2281.855031] ------------[ cut here ]------------
[ 2281.855070] WARNING: CPU: 2 PID: 0 at drivers/usb/core/urb.c:476 
usb_submit_urb+0x27c/0x580 [usbcore]()
[ 2281.855075] usb 8-1: BOGUS urb flags, 10 --> 0
[ 2281.855077] Modules linked in: fuse usb_storage ax88179_178a usbnet mii 
ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp 
ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables 
x_tables af_packet bridge stp llc vhost_net vhost macvtap it87 
vfio_iommu_type1 macvlan hwmon_vid vfio_pci vfio btrfs hid_generic raid6_pq 
usbhid hid libcrc32c xor kvm_amd kvm radeon crct10dif_pclmul crc32_pclmul 
fbcon ttm ghash_clmulni_intel aesni_intel snd_hda_codec_realtek bitblit 
softcursor snd_hda_codec_generic snd_hda_codec_hdmi aes_x86_64 lrw font 
tileblit drm_kms_helper mxm_wmi drm agpgart snd_hda_intel cfbfillrect 
snd_hda_codec cfbimgblt cfbcopyarea snd_hwdep i2c_algo_bit gf128mul 
glue_helper ablk_helper
[ 2281.855151]  cryptd xhci_hcd snd_pcm psmouse fb sp5100_tco snd_timer 
edac_core edac_mce_amd ohci_pci ohci_hcd ehci_pci ehci_hcd usbcore fbdev 
serio_raw i2c_piix4 snd soundcore pcspkr usb_common k10temp fam15h_power 
tpm_infineon tpm_tis wmi mac_hid microcode ipv6 autofs4 unix
[ 2281.855189] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W    3.13.0+ #1
[ 2281.855195] Hardware name: To be filled by O.E.M. To be filled by 
O.E.M./M5A99FX PRO R2.0, BIOS 2201 11/22/2013
[ 2281.855198]  0000000000000009 ffff88043ec834d8 ffffffff8f4f0805 
ffff88043ec83520
[ 2281.855204]  ffff88043ec83510 ffffffff8f041883 ffff8801886159c0 
ffff880423b04000
[ 2281.855208]  0000000000000002 0000000000000010 0000000000000020 
ffff88043ec83570
[ 2281.855213] Call Trace:
[ 2281.855216]  <IRQ>  [<ffffffff8f4f0805>] dump_stack+0x45/0x56
[ 2281.855231]  [<ffffffff8f041883>] warn_slowpath_common+0x73/0x90
[ 2281.855236]  [<ffffffff8f0418e7>] warn_slowpath_fmt+0x47/0x50
[ 2281.855256]  [<ffffffffc0a9e548>] ? kvm_vcpu_kick+0x78/0x90 [kvm]
[ 2281.855279]  [<ffffffffc010df7c>] usb_submit_urb+0x27c/0x580 [usbcore]
[ 2281.855287]  [<ffffffff8f336f07>] ? __pm_runtime_resume+0x57/0x70
[ 2281.855294]  [<ffffffffc11f0393>] usbnet_start_xmit+0x143/0x5f0 [usbnet]
[ 2281.855303]  [<ffffffff8f44a78b>] dev_hard_start_xmit+0x2cb/0x4c0
[ 2281.855314]  [<ffffffffc1141180>] ? deliver_clone+0x50/0x50 [bridge]
[ 2281.855321]  [<ffffffff8f467b00>] sch_direct_xmit+0xe0/0x1c0
[ 2281.855326]  [<ffffffff8f44ab57>] __dev_queue_xmit+0x1d7/0x470
[ 2281.855330]  [<ffffffff8f44adfb>] dev_queue_xmit+0xb/0x10
[ 2281.855339]  [<ffffffffc11411f6>] br_dev_queue_push_xmit+0x76/0xc0 [bridge]
[ 2281.855348]  [<ffffffffc114140d>] br_forward_finish+0x1d/0x60 [bridge]
[ 2281.855357]  [<ffffffffc1141499>] __br_deliver+0x49/0x100 [bridge]
[ 2281.855366]  [<ffffffffc11417bb>] br_deliver+0x5b/0x60 [bridge]
[ 2281.855374]  [<ffffffffc113f1dc>] br_dev_xmit+0x12c/0x260 [bridge]
[ 2281.855380]  [<ffffffff8f44a78b>] dev_hard_start_xmit+0x2cb/0x4c0
[ 2281.855385]  [<ffffffff8f44ac76>] __dev_queue_xmit+0x2f6/0x470
[ 2281.855389]  [<ffffffff8f44adfb>] dev_queue_xmit+0xb/0x10
[ 2281.855395]  [<ffffffff8f480ea9>] ip_finish_output+0x329/0x400
[ 2281.855399]  [<ffffffff8f4822a3>] ip_output+0x53/0x90
[ 2281.855404]  [<ffffffff8f481a20>] ip_local_out+0x20/0x30
[ 2281.855408]  [<ffffffff8f481d68>] ip_queue_xmit+0x138/0x3e0
[ 2281.855414]  [<ffffffff8f4981a1>] tcp_transmit_skb+0x451/0x8c0
[ 2281.855420]  [<ffffffff8f49adfc>] tcp_send_ack+0xcc/0x110
[ 2281.855425]  [<ffffffff8f48e609>] __tcp_ack_snd_check+0x59/0x90
[ 2281.855430]  [<ffffffff8f494f29>] tcp_rcv_established+0x1f9/0x640
[ 2281.855434]  [<ffffffff8f49e985>] tcp_v4_do_rcv+0x1b5/0x4c0
[ 2281.855439]  [<ffffffff8f4a0c84>] tcp_v4_rcv+0x774/0x790
[ 2281.855444]  [<ffffffff8f47c830>] ? ip_rcv_finish+0x340/0x340
[ 2281.855449]  [<ffffffff8f47633c>] ? nf_hook_slow+0x6c/0x130
[ 2281.855454]  [<ffffffff8f47c830>] ? ip_rcv_finish+0x340/0x340
[ 2281.855459]  [<ffffffff8f47c8d0>] ip_local_deliver_finish+0xa0/0x200
[ 2281.855464]  [<ffffffff8f47cbb3>] ip_local_deliver+0x43/0x80
[ 2281.855469]  [<ffffffff8f47c568>] ip_rcv_finish+0x78/0x340
[ 2281.855474]  [<ffffffff8f47ce84>] ip_rcv+0x294/0x3d0
[ 2281.855479]  [<ffffffff8f44912e>] __netif_receive_skb_core+0x5ee/0x7d0
[ 2281.855484]  [<ffffffff8f449323>] __netif_receive_skb+0x13/0x60
[ 2281.855488]  [<ffffffff8f44938e>] netif_receive_skb_internal+0x1e/0x90
[ 2281.855492]  [<ffffffff8f449409>] netif_receive_skb+0x9/0x10
[ 2281.855501]  [<ffffffffc11424f8>] br_handle_frame_finish+0x1c8/0x3d0 
[bridge]
[ 2281.855512]  [<ffffffffc114903d>] br_nf_pre_routing_finish+0x18d/0x390 
[bridge]
[ 2281.855522]  [<ffffffffc11494d7>] br_nf_pre_routing+0x297/0x650 [bridge]
[ 2281.855531]  [<ffffffffc1142330>] ? br_handle_local_finish+0x60/0x60 
[bridge]
[ 2281.855536]  [<ffffffff8f4762ba>] nf_iterate+0x8a/0xa0
[ 2281.855546]  [<ffffffffc1142330>] ? br_handle_local_finish+0x60/0x60 
[bridge]
[ 2281.855550]  [<ffffffff8f47633c>] nf_hook_slow+0x6c/0x130
[ 2281.855559]  [<ffffffffc1142330>] ? br_handle_local_finish+0x60/0x60 
[bridge]
[ 2281.855569]  [<ffffffffc1142898>] br_handle_frame+0x198/0x230 [bridge]
[ 2281.855574]  [<ffffffff8f448d6a>] __netif_receive_skb_core+0x22a/0x7d0
[ 2281.855579]  [<ffffffff8f449323>] __netif_receive_skb+0x13/0x60
[ 2281.855583]  [<ffffffff8f449d78>] process_backlog+0x98/0x170
[ 2281.855588]  [<ffffffff8f44968b>] net_rx_action+0xfb/0x1a0
[ 2281.855593]  [<ffffffff8f0457fc>] __do_softirq+0xdc/0x1f0
[ 2281.855599]  [<ffffffff8f045b1d>] irq_exit+0x9d/0xb0
[ 2281.855604]  [<ffffffff8f004463>] do_IRQ+0x53/0xf0
[ 2281.855609]  [<ffffffff8f4fa2ea>] common_interrupt+0x6a/0x6a
[ 2281.855611]  <EOI>  [<ffffffff8f3fe327>] ? cpuidle_enter_state+0x47/0xc0
[ 2281.855620]  [<ffffffff8f3fe436>] cpuidle_idle_call+0x96/0x130
[ 2281.855626]  [<ffffffff8f00b989>] arch_cpu_idle+0x9/0x20
[ 2281.855632]  [<ffffffff8f07edea>] cpu_startup_entry+0xda/0x1d0
[ 2281.855638]  [<ffffffff8f02a861>] start_secondary+0x1e1/0x240
[ 2281.855641] ---[ end trace 2984f00ab4aaf2fe ]---
[ 2282.186983] ------------[ cut here ]------------
[ 2282.187014] WARNING: CPU: 2 PID: 1642 at drivers/usb/core/urb.c:476 
usb_submit_urb+0x27c/0x580 [usbcore]()
[ 2282.187017] usb 8-1: BOGUS urb flags, 10 --> 0
[ 2282.187019] Modules linked in: fuse usb_storage ax88179_178a usbnet mii 
ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 
xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp 
ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables 
x_tables af_packet bridge stp llc vhost_net vhost macvtap it87 
vfio_iommu_type1 macvlan hwmon_vid vfio_pci vfio btrfs hid_generic raid6_pq 
usbhid hid libcrc32c xor kvm_amd kvm radeon crct10dif_pclmul crc32_pclmul 
fbcon ttm ghash_clmulni_intel aesni_intel snd_hda_codec_realtek bitblit 
softcursor snd_hda_codec_generic snd_hda_codec_hdmi aes_x86_64 lrw font 
tileblit drm_kms_helper mxm_wmi drm agpgart snd_hda_intel cfbfillrect 
snd_hda_codec cfbimgblt cfbcopyarea snd_hwdep i2c_algo_bit gf128mul 
glue_helper ablk_helper
[ 2282.187066]  cryptd xhci_hcd snd_pcm psmouse fb sp5100_tco snd_timer 
edac_core edac_mce_amd ohci_pci ohci_hcd ehci_pci ehci_hcd usbcore fbdev 
serio_raw i2c_piix4 snd soundcore pcspkr usb_common k10temp fam15h_power 
tpm_infineon tpm_tis wmi mac_hid microcode ipv6 autofs4 unix
[ 2282.187090] CPU: 2 PID: 1642 Comm: Chrome_IOThread Tainted: G        W    
3.13.0+ #1
[ 2282.187092] Hardware name: To be filled by O.E.M. To be filled by 
O.E.M./M5A99FX PRO R2.0, BIOS 2201 11/22/2013
[ 2282.187095]  0000000000000009 ffff8803b1029798 ffffffff8f4f0805 
ffff8803b10297e0
[ 2282.187099]  ffff8803b10297d0 ffffffff8f041883 ffff880188615540 
ffff880423b04000
[ 2282.187102]  0000000000000002 0000000000000010 0000000000000020 
ffff8803b1029830
[ 2282.187106] Call Trace:
[ 2282.187113]  [<ffffffff8f4f0805>] dump_stack+0x45/0x56
[ 2282.187119]  [<ffffffff8f041883>] warn_slowpath_common+0x73/0x90
[ 2282.187123]  [<ffffffff8f0418e7>] warn_slowpath_fmt+0x47/0x50
[ 2282.187140]  [<ffffffffc010df7c>] usb_submit_urb+0x27c/0x580 [usbcore]
[ 2282.187145]  [<ffffffff8f336f07>] ? __pm_runtime_resume+0x57/0x70
[ 2282.187150]  [<ffffffffc11f0393>] usbnet_start_xmit+0x143/0x5f0 [usbnet]
[ 2282.187156]  [<ffffffff8f44a78b>] dev_hard_start_xmit+0x2cb/0x4c0
[ 2282.187164]  [<ffffffffc1141180>] ? deliver_clone+0x50/0x50 [bridge]
[ 2282.187169]  [<ffffffff8f467b00>] sch_direct_xmit+0xe0/0x1c0
[ 2282.187172]  [<ffffffff8f44ab57>] __dev_queue_xmit+0x1d7/0x470
[ 2282.187176]  [<ffffffff8f44adfb>] dev_queue_xmit+0xb/0x10
[ 2282.187182]  [<ffffffffc11411f6>] br_dev_queue_push_xmit+0x76/0xc0 [bridge]
[ 2282.187189]  [<ffffffffc114140d>] br_forward_finish+0x1d/0x60 [bridge]
[ 2282.187196]  [<ffffffffc1141499>] __br_deliver+0x49/0x100 [bridge]
[ 2282.187203]  [<ffffffffc11417bb>] br_deliver+0x5b/0x60 [bridge]
[ 2282.187209]  [<ffffffffc113f1dc>] br_dev_xmit+0x12c/0x260 [bridge]
[ 2282.187214]  [<ffffffff8f44a78b>] dev_hard_start_xmit+0x2cb/0x4c0
[ 2282.187217]  [<ffffffff8f44ac76>] __dev_queue_xmit+0x2f6/0x470
[ 2282.187221]  [<ffffffff8f44adfb>] dev_queue_xmit+0xb/0x10
[ 2282.187226]  [<ffffffff8f480ea9>] ip_finish_output+0x329/0x400
[ 2282.187229]  [<ffffffff8f4822a3>] ip_output+0x53/0x90
[ 2282.187233]  [<ffffffff8f481a20>] ip_local_out+0x20/0x30
[ 2282.187236]  [<ffffffff8f481d68>] ip_queue_xmit+0x138/0x3e0
[ 2282.187241]  [<ffffffff8f4981a1>] tcp_transmit_skb+0x451/0x8c0
[ 2282.187245]  [<ffffffff8f4987ac>] tcp_write_xmit+0x19c/0xb90
[ 2282.187249]  [<ffffffff8f4993c9>] __tcp_push_pending_frames+0x29/0x90
[ 2282.187252]  [<ffffffff8f489217>] tcp_push+0xe7/0x120
[ 2282.187256]  [<ffffffff8f48afb8>] tcp_sendmsg+0xb8/0xcf0
[ 2282.187260]  [<ffffffff8f4b3c7f>] inet_sendmsg+0x5f/0xb0
[ 2282.187264]  [<ffffffff8f4309b6>] sock_aio_write+0xf6/0x120
[ 2282.187269]  [<ffffffff8f11d195>] do_sync_write+0x55/0x90
[ 2282.187273]  [<ffffffff8f11da05>] vfs_write+0x1c5/0x1e0
[ 2282.187277]  [<ffffffff8f11d7cf>] ? vfs_read+0xef/0x160
[ 2282.187281]  [<ffffffff8f11e2c4>] SyS_write+0x44/0xa0
[ 2282.187285]  [<ffffffff8f4fa9a6>] system_call_fastpath+0x1a/0x1f
[ 2282.187287] ---[ end trace 2984f00ab4aaf2ff ]---


Regards,

Will Trives
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux