Changed to AHCI, can not access disk???

Here is my problem:
I have an 1.5TB disk with OpenSolaris (b134, b151a) using non AHCI. I then changed to AHCI in BIOS, which results in severe problems: I can not boot the system.

I suspect the problem is because I changed to AHCI. Now I have changed back to non AHCI, but still I can not boot the PC. Solaris gives an error message. How can I solve this?

So this is what I have done:
1) 1.5TB disk worked fine with non AHCI
2) Switched to AHCI
3) Computer refuses to boot. There is an error message.
4) Switched back to non AHCI, booted from LiveCD and tried to import rpool. This resulted in an immediate reboot.
5) Computer refuses now to boot even in AHCI mode. Shows the same error message as in 3). However, WinXP boots fine though.

Now I have a new problem on the same theme.
A) Bought a Vertex 3, 240GB and turned on AHCI
B) Installed S11E, everything went fine.
C) Later I tried to repair the problematic 1.5TB disk above, so I switched off AHCI.
D) While using non AHCI, I booted off from liveCD S11E, and by mistake imported the Vertex 3 rpool.
E) Now I can not boot from my Vertex 3, even if I switch on AHCI. It is the same error message as in 3) and 5) above.

To summarize:
So the problems boils down to this:
Z) Solaris installs using AHCI
X) Switch to non AHCI
Y) Boot from LiveCD S11E and import the rpool
W) Turn back AHCI, and now Solaris refuses to boot. Why?

And vice versa:
ZZ) Solaris installs non AHCI
XX) Switch to AHCI
YY) Boot from LiveCD S11E and import the rpool
WW) Turn off AHCI, and now Solaris refuses to boot. Why?