Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Portable HDD with Powered HUB
Thank you for your donation

Pages (2): 1 2 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Portable HDD with Powered HUB
1st Mar, 2013, 01:21 AM
Post: #1
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
Portable HDD with Powered HUB
Hello,


I'm using Xbian 1.0 Alpha 5 connected through HDMI, ethernet and a Rosewill powered USB Hub.

I'm having a problem with a portable HDD not being recognized under xbian. I'm connecting the drive through a powered usb hub. The portable HDD is NTFS however I've also tried formatting it in Ext4 but it won't recognize it either.

The drive works excellent in my linux and windows computer and it even works flawlessly in the same raspberry pi but using raspbian wheezy and also worked using Xbian Alpha 4.

The drive appears when I do a "lsusb" but is nowhere mounted.

What other information should I provide?
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 06:15 AM
Post: #2
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Portable HDD with Powered HUB
What's the content of your /etc/usbmount/usbmount.conf ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 06:24 AM
Post: #3
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
RE: Portable HDD with Powered HUB
Sorry, here are the pastebin links:

dmesg

usbmount.conf
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 06:32 AM
Post: #4
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
Re: Portable HDD with Powered HUB
please read the rules for posting logs! check my signature and please edit your post!

~~~~>>>Please always follow rules and read before you post<<<~~~~
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 07:45 AM
Post: #5
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Portable HDD with Powered HUB
Can you try removing
Code:
/dev/sda {
    spindown_time = 60
}

/dev/sdb {
    spindown_time = 60
}

from the /etc/hdparm.conf file?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 09:06 AM
Post: #6
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
RE: Portable HDD with Powered HUB
Ok, commented out those lines. Will connect my drive as soon as get home and test.
Find all posts by this user
Quote this message in a reply
1st Mar, 2013, 01:40 PM
Post: #7
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
RE: Portable HDD with Powered HUB
It worked! Commenting those lines in /etc/hdparm.conf did the trick
Find all posts by this user
Quote this message in a reply
28th Mar, 2013, 10:55 AM
Post: #8
theconomist Offline
Registered
Posts: 1
Joined: Mar 2013
Reputation: 0
RE: Portable HDD with Powered HUB
(1st Mar, 2013 01:21 AM)fuchini Wrote:  Hello,

I'm using Xbian 1.0 Alpha 5 connected through HDMI, ethernet and a Rosewill powered USB Hub.

I'm having a problem with a portable HDD not being recognized under xbian. I'm connecting the drive through a powered usb hub. The portable HDD is NTFS however I've also tried formatting it in Ext4 but it won't recognize it either.

The drive works excellent in my linux and windows computer and it even works flawlessly in the same raspberry pi but using raspbian wheezy and also worked using Xbian Alpha 4.

The drive appears when I do a "lsusb" but is nowhere mounted.

What other information should I provide?

I'm having an identical issue. Same hub, Xbian version, etc, fdisk -l recognizes the drive but it is inaccessible. When I plug in the hard drive directly rather than using the hub, it works fine. I'd like to use the hub though. I commented out the recommended lines to no avail. Any ideas?
Find all posts by this user
Quote this message in a reply
4th Apr, 2013, 06:32 AM
Post: #9
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Portable HDD with Powered HUB
Having the same issue with a ADATA usb drive, 1 NTFS partition. fdisk does not recognize the drive.
This is the harddisk: Adata CH11. And its connected to this HUB, from ModMyPi.


Only the RPi and the USB disk are connected to the hub. dmesg shows a mass storage USB drive is detected, but nothing else and sudo lsusb shows 3 devices, although none of them have a name I recognize as the hdd:

dmesg
Terminal
xbian@xbian ~ $ sudo lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.

Terminal
xbian@xbian ~ $ sudo fdisk -l

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
4 heads, 16 sectors/track, 243200 cylinders, total 15564800 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
Disk identifier: 0x000f06a6

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2048 71679 34816 c W95 FAT32 (LBA)
/dev/mmcblk0p2 71680 15564799 7746560 83 Linux
Find all posts by this user
Quote this message in a reply
4th Apr, 2013, 08:51 PM
Post: #10
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Portable HDD with Powered HUB
EDIT: removing the lines mentioned by Koenkk from etc/hdparm.conf didn't help Sad

The first time I connected the USB hdd to the hub the Pi was on and XBMC was running.. perhaps that caused some kind of issue. So I did the following: shutting down the RPi correctly (sudo shutdown now), disconnect the harddisk from the hub, boot RPi by plugging out/in the power adapter of the hub. Then shutdown again and connect the harddrive.

So that was a clean boot without hdd connected and then a boot with the harddrive connected before booting. Unfortunately same result. Any tips appreciated.
Find all posts by this user
Quote this message in a reply
5th Apr, 2013, 04:51 AM
Post: #11
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
RE: Portable HDD with Powered HUB
Your HDD isn't detected at all. Can you try connecting the harddisk directly into the pi? This is either a hardware or a power related issue.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
5th Apr, 2013, 05:26 AM
Post: #12
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Portable HDD with Powered HUB
Directly to the Pi (with Pi connected to hub): I hear the harddisk ticking softly, every second. As if its getting not enough juice.

I bought two the same hubs, so I replaced the adapter+hub for the new set: now the harddisk is clearly vibrating softly, as it normally does when connected to my laptop or Netgear mediaplayer. Unfortunately fdisk and lsusb show the same result.
dmesg
Find all posts by this user
Quote this message in a reply
5th Apr, 2013, 07:19 AM
Post: #13
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
Re: Portable HDD with Powered HUB
Is the usb hub connected to the lower usb port of the raspberry pi?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
5th Apr, 2013, 04:52 PM
Post: #14
zilexa Offline
Registered
Posts: 231
Joined: Feb 2013
Reputation: 9
RE: Portable HDD with Powered HUB
Yes, the lower port (closest to the chipset). Now I shutdown RPi, connected the hub to the upper port and booted, then rebooted just to be sure:
dmesg

Now, without rebooting or anything, while still connected via SSH, I move the HDD from the 2nd USB port to the 3rd USB port on the hub:
dmesg

three new lines appeared in dmesg:
[ 320.856449] usb 1-1.2: new high-speed USB device number 6 using dwc_otg
[ 343.637295] usb 1-1.2: new high-speed USB device number 95 using dwc_otg
[ 398.949533] usb 1-1.2: new high-speed USB device number 63 using dwc_otg
Find all posts by this user
Quote this message in a reply
5th Apr, 2013, 05:15 PM
Post: #15
Koenkk Offline
Registered
Posts: 1,238
Joined: Dec 2012
Reputation: 112
Re: Portable HDD with Powered HUB
Then I'm quite sure it is either a power or a hardware problem

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  WD Elements Portable 1TB not mounting Whitey 4 15,029 8th May, 2013 07:55 PM
Last Post: mk01
Information Powered USB HUB [backfeed of RPi] serg_as 6 20,199 2nd Apr, 2013 10:32 PM
Last Post: rikardo1979

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th Mar, 2023, 09:13 AM Powered By MyBB, © 2002-2023 MyBB Group.