EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

OpenVMS virtualization: OpenVMS on VirtualBox, VMWare, Hyper-V, KVM, and more.
Post Reply

Topic author
viptux
Newbie
Posts: 4
Joined: Thu Sep 26, 2024 2:53 am
Reputation: 0
Status: Offline

EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by viptux » Thu Sep 26, 2024 7:15 pm

New install with latest CLP release download [9.2.2] for X86_64.

The OS does boot fine from the disk; LANCP also does not see an interface.
Should I give the Aug2024 pre-release a try?

Running on Debian Stable.

Output attached.


Kind Regards.
Attachments
openvms_no-net.txt
(1.26 KiB) Downloaded 28 times


roberbrooks
VSI Expert
Valued Contributor
Posts: 57
Joined: Thu Jun 20, 2019 11:48 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by roberbrooks » Thu Sep 26, 2024 10:45 pm

How is the ethernet device configured within KVM?

I'm an ESXi, not KVM, user so I cannot give any specific advice other than you've likely configured an ethernet device that VMS does not recognize.
--
-- Rob


Topic author
viptux
Newbie
Posts: 4
Joined: Thu Sep 26, 2024 2:53 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by viptux » Thu Sep 26, 2024 11:35 pm

I thought so too after seeing your response.. much appreciated.

Added a SATA CDROM to the same openvms guest and booted a fresh debian-testing-amd64-netinst.iso just to inspect the pci tree from shell.

Here's the details on the ethernet interface:

---

Is there a place to download a VSI install iso versus the zipfile image downloaded from the registration portal email?


Kind Regards
Attachments
lspci.txt
(1.19 KiB) Downloaded 28 times


sms
Master
Posts: 433
Joined: Fri Aug 21, 2020 5:18 pm
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by sms » Fri Sep 27, 2024 12:13 am

Code: Select all

> [...] KVM network device, [...]

   I've never touched KVM, so I know nothing about its network
adapter option(s).  But, ...

   Around here, on VMware (Fusion), the default network adapter appears
in the ".vmx" file as:
      ethernet0.virtualDev = "e1000"
which seems to be compatible with the SYS$EI1000X driver.  The VMS
device appears so:

V89 $ show devi /full eia0

Device EIA0:, device type i8254x, is online, network device, error logging is
    enabled, device is a template only.

    Error count                    0    Operations completed                  0
    Owner process                 ""    Owner UIC                      [SYSTEM]
    Owner process ID        00000000    Dev Prot              S:RWPL,O:RWPL,G,W
    Reference count                0    Default buffer size                 512
    Current preferred CPU Id       1    Fastpath                              1
    Current Interrupt CPU Id       1

Operating characteristics: Link up, Full duplex, Autonegotiation.

    Speed (Mbits/sec)           1000    Adapter  Intel i82545 VBOX/VMware (Eth)
    Def. MAC addr  00-0C-29-78-21-FE    Current MAC addr      AA-00-04-00-D3-04

   If KVM offers something like that, then it might work better (with
VMS) than whatever you have now.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

> Here's the details on the ethernet interface:

> [...] Intel Corporation 82574L Gigabit Network Connection [8086:10d3]

   Hmmm.  Looking at my (V9.2-2) SYS$SYSTEM:SYS$CONFIG.DAT, I don't see
"82574" or "10d3".  It might be possible to get VMS to try the
SYS$EI1000X driver with your current interface if you add the right
stuff to SYS$SYSTEM:SYS$USER_CONFIG.DAT.  (If I knew anything, I might
have a more detailed suggestion.)


> Is there a place to download a VSI install iso versus the zipfile
> image downloaded from the registration portal email?

   If you have a Community/peon license, I believe not.  Ambassador or
paying-customer status includes that as a benefit.
Last edited by sms on Fri Sep 27, 2024 12:15 am, edited 1 time in total.


joukj
Master
Posts: 231
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by joukj » Fri Sep 27, 2024 2:08 am

viptux wrote:
Thu Sep 26, 2024 11:35 pm
Here's the details on the ethernet interface:
You list here how Debian is seeing it. More interesting would be how you configured your internet device within Qemu/KVM.
The most "common" way is to configure it as an e1000 bridged to the real interface.

Please post the Qemu/KVM configuration files/details.


Topic author
viptux
Newbie
Posts: 4
Joined: Thu Sep 26, 2024 2:53 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by viptux » Fri Sep 27, 2024 2:36 am

surely.. please see attached.

Added in 22 minutes 58 seconds:
Some additional environment details the guest is running on:


~$ sudo /usr/bin/qemu-system-x86_64 --version

QEMU emulator version 9.0.2 (Debian 1:9.0.2+ds-2+b1)
Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers

$ sudo apt info libvirt-daemon
Package: libvirt-daemon
Version: 10.7.0-3
Source: libvirt
Maintainer: Debian Libvirt Maintainers <pkg-libvirt-maintainers@lists.alioth.debian.org>
Description: Virtualization daemon
Libvirt is a C toolkit to interact with the virtualization capabilities
of recent versions of Linux (and other OSes). The library aims at providing
a long term stable C API for different virtualization mechanisms. It currently
supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
.
This package contains the daemon libvirtd to manage the hypervisors.
Attachments
openvms.xml
(4.34 KiB) Downloaded 22 times


joukj
Master
Posts: 231
Joined: Thu Aug 27, 2020 5:50 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by joukj » Fri Sep 27, 2024 3:30 am

You configured a e1000e. I think that is only supported in 9.2-3. Use a e1000.
See the installation document for 9.2-2
https://docs.vmssoftware.com/vsi-openvm ... ion-guide/
section 2.2.1 (step3)


Topic author
viptux
Newbie
Posts: 4
Joined: Thu Sep 26, 2024 2:53 am
Reputation: 0
Status: Offline

Re: EFI can dhcp configure KVM network device, yet OpenVMS pre-boot & OS can't see.

Post by viptux » Fri Sep 27, 2024 4:01 am

Not sure if it's the newer qemu-kvm-v9 emulator or newer libvirt-v10 that only provides the virtual e1000e ethernet as an option to the virtio nic. I'll have to research into it, but for now my other guest VMs [OpenBSD, OpenIndiana, Win11] all work fine and without issues using the e1000e device, just not OpenVMS as of today.

Appreciate everyone for responding.

Have very fond memories working on DEC VAX/VMS servers from many moons ago.
The nostalgia rush just seeing an OpenVMS OS sysboot again AND on x86_64 was .. well .. delightful ! ; )


Gratitude and Best Regards !!
Last edited by viptux on Fri Sep 27, 2024 4:02 am, edited 1 time in total.

Post Reply