1 (edited by claudio 2015-10-07 14:52:29)

Topic: Cannot attach usb hard drives

Hi there
I followed all the steps explained in openWrt website in order to connect usb devices.
I successfully attached and mounted two usb flash drives.
I have 4 usb hard drives:
1 - 3.5" with obviously its own power supply
3 - 2.5" connected with a dual power cable (data plug to router - power plug to pc - data plug(other end) to HDD)
They all won't attach, only "sda" appears in "/dev" (no "sda1").
Always the same "dmesg":

[ 1759.284000] usb 1-1: new high-speed USB device number 2 using ifxusb_hcd
[ 1759.480000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 1759.492000] scsi host0: usb-storage 1-1:1.0
[ 1760.496000] scsi 0:0:0:0: Direct-Access     Hitachi  HDT721010SLA360       PQ: 0 ANSI: 2 CCS
[ 1760.508000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 1760.688000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1764.060000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1767.432000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1770.804000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1774.176000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1777.556000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1777.748000] sd 0:0:0:0: [sda] Write Protect is off
[ 1777.752000] sd 0:0:0:0: [sda] Mode Sense: 34 00 00 00
[ 1780.924000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1784.296000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1787.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1791.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1794.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1797.784000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1797.976000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1798.160000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1798.532000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1798.904000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1799.276000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1799.648000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1800.020000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1800.384000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1800.756000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1801.128000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1801.500000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1801.872000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1802.244000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1802.608000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1802.980000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1803.352000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1803.724000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1804.096000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1804.468000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1804.832000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1805.204000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1805.576000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1805.948000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1806.320000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1806.692000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1806.884000] sd 0:0:0:0: [sda] READ CAPACITY failed
[ 1806.888000] sd 0:0:0:0: [sda]  
[ 1806.892000] Result: hostbyte=0x07 driverbyte=0x00
[ 1806.896000] sd 0:0:0:0: [sda] Sense not available.
[ 1810.072000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1813.444000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1816.816000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1820.188000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1823.560000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1826.932000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1830.296000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1833.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1837.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1840.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1843.784000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1847.156000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1847.348000] sda: detected capacity change from 1000204886016 to 0
[ 1847.556000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1847.928000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1848.300000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1848.672000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1849.044000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1849.416000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1849.780000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1850.152000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1850.524000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1850.896000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1851.268000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1851.640000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1852.008000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1852.380000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1852.752000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1853.124000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1853.496000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1853.868000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1854.232000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1854.604000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1854.976000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1855.348000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1855.720000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1856.092000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1856.456000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1856.828000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1857.200000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1857.572000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1857.944000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1858.316000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1858.680000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1859.052000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1859.424000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1859.796000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1860.168000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1860.540000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1860.732000] sd 0:0:0:0: [sda] READ CAPACITY failed
[ 1860.736000] sd 0:0:0:0: [sda]  
[ 1860.740000] Result: hostbyte=0x07 driverbyte=0x00
[ 1860.744000] sd 0:0:0:0: [sda] Sense not available.
[ 1863.920000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1867.292000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1870.664000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1874.036000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1877.408000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1880.780000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1884.144000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1887.516000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1890.888000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1894.260000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1897.632000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1901.004000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[ 1901.196000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2734.368000] usb 1-1: USB disconnect, device number 2

I've run out of things to try
I rely on your help
Thanks in advance

Re: Cannot attach usb hard drives

Use a powered hub for your HDDs.

3 (edited by claudio 2015-10-03 21:13:09)

Re: Cannot attach usb hard drives

Thanks @tmo26, but no luck.
I get the same dmesg.
As you suggested I've connected them (one at a time) through an usb hub powerd with 5v 500mA.
Let suppose that the router doesn't provide a minimum of 5v 500mA, meaning breaking the standard, yet the 3.5" is powered by 12v 2A which should be what it needs to be fully operative.
We add the usb powered hub on top of that, there are no more excuses for it to not work.

Re: Cannot attach usb hard drives

Hello claudio,

are the HDDs MBR or GPT partitioned? AFAIK OpenWRT doesn't support GPT partitioned HDDs (but i might be wrong).

And the USB-hub with 500mA is not sufficient to power an 2.5" HDD. Use a hub with at least 1Amp (had the same Problem on a Desktop PC with HDDs and USB ODDs. Working with an 2Amp powered hub solved the issue).

Napsi-GER-

My posts aren't intended as tutorials. They're only indications in what to investigate further.

Currently on 4x Archer C7 (CC)
Building images by myself since AA ;D

Re: Cannot attach usb hard drives

Hi @Napsi-GER-
all my drives have MBR partition tables.
I was following your advices and browsing power set for sata drives, which they all seem to provide 5v 1.5A for 2.5" and 12v 1.5A for 3.5".
I then had a look at my 3.5" drive and found out that is already fed by 12v 2A; if this doesn't work I don't see the point of buying the same power supply for the 2.5".
Right now the 2.5" are fed by
- 500mA from USB power cable plugged to pc
- 500mA from USB hub
- 500mA from router (supposingly)
Total 1.5A, as the power set I was about to buy.
Also we all know that a pc can feed a 2.5" with one USB port only, then I assume that from the power cable is coming out way more than 500mA.
Maybe you guys implied that only a powered USB hub will do the job?

Re: Cannot attach usb hard drives

Hello claudio,

could you please tell us what hardware/device you use?

And lets only focus on the 3.5" HDD with its external power supply, to exclude any power problems.
Can you provide a log of

lsmod

then connect the 3.5" HDD, wait a little, then provide the log of

logread

and full log of

dmesg

Anything in that could be helpful (except MAC-Addresses, you can ...:XX:XX them if you want tongue).

Normally this should work at first try and without the need for an external hub.

Napsi-GER-


FYI:
With "had the same Problem on a Desktop PC with HDDs and USB ODDs" I meant, that i did the same as you: Powering the HDDs from a PC AND the router simultaneously (Data connection to the Router). But some kind of voodoo made it impossible for me to get a connection. But switching to a powered hub solved that for me.

2.5" HDDs are breaking the standard by providing an Y-cable (1 Power+1Data and Power -> 1Data and Power). But they need it for the high spinup currents (sometimes >1A, at least for mine). But that's not the main topic here.
/FYI

My posts aren't intended as tutorials. They're only indications in what to investigate further.

Currently on 4x Archer C7 (CC)
Building images by myself since AA ;D

Re: Cannot attach usb hard drives

claudio wrote:

Right now the 2.5" are fed by
- 500mA from USB power cable plugged to pc
- 500mA from USB hub
- 500mA from router (supposingly)

All at the same time?

Also we all know that a pc can feed a 2.5" with one USB port only, then I assume that from the power cable is coming out way more than 500mA.

Don't assume, when you can know. USB power meters are out there for cheap (€2,50...5 -> aliexpress). Search for the ones with OLED.

Re: Cannot attach usb hard drives

I'm very glad to have all of you guys assisting me with this issue
The router I'm using is "Netgear DGN3500"

lsmod:

aead                    3936  0 
arc4                    1216  0 
ath                    20976  3 ath9k
ath9k                  90528  0 
ath9k_common           16432  1 ath9k
ath9k_hw              340064  2 ath9k
atm                    36432  5 ltq_atm_ar9
br2684                  6752  1 
cfg80211              214160  4 ath9k
compat                  1120  4 ath9k
crc_ccitt                944  1 ppp_async
crypto_blkcipher       10064  2 ltq_deu_ar9
drv_dsl_cpe_api       106944  0 
ehci_hcd               35024  1 ehci_platform
ehci_platform           3520  0 
ext4                  337648  0 
fat                    48864  2 msdos
gpio_button_hotplug     6064  0 
ip6_tables              9344  3 ip6table_raw
ip6t_REJECT             1168  2 
ip6table_filter          528  1 
ip6table_mangle         1008  1 
ip6table_raw             496  1 
ip_tables               9568  4 iptable_nat
ipt_MASQUERADE           544  1 
ipt_REJECT               912  2 
iptable_filter           592  1 
iptable_mangle           864  1 
iptable_nat              688  1 
iptable_raw              560  1 
ipv6                  291568 26 nf_conntrack_ipv6
jbd2                   50320  1 ext4
ledtrig_usbdev          1888  0 
ltq_atm_ar9            29600  1 
ltq_deu_ar9            24832  2 
ltq_hcd_ar9            44704  0 
ltq_mei_ar9            16784  2 ltq_atm_ar9
mac80211              392736  1 ath9k
mbcache                 4576  1 ext4
msdos                   5872  0 
nf_conntrack           48288 11 nf_nat_ipv4
nf_conntrack_ftp        5376  1 nf_nat_ftp
nf_conntrack_ipv4       5120  8 
nf_conntrack_ipv6       5872  3 
nf_conntrack_rtcache    2544  0 
nf_defrag_ipv4           720  1 nf_conntrack_ipv4
nf_defrag_ipv6          8944  1 nf_conntrack_ipv6
nf_log_common           2272  2 nf_log_ipv4
nf_log_ipv4             3168  0 
nf_log_ipv6             3584  0 
nf_nat                  9760  5 nf_nat_ipv4
nf_nat_ftp              1168  0 
nf_nat_ipv4             4064  1 iptable_nat
nf_nat_masquerade_ipv4    1328  1 ipt_MASQUERADE
nf_reject_ipv4          1712  1 ipt_REJECT
nf_reject_ipv6          2064  1 ip6t_REJECT
nls_cp437               4352  0 
nls_iso8859_1           2816  0 
ntfs                   99120  0 
ohci_hcd               24000  1 ohci_platform
ohci_platform           2976  0 
ppp_async               7488  0 
ppp_generic            21840  4 pppoe
pppoatm                 3584  0 
pppoe                   9248  0 
pppox                   1168  1 pppoe
scsi_mod               87408  2 usb_storage
sd_mod                 27456  0 
slhc                    4704  1 ppp_generic
usb_storage            38288  0 
vfat                    8368  0 
x_tables                9968 26 ipt_REJECT
xt_CT                   2496  0 
xt_LOG                   688  0 
xt_REDIRECT             1184  0 
xt_TCPMSS               2624  2 
xt_comment               400 62 
xt_conntrack            2080 10 
xt_id                    400  0 
xt_limit                1264 20 
xt_mac                   544  0 
xt_mark                  592  0 
xt_multiport            1136  0 
xt_nat                   992  0 
xt_state                 624  0 
xt_tcpudp               1616 10 
xt_time                 1728  0 

then connect the 3.5" HDD with its external power supply, wait a little ...

logread:

Wed Sep 30 17:14:34 2015 kern.info kernel: [   89.244000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Wed Sep 30 17:14:34 2015 kern.info kernel: [   89.252000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
Wed Sep 30 17:14:34 2015 kern.info kernel: [   89.264000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
Wed Sep 30 17:14:34 2015 kern.info kernel: [   89.272000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
Wed Sep 30 17:14:34 2015 kern.info kernel: [   89.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Wed Sep 30 17:14:46 2015 user.emerg syslog: sh: bad number
Wed Sep 30 17:14:51 2015 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Wed Sep 30 17:14:51 2015 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces?
Wed Sep 30 17:14:51 2015 kern.info kernel: [  114.032000] device eth0.1 entered promiscuous mode
Wed Sep 30 17:14:51 2015 kern.info kernel: [  114.036000] device eth0 entered promiscuous mode
Wed Sep 30 17:14:52 2015 kern.info kernel: [  114.048000] br-lan: port 1(eth0.1) entered forwarding state
Wed Sep 30 17:14:52 2015 kern.info kernel: [  114.052000] br-lan: port 1(eth0.1) entered forwarding state
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'lan' is enabled
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'loopback' is enabled
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'loopback' is now up
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'lan' has link connectivity 
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'lan' is setting up now
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Network device 'eth0' link is up
Wed Sep 30 17:14:52 2015 daemon.notice netifd: VLAN 'eth0.1' link is up
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Network device 'lo' link is up
Wed Sep 30 17:14:52 2015 daemon.notice netifd: Interface 'loopback' has link connectivity 
Wed Sep 30 17:14:52 2015 daemon.notice netifd: lan (870): udhcpc (v1.23.2) started
Wed Sep 30 17:14:53 2015 daemon.notice netifd: lan (870): Sending discover...
Wed Sep 30 17:14:53 2015 daemon.notice netifd: lan (870): Sending select for 192.168.0.2...
Wed Sep 30 17:14:53 2015 daemon.notice netifd: lan (870): Performing a DHCP renew
Wed Sep 30 17:14:53 2015 daemon.notice netifd: lan (870): Sending discover...
Wed Sep 30 17:14:53 2015 daemon.notice netifd: lan (870): Sending select for 192.168.0.2...
Wed Sep 30 17:14:54 2015 kern.info kernel: [  116.056000] br-lan: port 1(eth0.1) entered forwarding state
Wed Sep 30 17:14:54 2015 daemon.notice netifd: lan (870): Lease of 192.168.0.2 obtained, lease time 86400
Wed Sep 30 17:14:55 2015 daemon.notice netifd: Interface 'lan' is now up
Wed Sep 30 17:14:58 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: started, version 2.73 cachesize 150
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: DNS service limited to local subnets
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: using local addresses only for domain lan
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: reading /tmp/resolv.conf.auto
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: using local addresses only for domain lan
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: using nameserver 194.168.4.100#53
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: using nameserver 194.168.8.100#53
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: read /etc/hosts - 1 addresses
Wed Sep 30 17:14:59 2015 daemon.info dnsmasq[955]: read /tmp/hosts/dhcp - 1 addresses
Wed Sep 30 17:15:11 2015 daemon.err block: /dev/mtdblock6 is already mounted
Wed Sep 30 17:15:13 2015 local2.notice br2684ctl[1020]: Interface "nas0" created sucessfully
Wed Sep 30 17:15:13 2015 local2.notice br2684ctl[1020]: Communicating over ATM 0.1.32, encapsulation: LLC
Wed Sep 30 17:15:13 2015 daemon.notice netifd: Interface 'wan' is enabled
Wed Sep 30 17:15:13 2015 local2.info br2684ctl[1020]: Interface configured
Wed Sep 30 17:15:13 2015 local2.info br2684ctl[1020]: RFC 1483/2684 bridge daemon started
Wed Sep 30 17:15:15 2015 authpriv.info dropbear[1056]: Not backgrounding
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led wifi
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led usb
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led internet
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led dsl
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led power
Wed Sep 30 17:15:19 2015 user.emerg syslog: setting up led wps
Wed Sep 30 17:15:20 2015 daemon.info procd: - init complete -
Tue Oct  6 09:13:46 2015 authpriv.info dropbear[1142]: Child connection from 192.168.0.20:49186
Tue Oct  6 09:13:52 2015 authpriv.notice dropbear[1142]: Password auth succeeded for 'root' from 192.168.0.20:49186
Tue Oct  6 09:16:05 2015 kern.info kernel: [  317.908000] usb 1-1: new high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:05 2015 kern.info kernel: [  318.104000] usb-storage 1-1:1.0: USB Mass Storage device detected
Tue Oct  6 09:16:05 2015 kern.info kernel: [  318.116000] scsi host0: usb-storage 1-1:1.0
Tue Oct  6 09:16:06 2015 kern.notice kernel: [  319.120000] scsi 0:0:0:0: Direct-Access     Hitachi  HDT721010SLA360       PQ: 0 ANSI: 2 CCS
Tue Oct  6 09:16:06 2015 kern.notice kernel: [  319.132000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
Tue Oct  6 09:16:06 2015 kern.info kernel: [  319.316000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:10 2015 kern.info kernel: [  322.688000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:13 2015 kern.info kernel: [  326.060000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:16 2015 kern.info kernel: [  329.432000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:20 2015 kern.info kernel: [  332.804000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:23 2015 kern.info kernel: [  336.176000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:23 2015 kern.notice kernel: [  336.368000] sd 0:0:0:0: [sda] Write Protect is off
Tue Oct  6 09:16:23 2015 kern.debug kernel: [  336.372000] sd 0:0:0:0: [sda] Mode Sense: 34 00 00 00
Tue Oct  6 09:16:27 2015 kern.info kernel: [  339.544000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:30 2015 kern.info kernel: [  342.916000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:33 2015 kern.info kernel: [  346.292000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:37 2015 kern.info kernel: [  349.664000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:40 2015 kern.info kernel: [  353.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:43 2015 kern.info kernel: [  356.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:44 2015 kern.notice kernel: [  356.604000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Tue Oct  6 09:16:44 2015 kern.info kernel: [  356.788000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:44 2015 kern.info kernel: [  357.160000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:45 2015 kern.info kernel: [  357.532000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:45 2015 kern.info kernel: [  357.904000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:45 2015 kern.info kernel: [  358.276000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:46 2015 kern.info kernel: [  358.648000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:46 2015 kern.info kernel: [  359.012000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:46 2015 kern.info kernel: [  359.396000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:47 2015 kern.info kernel: [  359.768000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:47 2015 kern.info kernel: [  360.140000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:48 2015 kern.info kernel: [  360.512000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:48 2015 kern.info kernel: [  360.884000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:48 2015 kern.info kernel: [  361.248000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:49 2015 kern.info kernel: [  361.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:49 2015 kern.info kernel: [  362.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:49 2015 kern.info kernel: [  362.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:50 2015 kern.info kernel: [  362.784000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:50 2015 kern.info kernel: [  363.156000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:51 2015 kern.info kernel: [  363.520000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:51 2015 kern.info kernel: [  363.892000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:51 2015 kern.info kernel: [  364.264000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:52 2015 kern.info kernel: [  364.636000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:52 2015 kern.info kernel: [  365.008000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:52 2015 kern.info kernel: [  365.384000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:53 2015 kern.notice kernel: [  365.576000] sd 0:0:0:0: [sda] READ CAPACITY failed
Tue Oct  6 09:16:53 2015 kern.info kernel: [  365.580000] sd 0:0:0:0: [sda]  
Tue Oct  6 09:16:53 2015 kern.warn kernel: [  365.584000] Result: hostbyte=0x07 driverbyte=0x00
Tue Oct  6 09:16:53 2015 kern.notice kernel: [  365.588000] sd 0:0:0:0: [sda] Sense not available.
Tue Oct  6 09:16:56 2015 kern.info kernel: [  368.764000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:16:59 2015 kern.info kernel: [  372.136000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:03 2015 kern.info kernel: [  375.508000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:06 2015 kern.info kernel: [  378.880000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:09 2015 kern.info kernel: [  382.252000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:13 2015 kern.info kernel: [  385.624000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:16 2015 kern.info kernel: [  388.988000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:19 2015 kern.info kernel: [  392.360000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:23 2015 kern.info kernel: [  395.732000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:26 2015 kern.info kernel: [  399.104000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:30 2015 kern.info kernel: [  402.476000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:33 2015 kern.info kernel: [  405.848000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:33 2015 kern.info kernel: [  406.040000] sda: detected capacity change from 1000204886016 to 0
Tue Oct  6 09:17:33 2015 kern.info kernel: [  406.280000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:34 2015 kern.info kernel: [  406.652000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:34 2015 kern.info kernel: [  407.024000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:34 2015 kern.info kernel: [  407.396000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:35 2015 kern.info kernel: [  407.768000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:35 2015 kern.info kernel: [  408.140000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:36 2015 kern.info kernel: [  408.504000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:36 2015 kern.info kernel: [  408.876000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:36 2015 kern.info kernel: [  409.248000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:37 2015 kern.info kernel: [  409.620000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:37 2015 kern.info kernel: [  409.992000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:37 2015 kern.info kernel: [  410.364000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:38 2015 kern.info kernel: [  410.732000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:38 2015 kern.info kernel: [  411.104000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:39 2015 kern.info kernel: [  411.476000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:39 2015 kern.info kernel: [  411.848000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:39 2015 kern.info kernel: [  412.220000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:40 2015 kern.info kernel: [  412.592000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:40 2015 kern.info kernel: [  412.956000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:40 2015 kern.info kernel: [  413.328000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:41 2015 kern.info kernel: [  413.700000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:41 2015 kern.info kernel: [  414.072000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:41 2015 kern.info kernel: [  414.444000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:42 2015 kern.info kernel: [  414.816000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:42 2015 kern.info kernel: [  415.180000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:43 2015 kern.info kernel: [  415.552000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:43 2015 kern.info kernel: [  415.924000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:43 2015 kern.info kernel: [  416.296000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:44 2015 kern.info kernel: [  416.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:44 2015 kern.info kernel: [  417.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:44 2015 kern.info kernel: [  417.404000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:45 2015 kern.info kernel: [  417.776000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:45 2015 kern.info kernel: [  418.148000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:46 2015 kern.info kernel: [  418.520000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:46 2015 kern.info kernel: [  418.892000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:46 2015 kern.info kernel: [  419.264000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:46 2015 kern.notice kernel: [  419.456000] sd 0:0:0:0: [sda] READ CAPACITY failed
Tue Oct  6 09:17:46 2015 kern.info kernel: [  419.460000] sd 0:0:0:0: [sda]  
Tue Oct  6 09:17:46 2015 kern.warn kernel: [  419.464000] Result: hostbyte=0x07 driverbyte=0x00
Tue Oct  6 09:17:46 2015 kern.notice kernel: [  419.468000] sd 0:0:0:0: [sda] Sense not available.
Tue Oct  6 09:17:50 2015 kern.info kernel: [  422.644000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:53 2015 kern.info kernel: [  426.016000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:17:56 2015 kern.info kernel: [  429.388000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:00 2015 kern.info kernel: [  432.760000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:03 2015 kern.info kernel: [  436.132000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:07 2015 kern.info kernel: [  439.504000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:10 2015 kern.info kernel: [  442.868000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:13 2015 kern.info kernel: [  446.240000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:17 2015 kern.info kernel: [  449.612000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:20 2015 kern.info kernel: [  452.984000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:23 2015 kern.info kernel: [  456.356000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:27 2015 kern.info kernel: [  459.728000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
Tue Oct  6 09:18:27 2015 kern.notice kernel: [  459.920000] sd 0:0:0:0: [sda] Attached SCSI disk

dmesg:

[    0.000000] Linux version 3.18.20 (buildbot@builder1) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46450) ) #1 Fri Sep 4 17:16:20 CEST 2015
[    0.000000] SoC: AR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001954c (MIPS 34Kc)
[    0.000000] MIPS: machine is DGN3500 - Netgear DGN3500
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803fc2f0, node_mem_map 810061e0
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no 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: 16256
[    0.000000] Kernel command line: root=/dev/mtdblock0 ip=192.168.1.1:192.168.1.15::::eth0:on console=ttyS1,115200 ethaddr=00:26:f2:3d:ac:41 phym=64M mem=64M panic=1 root= console=ttyLTQ0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=0007f885
[    0.000000] Readback ErrCtl register=0007f885
[    0.000000] Memory: 60340K/65536K available (3475K kernel code, 154K rwdata, 556K rodata, 148K init, 195K bss, 5196K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 333MHz
[    0.040000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.056000] pinctrl core: initialized pinctrl subsystem
[    0.064000] NET: Registered protocol family 16
[    0.072000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.076000] dma-xway 1e104100.dma: Init done - hw rev: 6, ports: 5, channels: 20
[    0.084000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.088000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.092000]   IO 0x000000001ae00000..0x000000001affffff
[    0.096000] ath9k,eeprom ath9k_eep: failed to load eeprom address
[    0.112000] usbcore: registered new interface driver usbfs
[    0.116000] usbcore: registered new interface driver hub
[    0.120000] usbcore: registered new device driver usb
[    0.124000] PCI host bridge to bus 0000:00
[    0.128000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.132000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.136000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.140000] pci 0000:00:0e.0: [168c:ff1d] type 00 class 0x020000
[    0.140000] pci 0000:00:0e.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.140000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.140000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.144000] Switched to clocksource MIPS
[    0.148000] NET: Registered protocol family 2
[    0.156000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.160000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.168000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.176000] TCP: reno registered
[    0.176000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.184000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.192000] NET: Registered protocol family 1
[    0.196000] PCI: CLS 0 bytes, default 32
[    0.196000] gptu: totally 6 16-bit timers/counters
[    0.200000] gptu: misc_register on minor 63
[    0.204000] gptu: succeeded to request irq 126
[    0.208000] gptu: succeeded to request irq 127
[    0.212000] gptu: succeeded to request irq 128
[    0.216000] gptu: succeeded to request irq 129
[    0.224000] gptu: succeeded to request irq 130
[    0.228000] gptu: succeeded to request irq 131
[    0.232000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.240000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.248000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.272000] msgmni has been set to 117
[    0.284000] io scheduler noop registered
[    0.288000] io scheduler deadline registered (default)
[    0.292000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    0.300000] console [ttyLTQ0] enabled
[    0.308000] bootconsole [early0] disabled
[    0.336000] m25p80 spi32766.0: found mx25l12805d, expected s25fl129p0
[    0.340000] m25p80 spi32766.0: mx25l12805d (16384 Kbytes)
[    0.344000] 4 ofpart partitions found on MTD device spi32766.0
[    0.352000] Creating 4 MTD partitions on "spi32766.0":
[    0.356000] 0x000000000000-0x000000010000 : "uboot"
[    0.360000] 0x000000010000-0x000000020000 : "uboot-env"
[    0.368000] 0x000000020000-0x000000030000 : "calibration"
[    0.372000] 0x000000050000-0x000000ff0000 : "firmware"
[    1.404000] 2 uimage-fw partitions found on MTD device firmware
[    1.408000] 0x000000050000-0x0000001b0c6d : "kernel"
[    1.416000] 0x0000001b0c6d-0x000000ff0000 : "rootfs"
[    1.420000] mtd: device 5 (rootfs) set to be root filesystem
[    1.424000] 1 squashfs-split partitions found on MTD device rootfs
[    1.432000] 0x000000440000-0x000000ff0000 : "rootfs_data"
[    2.528000] Realtek RTL8366RB ethernet switch driver version 0.2.4
[    2.532000] rtl8366rb rtl8366rb: using GPIO pins 491 (SDA) and 493 (SCK)
[    2.540000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    2.632000] libphy: rtl8366rb: probed
[    2.636000] libphy: ltq_mii: probed
[    2.640000] eth0 (uninitialized): no PHY found
[    2.644000] etop: mdio probe failed
[    2.648000] wdt 1f8803f0.watchdog: Init done
[    2.656000] TCP: cubic registered
[    2.656000] NET: Registered protocol family 17
[    2.660000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.672000] Bridge firewalling registered
[    2.676000] 8021q: 802.1Q VLAN Support v1.8
[    2.772000] ath9k,eeprom ath9k_eep: endian check enabled.
[    2.776000] ath9k,eeprom ath9k_eep: pci slot: 14
[    2.780000] pci 0000:00:0e.0: fixup device configuration
[    2.788000] pci 0000:00:0e.0: fixup info: [168c:0029] revision 01 class 0x028000
[    2.792000] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[    2.812000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[    2.964000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.968000] Freeing unused kernel memory: 148K (8041b000 - 80440000)
[   20.584000] init: Console is alive
[   20.588000] init: - watchdog -
[   33.004000] random: nonblocking pool is initialized
[   39.232000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[   39.736000] IFXUSB: USB core #0 soft-reset
[   39.936000] IFXUSB: USB core #0 soft-reset
[   39.940000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[   39.944000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[   39.952000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[   39.960000] IFXUSB: Init: Power Port (0)
[   39.964000] hub 1-0:1.0: USB hub found
[   39.968000] hub 1-0:1.0: 1 port detected
[   40.964000] init: - preinit -
[   49.436000] jffs2: notice: (284) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   49.916000] mount_root: loading kmods from internal overlay
[   74.976000] SCSI subsystem initialized
[   74.996000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   75.000000] ehci-platform: EHCI generic platform driver
[   75.012000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   75.020000] ohci-platform: OHCI generic platform driver
[   75.032000] usbcore: registered new interface driver usb-storage
[   83.424000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   83.488000] block: extroot: not configured
[   83.496000] mount_root: switching to jffs2 overlay
[   83.712000] procd: - early -
[   83.712000] procd: - watchdog -
[   84.616000] procd: - ubus -
[   85.624000] procd: - init -
[   88.292000] NET: Registered protocol family 10
[   88.320000] NET: Registered protocol family 8
[   88.320000] NET: Registered protocol family 20
[   88.340000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
[   88.372000] PPP generic driver version 2.4.2
[   88.388000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   88.420000] IFX MEI Version 5.00.00
[   88.428000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
[   88.444000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   88.452000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   88.468000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   88.492000] ATM1.0.26    ATM (A1) firmware version 0.16
[   88.496000] ifxmips_atm: ATM init succeed
[   88.504000] Infineon Technologies DEU driver version 2.0.0 
[   88.512000] IFX DEU DES initialized (multiblock).
[   88.520000] IFX DEU AES initialized (multiblock).
[   88.528000] IFX DEU ARC4 initialized (multiblock).
[   88.532000] IFX DEU SHA1 initialized.
[   88.532000] IFX DEU MD5 initialized.
[   88.544000] IFX DEU SHA1_HMAC initialized.
[   88.548000] IFX DEU MD5_HMAC initialized.
[   88.564000] nf_conntrack version 0.5.0 (945 buckets, 3780 max)
[   88.620000] NET: Registered protocol family 24
[   88.664000] xt_time: kernel timezone is -0000
[   88.840000] cfg80211: Calling CRDA to update world regulatory domain
[   88.860000] cfg80211: World regulatory domain updated:
[   88.860000] cfg80211:  DFS Master region: unset
[   88.868000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   88.876000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   88.884000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   88.892000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   88.900000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   88.908000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   88.916000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   88.924000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   88.932000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   89.180000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   89.192000] ath: EEPROM regdomain: 0x0
[   89.192000] ath: EEPROM indicates default country code should be used
[   89.192000] ath: doing EEPROM country->regdmn map search
[   89.192000] ath: country maps to regdmn code: 0x3a
[   89.192000] ath: Country alpha2 being used: US
[   89.192000] ath: Regpair used: 0x3a
[   89.208000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   89.216000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb8000000, irq=30
[   89.224000] cfg80211: Calling CRDA for country: US
[   89.224000] cfg80211: Regulatory domain changed to country: US
[   89.232000] cfg80211:  DFS Master region: FCC
[   89.236000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   89.244000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   89.252000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   89.264000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   89.272000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   89.280000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[  114.032000] device eth0.1 entered promiscuous mode
[  114.036000] device eth0 entered promiscuous mode
[  114.048000] br-lan: port 1(eth0.1) entered forwarding state
[  114.052000] br-lan: port 1(eth0.1) entered forwarding state
[  116.056000] br-lan: port 1(eth0.1) entered forwarding state
[  317.908000] usb 1-1: new high-speed USB device number 2 using ifxusb_hcd
[  318.104000] usb-storage 1-1:1.0: USB Mass Storage device detected
[  318.116000] scsi host0: usb-storage 1-1:1.0
[  319.120000] scsi 0:0:0:0: Direct-Access     Hitachi  HDT721010SLA360       PQ: 0 ANSI: 2 CCS
[  319.132000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[  319.316000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  322.688000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  326.060000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  329.432000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  332.804000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  336.176000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  336.368000] sd 0:0:0:0: [sda] Write Protect is off
[  336.372000] sd 0:0:0:0: [sda] Mode Sense: 34 00 00 00
[  339.544000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  342.916000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  346.292000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  349.664000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  353.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  356.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  356.604000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[  356.788000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  357.160000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  357.532000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  357.904000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  358.276000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  358.648000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  359.012000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  359.396000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  359.768000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  360.140000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  360.512000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  360.884000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  361.248000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  361.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  362.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  362.412000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  362.784000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  363.156000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  363.520000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  363.892000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  364.264000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  364.636000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  365.008000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  365.384000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  365.576000] sd 0:0:0:0: [sda] READ CAPACITY failed
[  365.580000] sd 0:0:0:0: [sda]  
[  365.584000] Result: hostbyte=0x07 driverbyte=0x00
[  365.588000] sd 0:0:0:0: [sda] Sense not available.
[  368.764000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  372.136000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  375.508000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  378.880000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  382.252000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  385.624000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  388.988000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  392.360000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  395.732000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  399.104000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  402.476000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  405.848000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  406.040000] sda: detected capacity change from 1000204886016 to 0
[  406.280000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  406.652000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  407.024000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  407.396000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  407.768000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  408.140000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  408.504000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  408.876000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  409.248000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  409.620000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  409.992000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  410.364000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  410.732000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  411.104000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  411.476000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  411.848000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  412.220000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  412.592000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  412.956000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  413.328000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  413.700000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  414.072000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  414.444000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  414.816000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  415.180000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  415.552000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  415.924000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  416.296000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  416.668000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  417.040000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  417.404000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  417.776000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  418.148000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  418.520000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  418.892000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  419.264000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  419.456000] sd 0:0:0:0: [sda] READ CAPACITY failed
[  419.460000] sd 0:0:0:0: [sda]  
[  419.464000] Result: hostbyte=0x07 driverbyte=0x00
[  419.468000] sd 0:0:0:0: [sda] Sense not available.
[  422.644000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  426.016000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  429.388000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  432.760000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  436.132000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  439.504000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  442.868000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  446.240000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  449.612000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  452.984000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  456.356000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  459.728000] usb 1-1: reset high-speed USB device number 2 using ifxusb_hcd
[  459.920000] sd 0:0:0:0: [sda] Attached SCSI disk

I then power off the router for a while, power on again and did the same thing, this time with the powered USB hub.
I'll spare you guys all the logs, the only significant difference I see is this:

   ...
[  114.228000] br-lan: port 1(eth0.1) entered forwarding state
[  114.232000] br-lan: port 1(eth0.1) entered forwarding state
[  116.236000] br-lan: port 1(eth0.1) entered forwarding state
[ 1230.548000] usb 1-1: new full-speed USB device number 2 using ifxusb_hcd
[ 1230.768000] hub 1-1:1.0: USB hub found
[ 1230.776000] hub 1-1:1.0: 4 ports detected
[ 1231.084000] usb 1-1.4: new full-speed USB device number 3 using ifxusb_hcd
[ 1231.208000] hub 1-1.4:1.0: USB hub found
[ 1231.216000] hub 1-1.4:1.0: 4 ports detected
[ 1495.772000] usb 1-1.2: new full-speed USB device number 4 using ifxusb_hcd
[ 1495.876000] usb 1-1.2: not running at top speed; connect to a high speed hub
[ 1495.908000] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[ 1495.920000] scsi host0: usb-storage 1-1.2:1.0
[ 1496.928000] scsi 0:0:0:0: Direct-Access     Hitachi  HDT721010SLA360       PQ: 0 ANSI: 2 CCS
[ 1496.944000] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 1497.032000] usb 1-1.2: reset full-speed USB device number 4 using ifxusb_hcd
[ 1500.224000] usb 1-1.2: reset full-speed USB device number 4 using ifxusb_hcd
[ 1503.416000] usb 1-1.2: reset full-speed USB device number 4 using ifxusb_hcd
   ...

if you'd like I can provide full logs with USB powered hub.


tmo26 wrote:
claudio wrote:

Right now the 2.5" are fed by
- 500mA from USB power cable plugged to pc
- 500mA from USB hub
- 500mA from router (supposingly)

All at the same time?

Yes exactly
maybe I haven't been clear, the right name for it should be "Dual USB Power Cable"
This cable has 3 USB ends: 2 for data and 1 for power supply
- power-end to pc
- data-end-1 to HDD
- data-end-2 to USB hub
then
- USB hub to router

Re: Cannot attach usb hard drives

claudio wrote:

Right now the 2.5" are fed by
- 500mA from USB power cable plugged to pc
- 500mA from USB hub
- 500mA from router (supposingly)

claudio wrote:

maybe I haven't been clear, the right name for it should be "Dual USB Power Cable"
This cable has 3 USB ends: 2 for data and 1 for power supply
- power-end to pc
- data-end-1 to HDD
- data-end-2 to USB hub
then
- USB hub to router

What happens if you do the wiring **correctly**, i.e.:

1) Connect the sufficiently powered USB hub to the router. Power supply of the hub should be adequate to feed your 2,5" HDDs. 5V 500mA are not.
2) Plug in the Y-Cable into the hub and your HDD, according to HDD vendor's instructions.
3) Report back.

Your wiring: Router----- HDD----Y-Cable----Hub+PC
Correct way: Router ---- powered Hub ---- Y-cable ---- HDD

Re: Cannot attach usb hard drives

That's a good point @tmo26
I probably cannot just plug USBs wherever pleases me.
I will definitely invest in a good USB hub or, even better, a SATA power supply.
I'll do that only if I get things working, because still we haven't found the reason why I cannot connect the 3.5" self-powered HDD.
Any idea?

Re: Cannot attach usb hard drives

I have had more power issues over the years than I can count with hubs and under powered devices. 

You have a power issue and an operational issue.  Separate them completely.

Not sure you have this right

This cable has 3 USB ends: 2 for data and 1 for power supply
- power-end to pc
- data-end-1 to HDD
- data-end-2 to USB hub

The bottom of the Y is data and power and goes to your Powered Hub.  Then connect the appropriate TOP of the Y to your drive.  One Y cable per drive, as the port may be power limited.  Try to have a power supply with MORE power than the number of drives *500 plugged into the wall.  The drives will draw peak current at start up, so have a 2Amp PS for 3 drives just to be safe.
Get a 2.5A 12v for the 3"  I have a WD that says 2A and will not run right unless it gets 2.5A.  Sometimes it works on some PCS, some times I get power or speed warnings.
Test that each drive will pass data to a PC

You can also try adding the drives to the hub 1 at a time and see at what point things break.  It could be one tired drive trying to suck too much power crashing everything.

And @tmo26 is very right, meters are your friend in this exercise.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Cannot attach usb hard drives

a question if I may, your issue is with the initial connect or with reconnections?

Re: Cannot attach usb hard drives

RangerZ wrote:

And @tmo26 is very right, meters are your friend in this exercise.

Really. And they are cheap.

Search Aliexpress for "USB OLED" (yes, that's enough :)
There are 3digit (=2 decimals) and 4digit (=3 decimals) models out there. You want 4 digits.

http://www.aliexpress.com/wholesale?cat … t=usb+oled

14 (edited by claudio 2015-10-07 14:55:20)

Re: Cannot attach usb hard drives

Ok I got it @tmo26 and @RangerZ, we are wandering in the dark here.
An USB power meter is on its way, and I found it to be a pretty cool and very useful tool too!
Thanks for the advice, it was just hard for me to figure that out because my whole life I've been connecting USBs only to pc and never had this type of issues.

@tmo26 and @RangerZ, you made clear how the Y cable has to be plugged in, cheers for that!
Very valuable infos @RangerZ about power management!

Answering to @daggs:
Not sure what you mean but I never managed to have any HDD ever working in the router, not once, not yet.

I'll report back in a few days, once I get the USB power meter.
In the meantime I have a question, may seems obvious, but still I have to ask:
Is it the same to power an HHD with USB hub or SATA Power Supply (as long as the (overall)power is right)?

Re: Cannot attach usb hard drives

3.5 in drives in enclosures have 12V power supplies (and again I find may not work on less then 2.5amps reliably)
3.5 in bare SATA drives need both 5 and 12 volts (and technically 3.3V) https://en.wikipedia.org/wiki/Serial_ATA
2.5" USB drives get their power and data from a single input.  Basic USB 2.0 is 5V, 500mAh (https://en.wikipedia.org/wiki/USB#Power) so I am not clear on how you can use a SATA Power Supply (Not reall clear what this is actually) to run a 2.5 in, as a straight power supply does not have the data.  Note the pic of the 3.0 cable is different as it allows the aggregation of 2 500mAh outputs to meet the 900 mAh USB 3.0 requirement.

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

16 (edited by claudio 2015-10-07 18:34:24)

Re: Cannot attach usb hard drives

from
https://en.wikipedia.org/wiki/Serial_AT … connectors

The new SATA power connector contains many more pins for several reasons:
3.3 V is supplied along with the traditional 5 V and 12 V supplies. However, very few drives actually use it, so they may be powered from an old 4-pin Molex connector with an adapter.

Re: Cannot attach usb hard drives

Now I understand. 

I actually do have one with this power supply (2A) http://www.ebay.com/sch/i.html?_nkw=spp … mfe=search but mine says fineness power as the brand.  The whole product was this by Rosewill.  http://www.rosewill.com/products/903/Pr … 064c70.jpg  It has a power switch on the DC side.

It does run bare 3.5 in drives.  External devices need to generate the 5V and run the little LED etc. ??

PC-Engines ALIX 2D13 CC 15.05 RC2 (Router - OpenVPN Server)
HooToo TM02 CC 15.05 (Travel Router - OpenVPN Client)
GLi-AR150 CC15.05/GLi 2.13 (Travel Router - OpenVPN Client)
Kingston MLWG2 CC15.05 (Travel Router - OpenVPN Client, mini-DLNA)

Re: Cannot attach usb hard drives

Sorry for the delay guys, life pushes around, sometimes...

I've finally tested with the power meter my usb Hitachi 3.5" self powered HDD
I can now confirm that it uses 0(zero)mA, with sporadic spikes of 1mA
The same applies when it is connected to my pc, with the only difference that it does work!

No doubt that the power meter is in working order, as the following are the results on other devices:

working with OpenWrt:
Kingston DataTraveler flash drive, FAT formatted: 33mA
Ut165 flash drive, ext4 formatted: 45mA

not working with OpenWrt:
2.5" usb HDD: 270mA (a short peak of 800mA at startup!)


At this point I think that the power problem can be excluded

Looking up for lines like the one appearing in my 'dmesg'

reset high-speed USB device number 7 using ifxusb_hcd

is bringing up many other routers like my 'Netgear DGN3500'
Someone seems to suggest to downgrade to BB in order to solve the issue

19 (edited by Napsi-GER- 2018-01-13 16:29:21)

Re: Cannot attach usb hard drives

Well hello again, claudio.

I've read through your logs again, thought about your further investigations and have come to realize:
I have no idea what is going wrong in OpenWrt.
But i have one more idea to test:

Test, if a working usb thumb drive (as you mentioned above) works also with a usb extension cord connected inbetween. My guess is, that the length of the wire is causing (electrical) problems. So connecting a extension cord with the same length as the ones from the hdds might cause the device to fail. If this happens, please provide the logreads with and without extension cord.

Napsi-GER-

PS: If this won't lead us to a solution, i guess you are out of luck with that particular version of OpenWrt (source).
But you could still try to upgrade to trunk, or switch to LEDE, which is basically OpenWrt and will be re-merged into OpenWrt. Chances are high, that your problem is fixed in recent stable releases of LEDE.
Good luck.

My posts aren't intended as tutorials. They're only indications in what to investigate further.

Currently on 4x Archer C7 (CC)
Building images by myself since AA ;D

Re: Cannot attach usb hard drives

Nice to have you still around @Napsi-GER-, after so long time !
I already thought of that and I did try to use several other shorter cables.
Still I didn't consider the cable presence itself as a possible issue, as you are suggesting.
Well, I've done my Worst! :
I joined 3 cheap extension cords for a total length of 1.2 meters
result:
Both thumb drives work like a charm

Luck definitely hasn't been on my side
Usb Video and Audio are also not working
USB Video & Audio fail: isochronous transfer not supported!!!
The cool possibility of sticking in a router's usb port anything I fancy is what drew me here, all I got working is a thumb drive.

Switching to LEDE is a good advice, unfortunately I won't have the time to try that any time soon.
Flashing the trunk will be the other option and I'd be grateful if you could explain how I can find it for my device.
Cheers