qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?)


From: François Revol
Subject: [Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?)
Date: Fri, 07 Nov 2008 09:19:59 +0100 CET

> Though I still can't seem to get OpenHackware to read the CD:
> ERROR: ATAPI TEST_UNIT_READY : status 50 != 0x40

Replying to myself, it seems this works around the issue, at least it
goes further.
I suppose OpenHackware only compares instead of checking the ready
bit...

Btw, it seems the OH website is gone.
http://perso.magic.fr/l_indien just gives a 403...
For the time being archive.org can be used to dig the sources though:
http://web.archive.org/web/%2a/perso.magic.fr/l_indien/OpenHackWare/%2a

François.


Index: hw/ide.c
===================================================================
--- hw/ide.c    (révision 5643)
+++ hw/ide.c    (copie de travail)
@@ -1088,7 +1088,7 @@
 static void ide_atapi_cmd_ok(IDEState *s)
 {
     s->error = 0;
-    s->status = READY_STAT | SEEK_STAT;
+    s->status = READY_STAT /*| SEEK_STAT*/;
     s->nsector = (s->nsector & ~7) | ATAPI_INT_REASON_IO |
ATAPI_INT_REASON_CD;
     ide_set_irq(s);
 }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]