Failed update causing reboot to hang at login

Started by alteng, June 05, 2024, 10:26:28 AM

Previous topic - Next topic
June 05, 2024, 10:26:28 AM Last Edit: June 05, 2024, 12:39:02 PM by alteng
Hi

First post so please be gentile.

Hardware is Protectli FW4C-2-8-120 running OPNSense but not sure of the version but very recent as I typically run the update every couple of weeks. I have a very basic setup and the only plug ins non standard is Zenarmour and Tailscale. Everything was working fine prior to the update.

I attempted to do a normal update yesterday and it said it needed to reboot. After update the system hangs and does not restart. I have no access to the device over the network. It is my router so I lost all internet access.
I disconnected and plugged in a keyboard and screen and rebooted. The system starts and then hangs at the login with the following. This is typed as I have no way to snip it.

login: 672.545003 [ 850] iflib_netmap_config txr 4 rxr 4 txd 1024 rxd 1024 rbufsz 2048

673.718989 [ 850] iflib_netmap_config txr 4 rxr 4 txd 1024 rxd 1024 rbufsz 2048

proproc

The system hangs at this point.

Question is what to do? Recovery is obviously preferred as opposed to reinstallation and set up again.

I can't get to the command line so don't know how I could do a rollback.

Would a bootable USB help?

Thanks in advance
David

Update:

I have managed to login as root. I have the standard menu with 0 to 13. I have tried 12) Update from console. The version has changed from 24.1 to 24.1.8. When I reboot it still hangs at the login.

What does "hang" mean here with a login: prompt when you are able to log in? ;)


Cheers,
Franco

also these messages can be just a push from the message buffer, a simple pressing of the enter key normally clears them and shows the login prompt

Quote from: cookiemonster on June 05, 2024, 01:06:09 PM
also these messages can be just a push from the message buffer, a simple pressing of the enter key normally clears them and shows the login prompt

This is correct. I press enter and it brings up login: again. I can log in with root. I reinstalled all the packages with pkg update -f and pkg upgrade -f. This took a while but it it did complete. I reboot and the login: with the netmap messages comes back.

I get that I can press enter and login but normally I don't a keyboard and screen attached to the router. Every other time it just restart and the internet comes back.

The behaviour is normal and purely cosmetic. In itself will not impact the internal functionality. Just a quirk when/if a user needs to login to the console.
In other words, these buffer messages have nothing to do with any other problems you might be experiencing.

Quote from: cookiemonster on June 05, 2024, 01:34:09 PM
The behaviour is normal and purely cosmetic. In itself will not impact the internal functionality. Just a quirk when/if a user needs to login to the console.
In other words, these buffer messages have nothing to do with any other problems you might be experiencing.
ok. thanks for the response.
Something has failed during the update to 24.1.8. Anything else I can try?

June 05, 2024, 01:52:45 PM #6 Last Edit: June 05, 2024, 02:15:21 PM by goxgo
After update to the last version and reboot my FW also fail to complete the boot process although at a different point and I cannot even get a login.

Booting from a USB installation drive is however able to find and import the config file from the installed HDD and this way I am able to re-install everything with the latest config intact.

After this re-boot is fine but I have not yet done any new attempt to update to the latest version, that is my next step. I will make an update once I tried this.

UPDATE:

After re-installing the update to the latest version completes without a problem for me.

Quote from: goxgo on June 05, 2024, 01:52:45 PM
UPDATE:

After re-installing the update to the latest version completes without a problem for me.

I used the console 13) and restored a backup from 1 week ago but the reboot still fails.

It looks like a fresh install is the next step. Just need make sure I have the config saved.