So it seems there is a problem in non-AHCI mode, which you can work around. I suspect actually fixing the problem is non-trivial. It's a fair subject for a PR, if you can check to see if there isn't an existing one. But it's good your system is working now.
Attachment:
pgpclAp8IRjYR.pgp
Description: PGP signature