I have a questions about /usr/local/etc/pkg/repos/FreeBSD.conf settings.With the two upgrade commands, the new scheme also seems to work with a meta port like graphics/drm-kmod:
Rich (BB code):[1](0) # pkg -vv | sed -n -e '/^Repositories:/,$ p' Repositories: FreeBSD: { url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/latest", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" } FreeBSD-kmods: { url : "pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_latest_2", enabled : yes, priority : 0, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" }
Edit, additional clarification:
[B][2](0) # pkg install drm-kmod[/B]
should have installed6.1.92.1402000_3
given the shown settings.
FreeBSD: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods-latest",
No.Cann I have for FreeBSD-kmods
url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods-latest",
The appropriate (=future proof) way to specify it in a .conf file (e.g. /usr/local/etc/pkg/repos/FreeBSD.conf like shown in message #34) is:
url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR},
for the latest package repositoriesurl: pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_${VERSION_MINOR},
for the quarterly package repositories
FreeBSD-kmods: {
url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR},
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
mirror_type: "srv",
enabled: yes,
}
Can you elaborate on that; for example where and how this is documented?From 15.0-RELEASE onwards, the issue with drm-kmod when upgrading should be gone because drm-kmod is on its way back into the base system.
Yes , in different way as you have to useCann I have for FreeBSD-kmods
url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR},
pkg update
for 143 packages. Then again use the same file for full package repository as you have done every time.I did it from comment #53. Thank you.Yes , in different way as you have to usefor this and useCode:url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR},
pkg update
for 143 packages. Then again use the same file for full package repository as you have done every time.
I think the kmods repository only contains drm-kmod packages, I don't think it would cause instability.The only thing I worry about is whether I should continue with the custom repository or whether I should disable it to ensure stability.
I think you have already installed this. Need to follow the output on terminal. Also no need to install the gpu drivers. Your upgrade was good but failed only this custom repository was not there.Should I try with drm-kmod next time?
I tried to follow the instructions given in the other posts as closely as possible, so I installed drm-61-kmod rather than drm-kmod as I would do without the custom repository. Maybe drm-kmod is just an alias for the latest. I'll stick with it for now since it works, but if I have to do a reinstallation I will try drm-kmod with the custom repository. The sienna-cichlid firmware was offered by the install process so I just clicked on 'OK'.I think you have already installed this. Need to follow the output on terminal. Also no need to install the gpu drivers. Your upgrade was good but failed only this custom repository was not there.
The CPU is intel ? Have you tried the drm-510-kmod driver? Remember Metaport by default installs the drm-kmod and drm-61-kmod drivers, those drivers for FreeBSD 14.2 RELEASE are buggy. Uninstall those drivers and follow the instructions that the terminal will display.I tried to follow the instructions given in the other posts as closely as possible, so I installed drm-61-kmod rather than drm-kmod as I would do without the custom repository. Maybe drm-kmod is just an alias for the latest. I'll stick with it for now since it works, but if I have to do a reinstallation I will try drm-kmod with the custom repository. The sienna-cichlid firmware was offered by the install process so I just clicked on 'OK'.
I didn't have this problem in FreeBSD 14.1, but upgrading to, or installing 14.2 resulted in the infamous 'black screen'. According to the logs the module appeared to have been compiled for 14.1, and was not accepted.
Having no display and no idea what causes it or how to fix it is a big problem for a newcomer! I am very grateful for all the help in the forums.![]()
Buggy?? Seriously? They are compiled for 14.1, this is how FreeBSD works.The CPU is intel ? Have you tried the drm-510-kmod driver? Remember Metaport by default installs the drm-kmod and drm-61-kmod drivers, those drivers for FreeBSD 14.2 RELEASE are buggy. Uninstall those drivers and follow the instructions that the terminal will display.
What to read, if I'm not wrong the drm-61-kmod driver this corrected for FreeBSD 15.0-CURRENTBuggy?? Seriously? They are compiled for 14.1, this is how FreeBSD works.
Once 14.1 is EOLed those drivers will be compiled for 14.2, please don't spread FUD, thank you.
Let's see what we can find.I think the kmods repository only contains drm-kmod packages, [...]
-r FreeBSD-kmods
, it reflects the 'kmods' repository)[1-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | wc -l
44 # count of all packages
[2-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | grep 'drm' | wc -l
2 # count of drm-kmod packages
[3-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | grep 'drm'
drm-515-kmod-5.15.160.1402000_3 # drm-kmod packages by name
drm-61-kmod-6.1.128.1402000_2
[4-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | egrep '(drm|kmod)' | wc -l
38 # count of packages having 'drm' or 'kmod' in their name
[5-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | egrep -v '(drm|kmod)' | wc -l
6 # count of packages having neither 'drm' nor 'kmod' in their name
[6-0] # pkg rquery -x -r FreeBSD-kmods '%n-%v' '.*' | egrep -v '(drm|kmod)'
biosfont-1.3.1.1402000 # list of packages having neither 'drm' nor 'kmod' in their name
ndproxy-3.2.1402000_1
ng_mikrotik_eoip-1.0.1402000
parallels-tools-0.1.2.1402000_1
pwcbsd-1.4.1.1402000_15
uarduno-1.02.1402000_1
[7-0] # pkg rquery -x -r FreeBSD '%n-%v' '.*' | wc -l
35977 # for comparison: all packages build against 14.1-RELEASE using the standard repository
[8-0] #
url: pkg+https://pkg.freebsd.org/${ABI}/kmods_latest_${VERSION_MINOR},
for the latest package repositoriesurl: pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_${VERSION_MINOR},
for the quarterly package repositoriesdrm-kmod
and drm-510-kmod
; but even if you don't take it exactly that way, it's not what you might think.