i915kms not loading

After spending a few hours upgrading a system to 15.0 yesterday, which included making various errors, I finally have it booting up, although I have noticed one error:

KLD i915kms.ko: depends on kernel - not available or kernel mismatch

This is probably through some error on my part.

How to correct it? I did do a pkg upgrade following the freebsd update.

Strangely X comes up in a high resolution, which surprises me.
 
so you do not have kld_list in /etc/rc.conf that has i915kms in it? If so, temp disable so you can do things by hand.
You may be running into something with the configured repos and where the package is actually pulled from.

pkg repos probably shows FreeBSD-kmods and FreeBSD-ports-kmods. The first is from the 14.x system used as transitional.
I think /etc/pkg/FreeBSD.conf may have the list of repos. If so, edit the FreeBSD-kmods section enabled set to no
drm-kmods moved in the "repo structure"

pkg info | grep drm
probably lists drm-61-kmod and drm-kmod

pkg delete drm-kmod to remove the current 14.x drm
pkg install drm-kmode to install a new drm-kmod
$(ABI) gets set by looking at the currently running system
 
Your userland still seems be to in version 14. Did you do freebsd-update install again after freebsd-update told you to reboot and do it again?
I thought I had done it several times over.

So what state am I in now?

Should I do another freebsd-update?

...with a fetch, upgrade, install...

I started with 14.0 yesterday, and can't really tell where I am at the moment.
 
It seems you only did upgrade your kernel and that's normal but the whole process is not complete, i guess the last step would be a # freebsd-update install.

After going through this process again, I now have the a consistant output.

But now a subsequent problem has arisen when I do pkg update I get

repository has wrong packagesite need to re-create database

Unable to update repository FreeBSD
 
Updating FreeBSD repository catalogue...

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/meta.conf -- pkg+:// implies SRV mirror type

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/meta.txz -- pkg+:// implies SRV mirror type

repository FreeBSD has no meta file, using default settings

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/data.pkg -- pkg+:// implies SRV mirror type

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/data.tzst -- pkg+:// implies SRV mirror type

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/packagesite.pkg -- pkg+:// implies SRV mirror type

pkg: packagesite URL error for pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest/packagesite.tzst -- pkg+:// implies SRV mirror type

Unable to update repository FreeBSD

Error updating repositories!
 
pkg repos command output would be helpful.

Try pkg update -f to forcefully update repository
root@:~ # pkg repos
FreeBSD-ports: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/quarterly",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkgbase-15"
}
FreeBSD: {
url : "pkg+http://pkg.freebsd.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0
}
root@:~ #
 
ping pkg.freebsd.org
wget pkg.freebsd.org

cat /etc/pkg/FreeBSD.conf
Code:
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
#  url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
   url: "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes,
  priority: 5
}

FreeBSD-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
 
Back
Top