#22178: USB3 is not working on Belkin F9K1115 v2 (AC 1750 DB)
---------------------------------+--------------------------------
 Reporter:  ferrets@…            |      Owner:  developers
     Type:  defect               |     Status:  new
 Priority:  high                 |  Milestone:
Component:  kernel               |    Version:  Chaos Calmer 15.05
 Keywords:  USB3 F9K1115 Belkin  |
---------------------------------+--------------------------------
 using the newest version 15.05.1,a usb 2.0 flash disk is plugged in and
 working fine.

 after I plug in the usb3.0 disk, the disk can be recognized by the system
 and fdisk.

 but when I tried to format it into ext4, it caused a crash and the usb3.0
 port is not working anymore until the router is rebooted.

 here is some log

  dmesg for plug in and recognize::
 {{{
 [903770.750000] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
 [903770.770000] usb-storage 4-1:1.0: USB Mass Storage device detected
 [903770.780000] scsi host1: usb-storage 4-1:1.0
 [903771.790000] scsi 1:0:0:0: Direct-Access     SanDisk  Ultra Fit
 1.00 PQ: 0 ANSI: 6
 [903771.800000] sd 1:0:0:0: [sdb] 60062500 512-byte logical blocks: (30.7
 GB/28.6 GiB)
 [903771.810000] sd 1:0:0:0: [sdb] Write Protect is off
 [903771.820000] sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
 [903771.820000] sd 1:0:0:0: [sdb] Write cache: disabled, read cache:
 enabled, doesn't support DPO or FUA
 [903771.840000]  sdb: sdb1
 [903771.850000] sd 1:0:0:0: [sdb] Attached SCSI removable disk
 }}}

  fdisk is able to recognize partition information::
 {{{
 Disk /dev/sdb: 28.7 GiB, 30752000000 bytes, 60062500 sectors
 Units: sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disklabel type: dos
 Disk identifier: 0x00000000

 Device     Boot Start      End  Sectors  Size Id Type
 /dev/sdb1          32 60062499 60062468 28.7G  c W95 FAT32 (LBA)
 }}}

  crash log at trying to format the disk::
 {{{
 [904442.060000] xhci_hcd 0000:01:00.0: xHCI host not responding to stop
 endpoint command.
 [904442.060000] xhci_hcd 0000:01:00.0: Assuming host is dying, halting
 host.
 [904442.070000] xhci_hcd 0000:01:00.0: HC died; cleaning up
 [904442.080000] usb 4-1: USB disconnect, device number 2
 [904442.100000] sd 1:0:0:0: [sdb]
 [904442.100000] Result: hostbyte=0x01 driverbyte=0x00
 [904442.100000] sd 1:0:0:0: [sdb] CDB:
 [904442.110000] cdb[0]=0x2a: 2a 00 00 00 00 20 00 00 08 00
 [904442.110000] blk_update_request: I/O error, dev sdb, sector 32
 [904442.120000] Buffer I/O error on dev sdb1, logical block 0, lost async
 page write
 [904442.130000] Buffer I/O error on dev sdb1, logical block 1, lost async
 page write
 [904442.150000] sd 1:0:0:0: [sdb]
 [904442.150000] Result: hostbyte=0x01 driverbyte=0x00
 [904442.160000] sd 1:0:0:0: [sdb] CDB:
 [904442.160000] cdb[0]=0x2a: 2a 00 00 00 00 38 00 00 f0 00
 [904442.170000] blk_update_request: I/O error, dev sdb, sector 56
 [904442.170000] Buffer I/O error on dev sdb1, logical block 6, lost async
 page write
 [904442.180000] Buffer I/O error on dev sdb1, logical block 7, lost async
 page write
 [904442.190000] Buffer I/O error on dev sdb1, logical block 8, lost async
 page write
 [904442.200000] Buffer I/O error on dev sdb1, logical block 9, lost async
 page write
 [904442.200000] Buffer I/O error on dev sdb1, logical block 10, lost async
 page write
 [904442.210000] Buffer I/O error on dev sdb1, logical block 11, lost async
 page write
 [904442.220000] Buffer I/O error on dev sdb1, logical block 12, lost async
 page write
 [904442.230000] Buffer I/O error on dev sdb1, logical block 13, lost async
 page write
 [904442.360000] ------------[ cut here ]------------
 [904442.370000] WARNING: CPU: 0 PID: 26080 at fs/fs-writeback.c:1215
 __mark_inode_dirty+0x114/0x1ac()
 [904442.380000] bdi-block not registered
 [904442.380000] Modules linked in: pppoe ppp_async iptable_nat ath9k
 ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200
 ums_freecom ums_datafab ums_cypress ums_alauda pppox ppp_generic
 nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE
 ath9k_common xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac
 xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT
 usb_storage slhc nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat
 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
 nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter
 ip_tables crc_ccitt ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211
 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common
 ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables sd_mod
 scsi_mod tun ext4 jbd2 mbcache crc16 ipv6 arc4 crypto_blkcipher
 crypto_hash xhci_plat_hcd xhci_pci xhci_hcd ehci_platform ehci_hcd
 gpio_button_hotplug usbcore nls_base usb_common
 [904442.470000] CPU: 0 PID: 26080 Comm: mkfs.ext4 Not tainted 3.18.23 #1
 [904442.480000] Stack : 00000000 00000000 00000000 00000000 803d4292
 00000038 00000000 8011f154
 [904442.480000]           00000001 ffffffff 8031f208 80376ba3 000065e0
 803d34d0 878f4248 ffffffff
 [904442.480000]           00000000 00001000 00000001 800a364c 00000003
 8008043c 000004bf ffffffff
 [904442.480000]           80322800 83587c04 00000000 00000000 00000000
 00000000 00000000 00000000
 [904442.480000]           00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000
 [904442.480000]           ...
 [904442.520000] Call Trace:
 [904442.520000] [<80071060>] show_stack+0x50/0x84
 [904442.520000] [<80080544>] warn_slowpath_common+0x84/0xb4
 [904442.530000] [<800805a0>] warn_slowpath_fmt+0x2c/0x38
 [904442.530000] [<8011f154>] __mark_inode_dirty+0x114/0x1ac
 [904442.540000] [<8012684c>] __block_commit_write.isra.28+0xb0/0x120
 [904442.550000] [<8012692c>] block_write_end+0x70/0x8c
 [904442.550000] [<8012a52c>] blkdev_write_end+0x34/0x60
 [904442.560000] [<800c82fc>] generic_perform_write+0x124/0x1f4
 [904442.560000] [<800ca058>] __generic_file_write_iter+0x360/0x3f4
 [904442.570000] [<8012a6a4>] blkdev_write_iter+0x34/0xec
 [904442.570000] [<800fb82c>] new_sync_write+0x88/0xc0
 [904442.580000] [<800fc15c>] vfs_write+0xb8/0x1bc
 [904442.580000] [<800fc8cc>] SyS_pwrite64+0x6c/0xb4
 [904442.590000] [<80062b5c>] handle_sys+0x11c/0x140
 [904442.590000]
 [904442.590000] ---[ end trace 1ba70ff86f69ef12 ]---
 }}}
  installed kmod-usb::
 {{{
 root@Belkin:~# opkg list-installed | grep kmod-usb
 kmod-usb-core - 3.18.23-1
 kmod-usb-storage - 3.18.23-1
 kmod-usb-storage-extras - 3.18.23-1
 kmod-usb2 - 3.18.23-1
 kmod-usb3 - 3.18.23-1
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/22178>
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