Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Attach: ldm_validate_partition_table(): Disk read failed #6

Open
dm17 opened this issue Jan 20, 2022 · 0 comments
Open

Can't Attach: ldm_validate_partition_table(): Disk read failed #6

dm17 opened this issue Jan 20, 2022 · 0 comments

Comments

@dm17
Copy link

dm17 commented Jan 20, 2022

I'm wondering if you have any suggestions. I think it is unlikely that this is related to my use of WD-Passport-Unlock-Linux, and unfortunately I forgot the exact series of events. At one point I unlocked the drive (removed the password), got it working in Linux, and probably had it mounted / unmounted a few times. Now if I plug it in I get:

[ 6267.664944] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 6267.678459] usb 2-3: New USB device found, idVendor=1058, idProduct=1230, bcdDevice=10.65
[ 6267.678468] usb 2-3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 6267.678472] usb 2-3: Product: My Book 1230
[ 6267.678475] usb 2-3: Manufacturer: Western Digital
[ 6267.678477] usb 2-3: SerialNumber: REDACTED
[ 6267.715868] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 6267.716071] scsi host7: usb-storage 2-3:1.0
[ 6267.716193] usbcore: registered new interface driver usb-storage
[ 6267.733391] usbcore: registered new interface driver uas
[ 6268.751238] scsi 7:0:0:0: Direct-Access     WD       My Book 1230     1065 PQ: 0 ANSI: 6
[ 6268.751443] sd 7:0:0:0: Attached scsi generic sg6 type 0
[ 6268.752031] sd 7:0:0:0: [sdg] Spinning up disk...
[ 6268.752290] scsi 7:0:0:1: CD-ROM            WD       Virtual CD 1230  1065 PQ: 0 ANSI: 6
[ 6268.753297] scsi 7:0:0:1: Attached scsi generic sg7 type 5
[ 6268.753627] scsi 7:0:0:2: Enclosure         WD       SES Device       1065 PQ: 0 ANSI: 6
[ 6268.754545] scsi 7:0:0:2: Attached scsi generic sg8 type 13
[ 6268.777508] scsi 7:0:0:2: Failed to get diagnostic page 0x1
[ 6268.777516] scsi 7:0:0:2: Failed to bind enclosure -19
[ 6269.774877] ...........not responding...
[ 6280.168078] sd 7:0:0:0: [sdg] Very big device. Trying to use READ CAPACITY(16).
[ 6280.168167] sd 7:0:0:0: [sdg] 7813969920 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 6280.168171] sd 7:0:0:0: [sdg] 4096-byte physical blocks
[ 6280.168369] sd 7:0:0:0: [sdg] Write Protect is off
[ 6280.168373] sd 7:0:0:0: [sdg] Mode Sense: 53 00 10 08
[ 6280.168571] sd 7:0:0:0: [sdg] No Caching mode page found
[ 6280.168576] sd 7:0:0:0: [sdg] Assuming drive cache: write through
[ 6280.169810] sd 7:0:0:0: [sdg] Unit Not Ready
[ 6280.169814] sd 7:0:0:0: [sdg] Sense Key : 0x7 [current]
[ 6280.169815] sd 7:0:0:0: [sdg] ASC=0x74 ASCQ=0x71
[ 6280.250641] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s
[ 6280.250654] sd 7:0:0:0: [sdg] tag#0 Sense Key : 0x7 [current]
[ 6280.250657] sd 7:0:0:0: [sdg] tag#0 ASC=0x74 ASCQ=0x71
[ 6280.250660] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[ 6280.250663] blk_update_request: critical target error, dev sdg, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 6280.250673] Buffer I/O error on dev sdg, logical block 0, async page read
[ 6280.250976] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s
[ 6280.250986] sd 7:0:0:0: [sdg] tag#0 Sense Key : 0x7 [current]
[ 6280.250990] sd 7:0:0:0: [sdg] tag#0 ASC=0x74 ASCQ=0x71
[ 6280.250994] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[ 6280.251001] blk_update_request: critical target error, dev sdg, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0

I also tried removing the drive from the enclosure and attacking it directly. So it reads a bit differently now:

like:

 7280.950287] usb-storage 1-1:1.0: Quirks match for vid 152d pid 2329: 8020
[ 7280.950334] scsi host7: usb-storage 1-1:1.0
[ 7282.075983] scsi 7:0:0:0: Direct-Access     WDC WD40 EZRX-00SPEB0          PQ: 0 ANSI: 5
[ 7282.076275] sd 7:0:0:0: Attached scsi generic sg6 type 0
[ 7282.076469] sd 7:0:0:0: [sdg] Very big device. Trying to use READ CAPACITY(16).
[ 7282.076600] sd 7:0:0:0: [sdg] 7813971633 512-byte logical blocks: (4.00 TB/3.64 TiB)
[ 7282.077197] sd 7:0:0:0: [sdg] Write Protect is off
[ 7282.077205] sd 7:0:0:0: [sdg] Mode Sense: 28 00 00 00
[ 7282.077565] sd 7:0:0:0: [sdg] No Caching mode page found
[ 7282.077573] sd 7:0:0:0: [sdg] Assuming drive cache: write through
[ 7283.886100] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7284.575111] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7285.345172] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7286.591095] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7287.520100] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7288.023062] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7288.167781] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=6s
[ 7288.167790] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00
[ 7288.167793] blk_update_request: I/O error, dev sdg, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 7288.167803] Buffer I/O error on dev sdg, logical block 0, async page read
[ 7288.444106] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7288.719078] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7289.852063] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7291.146034] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7292.567073] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7294.464061] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7294.607776] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=6s
[ 7294.607785] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 01 00 00 00 07 00 00
[ 7294.607787] blk_update_request: I/O error, dev sdg, sector 1 op 0x0:(READ) flags 0x0 phys_seg 7 prio class 0
[ 7294.607798] Buffer I/O error on dev sdg, logical block 1, async page read
[ 7294.607803] Buffer I/O error on dev sdg, logical block 2, async page read
[ 7294.607806] Buffer I/O error on dev sdg, logical block 3, async page read
[ 7294.607809] Buffer I/O error on dev sdg, logical block 4, async page read
[ 7294.607812] Buffer I/O error on dev sdg, logical block 5, async page read
[ 7294.607814] Buffer I/O error on dev sdg, logical block 6, async page read
[ 7294.607817] Buffer I/O error on dev sdg, logical block 7, async page read
[ 7314.923906] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7315.493929] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7316.388894] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7316.974888] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7317.373948] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7317.698927] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[ 7355.279422] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=4s
[ 7355.279430] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00
[ 7355.279433] blk_update_request: I/O error, dev sdg, sector 0 op 0x0:(READ) flags 0x0 phys_seg 8 prio class 0
[ 7355.279443] Buffer I/O error on dev sdg, logical block 0, async page read
[ 7355.279448] Buffer I/O error on dev sdg, logical block 1, async page read
[ 7355.279464]  sdg: unable to read partition table
[ 7355.280548] sd 7:0:0:0: [sdg] Attached SCSI disk
[ 7355.298262] sd 7:0:0:0: [sdg] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=DRIVER_OK cmd_age=0s
[ 7355.298269] sd 7:0:0:0: [sdg] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 d1 bf be 00 00 00 00 08 00 00
[ 7355.298272] blk_update_request: I/O error, dev sdg, sector 7813971456 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0

Any idea if this could be caused by misuse of your tool? Or any ideas for recovery? The only idea I have is to replace the board on the HDD (with the same exact model) as typical in HDD recovery.

Thanks!

@dm17 dm17 changed the title ldm_validate_partition_table(): Disk read failed Can't Attach: ldm_validate_partition_table(): Disk read failed Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant