-
Notifications
You must be signed in to change notification settings - Fork 24
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
sedutil-cli@Win10 + Ryzen SATA: freeze, 5 minutes/command, detection-issues #2
Comments
We have not experienced this issue. What hardware are you using? Have you tried the Windows compiled binary from the windows_nvme or windows_sleep branch of this repo: https://github.com/lukefor/sedutil/tree/windows_sleep @lukefor made substantial changes to the Windows side of the code and has sleep working in Windows with a self-baked Windows driver: |
Thanks for directing me to the lukefor repo! Sadly I can't find any compiled windows executables - any chance you have a compiled sedutil-cli.exe?
If you attach disks (Opal or non-Opal) to a Ryzen onboard SATA-Controller --scan and --query are working correctly (using sedutil-cli.exe @win10)? hmm, I don't think there is anything special: Any idea what could cause my problems? ...or what I should test? |
We compiled the @lukefor Windows executables, but do not have them anymore. Do you want to try to compile them?
|
Found the time to give it a try, but sadly my self-compiled executable does not change anything. :-( Long story: Anyway, thank you very much for your guide! Wouldn't have kept trying without your help! By the way: Do you know why the "-v" or "-vvvvv" switch doesn't really change anything about sedutil-cli's output? To me it looks like the switch doesn't do anything (= is defect)!? I would really like to see some debug/info message* to get an idea what sedutil-cli is doing five minutes long with each drive it tries to access. (* For me it looks like there are debug messages in the source code, but I don't see them when I use sedutil-cli - even when I compile a "debug" version.) |
Sorry to hear you are not making overall progress.
The verbose logging switch does not do anything "more" if the build already has verbose logging enables by default. |
I'm experiencing the same issue as @aj-git Scans and queries take 5 minutes to return information and it shows that none of the my drives are Opal compliant despite everything working flawlessly in the preboot image. This is occurring on both the 1.15.1-9 and 1.15.1-44 windows executable. Mainboard: ASUS Zenith Extreme (x399 Chipset, BIOS: v2001) |
The ChubbyAnt fork executable reports "No" for me too. However, the compiled lukefor forks both report a "2." |
Here are compiled @lukefor executables if anyone stumbles across this thread and wants to try them: Even though @lukefor executables correctly report "2" for OPAL status, I haven't been able to pull information from my PBA since I get "method status code NOT_AUTHORIZED" and "One or more header fields have 0 length." |
@MathewCNichols both those google drive files for the windows compiled lukefor executables have the same MD5 meaning they are both what I believe is the sedutil_windows_sleep executable. They required me downloading and placing vcruntime140_1.dll in the same directory however it did end up working and identifying NVME opal drives over pci-e in Windows. Oom-is sedutil fork works well for me too for nvme over pci-e in windows but it has the SHA512 implementation (beware: different forks have different SHA512 password hashing implementations such that based on my testing oom-is and chubbyant forks were not cross compatible with ladar's forks - unless you are feeding the password directly to the drive without hashing it using -n switch). As a general workaround to those who need NVME support in Windows for internally installed drives (and thunderbolt enclosures which also use pci-e bus), you can use preboot authentication to unlock the drive before booting into Windows or, something that I have tested with usb attached drives but assume it will work with PCI-e connected drives too, is attaching the drive to a virtual machine (vmware player worked for me) and unlocking the drive through linux or PBA then relinquishing the drive back to the windows host machine. More on nvme opal drive support over USB in windows here: |
The Windows executable (sedutil-cli.exe) v1.15.1-9 doesn't work with SATA-Drives (it behaves the same way like the original DTA v1.15.1 release). Here you can find my original report describing the issue: https://github.com/Drive-Trust-Alliance/sedutil/issues/242
Just wanted to leave a note after some short tests. I'm still hoping someone is able to fix it.
Perhaps the Default "Microsoft SATA AHCI Controller" Driver has issues or requires "special treatment", but there must exist a way: Micron MSECLI works flawless (is able to detect OPAL-drives, their state and issue a PSID-revert) with drives connected to the Ryzen onboard SATA Controller.
The text was updated successfully, but these errors were encountered: