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

Aurelien Jarno aurelien at aurel32.net
Sun Jan 18 00:37:53 CET 2009

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).

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.


  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32 at debian.org         | aurelien at aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

More information about the OpenBIOS mailing list