mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
Problems dumping MO discs #197
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Altheos on GitHub (Feb 23, 2018).
Prerequisites
Check and fill as appropiate:
Description
When dumping MO Disc, if DIC encounter a "bad" sector or a read problem, it can't pass thru.
The MO drive seems to be stuck trying to read. After reboot, DIC can read sectors and retry "bad" sectors successfully. Could possibly be a SCSI module problem.
Exact command line used:
sudo mono DiscImageChef.exe dump-media -i /dev/sdb -v -d --persistent=true -f -p 5 -w doe
Expected behavior:
DIC should bypass bad sector and not hang SCSI drive
Actual behavior:
SCSI drive can't read more sectors and a reboot is needed to recover
If command was expected to work with a device fill this:
Output of command execution with debug output enabled
DEBUG (SCSI Reader): READ error:
SCSI SENSE: MEDIUM ERROR
On logical block 125557
ID CRC OR ECC ERROR
Reading sector 125568 of 446325 (0,032 MiB/sec.)DEBUG (SCSI Device): READ (12) took 15620 ms.
DEBUG (SCSI Reader): READ error:
Reading sector 125632 of 446325 (0,002 MiB/sec.)DEBUG (SCSI Device): READ (12) took 47104 ms.
DEBUG (SCSI Reader): READ error:
STATE CUE CARD: (? means a positive number, usually 1 or 2, * means any number)
0x0 - starting (GOOD, unless the thread is running managed code)
0x1 - running (BAD, unless it's the gc thread)
0x2 - detached (GOOD, unless the thread is running managed code)
0x?03 - async suspended (GOOD)
0x?04 - self suspended (GOOD)
0x?05 - async suspend requested (BAD)
0x?06 - self suspend requested (BAD)
0x*07 - blocking (GOOD)
0x?08 - blocking with pending suspend (GOOD)
--thread 0xb58005e0 id 0xb7967b40 [(nil)] state 105
--thread 0x8b8d1e0 id 0xb7c8c700 [(nil)] state 1 GC INITIATOR
WAITING for 1 threads, got 0 suspended
suspend_thread suspend took 200 ms, which is more than the allowed 200 ms
[ 1224.856804] scsi host2: scsi scan: INQUIRY result too short (8), using 36
[ 1226.977866] sd 2:0:0:0: Attached scsi generic sg2 type 7
[ 1226.996147] sd 2:0:0:0: [sdb] 446325 512-byte logical blocks: (229 MB/218 MiB)
[ 1227.000442] sd 2:0:0:0: [sdb] Write Protect is on
[ 1227.000459] sd 2:0:0:0: [sdb] Mode Sense: 49 03 80 08
[ 1227.009274] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 1227.177706] sdb:
[ 1227.214147] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[ 1230.093834] sd 2:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[ 1230.093857] sd 2:0:0:0: [sdb] tag#0 CDB: ATA command pass through(16) 85 06 20 00 05 00 fe 00 00 00 00 00 00 40 ef 00
[ 1420.268231] sdb: detected capacity change from 228518400 to 0