On Sunday 24 June 2012 13:22:29 maxim naumov wrote: > On Sun, Jun 24, 2012 at 10:28 AM, Hans Petter Selasky <[email protected]> wrote: > > Here is a quick analysis: > > ^^^^ LBA = 0x2FC2B95F00, COUNT=0x80 (64K) > > IIRC, LBA is a sector index. how can it be 0x2FC2B95F00 if the whole > HDD has 0xAEA87B30 sectors?
The LBA is 24-bit Big Endian and is stored directly in the 31 bytes command sent to the USB device., Try removing the 00 in the end. Maybe I added one byte too much. > > > dd if=/dev/daX of=/dev/null bs=512 iskip=205130391296 count=128 > > root@muxx:/home/muxx # dd if=/dev/da0 of=/dev/null bs=512 > skip=205130391296 count=128 > dd: /dev/da0: Input/output error > 0+0 records in > 0+0 records out > 0 bytes transferred in 0.000318 secs (0 bytes/sec) > > (no errors in logs) > --HPS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "[email protected]"
