-
Notifications
You must be signed in to change notification settings - Fork 27
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
SG_IO Error #4
Comments
Facing the same issue here, though with hdparm 9.64:
I wonder if it could be external USB enclosure. Or, since my T61 doesn't use a UEFI BIOS, maybe the hash function is different. |
.Got the same issue today. I know the user password but no more the master password and I wanted to remove password totally on this drive. So I've tried this "lenovo-password" tool. But I got this error:
And I found the clue here https://superuser.com/a/1213754 From sudo hdparm -I /dev/sdb:
Yeah, frozen... What I've done to bypass that, is trying the hotplug method. Thanks to my old Thinkpad T430 I did put the disk I want to unlock into an ultrabay caddy, boot from another disk on main sata port, then inserting the ultrabay caddy after system is booted. I got some error message in dmesg, of course, but then my disk appeared as /dev/sdb. And hdparm listed it as "not frozen". then hdparm --security-unlock and hdparm --security-disable did work! @abraxa USB enclosure cannot pass ATA commands, that's probably why you get this error. It needs a real sata port. |
I used your patch for hdparm 9.45 and successfully created "$P"
But then, I receive the following error on security-unlock:
SG_IO: bad/missing sense data, sb[]: 70 00 ...
SG_IO: bad/missing sense data, sb[]: 70 00 ...
And binary characters are displayed along with some other messages in the terminal.
Do you know why this is happening?
The text was updated successfully, but these errors were encountered: