On 05/12/2018 08:32, BALARD Arnaud wrote:
Bonjour, je vous envoie un mail car j'essaie de virtualiser une machine ULTRA5 sous solaris 7 en 64 bits.
j'ai réussi à démarrer sur un cd solaris 7 32bits pour restaurer les partitions sur mon disque virtuel (ufsrestore).
Quand j'essaie de démarrer avec qemu-system-sparc64 j'obtiens l'erreur "no valid state has been set by load or init-program" dans le prompt qemu "Not linux kernel image, Not a bootable ELF image, Not a bootable a.out image, Not a bootable FCode image"
au bout d'un certain nombre de test ma dernière commande ressemble à ca :
sparc64-softmmu#./qemu-system-sparc64 -M sun4u -bios /usr/local/share/qemu/openbios-sparc64 -m 256 -drive file=/home/qemu/QEMU_SRV/SRV.qcow2 -prom-env "auto-boot?=flase"
Je vois bien mon disque présent sur /pci@1fe,0/pci@1,1/ide@3/ide@0/disk@0
est-t ‘il possible de virtualiser une machine ultra5 sous solaris 7 64bits ?
La barrière de ma machine réel ressemble à ca :
Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 400MHz),OpenBoot 3.25 256 MB....
J'ai entendu parler de ce patch : https://patchwork.kernel.org/patch/9175879/ ou est-ce qu'il y a une configuration à faire dans sparc64-softmmu ?
Je ne sais pas si il peut m'aider à trouver mon bonheur.
Dans l'attente de votre réponse, merci.
Hello, I send you an email because I try to virtualize an ULTRA5 machine under solaris 7 in 64 bits.
I managed to boot on a cd solaris 7 32bits to restore the partitions on my virtual disk (ufsrestore).
When I try to start with qemu-system-sparc64 I get the error "no valid state has been set by load or init-program" in the qemu prompt "Not linux kernel image, Not a bootable ELF image, Not a bootable a.out image, Not a bootable Image mode "
after a certain number of tests my last command looks like this:
sparc64-softmmu#./qemu-system-sparc64 -M sun4u -bios /usr/local/share/qemu/openbios-sparc64 -m 256 -drive file=/home/qemu/QEMU_SRV/SRV.qcow2 -prom-env "auto-boot? = flase"
I can see my disk present on /pci@1fe,0/pci@1,1/ide@3/ide@0/disk@0
is it possible to virtualize an ultra5 machine under solaris 7 64bits?
The barrier of my real machine looks like this:
Sun Ultra 5/10 UPA / PCI (UltraSPARC-IIi 400MHz), OpenBoot 3.25 256 MB ....
I heard about this patch: https://patchwork.kernel.org/patch/9175879/ or is there a configuration to do in sparc64-softmmu?
I do not know if he can help me find my happiness.
Looking forward to your reply, thank you.
Hi Arnaud,
Unfortunately qemu-system-sparc64 doesn't quite boot a 64-bit Solaris yet, but it is fairly close - on a recent QEMU such as 3.0 you should be able to get well into kernel boot, and sometimes close to userspace too. The remaining issues I hope to fix up as time allows.
Given the error message above "no valid state has been set by load or init-program" this means OpenBIOS cannot see the Solaris bootloader which suggests that there is a problem in how you created your virtual disk images - maybe something isn't right with the sun partition layout?
If you head over to the QEMU wiki at https://wiki.qemu.org/Documentation/Platforms/SPARC then you will find lots of links at the bottom (and in particular http://kb.networksystemssolutions.info/index.php/Sparc_Virtualization) which should provide some help.
ATB,
Mark.