#16505: AR9331 USB 2.0 Device issues again on WR710nV1 and other devices
------------------------+-----------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  reopened
  Priority:  high       |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  AR9331 USB2.0 TIMING ISSUES
------------------------+-----------------------------------------

Comment (by anonymous):

 Same problem using r45621 snapshot on Archer C7 v2 :
 {{{
 root@OpenWrt:~# logread -f
 Thu May  7 17:26:03 2015 kern.info kernel: [ 2928.040000] usb 1-1: new
 low-speed USB device number 6 using ehci-platform
 Thu May  7 17:26:18 2015 kern.err kernel: [ 2943.220000] usb 1-1: device
 descriptor read/64, error -145
 Thu May  7 17:26:33 2015 kern.err kernel: [ 2958.510000] usb 1-1: device
 descriptor read/64, error -145
 Thu May  7 17:26:33 2015 kern.info kernel: [ 2958.740000] usb 1-1: new
 low-speed USB device number 7 using ehci-platform
 Thu May  7 17:26:48 2015 kern.err kernel: [ 2973.920000] usb 1-1: device
 descriptor read/64, error -145
 Thu May  7 17:27:04 2015 kern.err kernel: [ 2989.210000] usb 1-1: device
 descriptor read/64, error -145
 Thu May  7 17:27:04 2015 kern.info kernel: [ 2989.440000] usb 1-1: new
 low-speed USB device number 8 using ehci-platform
 Thu May  7 17:27:14 2015 kern.err kernel: [ 2999.900000] usb 1-1: device
 not accepting address 8, error -145
 Thu May  7 17:27:15 2015 kern.info kernel: [ 3000.020000] usb 1-1: new
 low-speed USB device number 9 using ehci-platform
 Thu May  7 17:27:25 2015 kern.err kernel: [ 3010.480000] usb 1-1: device
 not accepting address 9, error -145
 Thu May  7 17:27:25 2015 kern.err kernel: [ 3010.480000] usb usb1-port1:
 unable to enumerate USB device
 root@OpenWrt:~# dmesg
 [    0.000000] Linux version 3.18.11 ([email protected]) (gcc
 version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45621) ) #1 Thu May 7
 20:39:57 IRDT 2015
 [    0.000000] MyLoader: sysp=b9b9812d, boardp=fdbebcad, parts=47e7a7e9
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
 [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
 [    0.000000] Determined physical RAM map:
 [    0.000000]  memory: 08000000 @ 00000000 (usable)
 [    0.000000] Initrd not found or empty - disabling initrd
 [    0.000000] Zone ranges:
 [    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
 [    0.000000] Movable zone start for each node
 [    0.000000] Early memory node ranges
 [    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
 [    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
 [    0.000000] On node 0 totalpages: 32768
 [    0.000000] free_area_init_node: node 0, pgdat 803560f0, node_mem_map
 81000000
 [    0.000000]   Normal zone: 256 pages used for memmap
 [    0.000000]   Normal zone: 0 pages reserved
 [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
 [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32
 bytes.
 [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases,
 linesize 32 bytes
 [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 [    0.000000] pcpu-alloc: [0] 0
 [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.
 Total pages: 32512
 [    0.000000] Kernel command line:  board=ARCHER-C7 console=ttyS0,115200
 rootfstype=squashfs,jffs2 noinitrd
 [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
 [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536
 bytes)
 [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768
 bytes)
 [    0.000000] Writing ErrCtl register=00000000
 [    0.000000] Readback ErrCtl register=00000000
 [    0.000000] Memory: 125920K/131072K available (2470K kernel code, 124K
 rwdata, 528K rodata, 260K init, 188K bss, 5152K reserved)
 [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 [    0.000000] NR_IRQS:51
 [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz,
 Ref:40.000MHz
 [    0.000000] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
 [    0.060000] pid_max: default: 32768 minimum: 301
 [    0.060000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.070000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.070000] NET: Registered protocol family 16
 [    0.080000] MIPS: machine is TP-LINK Archer C7
 [    0.080000] ar724x-pci ar724x-pci.0: PCIe link is down
 [    0.090000] registering PCI controller with io_map_base unset
 [    0.090000] registering PCI controller with io_map_base unset
 [    0.540000] PCI host bridge to bus 0000:00
 [    0.550000] pci_bus 0000:00: root bus resource [mem
 0x10000000-0x11ffffff]
 [    0.550000] pci_bus 0000:00: root bus resource [io  0x0000]
 [    0.560000] pci_bus 0000:00: No busn resource found for root bus, will
 use [bus 00-ff]
 [    0.560000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 [    0.560000] PCI host bridge to bus 0000:01
 [    0.570000] pci_bus 0000:01: root bus resource [mem
 0x12000000-0x13ffffff]
 [    0.570000] pci_bus 0000:01: root bus resource [io  0x0001]
 [    0.580000] pci_bus 0000:01: No busn resource found for root bus, will
 use [bus 01-ff]
 [    0.580000] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
 [    0.580000] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff
 64bit]
 [    0.580000] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff
 pref]
 [    0.580000] pci 0000:01:00.0: supports D1 D2
 [    0.580000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
 [    0.580000] pci 0000:01:00.0: BAR 0: assigned [mem
 0x12000000-0x121fffff 64bit]
 [    0.590000] pci 0000:01:00.0: BAR 6: assigned [mem
 0x12200000-0x1220ffff pref]
 [    0.590000] pci 0000:01:00.0: using irq 41 for pin 1
 [    0.600000] Switched to clocksource MIPS
 [    0.600000] NET: Registered protocol family 2
 [    0.610000] TCP established hash table entries: 1024 (order: 0, 4096
 bytes)
 [    0.610000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
 [    0.620000] TCP: Hash tables configured (established 1024 bind 1024)
 [    0.620000] TCP: reno registered
 [    0.630000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.630000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.640000] NET: Registered protocol family 1
 [    0.640000] PCI: CLS 0 bytes, default 32
 [    0.640000] futex hash table entries: 256 (order: -1, 3072 bytes)
 [    0.650000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.660000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.670000] msgmni has been set to 245
 [    0.680000] io scheduler noop registered
 [    0.690000] io scheduler deadline registered (default)
 [    0.690000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.700000] console [ttyS0] disabled
 [    0.720000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud
 = 2500000) is a 16550A
 [    0.730000] console [ttyS0] enabled
 [    0.740000] bootconsole [early0] disabled
 [    0.750000] m25p80 spi0.0: found s25fl129p1, expected m25p80
 [    0.750000] m25p80 spi0.0: s25fl129p1 (16384 Kbytes)
 [    0.760000] 5 tp-link partitions found on MTD device spi0.0
 [    0.760000] Creating 5 MTD partitions on "spi0.0":
 [    0.770000] 0x000000000000-0x000000020000 : "u-boot"
 [    0.770000] 0x000000020000-0x0000001349f4 : "kernel"
 [    0.780000] mtd: partition "kernel" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    0.790000] 0x0000001349f4-0x000000ff0000 : "rootfs"
 [    0.800000] mtd: partition "rootfs" must either start or end on erase
 block boundary or be smaller than an erase block -- forcing read-only
 [    0.810000] mtd: device 2 (rootfs) set to be root filesystem
 [    0.820000] 1 squashfs-split partitions found on MTD device rootfs
 [    0.820000] 0x000000390000-0x000000ff0000 : "rootfs_data"
 [    0.830000] 0x000000ff0000-0x000001000000 : "art"
 [    0.830000] 0x000000020000-0x000000ff0000 : "firmware"
 [    0.850000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-
 mdio.0
 [    0.940000] libphy: ag71xx_mdio: probed
 [    1.540000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00
 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
 [    1.550000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
 [    2.140000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
 [    2.140000] TCP: cubic registered
 [    2.150000] NET: Registered protocol family 17
 [    2.150000] bridge: automatic filtering via arp/ip/ip6tables has been
 deprecated. Update your scripts to load br_netfilter if you need this.
 [    2.160000] 8021q: 802.1Q VLAN Support v1.8
 [    2.180000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    2.180000] Freeing unused kernel memory: 260K (8036f000 - 803b0000)
 [    3.200000] init: failed to symlink /tmp -> /var
 [    3.200000] init: Console is alive
 [    3.210000] init: - watchdog -
 [    4.470000] usbcore: registered new interface driver usbfs
 [    4.470000] usbcore: registered new interface driver hub
 [    4.480000] usbcore: registered new device driver usb
 [    4.480000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 [    4.490000] ehci-platform: EHCI generic platform driver
 [    4.500000] ehci-platform ehci-platform.0: EHCI Host Controller
 [    4.500000] ehci-platform ehci-platform.0: new USB bus registered,
 assigned bus number 1
 [    4.510000] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
 [    4.520000] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
 [    4.550000] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
 [    4.550000] hub 1-0:1.0: USB hub found
 [    4.560000] hub 1-0:1.0: 1 port detected
 [    4.560000] ehci-platform ehci-platform.1: EHCI Host Controller
 [    4.570000] ehci-platform ehci-platform.1: new USB bus registered,
 assigned bus number 2
 [    4.580000] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
 [    4.580000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
 [    4.610000] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
 [    4.610000] hub 2-0:1.0: USB hub found
 [    4.620000] hub 2-0:1.0: 1 port detected
 [    4.620000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 [    4.630000] ohci-platform: OHCI generic platform driver
 [    5.210000] init: - preinit -
 [    5.700000] eth1: link up (1000Mbps/Full duplex)
 [    5.720000] random: procd urandom read with 9 bits of entropy available
 [    9.040000] jffs2: notice: (383) jffs2_build_xattr_subsystem: complete
 building xattr subsystem, 2 of xdatum (2 unchecked, 0 orphan) and 2 of
 xref (0 dead, 0 orphan) found.
 [    9.060000] mount_root: switching to jffs2 overlay
 [    9.170000] eth1: link down
 [    9.180000] procd: - early -
 [    9.180000] procd: - watchdog -
 [    9.840000] procd: - ubus -
 [   10.860000] procd: - init -
 [   11.600000] NET: Registered protocol family 10
 [   11.610000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   11.630000] hidraw: raw HID events driver (C) Jiri Kosina
 [   11.640000] Loading modules backported from Linux version
 master-2015-03-09-0-g141f155
 [   11.650000] Backport generated by backports.git
 backports-20150129-0-gdd4a670
 [   11.660000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   11.670000] nf_conntrack version 0.5.0 (1971 buckets, 7884 max)
 [   11.700000] usbcore: registered new interface driver usbhid
 [   11.700000] usbhid: USB HID core driver
 [   11.720000] xt_time: kernel timezone is -0000
 [   11.750000] cfg80211: Calling CRDA to update world regulatory domain
 [   11.750000] cfg80211: World regulatory domain updated:
 [   11.760000] cfg80211:  DFS Master region: unset
 [   11.760000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   11.770000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.780000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.790000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.800000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.810000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 2000 mBm), (0 s)
 [   11.820000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   11.820000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   11.830000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   11.900000] PPP generic driver version 2.4.2
 [   11.910000] NET: Registered protocol family 24
 [   11.970000] ath: EEPROM regdomain: 0x0
 [   11.970000] ath: EEPROM indicates default country code should be used
 [   11.970000] ath: doing EEPROM country->regdmn map search
 [   11.970000] ath: country maps to regdmn code: 0x3a
 [   11.970000] ath: Country alpha2 being used: US
 [   11.970000] ath: Regpair used: 0x3a
 [   11.980000] ieee80211 phy0: Selected rate control algorithm
 'minstrel_ht'
 [   11.980000] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
 [   11.990000] cfg80211: Calling CRDA for country: US
 [   11.990000] cfg80211: Regulatory domain changed to country: US
 [   12.000000] cfg80211:  DFS Master region: FCC
 [   12.000000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   12.010000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 3000 mBm), (N/A)
 [   12.020000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 1700 mBm), (N/A)
 [   12.030000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000
 KHz AUTO), (N/A, 2300 mBm), (0 s)
 [   12.040000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 3000 mBm), (N/A)
 [   12.050000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 4000 mBm), (N/A)
 [   19.330000] eth1: link up (1000Mbps/Full duplex)
 [   19.340000] device eth1 entered promiscuous mode
 [   19.350000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 [   19.360000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
 [   20.110000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 [   20.330000] br-lan: port 1(eth1) entered forwarding state
 [   20.330000] br-lan: port 1(eth1) entered forwarding state
 [   20.350000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
 [   20.720000] eth0: link up (1000Mbps/Full duplex)
 [   20.720000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
 [   22.260000] wlan0: authenticate with f8:d1:11:c4:74:40
 [   22.280000] wlan0: send auth to f8:d1:11:c4:74:40 (try 1/3)
 [   22.290000] wlan0: authenticated
 [   22.300000] wlan0: associate with f8:d1:11:c4:74:40 (try 1/3)
 [   22.300000] wlan0: RX AssocResp from f8:d1:11:c4:74:40 (capab=0x431
 status=0 aid=5)
 [   22.310000] wlan0: associated
 [   22.320000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 [   22.330000] br-lan: port 1(eth1) entered forwarding state
 [   22.750000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
 [   70.820000] random: nonblocking pool is initialized
 [ 2694.140000] usb 1-1: new low-speed USB device number 2 using ehci-
 platform
 [ 2709.320000] usb 1-1: device descriptor read/64, error -145
 [ 2724.610000] usb 1-1: device descriptor read/64, error -145
 [ 2724.840000] usb 1-1: new low-speed USB device number 3 using ehci-
 platform
 [ 2740.020000] usb 1-1: device descriptor read/64, error -145
 [ 2755.310000] usb 1-1: device descriptor read/64, error -145
 [ 2755.540000] usb 1-1: new low-speed USB device number 4 using ehci-
 platform
 [ 2766.000000] usb 1-1: device not accepting address 4, error -145
 [ 2766.120000] usb 1-1: new low-speed USB device number 5 using ehci-
 platform
 [ 2776.580000] usb 1-1: device not accepting address 5, error -145
 [ 2776.580000] usb usb1-port1: unable to enumerate USB device
 [ 2928.040000] usb 1-1: new low-speed USB device number 6 using ehci-
 platform
 [ 2943.220000] usb 1-1: device descriptor read/64, error -145
 [ 2958.510000] usb 1-1: device descriptor read/64, error -145
 [ 2958.740000] usb 1-1: new low-speed USB device number 7 using ehci-
 platform
 [ 2973.920000] usb 1-1: device descriptor read/64, error -145
 [ 2989.210000] usb 1-1: device descriptor read/64, error -145
 [ 2989.440000] usb 1-1: new low-speed USB device number 8 using ehci-
 platform
 [ 2999.900000] usb 1-1: device not accepting address 8, error -145
 [ 3000.020000] usb 1-1: new low-speed USB device number 9 using ehci-
 platform
 [ 3010.480000] usb 1-1: device not accepting address 9, error -145
 [ 3010.480000] usb usb1-port1: unable to enumerate USB device
 root@OpenWrt:~# cat /etc/device_info
 DEVICE_MANUFACTURER='OpenWrt'
 DEVICE_PRODUCT='Generic'
 DEVICE_REVISION='v0'
 root@OpenWrt:~# cat /etc/openwrt_release
 DISTRIB_ID='OpenWrt'
 DISTRIB_RELEASE='Bleeding Edge'
 DISTRIB_REVISION='r45621'
 DISTRIB_CODENAME='chaos_calmer'
 DISTRIB_TARGET='ar71xx/generic'
 DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer r45621'
 DISTRIB_TAINTS='no-all'
 root@OpenWrt:~#
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16505#comment:19>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to