Ok, I made those changes to openbios, here is the output.
> On May 8, 2018, at 6:50 AM, Joe van Tunen <joevt(a)shaw.ca> wrote:
>
> : (debug-feval) ( fcode# -- fcode# )
> \ Address
> fcode-stream 1 - . here u. ." : "
>
> \ Indicate if word is compiled
> state @ 0<> if
> ." (compile) "
> then
> dup fcode>xt cell - lfa2name type
> dup ." [ 0x" . ." ]" cr
> ;
Just gave the latest Qemu a try to boot an emulated SparcStation 20 from
the original Solaris install CD:
/opt/qemu-3.1.0/sparc-softmmu/qemu-system-sparc \
-M SS-20 -m 256 \
-nographic \
-monitor telnet::3001,server,nowait \
-cdrom /mnt/iso/sol-8-hw4-install-sparc32.iso \
-boot d
The resulting output:
Configuration device id QEMU version 1 machine id 65
Probing SBus slot 0 offset 0
Probing SBus slot 1 offset 0
Probing SBus slot 2 offset 0
Probing SBus slot 3 offset 0
Probing SBus slot 15 offset 0
Invalid FCode start byte
CPUs: 1 x TI,TMS390Z55
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Oct 5 2018 08:20
Type 'help' for detailed information
Trying cdrom:d...
Not a bootable ELF image
Loading a.out image...
Loaded 7680 bytes
entry point is 0x4000
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f
,800000/sd@2,0:d
switching to new context:
SunOS Release 5.8 Version Generic_108528-29 32-bit
Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
\
panic[cpu0]/thread=f0244020: BAD TRAP: type=9 (Data fault) rp=f0243624
addr=0 mmu_fsr=126 rw=1 occurred in module "unix" due to a NULL pointer
dereference
qemu: fatal: Trap 0x29 while interrupts disabled, Error state
pc: f0163298 npc: f016329c
%g0-7: 00000000 f00c220c 3024a52c f024fe14 4000020d f0243b88 00000000
f0244020
%o0-7: 00001fff 00001000 00001000 f5c89000 00000000 f5918240 f02500a0
f0074d94
%l0-7: fbcf4834 f013cc18 00000001 f026eb30 f5917c60 f02727e0 f5917c40
00001010
%i0-7: f5c89000 00001000 00000001 00000000 00000000 f5917c68 f0250100
f013d4a4
%f00: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
%f24: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
psr: 40000fc5 (icc: ---- SPE: SP-) wim: 00000020fsr: 00000000 y: 00000000
Everything works fine though, if configured for the default SparcStation 5
(SS-5). I also tried other machine types: The only working configuration is
the SS-5.
I guess there is some issue with the device tree.
Intrepid openBIOS developers,
Though not new news, thank you for providing an openBIOS that is able to
boot solaris in qemu-system-sparc32! While I am able to disk boot (with
qcow2 image containing ufs filesystems), but would prefer to serve as much
of my guest filesystem from NFS as possible. Netboot allows a 'diskless'
system, so that is the most extreme case, but I'm open to other
suggestions.
Does OpenBIOS 1.1 (eg the snapshot attached to QEMU GIT HEAD as of last
Friday) support boot net:rarp, boot net:dhcp, or any other more manual
method of providing the kernel¶meters? I haven't been able to find
this in the documentation or code so I imagine it does not.
PS - FWIW this is the command line I am presently using for a 'disk0'
boot. Note that the tftp/bootfile do not do anything, but I included them
as an example based on the other qemu documentation.
qemu/sparc-softmmu/qemu-system-sparc \
-net nic,macaddr=00:03:BA:04:A5:AD -net
user,hostfwd=tcp::8023-:23,hostfwd=tcp::5911-:5911,tftp=/tftpboot,bootfile=inetboot.sun4m
\
-hda sol8_36G.disk.install \
-nographic -serial telnet:0.0.0.0:3000,server \
-m 256
PPS Mark Cave-Ayland, it appears you're active on this list. Thanks again
for your help (now years ago!) fixing the MUTEX_HELD & related problems in
2.6.... the current GIT still runs clean. I have not really worked with
QEMU since ~2.6, around that time I picked up a SunBlade 1000, which is
supported by the old kernel I need, and is able to run the (mostly CC
compile) workloads an order of magnitude faster. QEMU remains interesting
for applications requiring less performance, e.g. lmgrd license server.
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.
Libre (C=0)
Interne (C=1)
Restreint (C=2)
Confidentiel (C=3)
X
[X]
Arnaud BALARD
Chargé d'Exploitation et d'Affaires
EDF - DPNT - DAIP - UNITEP
AEI - Groupe SIMU
UFPI Bugey
CD 20 - BP 70130
01155 LAGNIEU
arnaud.balard(a)edf.fr
Tél. : 04 37 63 62 72
Un geste simple pour l'environnement, n'imprimez ce message que si vous en avez l'utilité.
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.