Closed GoogleCodeExporter closed 9 years ago
in /sys/src/9/pc/sdiahci.c, function iaverify() change the
last return line as follows:
- return 1;
+ return scsiverify(u);
i dont have a sata cdrom drive, so i cannot test this.
Original comment by cinap_le...@felloff.net
on 26 Nov 2012 at 8:50
in any case, try enable some debugging:
echo ahci debug >/dev/sdctl
echo ahci aprint >/dev/sdctl
Original comment by cinap_le...@felloff.net
on 26 Nov 2012 at 8:53
run atazz on the drive.
try "signature". what does that return?
see idpuis(2) for expected values. if that corresponds to Pspinup
try "set features power-up in standby device spin-up" (hope i typed
that correctly).
the version of sdahci i'm using does handle this, but i never was convinced
there were no bugs.
- erik
Original comment by cinap_le...@felloff.net
on 1 Dec 2012 at 4:11
commited (partial) fix in red872c9fa8c0
Original comment by cinap_le...@felloff.net
on 2 Dec 2012 at 12:44
Original comment by cinap_le...@felloff.net
on 2 Dec 2012 at 9:31
Original issue reported on code.google.com by
tereniao...@gmail.com
on 14 Nov 2012 at 10:17