[Info-vax] OpenVMS x86 and qemu/kvm - boot problems.

issinoho iain at issinoho.com
Thu Apr 20 17:27:05 EDT 2023


On Thursday, 20 April 2023 at 19:33:46 UTC+1, Chris Townley wrote:
> On 20/04/2023 17:11, issinoho wrote: 
> > On Wednesday, 12 April 2023 at 16:51:58 UTC+1, Dennis Boone wrote: 
> >>> It crashed during booting. I got two error messages said unable determine 
> >>> serial number in HWPB block and bug check message said that high IPL during 
> >>> pagefault exception. I think that I got wrong UEFI firmware from 
> >>> /usr/share/qemu. Does anyone have good UEFI firmware? 
> >> I have 2022.11-6 of the ovmf package and qemu 7.2.on a Debian Sid box. 
> >> 
> >> ozymandias 1643 # sha256sum /usr/share/ovmf/OVMF.fd 
> >> d996e65015d52ad21ec4014c4f6f80038dbfd63463106e39eb66b81282ab8dbf /usr/share/ovmf/OVMF.fd 
> >> 
> >> -rw-r--r-- 1 root root 2097152 mar 5 15:36 OVMF.fd 
> >> 
> >> Make sure you're not trying to boot in secure mode. 
> >> 
> >> I get the serial number message too, but it doesn't seem to prevent 
> >> booting and installation. 
> >> 
> >> I can reliably induce a crash (high IPL, page fault) by trying to 
> >> mount the ISO image. I'm also getting random crashes I haven't 
> >> diagnosed yet. I.e. ymmv. 
> >> 
> >> De 
> > Today I've finally got this working on QEMU/KVM using the virt-manager GUI rather than an enormous command line of switches. Everything work perfectly, albeit I'm running in NAT mode. Bridging looks to be a world of pain so I'm next going to look at NAT forwarding through the Ubuntu host - will report back. 
> > 
> > X86VMS::sh cpu 
> > 
> > System: X86VMS, QEMU Standard PC (Q35 + ICH9, 2009)
> Much easier in the GUI, bit it needs too many tweaks. 
> 
> A bridge network is pretty easy to set up. I have a second NIC (USB) 
> that I have bridged to. Setup took me a while, but when I recreated my 
> KVM/QEMU VM I got it working fine just by selecting Bridged, and 
> choosing the br0 device I had previously created. 
> 
> Sadly I didn't note the exact way I created a br0 device on the host, 
> but plenty of examples on the net. 
> 
> Have you managed to get he serial console accessible over ssh? So far I 
> have been stuck with the Virtual Machine builder serial console, which 
> is pretty carp. 
> 
> -- 
> Chris
On NAT port forwarding, this works beautifully, https://blog.wirelessmoves.com/2022/04/bare-metal-cloud-part-2-kvm-and-nat-port-forwarding.html

On console, I'm using 'virsh console vm-name' just enough to get the OpenVMS networking up then using SSH from that point on, initially from the host, but once you use that ^^^ script from anywhere on your network.



More information about the Info-vax mailing list