It supports AHCI mode only on the regular internal disk, not on a disk connected via a tray to the CDROM.
On Wed, Oct 11, 2017 at 08:19:13PM +0000, Chavdar Ivanov wrote:
> I see you are on a ThinkPad as well. I have mentioned it elsewhere, on my
> ThinkPad T61p I am getting reliably since the NCQ update the following:
> wd0 at atabus0 drive 0
> wd0: <Hitachi HTS725032A9A364>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
> piixide0:0:0: bad state 0 in wdc_ata_bio_intr
> panic: wdc_ata_bio_intr: bad state
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 rip 0xffffffff8021c0c5 cs 0x8 rflags 0x246 cr2 0 ilevel
> 0x8 rsp 0xffffe40040003c38
> curlwp 0xffffe4013bb27840 pid 0.2 lowest kstack 0xffffe400400002c0
Looks like bad handling of the drives RESET state.
N.B. the T61p supports AHCI mode too, any reason why this is not
selected in the BIOS? AHCI mode so far didn't show problems.
Michael van Elst
"A potential Snark may lurk in every tree."