From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4Wu1-0001iW-Gm for qemu-devel@nongnu.org; Mon, 24 Nov 2008 03:34:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4Wty-0001hq-LZ for qemu-devel@nongnu.org; Mon, 24 Nov 2008 03:34:41 -0500 Received: from [199.232.76.173] (port=45328 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4Wty-0001hn-Hu for qemu-devel@nongnu.org; Mon, 24 Nov 2008 03:34:38 -0500 Received: from mr01.hansenet.de ([213.191.74.10]:33793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4Wty-00082s-47 for qemu-devel@nongnu.org; Mon, 24 Nov 2008 03:34:38 -0500 Message-ID: <492A6714.5030406@exactcode.de> Date: Mon, 24 Nov 2008 09:34:28 +0100 From: =?ISO-8859-1?Q?Ren=E9_Rebe?= MIME-Version: 1.0 Subject: Re: [Qemu-devel] atapi on ppc issue (was Re: qemu-system-ppc broken ?) References: <22272111134-BeMail@laptop> <15BEECE3-2086-4EF9-9C89-3D458CB4AEC3@web.de> <1226433268.3978.7.camel@frecb07144> <93DB29A2-6CF8-4494-8471-87957AD242F5@lvivier.info> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: Quoted-Printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?ISO-8859-1?Q?Andreas_F=E4r?=@gnu.org, =?ISO-8859-1?Q?ber?= , =?ISO-8859-1?Q?_Revol?= , Laurent Vivier , =?ISO-8859-1?Q?Fran=E7ois?=@gnu.org Blue Swirl wrote: > On 11/16/08, Laurent Vivier wrote: > =20 >> Le 16 nov. 08 =E0 20:32, Blue Swirl a =E9crit : >> >> >> >> =20 >>> On 11/11/08, Laurent Vivier wrote: >>> >>> =20 >>>> Le lundi 10 novembre 2008 =E0 21:01 +0100, Andreas F=E4rber a =E9cri= t : >>>> >>>> >>>> =20 >>>>> Am 09.11.2008 um 23:07 schrieb Fran=E7ois Revol: >>>>> >>>>> >>>>> =20 >>>>>>>>> Though I still can't seem to get OpenHackware to read the CD: >>>>>>>>> ERROR: ATAPI TEST_UNIT_READY : status 50 !=3D 0x40 >>>>>>>>> >>>>>>>>> =20 >>>>>>>> I suppose OpenHackware only compares instead of checking the >>>>>>>> =20 >> ready >> =20 >>>>>>>> bit... >>>>>>>> >>>>>>>> =20 >>>>>>> =20 >>>>>> The attached patch makes OpenHackware happy again. >>>>>> At least qemu-system-ppc can now start debian iso, and mine as wel= l >>>>>> >>>>>> =20 >>>>> [...] >>>>> >>>>> =20 >>>>>> OpenHackware should be fixed instead, but it seems the binary in s= vn >>>>>> has been updated after the last sources I found >>>>>> >>>>>> =20 >>>>> [...] >>>>> >>>>> =20 >>>>>> Seems the last update was already about ATAPI... >>>>>> Anyone has the latest source used ? >>>>>> I could at least fix it to check for bits on errors... >>>>>> >>>>>> =20 >>>>> Rene Rebe recently posted some diff against qemu's OHW diff, but it >>>>> appeared to be whitespace-damaged. >>>>> >>>>> >>>>> =20 >>>>>> Of course it'd be much better to switch to a real OF instead... >>>>>> but I don't have the time for that, couldn't find usable OpenBIOS >>>>>> images, >>>>>> >>>>>> =20 >>>>> I once tried to get OpenBIOS working but failed, Laurent appeared t= o >>>>> get some further - any update on that? >>>>> >>>>> =20 >>>> No, I stopped working on this because I had no time. >>>> >>>> In fact, if I remember correctly, OpenHW initializes PCI devices whe= reas >>>> OpenBIOS doesn't, I've started working on this but it is too much wo= rk >>>> form me. I had a working OpenBIOS, able to start a kernel (at some >>>> time), but stopping during boot. >>>> >>>> If someone is interested (perhaps) I can find my patches and send th= em >>>> (privately). >>>> >>>> =20 >>> I would be interested. I finally created a PowerPC cross compiler and >>> I'd like to test OpenBIOS for PPC. >>> >>> =20 >> Yes, Andreas had the same request. >> For the moment I'm trying to re-create a cross-compiler to test and s= ort my >> patches. >> =20 > > With the attached hack I'm able to boot > debian-40r5-powerpc-businesscard.iso, though it hangs after: > Calling quiesce ... > returning from prom_init > > The same happens with 0.8.2, so I think Qemu is in a way "correct". > Now all I need to do is to find a nice OS that really can be > installed. Any suggestions? > =20 That's probably due: > Second, Linux 2.6 flatten_device_tree stuff in=20 arch/powerpc/kernel/prom_init.c > check for a return value of 1, as I do not have the IEEE spec on my de= sk > I assumed it means success, and with the change the flattened device > tree is no longer empty, helping a great deal continuing to boot ... As I reported and provided a patch for on 05/06/2008 06:00 PM. [Qemu-devel] [PATCH] fix PPC OpenHackWare for Linux 2.6 Yours, Rene --=20 Ren=E9 Rebe - ExactCODE GmbH - Europe, Germany, Berlin http://exactcode.de | http://t2-project.org | http://rene.rebe.name