Hi! I just got these drives, and they've been nothing but a headache - sedutil-cli doesn't work because they are Enterprise. go-tcg-storage seems to be the only project that gets me somewhere
Here are the commands I'm running:
# ./tcgdiskstat
2024/06/24 17:31:12 drive.Open(/dev/sda): device does not support TCG Storage Core
DEVICE MODEL SERIAL FIRMWARE PROTOCOL SSC STATE
/dev/sdb HUH721212ALE601 REDACTED 0002 SATA Enterprise lES
# ./gosedctl initial-setup-enterprise -d /dev/sdb -p debug -b debug -e debug
gosedctl: error: NewControllSession() failed: response was not the expected Properties call format
Basically, the expected number of params is 5, but for me it's just 1.
I tried bypassing the check, by ignoring the number of params and parseHostProperties. I've substituted the return value on this line to be return *rhp, tp, nil. This did not work:
gosedctl: error: authenticating as AdminSP failed: authentication failed
Do you know what could be an issue? I'll be happy to try out anything for debugging purposes to assist
Hi! I just got these drives, and they've been nothing but a headache -
sedutil-cli
doesn't work because they are Enterprise. go-tcg-storage seems to be the only project that gets me somewhereHere are the commands I'm running:
I've narrowed it down to this specific line: https://github.com/open-source-firmware/go-tcg-storage/blob/main/pkg/core/session.go#L464
Basically, the expected number of params is 5, but for me it's just 1.
I tried bypassing the check, by ignoring the number of params and
parseHostProperties
. I've substituted the return value on this line to bereturn *rhp, tp, nil
. This did not work:Do you know what could be an issue? I'll be happy to try out anything for debugging purposes to assist
Extra output from
tcgsdiag
: