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

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


On Sun, Jan 18, 2009 at 01:42:21AM +0100, Laurent Vivier wrote:
>
> 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- 
> netinst.iso,bus=1,unit=1,media=cdrom"
>
> 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.
>

I am able to reproduce the problem here when installing from the CD-ROM.
debian-installer says: "bad md5sum".

If I use the netboot install (kernel + initrd), debian-installer is
working perfectly, so the problem seems related to the CD-ROM only.

-- 
  .''`.  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