Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hi, First sorry for any English mistake as I am French. I use Debian 6.0 (Squeeze) amd64. I had some problems to get my USB 3.0 external hard drive to ...
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    0

    A possible solution to get USB 3.0 devices to work

    Hi,

    First sorry for any English mistake as I am French.

    I use Debian 6.0 (Squeeze) amd64.

    I had some problems to get my USB 3.0 external hard drive to work on my USB 3.0 express card (a Trendnet TU3-H2EC). Before, it mounted randomly, say one time on ten. If it didn't mounted after I boot, then I had no other choice than to reboot again and again until it is finally mounted.

    I was a little exasperated by this behavior and searched some solutions on the web. None of them worked for me.
    Firstly, here is my output of lsmod | grep xhci[ :
    Code:
    xhci                   33444  0 
    usbcore               122386  6 usb_storage,usbhid,uhci_hcd,ehci_hcd,xhci
    Among the proposed solutions, here is what I tried :
    • added an option to the kernel line. I tried to edit the file /etc/default/grub and added the following in the GRUB_CMDLINE_LINUX parameter : xhci_hcd.enable=1, then xhci-hcd.enable=1, with no luck. Also tried xhci.enable=1 (sounded more logical to me as I think I don't have any xhci_hcd module) but I then got the error "xhci : unknown parameter enable" and xhci was then disabled. I guessed that this could be the path to the resolution of the problem, but I don't know which parameter this module is accepting. I didn't forget to do a update-grub after I edited this file of course.
    • created a file /etc/modprobe.d/xhci with content "options xhci enable=1" or /etc/modprobe.d/xhci_hcd with content "options xhci_hcd enable=1" but no luck with that.
    • created a file /etc/pm/config.d/unload_module or /etc/pm/config.d/xhci_hcd or /etc/pm/config.d/xhci with content "SUSPEND_MODULES=xhci_hcd" or "SUSPEND_MODULES=xhci" but still no luck except that now the "hibernate" command is shutting down my computer (not hibernate, a real shutdown).


    So nothing worked so far.

    I felt that xhci was loaded too late and so failed to work properly most of the time. We have to find a way to load it before the other modules.

    Here is what I then tried after having restored all the files I modified :
    • append "xhci" to /etc/modules" so that it now contains the following :
      Code:
      firewire-sbp2
      loop
      xhci
      This should have for effect to load the module at boot time.
    • added a line "softdep ehci-hcd pre: xhci-hcd" to /etc/modprobe.d/aliases.conf before the last two lines to ensure that xhci is loaded first ; here is the last three lines of this file :
      Code:
      softdep ehci-hcd pre: xhci-hcd
      softdep uhci-hcd pre: ehci-hcd
      softdep ohci-hcd pre: ehci-hcd


    Then rebooted. It worked ! Then rebooted again. Worked again ! Then rebooted (to ensure that is worked). Worked again ! My hard drive is now mounting properly !

    So if you got the same problem, you can try my solution. It worth a try !

    Hoping to help someone someday !

    Regards

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,956
    Great description of the problem and solution! I'm sure this will help a lot of people with these very new devices. USB 3.0 is what we, in the US call "bleeding edge", as in what happens when you fall on your knife! Thanks, and welcome to the forums.
    Last edited by oz; 03-16-2011 at 01:34 AM. Reason: removed non-English portion of post
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    I haven't even seen USB 3.0 yet. So yeah, it's cutting edge alright.

    Thanks for posting your solution, gabrielh.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,956
    Hey Ozar,

    Why did you remove my little bleep in French? It was just a compliment on his English, and mentioning the fact that the forums are English only...

    -Rubberman
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,142
    ^^
    Forum rules, all posts must be in English.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,956
    Quote Originally Posted by MikeTbob View Post
    ^^
    Forum rules, all posts must be in English.
    I understand that Ozar, but there is such a thing as going "overboard"... Especially with tools like Google Translate.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Quote Originally Posted by Rubberman View Post
    I understand that Ozar, but there is such a thing as going "overboard"... Especially with tools like Google Translate.
    You are suggesting that we should allow multi-languages and use Google Translate to understand posts? Don't you think it will be time consuming for everyone?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #8
    Just Joined!
    Join Date
    Mar 2011
    Posts
    0
    Quote Originally Posted by Rubberman View Post
    Great description of the problem and solution! I'm sure this will help a lot of people with these very new devices. USB 3.0 is what we, in the US call "bleeding edge", as in what happens when you fall on your knife! Thanks, and welcome to the forums.
    Thank you for your reply, and concerning your little French essay, I had time to read it before your post being edited

  9. #9
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,956
    Quote Originally Posted by devils casper View Post
    You are suggesting that we should allow multi-languages and use Google Translate to understand posts? Don't you think it will be time consuming for everyone?
    Generally, I would agree. An entire post in another language would be a problem. However, a short snippet like I posted, when the major and relevant part of the post is English, should not be edited out. Just MHO. Anyway, we are off-topic here. We can use PM if we want to continue the discussion.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  10. #10
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,082
    Quote Originally Posted by Rubberman View Post
    Generally, I would agree. An entire post in another language would be a problem. However, a short snippet like I posted, when the major and relevant part of the post is English, should not be edited out. Just MHO. Anyway, we are off-topic here. We can use PM if we want to continue the discussion.
    Hello, gabrielh... welcome to the forums, and thanks for the HowTo!

    Rubberman, you should know by now that we administer these forums according to the forum rules, not your opinion, so please abide by them, or find another place to post. You've taken gabrielh's thread far off topic with your rant so I plan to lock it if any other such posts appear in it.

    Thank you.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •