Upgrading kernel

Hey,
Need some advice here, i had installed 15.0-CURRENT, everything was working great until i ran pkg upgrade, now after reboot i can no longer load my i915kms module - get
"KLD i915kms.ko: depends on kernel - not available or version mismatch
kldload: can't load i915kms: module already loaded or in kernel"

find / -name "i915kms.ko"
/boot/modules/i915kms.ko

Im guessing i need to rebuild the kernel ?
I found some steps online but those resulted in a crash, so i had to resort to using old kernel

cd /usr/src/
git clone https://git.freebsd.org/src.git .
make buildkernel KERNCONF=GENERIC
make installkernel KERNCONF=GENERIC
 
Need some advice here, i had installed 15.0-CURRENT, everything was working great until i ran pkg upgrade, now after reboot i can no
SirDice already hinted at an issue but I figured I'd comment on it as well... keep well in mind that CURRENT isn't what it's name implies.. sure, it's the "latest and greatest" but at the same time also a so called developer version meaning that theoretically anything can change on a developers whim. Sometimes, but not always, resulting in an unstable situation.

When you run CURRENT you can't expect stability and/or reliablity. So keep this well in mind. Both CURRENT and to a lesser degree STABLE are not really suitable for production; for that you'll want a regular release. At the time of wiritng that would be either 14.2 or 13.5.
 
I should probably clarify that pkg upgrade was unintentional.
So i tried rebuilding drm-kmod
cd /usr/ports/graphocs/drm-kmod
make clean && make deinstall
make install clean

However kldload i915kms still results in the same error.
Were these the right steps ?
 
SirDice already hinted at an issue but I figured I'd comment on it as well... keep well in mind that CURRENT isn't what it's name implies.. sure, it's the "latest and greatest" but at the same time also a so called developer version meaning that theoretically anything can change on a developers whim. Sometimes, but not always, resulting in an unstable situation.

When you run CURRENT you can't expect stability and/or reliablity. So keep this well in mind. Both CURRENT and to a lesser degree STABLE are not really suitable for production; for that you'll want a regular release. At the time of wiritng that would be either 14.2 or 13.5.
I realize that and its ok if i have to reinstall this system, this is more of an educational post so i can learn more about how freebsd works.
 
"installed -current" how? From a downloaded snapshot?

It might have been a more elegant solution to source-update the OS installation so that the current pkg fits.

In general it is not a good idea to run pkgs that are newer than the OS.
 
Back
Top