Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

reading sector <n>: FAILED: Bad address

Help
clohr
2009-06-01
2013-04-27
  • clohr
    clohr
    2009-06-01

    Hi,
      I have a damaged disk.... I'm trying hdparm --read-sector
    However, I've get an error:

    hdparm --read-sector 63 /dev/hdg

    /dev/hdg:
    reading sector 63: FAILED: Bad address

    What's wrong?

    Note: I use hdparm-9.15 and Linux 2.6.26

    Regards,
    Christophe

     
    • clohr
      clohr
      2009-06-02

      I did a test with linux 2.6.29.4 and hdparm 9.15
      I have always the same error "Bad address".

      But I tried with hdparm 8.9 and it's different:
      # hdparm --read-sector 63 /dev/hdg

      /dev/hdg:
      reading sector 63: FAILED: Input/output error

      Jun  1 22:50:34 pooki kernel: [ 2305.914519] hdg: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
      Jun  1 22:50:34 pooki kernel: [ 2305.914519] hdg: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=63, sector=18446744073709551615
      Jun  1 22:50:34 pooki kernel: [ 2305.914519] ide: failed opcode was: 0x20

      This sector number in surprising!

      Regards.

       

  • Anonymous
    2012-03-27

    Try:
    sudo hdparm -read-sector 63 /dev/hdg