13.1-i386 + drm-kmod + xorg

Is anyone running a combination of 13.1-i386 drm=kmod and xorg successfully?

I've just installed this combination on a ThinkPad X61 and I see boot errors regarding mismatch of kernel and drm-kmod. No such msg is shown by dmesg.
When I run startx the system just hangs and I need a hard reset to stop the system, C-A-D does not work.

I also see errors regarding /lib/libc.so.7 not found.

and kldload can't load i915kms

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



Any suggestions as to where to look?
 
I'll ask a different way.

Is anyone running a combination of 13.2-i386 drm-kmod and xorg successfully?

How do I determine which kernel graphics/drm-kmod depends on?

According to https://www.freshports.org/graphics/drm-kmod, the last version came out a year ago, which was while 13.1 was the latest release version, so why would it stop working?
I think the problem is related to 13.2. I didn't have a problem. I have tested. You can find this out with dmesg output and kldstat. also watch out for problems like dmesg error, warn, firmware
 
According to https://www.freshports.org/graphics/drm-kmod, the last version came out a year ago, which was while 13.1 was the latest release version, so why would it stop working?
It doesn't matter when source was released, what matters (for kernel modules) is the kernel version (i.e. kernel sources) it was built against.

How do I determine which kernel graphics/drm-kmod depends on?
That is the only valid question here if you are using pkgs (otherwise see above, it depends on whatever you have in /usr/src/).

Sadly there does not seem to be a way to get that information from the binary.
It works for userland binaries:
Code:
$ file /bin/ls
/bin/ls: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, stripped
...but the version information is not there for kernel modules (both base and packages):
Code:
$ file /boot/modules/i915kms.ko
/boot/modules/i915kms.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), BuildID[sha1]=011d29dc9a9178c65a290cf6bfd0b80e2b91f164, not stripped
$ file /boot/kernel/zfs.ko
/boot/kernel/zfs.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), BuildID[sha1]=269fb6c03a41a29374a7f7cab036699068069d5a, not stripped

I don't really know what BuildID signifies here, but I can't map it to anything.
 
Assuming that you have graphics/drm-510-kmod, what FreeBSD_version do you get from pkg info drm-510-kmod ?
If it is not something like: 1301XX then it is too recent. The one present in latest branch is: 1302001 so it is for 13.2 .
 
Assuming that you have graphics/drm-510-kmod, what FreeBSD_version do you get from pkg info drm-510-kmod ?
If it is not something like: 1301XX then it is too recent. The one present in latest branch is: 1302001 so it is for 13.2 .
I have

FreeBSD_version: 1302001

In the description it says this version is for FreeBSD 13.1 and above, which implies it should work with 13.1. But just to see if it makes any difference I'll try 13.2.....
 
Well after all that, startx dumps me back at the command prompt.

X.org.log has the very helpful msg:

(EE)
Fatal server error:
(EE) Caught signal 6 (Abort trap). Server aborting.

Earlier there was a msg
(WW) Warning couldn't open module intel


FreeBSD 13.1- amd64 works fine on this machine.
 
Back
Top