Unable to upgrade from 2.8.1 to 2.9 using virtio
-
Hi,
Have anyone else been successful in upgrading from 2.8.1 to 2.9 while using virtio network drivers for the Pfsense VM ?
I am not able to get the network to start, which causes the installation to fail.
e1000 works, but that is counter productive as they use more resources are are slower.
Thanks.
-
@casperghst42-real-one sure, I use VirtIO on a single and a HA pair of pfSense which I update from 2.8.1 to 2.9.
What Proxmox version are you on, anything exotic about your Proxmox installation, like running on ARM64? Any errors during the upgrade?
-
@patient0 just a standard x86 i440fx (might be a problem), but that is it. After the first reboot network interfaces no longer come up and the upgrade fails. I've tried all the options I can find for /boot/loader.conf.local but none of them help.
I've tried to switch one of the interfaced to e1000 and then it loads - but I would like to avoid that; due to performance and I would also have to reconfigure all my vlans.
-
@casperghst42-real-one and you are on latest Proxmox 9? BIOS or UEFI? Anything in loader.conf that prevents virtio to load?
Can you post the Proxmox config of that VM? -
@patient0, thank you for your help. I'm using Proxmox 9.2.21
The loader.conf.local is empty, was thinking of adding the setting to force the new virtio drivers to be loaded (as per: https://forum.netgate.com/topic/201235/enable-modern-virtio-driver-instead-of-lagecy-and-virtio-scsi-for-proxmox/2), but I think the primary thing is to get it upgraded.
Using SeaBios, Bios boot. <- I probably need a reinstall to change that.
And using Bios could cause the problem. A reinstall is not an impossible task, as the restoring the pf configuration will put everything back as it was.
This is the configuration:
agent: 1
boot: order=scsi0;net0
cores: 2
cpu: x86-64-v2-AES
memory: 6144
meta: creation-qemu=8.1.5,ctime=1711466964
name: pf-vm-firewall
net0: virtio=BC:24:11:AB:CD:EF,bridge=vmbr0,firewall=1,queues=8
net1: virtio=BC:24:11:01:23:45,bridge=vmbr2,firewall=1,queues=8
numa: 0
onboot: 1
ostype: l26
parent: pre-patches
protection: 1
rng0: source=/dev/urandom
scsi0: local-zfs:vm-105-disk-0,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=29223c77-984c-ef10-abcd-123456789012
sockets: 1
startup: order=1
tags: firewall
vmgenid: 0d438e6b-e259-cd12-abcd-1234567890ab
vmstatestorage: local-zfs -
@casperghst42-real-one your config looks very similar to mine, I also use BIOS, agent is set, same CPU, same OS type, four net devices, 1 CPU, 2GB vRAM.
Nothing in the logs or
dmesgoutput that indicates errors related to the VirtIO driver/devices? -
@casperghst42-real-one I upgraded one. I recall putting the hw.virtio.pci.transitional=1 in /boot/loader.conf.local, and restarting, first, to verify it would come up/not redetect mid upgrade.
This VM is using SeaBIOS and i440fx.
A reinstall should take just a couple minutes, pulling the existing config.
After the first reboot network interfaces no longer come up and the upgrade fails
So it stops and asks to assign interfaces? Or does not get there?
-
@SteveITS after I login I get a shell, not the menu - as it does not have a network connection it cannot finish the installation (my assumption).
What is interesting is that ifconfig, gives me vnet0 and vnet1 - both of them down. I have not looked at dmesg.
I think it's better just to reinstall - much easier than trying to figure out what the problem is.
I'll try to get it done this week.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy