Solved boot hangs after loading i915kms

(Edit: T-Aoki beat me to it ;) )

So, the solution for those who don't build from source is to stay on 14.1
You have another option for 14.2-RELEASE: Possible solution to the drm-kmod kernel mismatch after upgrade from Bapt.

You should be able to get the 14.2-RELEASE specifc package versions after making the mentioned changes to FreeBSD.conf and then follow the command sequence in the message #41: installing drm-kmod. If you already have drm-kmod installed, just step in after that. This even makes a decoupling of drm-kmod and drm-61-kmod unnecessary: drm-61-kmod remains "dependend" on drm-kmod; the same holds for specific 14.2-RELEASE firmware packages/flavors, like for example gpu-firmware-intel-kmod-skylake.
 
I just hit this one this evening, doing a fresh install of 14.2 RELEASE on my thinkpad X201. I isolated the bug down to a manual 'kldload i915kms', which resulted in a blank screen, no VT switching but with the capslock led still responsive so presumably terminal still accepting input. The pkg install -f drm-515-kmod fixed it for me. I checked that Xorg.0.log shows the modesetting driver loaded with glamor accel and DRI driver crocus loaded. So drm-515-kmod appears to work on this hardware.

I'll try the eric/t-aoki thing later, for now I just wanted to get to first base!
 
I saw a merged PR to drm-kmod repository this morning from the Discord arm of the community. Is this for 14.2 or for version 15.0. Also does this PR deal specifically with this issue and is the drm-kmod repository merged in some way to freebsd-src repository.

P.S. for future readers yoooooo. I hope you are doing well. Keep on keeping on.

Link:
drm-kmod repository
 
That patch looks like it would change how VM pages are walked but only for FreeBSD > 15. For 14.2 it would use existing constructs ov vm_page_next() which the commit message indicates "was removed in 15-CURRENT".

I do not know how/if that would get pulled into FreeBSD ports.
 
Back
Top