I accidentally deleted the file /boot/modules/drm.ko and wonder how to fetch it again.
Does anybody know how to reinstall the file.
I'm using a generic kernel and binary ports.
If missing drm.ko from base:
1. You can download kernel.txz from FreeBSD ftp for your version and extract missing file. For example, this one is for 11.3-RELEASE http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.3-RELEASE/
2. If you have src intalled, you can
Code:
cd /usr/src
make -j4 kernel
You can compile drm only if your machine is dated and full kernel build takes a lot of time, but I don't remember (without Google) how to do it. But it's possible.
I'd choose first option.
If drm.ko from ports:
1. Force reinstall drm-fbsd<freebsd version> port. You can check installed packages to figure out what version of drm-fbsd you have.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.