Results 1 to 10 of 12

Thread: Sata Hdd case auto disconnects

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Sata Hdd case auto disconnects

    Hi all,
    I have a small problem. i got a case for my old 2.5' sata hdd, but when i connect it to my 11.04 I am getting this on system log:
    Code:
    usb 1-5: USB disconnect, address 9
     sd 6:0:0:0: Device offlined - not ready after error recovery
     sd 6:0:0:0: [sdc] Unhandled error code
     sd 6:0:0:0: [sdc]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
     sd 6:0:0:0: [sdc] CDB: Read(10): 28 00 00 18 dc 90 00 00 f0 00
     end_request: I/O error, dev sdc, sector 1629328
     quiet_error: 6 callbacks suppressed
     Buffer I/O error on device sdc3, logical block 203410
     Buffer I/O error on device sdc3, logical block 203411
     Buffer I/O error on device sdc3, logical block 203412
     Buffer I/O error on device sdc3, logical block 203413
     Buffer I/O error on device sdc3, logical block 203414
     Buffer I/O error on device sdc3, logical block 203415
     Buffer I/O error on device sdc3, logical block 203416
     Buffer I/O error on device sdc3, logical block 203417
     Buffer I/O error on device sdc3, logical block 203418
     Buffer I/O error on device sdc3, logical block 203419
     sd 6:0:0:0: [sdc] Unhandled error code
     sd 6:0:0:0: [sdc]  Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
     sd 6:0:0:0: [sdc] CDB: Read(10): 28 00 00 18 dd 80 00 00 10 00
     end_request: I/O error, dev sdc, sector 1629568
    any ideas what the problem might be and how to fix it.

    I have tried it on my win7 netbook and it seems to be working fine.

    thanks, ilias

  2. #2
    Join Date
    Feb 2012
    Beans
    4

    Re: Sata Hdd case auto disconnects

    Does your drive mount? I'm having a problem with a disk that works internally but when connected through a SATA-USB adapter it only works for a few seconds to minutes before consistently reporting errors. I won't threadjack with my specifics if your problem is very different. What have you tried to debug or work around this problem?

  3. #3
    Join Date
    Feb 2012
    Beans
    4

    Re: Sata Hdd case auto disconnects

    I've made a bit of progress. Following the replies in https://bugs.launchpad.net/ubuntu/+s...x/+bug/1012291 I installed a mainline kernel (hardest step is working out which you need). My disconnect doesn't reproduce as consistently after a switched from "3.2.0-30-generic #48-Ubuntu" to "3.2.27-030227-generic #201208101235" which is a mixed blessing. I also found https://wiki.ubuntu.com/Kernel/Debugging/USB which shows more details but needs someone more familiar with USB to make any sense of it.

  4. #4
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Sata Hdd case auto disconnects

    Hi tomgobravo
    thanks for your info.
    i will see if your solution works with my problem.
    I got a new problem now though. i will ask it here in case someone migh help me.

    while i was copying some files to the external drive, it crashed, and it crashed big time! i had to fore restart it, resulting damaging my internal ntfs drive. For some reason, it changed the file system from ntfs to RAW!! now i cant even use check disk under windows! any idea?
    under ubuntu i cant mount, using gparted i see it as empty, and under windows it tells me that the drive needs formating!

    I guess it is a lost cause, and needs to format it in order to make it working, if that would fix anything and i wont have to get a new drive!

  5. #5
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,382
    Distro
    Ubuntu

    Re: Sata Hdd case auto disconnects

    while i was copying some files to the external drive, it crashed, and it crashed big time! i had to fore restart it, resulting damaging my internal ntfs drive. For some reason, it changed the file system from ntfs to RAW!! now i cant even use check disk under windows! any idea?
    under ubuntu i cant mount, using gparted i see it as empty, and under windows it tells me that the drive needs formating!

    I guess it is a lost cause, and needs to format it in order to make it working, if that would fix anything and i wont have to get a new drive!
    Before doing anything drastic take a look at testdisk http://www.cgsecurity.org/wiki/TestDisk

    It might be able to recover the partition table for you.

    It can be installed and run from a LiveCD and testdisk is in the repo's.

    If it does work then we can sort the other issue.

  6. #6
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Sata Hdd case auto disconnects

    Thanks for the tip, i tried this, but i am not sure what to do next.
    I got to the point where it is doing the quick search, but at the end of it all i was getting was this:
    Code:
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
         Partition               Start        End    Size in sectors
    
    
    Keys A: add partition, L: load backup, Enter: to continue
    do you know what A and L do?
    I chose to continue and now i am doing a deeper search, but i think that i will stop it and redo it tomorrow from scratch, it is getting late, the quick search took more than 2 hours to finish, now with deeper search who knows.

    if you could tell me what the other two options do, i might give it a try tomorrow.

    thanks though. it seems that the drive is cooked, but the program is good.

    edit:
    for some reason the log file was updated after i made my choice. this is from the log file:
    Code:
    search_part()
    Disk /dev/sdb - 500 GB / 465 GiB - CHS 60802 255 63
    file_pread(5,16,buffer,6291519(391/160/25)) read err: Partial read
    file_pread(5,16,buffer,6291535(391/160/41)) read err: Input/output error
    file_pread(5,1,buffer,6291535(391/160/41)) read err: Input/output error
    file_pread(5,16,buffer,436132620(27148/0/1)) read err: Input/output error
    file_pread(5,1,buffer,436132620(27148/0/1)) read err: Input/output error
    file_pread(5,8,buffer,436132628(27148/0/9)) read err: Input/output error
    file_pread(5,3,buffer,436132636(27148/0/17)) read err: Input/output error
    file_pread(5,16,buffer,489934321(30497/0/17)) read err: Partial read
    file_pread(5,16,buffer,624117776(38849/136/24)) read err: Partial read
    file_pread(5,16,buffer,624117823(38849/137/8)) read err: Input/output error
    file_pread(5,1,buffer,624117823(38849/137/8)) read err: Input/output error
    
    Results
    
    interface_write()
     
    No partition found or selected for recovery
    Last edited by skarosg3; October 2nd, 2012 at 08:14 PM.

  7. #7
    Join Date
    Dec 2007
    Beans
    49
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Sata Hdd case auto disconnects

    Yes, it was fstab.
    for some reason it changed the ID of the drive. changed it back and it auto mounts just fine.
    earlier you said:
    Quote Originally Posted by westie457 View Post
    If it does work then we can sort the other issue.
    what did you had in mind?

Bookmarks

Posting Permissions

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