Is There a Preferred Order for Upgrading FreeBSD and FreeBSD‑kmods?

I’m wondering whether the order of package upgrades matters.

1.
Code:
pkg upgrade -r FreeBSD-kmods 
pkg upgrade -r FreeBSD
2.
Code:
pkg upgrade -r FreeBSD
pkg upgrade -r FreeBSD-kmods

Does the order matter, and if so, which one is correct or at least preferable?
 
i think it shouldn't matter. maybe before the upgrade comment out your kld_list entry from /etc/rc.conf just in case something goes wrong with kernel versions.
 
In the end it probably doesn’t matter much. However, option 1) seems more appropriate to me, because with option 2) there’s a chance of an unnecessary double upgrade of the kernel module. First the module would be upgraded for the previous minor version, e.g. FreeBSD 14.3, and then again for the new minor version, e.g. FreeBSD 14.4.
 
The ongoing issue with the two repos is that they are not update at the same moment in time.
When there is functions/products/features that are having both kernel modules and userland parts that work together
its a mess when the the two repos contain different versions.
The case I have encountered numerous times in the NVIDIA propitiatory driver that has both a KMOD and DRM driver and the userland stuff.
typically the the KMOD repo is updated weeks after the Freebsd-base repo.

During these weeks after an new driver-upgrade from Nvidia. we get scores of users on this forum and others soliciting help for their
nonworking graphics. this has now become the primary reason for Nvidia-graphisc related issues and its reoccuring every second to third month.

end of rant , sorry
 
The case I have encountered numerous times in the NVIDIA propitiatory driver that has both a KMOD and DRM driver and the userland stuff.
This is because of the limitaitions in resources for kmods builders that require kmod part to be splitted out from remaining parts and unavoidable to allow NVIDIA kmods to be built on kmod builders.
And currently only x11/nvidia-kmod alone is built on kmod builders.
This is known by the builder admins and bapt@ would look into why once he can take enough time to do, but not yet unfortunataly.

And because kmods builder and main builder are independent builders, there are mutual lags in timeframe that builds finishes on each builders.

Luckily, as far as I know, only NVIDIA GPU drivers are bitten by the fact, so only NVIDIA GPU users are suggested to closely comparing both repos to be matched or not.
 
This is because of the limitaitions in resources for kmods builders that require kmod part to be splitted out from remaining parts and unavoidable to allow NVIDIA kmods to be built on kmod builders.
And currently only x11/nvidia-kmod alone is built on kmod builders.
This is known by the builder admins and bapt@ would look into why once he can take enough time to do, but not yet unfortunataly.

And because kmods builder and main builder are independent builders, there are mutual lags in timeframe that builds finishes on each builders.

Luckily, as far as I know, only NVIDIA GPU drivers are bitten by the fact, so only NVIDIA GPU users are suggested to closely comparing both repos to be matched or not.
thanks, I believe it to be important to make sure that this Repo misalignment is not present for the month of JUNE when every one tries to install FreeBSD 5.1

Regards
 
thanks, I believe it to be important to make sure that this Repo misalignment is not present for the month of JUNE when every one tries to install FreeBSD 5.1

Regards
If it's unsure, waiting for 3 months would help, as 15.0 EoLs and all official pkg builder should switch to 15.1.
 
Back
Top