[OpenBIOS] [PATCH][RFC] mac-io IDE support

Laurent Vivier laurent at lvivier.info
Sun Jan 18 01:42:21 CET 2009

Le 18 janv. 09 à 00:37, Aurelien Jarno a écrit :

> On Fri, Jan 16, 2009 at 06:27:16PM +0100, Laurent Vivier wrote:
>> Hi,
>> this patch adds the mac-io IDE support to openBIOS. It works well  
>> with
>> openBIOS (to load kernel) and with kernel 2.4 but has some problems  
>> with
>> linux 2.6.
>> For instance, using debian-31r8-powerpc-netinst.iso with kernel 2.4
>> works well (but not kernel 2.6), but using debian-40r6-powerpc-
>> netinst.iso fails when debian-installer loads all udeb components.
>> Is there a bug in qemu, linux or the mac-io IDE device tree is not
>> initialized correctly ?
> I have tried your patch on already installed disk image, and it works
> without problem. I tried Debian etch (kernel 2.6.18), etchnhalf  
> (kernel
> 2.6.24) and lenny (kernel 2.6.26).

Thank you to have tested this.

> I haven't done any change on the qemu side. Given that the mac-io  
> ide is
> detected before the CMD646, I have to pass -hdc to the disk image so
> that it is recognized as -hda by Linux. I'll do test with the  
> different
> install CD tomorrow.

I use "-drive file=new_disk.qcow2,bus=1,unit=0 -drive file=debian-40r6- 

and boot with "boot ide2:"

Try to install debian on the disk using these parameters. It fails  
every time for me when debian-installer loads its udeb.

-------------------- laurent at lvivier.info --------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

More information about the OpenBIOS mailing list