Problem with usb stick



  • Hi @Mike, I did some more google searches, and apparently this fixes the problem (error -71) on Ubuntu. So please give it a try:

    echo Y > cat /sys/module/usbcore/parameters/old_scheme_first
    

    Please let me know if it fixes anything.



  • Hi @Boken-Lin,

    The command executed successfully, but after reboot the error still shows up.

    
    [    1.200000] 8021q: 802.1Q VLAN Support v1.8
    [    1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    [    1.220000] Freeing unused kernel memory: 236K (80375000 - 803b0000)
    [    2.690000] init: Console is alive
    [    2.690000] init: - watchdog -
    [    5.220000] usbcore: registered new interface driver usbfs
    [    5.230000] usbcore: registered new interface driver hub
    [    5.230000] usbcore: registered new device driver usb
    [    5.290000] SCSI subsystem initialized
    [    5.310000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.310000] ehci-platform: EHCI generic platform driver
    [    5.320000] ehci-platform ehci-platform: EHCI Host Controller
    [    5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
    [    5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
    [    5.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
    [    5.360000] hub 1-0:1.0: USB hub found
    [    5.360000] hub 1-0:1.0: 1 port detected
    [    5.380000] usbcore: registered new interface driver usb-storage
    [    5.690000] usb 1-1: new full-speed USB device number 2 using ehci-platform
    [    5.720000] init: - preinit -
    [    6.290000] usb 1-1: device descriptor read/64, error -71
    [    6.470000] random: procd urandom read with 13 bits of entropy available
    [    6.620000] usb 1-1: device descriptor read/64, error -71
    [    6.850000] usb 1-1: new full-speed USB device number 3 using ehci-platform
    [    7.070000] usb 1-1: device descriptor read/64, error -71
    [    7.390000] usb 1-1: device descriptor read/64, error -71
    [    7.620000] usb 1-1: new full-speed USB device number 4 using ehci-platform
    [    8.100000] usb 1-1: device not accepting address 4, error -71
    [    8.220000] usb 1-1: new full-speed USB device number 5 using ehci-platform
    [    8.700000] usb 1-1: device not accepting address 5, error -71
    [    8.700000] usb usb1-port1: unable to enumerate USB device
    [    9.640000] mount_root: loading kmods from internal overlay
    [   10.020000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   10.030000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   10.040000] block: extroot: not configured
    [   10.110000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [   10.300000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
    [   10.310000] block: extroot: not configured
    [   10.310000] mount_root: switching to jffs2 overlay
    [   10.380000] procd: - early -
    [   10.380000] procd: - watchdog -
    [   11.180000] procd: - ubus -
    [   12.200000] procd: - init -
    [   13.700000] NET: Registered protocol family 10
    [   13.720000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
    [   13.750000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [   13.780000] i2c /dev entries driver
    [   13.780000] Custom GPIO-based I2C driver version 0.1.1
    [   13.790000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL)
    [   13.830000] Linux video capture interface: v2.00
    [   13.850000] hidraw: raw HID events driver (C) Jiri Kosina
    [   13.880000] usbcore: registered new interface driver cdc_acm
    [   13.890000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [   13.900000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
    [   13.900000] Backport generated by backports.git backports-20150129-0-gdd4a670
    [   13.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [   13.940000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
    [   13.990000] usbcore: registered new interface driver ums-alauda
    [   14.000000] usbcore: registered new interface driver ums-cypress
    [   14.010000] usbcore: registered new interface driver ums-datafab
    [   14.010000] usbcore: registered new interface driver ums-freecom
    [   14.020000] usbcore: registered new interface driver ums-isd200
    [   14.030000] usbcore: registered new interface driver ums-jumpshot
    [   14.040000] usbcore: registered new interface driver ums-karma
    [   14.040000] usbcore: registered new interface driver ums-sddr09
    [   14.050000] usbcore: registered new interface driver ums-sddr55
    [   14.060000] usbcore: registered new interface driver ums-usbat
    [   14.070000] usbcore: registered new interface driver usbhid
    [   14.070000] usbhid: USB HID core driver
    [   14.080000] usbcore: registered new interface driver usblp
    [   14.090000] usbcore: registered new interface driver usbserial
    [   14.100000] usbcore: registered new interface driver usbserial_generic
    [   14.110000] usbserial: USB Serial support registered for generic
    [   14.120000] usbcore: registered new interface driver uvcvideo
    [   14.130000] USB Video Class driver (1.1.1)
    [   14.160000] xt_time: kernel timezone is -0000
    [   14.200000] cfg80211: Calling CRDA to update world regulatory domain
    [   14.220000] usbcore: registered new interface driver ch341
    [   14.220000] usbserial: USB Serial support registered for ch341-uart
    [   14.230000] usbcore: registered new interface driver cp210x
    [   14.230000] usbserial: USB Serial support registered for cp210x
    [   14.240000] usbcore: registered new interface driver ftdi_sio
    [   14.250000] usbserial: USB Serial support registered for FTDI USB Serial Device
    [   14.270000] cfg80211: World regulatory domain updated:
    [   14.270000] cfg80211:  DFS Master region: unset
    [   14.270000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   14.280000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.290000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.300000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.310000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.310000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [   14.320000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [   14.330000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [   14.340000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [   14.440000] usbcore: registered new interface driver pl2303
    [   14.450000] usbserial: USB Serial support registered for pl2303
    [   14.460000] PPP generic driver version 2.4.2
    [   14.470000] NET: Registered protocol family 24
    [   14.540000] ath: EEPROM regdomain: 0x0
    [   14.540000] ath: EEPROM indicates default country code should be used
    [   14.540000] ath: doing EEPROM country->regdmn map search
    [   14.540000] ath: country maps to regdmn code: 0x3a
    [   14.540000] ath: Country alpha2 being used: US
    [   14.540000] ath: Regpair used: 0x3a
    [   14.550000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
    [   14.560000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
    [   14.570000] cfg80211: Calling CRDA for country: US
    [   14.570000] cfg80211: Regulatory domain changed to country: US
    [   14.570000] cfg80211:  DFS Master region: FCC
    [   14.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [   14.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [   14.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
    [   14.610000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [   14.620000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [   14.620000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [   29.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
    [   30.860000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [   32.310000] wlan0: authenticate with ac:22:0b:e8:d9:90
    [   32.330000] wlan0: direct probe to ac:22:0b:e8:d9:90 (try 1/3)
    [   32.540000] wlan0: send auth to ac:22:0b:e8:d9:90 (try 2/3)
    [   32.550000] wlan0: authenticated
    [   32.560000] wlan0: associate with ac:22:0b:e8:d9:90 (try 1/3)
    [   32.560000] wlan0: RX AssocResp from ac:22:0b:e8:d9:90 (capab=0x411 status=0 aid=1)
    [   32.570000] wlan0: associated
    [   32.570000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [   33.730000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
    [   51.150000] random: nonblocking pool is initialized
    root@Omega-2101:~#
    
    


  • @Mike What happens if you execute the command, and plug in the USB key without rebooting?



  • @Boken-Lin -- Sorry for the delayed reply.. I removed the USB, ran the previous command, re-inserted the USB drive, and ran dmesg. The same "read/64, error -71" error shows up.

    [ 4309.190000] usb 1-1: new full-speed USB device number 6 using ehci-platform
    [ 4309.410000] usb 1-1: device descriptor read/64, error -71
    [ 4309.730000] usb 1-1: device descriptor read/64, error -71
    [ 4309.960000] usb 1-1: new full-speed USB device number 7 using ehci-platform
    [ 4310.180000] usb 1-1: device descriptor read/64, error -71
    [ 4310.500000] usb 1-1: device descriptor read/64, error -71
    [ 4310.730000] usb 1-1: new full-speed USB device number 8 using ehci-platform
    [ 4311.210000] usb 1-1: device not accepting address 8, error -71
    [ 4311.330000] usb 1-1: new full-speed USB device number 9 using ehci-platform
    [ 4311.810000] usb 1-1: device not accepting address 9, error -71
    [ 4311.810000] usb usb1-port1: unable to enumerate USB device
    

    Edit: I noticed the new firmware version b234. I ran oupgrade -force to bring the Omega up-to-date from b233.

    I ran the previous command (echo Y > cat /sys/module/usbcore/parameters/old_scheme_first) again, re-inserted the USB drive, and dmesg shows the same -71 error.

    [  255.130000] usb 1-1: new full-speed USB device number 6 using ehci-platform
    [  255.350000] usb 1-1: device descriptor read/64, error -71
    [  255.670000] usb 1-1: device descriptor read/64, error -71
    [  255.900000] usb 1-1: new full-speed USB device number 7 using ehci-platform
    [  256.120000] usb 1-1: device descriptor read/64, error -71
    [  256.440000] usb 1-1: device descriptor read/64, error -71
    [  256.670000] usb 1-1: new full-speed USB device number 8 using ehci-platform
    [  257.150000] usb 1-1: device not accepting address 8, error -71
    [  257.270000] usb 1-1: new full-speed USB device number 9 using ehci-platform
    [  257.750000] usb 1-1: device not accepting address 9, error -71
    [  257.750000] usb usb1-port1: unable to enumerate USB device
    


  • @Mike What a resistant issue! And we don't even know where to begin... The computer that you are testing it on, which operating system is it running?



  • @Boken-Lin -- Yes, it is! I'm SSH'ing in from different SSH clients on ChromeOS (Toshiba Chromebook 2), Windows 7 (Putty), and an Android phone (ConnectBot). I also get the same errors when connected via USB Serial with Putty on Windows 7.



  • @Mike I mean, you mentioned that your USB devices work on your other machines, which OS are those? Would you be able to set up a Ubuntu virtual machine to try out the USB drive? I'm guessing that the keys might not be set up properly. Do you know which filesystem you formatted the keys to?



  • @Boken-Lin - I've used the drives on all of my systems besides the Android Phone. They are formatted with FAT.

    I have Ubuntu running as chroot on my Chromebook. Here's the output from dmesg when connecting a USB drive to the Chromebook's Debian (Jessie) chroot.

    [14729.462277] xhci_hcd 0000:00:14.0: setting latency timer to 64
    [14729.899571] usb 1-2: new high-speed USB device number 25 using xhci_hcd
    [14729.914967] usb 1-2: New USB device found, idVendor=13fe, idProduct=3600
    [14729.914980] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [14729.914989] usb 1-2: Product: USB DISK 2.0
    [14729.914996] usb 1-2: Manufacturer:         
    [14729.915002] usb 1-2: SerialNumber: 7FB61C007B08005C
    [14729.916323] usb-storage 1-2:1.0: USB Mass Storage device detected
    [14729.916484] usb-storage 1-2:1.0: Quirks match for vid 13fe pid 3600: 4000
    [14729.916829] scsi8 : usb-storage 1-2:1.0
    [14730.943441] scsi 8:0:0:0: Direct-Access              USB DISK 2.0     DL07 PQ: 0 ANSI: 0 CCS
    [14731.334298] sd 8:0:0:0: [sda] 8028160 512-byte logical blocks: (4.11 GB/3.82 GiB)
    [14731.335365] sd 8:0:0:0: [sda] Write Protect is off
    [14731.335378] sd 8:0:0:0: [sda] Mode Sense: 23 00 00 00
    [14731.336453] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.336464] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.340901] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.340913] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.358413]  sda: sda1
    [14731.366815] sd 8:0:0:0: [sda] No Caching mode page found
    [14731.366828] sd 8:0:0:0: [sda] Assuming drive cache: write through
    [14731.366839] sd 8:0:0:0: [sda] Attached SCSI removable disk
    

    I also get the same read/64, error -71 error when connecting a webcam to the Onion.

    [ 2275.320000] usb 1-1: new full-speed USB device number 32 using ehci-platform
    [ 2275.540000] usb 1-1: device descriptor read/64, error -71
    [ 2275.860000] usb 1-1: device descriptor read/64, error -71
    [ 2276.090000] usb 1-1: new full-speed USB device number 33 using ehci-platform
    [ 2276.310000] usb 1-1: device descriptor read/64, error -71
    [ 2276.630000] usb 1-1: device descriptor read/64, error -71
    [ 2276.860000] usb 1-1: new full-speed USB device number 34 using ehci-platform
    [ 2277.340000] usb 1-1: device not accepting address 34, error -71
    [ 2277.460000] usb 1-1: new full-speed USB device number 35 using ehci-platform
    [ 2277.940000] usb 1-1: device not accepting address 35, error -71
    [ 2277.940000] usb usb1-port1: unable to enumerate USB device
    


  • @Mike Ok, perhaps there's some issue with the configuration of the USB. Can you perform an upgrade of the firmware, then do a factory reset of the Omega (You can do a factory reset by pressing on the reset button for about 30 seconds, and wait for the Omega to restart). This will overwrite all files on the omega, so please backup anything you may need.



  • Hi @Boken-Lin,

    I've upgrade the firmware to b236 and did a factory reset with /usr/sbin/factory-reset -f. Still getting the same error -71.

    Here's the output from USB Serial connected with Putty..

    http://pastebin.com/VsVRj8zb



  • Hi @Mike, can you take a picture of your setup? There might be something that's not correctly connected. Let's see if we can identify it visually.



  • Sorry for the late reply. I finally got around to taking a few pictures of the board.

    I'm still having the same issue, and the Omega is running on the latest firmware.

    I did notice one pin on the header was left unsoldered, there doesn't seem to be a trace going there though. I tried to add some solder there, but there isn't a pad for it to adhere to. Still the same errors after attempting, and after a fresh factory reset too.

    Close-Up of the Omega: https://imgur.com/a/Ep7ic

    Codename:	 Ando
    Model:	         Onion Omega
    Revision:	 R1
    Firmware:	 0.1.4 (b330)
    Latest Firmware: 0.1.4 (b330)        
    
    [  372.690000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [  374.400000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
    [  600.720000] usb 1-1: new full-speed USB device number 2 using ehci-platform
    [  600.940000] usb 1-1: device descriptor read/64, error -71
    [  601.260000] usb 1-1: device descriptor read/64, error -71
    [  601.490000] usb 1-1: new full-speed USB device number 3 using ehci-platform
    [  601.710000] usb 1-1: device descriptor read/64, error -71
    [  602.030000] usb 1-1: device descriptor read/64, error -71
    [  602.260000] usb 1-1: new full-speed USB device number 4 using ehci-platform
    [  602.740000] usb 1-1: device not accepting address 4, error -71
    [  602.860000] usb 1-1: new full-speed USB device number 5 using ehci-platform
    [  603.340000] usb 1-1: device not accepting address 5, error -71
    [  603.340000] usb usb1-port1: unable to enumerate USB device
    

Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.