admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -r 512 /dev/sda1 a1 2a 25 51 00 00 00 00 00 81 00 00 >>> transport error: Host_status=0x07 [DID_ERROR] Driver_status=0x00 [DRIVER_OK] SCSI Status: Good Error 99 occurred, no data received admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -r 512 -i auth_device.bin /dev/sda1 a1 28 2d 51 00 00 00 00 00 81 00 00 SCSI Status: Check Condition Sense Information: Fixed format, current; Sense key: Recovered Error Additional sense: ATA pass through information available error=0x0, status=0x50, device=0xa0, count(7:0)=0x0 extend=0, log_index=0x0, lba_high,mid,low(7:0)=0x0,0x0,0x0 Received 512 bytes of data: 00 00 00 00 00 00 00 00 00 37 e8 1c 64 37 e8 1c 64 ........7..d7..d 10 37 e8 1c 64 00 00 00 00 00 00 00 00 00 00 00 00 7..d............ 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 70 00 00 00 00 00 00 00 00 00 00 00 00 1b a8 00 00 ................ 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 100 ed 41 00 00 00 10 00 00 98 07 5b 68 37 e8 1c 64 .A........[h7..d 110 37 e8 1c 64 00 00 00 00 00 00 03 00 08 00 00 00 7..d............ 120 00 00 08 00 00 00 00 00 0a f3 01 00 04 00 00 00 ................ 130 00 00 00 00 00 00 00 00 01 00 00 00 7f 24 00 00 .............$.. 140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 170 00 00 00 00 00 00 00 00 00 00 00 00 63 6f 00 00 ............co.. 180 20 00 2d 86 00 00 00 00 00 00 00 00 ec bf 53 e9 .-...........S. 190 37 e8 1c 64 00 00 00 00 00 00 00 00 00 00 00 00 7..d............ 1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 1f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -s 512 -i set_auth.bin /dev/sdX a1 0a 25 00 00 00 00 00 00 81 00 00 /dev/sdX: No such file or directory admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -s 512 -i set_auth.bin /dev/sd1 a1 0a 25 00 00 00 00 00 00 81 00 00 /dev/sd1: No such file or directory admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -s 512 -i set_auth.bin /dev/sda1 a1 0a 25 00 00 00 00 00 00 81 00 00 >>> transport error: Host_status=0x03 [DID_TIME_OUT] Driver_status=0x00 [DRIVER_OK] SCSI Status: Good admin@raspberrypi:~/Desktop/test environment $ sudo sg_raw -s 512 -i auth_device.bin /dev/sda1 a1 28 2d 51 00 00 00 00 00 81 00 00 >>> transport error: Host_status=0x07 [DID_ERROR] Driver_status=0x00 [DRIVER_OK] SCSI Status: Good