> diff -c /sys/src/boot/pc-e820/sdata.c /n/sources/plan9/sys/src/boot/pc/
> (other stuff)
> /sys/src/boot/pc-e820/sdata.c:875,882 -
> /n/sources/plan9/sys/src/boot/pc//sdata.c:875,881
> qlock(ctlr);
>
> as = ataready(cmdport, ctlport, drive->dev, Bsy|Drq, Drdy, 107*1000);
> - /* used to test as&Chk as failure too, but some CD readers use that
> for media change */
> - if(as < 0){
> + if(as < 0 || (as&Chk)){
> qunlock(ctlr);
> return -1;
> }
ak tested and this did fix his problem with the livecd.
- erik