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

Re: Can't boot with qemu



Yes it works !

I tried the latest version (2020-05-30) with this command line :

qemu-system-ppc -monitor stdio -M mac99 -k en -machine accel=tcg -m 512 -cdrom /home/david/Bureau/debian-10.0.0-powerpc-NETINST-1.iso -hda /home/david/Documents/Informatique\ et\ téléphone/Documentation\ informatique/Macintosh/Debian_10_LXDE -virtfs local,id=shared_folder_dev_0,path=/home/david/Bureau,security_model=none,mount_tag=shared0 -boot order=dc,menu=on -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 -net user -net user,smb=/home/david/Bureau -rtc base=localtime -name "Debian + LXDE sur iMac G3" -bios /home/david/Bureau/openbios-ppc-grubfix



Le 19/07/2020 à 14:55, Howard Spoelstra a écrit :


On Sun, Jul 19, 2020 at 2:21 PM Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> wrote:
On 19/07/2020 10:37, David VANTYGHEM wrote:

>> I did a comparison with a couple of DT dumps I have around and I see some Old World
>> Macs reserve up until 0x4000 and some New World Macs reserve up to 0x3000 in low
>> memory, so I don't think this change should break anything. I should add from looking
>> at the MMU translations I think this bug has been around ever since grub was used,
>> and that up until now we just got lucky that nothing of any importance in the PPC
>> vector table was being overwritten before now.
>
> debian-10.0-powerpc-NETINST-1.iso version 2019-07-16 and any other
> versions before are using GRUB 2.02+dfsg1-20 and boot.
>
> Versions after 2019-07-16 don't boot and are using GRUB 2.04-4.

Hi David,

Right, indeed - the important part is what you quoted from my email above: "I think
this bug has been around ever since grub was used, and that up until now we just got
lucky that nothing of any importance in the PPC vector table was being overwritten
before now.".

Without my proposed fix I still see the older grub images access those low-level
pages but with different offsets, which just by luck happen not to overwrite the MMU
handlers.

Can you confirm that the test OpenBIOS I posted in my previous email at
https://www.ilande.co.uk/tmp/qemu/openbios-ppc-grubfix fixes the issue for you?


ATB,

Mark.

Hi,

I gave the grub-based debian 10 image a go and it booted. The 5  MacOS/OSX images I tested also booted.

You need to download the openbios and point to it on the command line with -bios openbios-ppc-grubfix

Best,
Howard

-- 
Installer facilement Linux : http://infolib.re

    .--.
   |o_o |
   ||_/ |
  //    \\    Envoyé depuis mon Linux
 (|      |)
/ \_   _/ \
\___)=(___/

Reply to: