Not wishing to hijack this other post:
I started this one...
I have a FreeBSD 15.0-RELEASE-p5 host that has an ASUS N3150I-C motherboard in a 1U rackmount case. The PSU has about six months of use from new. The 'server' runs four thick jails just fine. However, I have noticed that when I need to reboot it after for a freebsd-update install or any other reason after three days or more of running it no longer powers off with the 'poweroff' command or responds to the physical power on/off and rest buttons on the 1U case. The last output from the shutdown command executed by poweroff is about bridge0. To power off the machine the powerlead has to be pulled out of the PSU. The first restart afterwards requires saving settings in UEFI and that then confirms no settings have been changed. The server boot fines and runs normally. After all jails have started I can run poweroff and get the expected result. The physical buttons on the case also work for now.
I looked in /var/log/messages and found this:
So, my thoughts are, fix the known issue, then investigate further.
1. Get the bridge for vnet jails running in the preferred non-deprecated config
2. Try poweroff after four days, then five, then six etc to see if a pattern emerges with what runs from /etc/periodic
I tried this, to see if that cures the problem, but it wouldn't get an IPv4 address from DHCP:
So I tried the following. The static IP address was bound to bridge0, but bridge0 did not like the defaultrouter despite it being the correct one.
My jails should all DHCP from static reservations, but they refused to start as they couldn't find the DHCP server
Using the handbook instructions 34.8.1
docs.freebsd.org
This doesn't work either:
I have put it back to how it was.
If you have a known working FreeBSD 15.0-RELEASE bridge configuration for vnet jails that can DHCP, please post it here.
I powered of with the switch a computer, it does not boot anymore, no peep even if I take all memory out.
I took all peripheral out, tried with other PSU, reset the BIOS with the jumper and also took battery out for a while.
A similar problem I had before, then I took the graphics card out, then put it again after trying things like above, and then booted.
I though it was the graphics card, now I doubt.
Should I throw away the motherboard (ASUS M4A88TD-V EVO/USB3) and CPU (AMD Athlon II X4 605e).
Why I powered off with the switch?
I booted it with pxeboot, run with root mounted with...
I took all peripheral out, tried with other PSU, reset the BIOS with the jumper and also took battery out for a while.
A similar problem I had before, then I took the graphics card out, then put it again after trying things like above, and then booted.
I though it was the graphics card, now I doubt.
Should I throw away the motherboard (ASUS M4A88TD-V EVO/USB3) and CPU (AMD Athlon II X4 605e).
Why I powered off with the switch?
I booted it with pxeboot, run with root mounted with...
I have a FreeBSD 15.0-RELEASE-p5 host that has an ASUS N3150I-C motherboard in a 1U rackmount case. The PSU has about six months of use from new. The 'server' runs four thick jails just fine. However, I have noticed that when I need to reboot it after for a freebsd-update install or any other reason after three days or more of running it no longer powers off with the 'poweroff' command or responds to the physical power on/off and rest buttons on the 1U case. The last output from the shutdown command executed by poweroff is about bridge0. To power off the machine the powerlead has to be pulled out of the PSU. The first restart afterwards requires saving settings in UEFI and that then confirms no settings have been changed. The server boot fines and runs normally. After all jails have started I can run poweroff and get the expected result. The physical buttons on the case also work for now.
I looked in /var/log/messages and found this:
Code:
kernel: bridge0: WARNING: Adding member interface re0 which has an IP address assigned is deprecated and will be unsupported in a future release.
So, my thoughts are, fix the known issue, then investigate further.
1. Get the bridge for vnet jails running in the preferred non-deprecated config
2. Try poweroff after four days, then five, then six etc to see if a pattern emerges with what runs from /etc/periodic
Starting with the bridge configuration
My /etc/rc.conf has this:
Code:
cloned_interfaces=bridge0
ifconfig_bridge0="addm re0 up"
ifconfig_re0="-lro SYNCDHCP"
I tried this, to see if that cures the problem, but it wouldn't get an IPv4 address from DHCP:
Code:
cloned_interfaces=bridge0
ifconfig_bridge0="-lro SYNCDHCP addm re0"
So I tried the following. The static IP address was bound to bridge0, but bridge0 did not like the defaultrouter despite it being the correct one.
My jails should all DHCP from static reservations, but they refused to start as they couldn't find the DHCP server
Code:
cloned_interfaces=bridge0
ifconfig_bridge0="inet 10.26.4.10/24 addm re0"
defaultrouter="10.26.4.254"
Using the handbook instructions 34.8.1
Chapter 34. Advanced Networking
Advanced networking in FreeBSD: basics of gateways and routes, CARP, how to configure multiple VLANs on FreeBSD, etc
Code:
cloned_interfaces=bridge0
ifconfig_bridge0="addm re0 up"
ifconfig_re0="up"
ifconfig_bridge0="DHCP"
I have put it back to how it was.
If you have a known working FreeBSD 15.0-RELEASE bridge configuration for vnet jails that can DHCP, please post it here.