Kernel panic in 3 different laptops after 15.1 update

They were a 2018 dell inspiron, an x230 thinkpad laptop and a 2020s dell G7. The culprit was intel915 drivers, the nvidia 480 driver (for nvidia gtx 1050ti) also not working.

Dont you think this is too much and needs fixing? Why release a broken upgrade?
 
When happens the panic?
In the x230 and g7 while booting (kernel tries loading i915 module), in dell inspiron frequent random freezes with "kernel page fault". I have fixed the inspiron by replacing drm-612-kmod with drm-66-kmod and fixed x230 by booting single user, deleting drm-kmod and another driver package, and updating by freebsd-upgrade and freebsd-update. In the g7 nothing seems to work (i had kernel panic but after changed some gpu drivers packages has stopped, but no xorg) , i have deinstalled the i915kms module and i have installed the nvidia-480-kmod (for gtx 1050ti) that worked before updrade but no use (maybe the double GPU setting -onboard and discrete- has issues). I have i915kms removed from /etc/rc.conf kld_list (as it seems not working with the several driver modules i tried). The worst thing is that there are no verbose logs, /var/log/xorg.0.log shows gpu loaded and dmesg the same. In fact nvidia-smi gives sane output, but startx starts xorg server that shows frozen in black screen with only mouse visible. How can i debug verbosely into the kernel and relevant xorg procedures?
 
They were a 2018 dell inspiron, an x230 thinkpad laptop and a 2020s dell G7. The culprit was intel915 drivers, the nvidia 480 driver (for nvidia gtx 1050ti) also not working.

Dont you think this is too much and needs fixing? Why release a broken upgrade?
well, the issue was on drm port which is not part of base, so it's not really validated as part of a release (server orientation et all).
Drm drivers are mostly ported/developed by one guy with limited hardware access (and tested mostly on 16).
The original 612 port was released to 15-stable too late on the 15.0 cycle but was more or less ok. On the other hand a recent (in the middle of 15.1) update broke a lot of intel builds due to a kpi change.
there are lots of PRs pending review regarding to graphics.
A recent mesa upgrade in 14.x left all amd users of recent (gcn 1.3+) cards unable to use 3d graphics.
In any case the bottom line is: FreeBSD base is tested, the rest not so much and in any case drm can only be built after a base release.
 
well, the issue was on drm port which is not part of base, so it's not really validated as part of a release (server orientation et all).
Drm drivers are mostly ported/developed by one guy with limited hardware access (and tested mostly on 16).
The original 612 port was released to 15-stable too late on the 15.0 cycle but was more or less ok. On the other hand a recent (in the middle of 15.1) update broke a lot of intel builds due to a kpi change.
there are lots of PRs pending review regarding to graphics.
A recent mesa upgrade in 14.x left all amd users of recent (gcn 1.3+) cards unable to use 3d graphics.
In any case the bottom line is: FreeBSD base is tested, the rest not so much and in any case drm can only be built after a base release.
Ok i understand this, but freebsd according to the freebsd institute is gearing towards laptop use atm. If things like gpu drivers arent working the kernel and base may be ok but the sustem isnt production for many people (that arent using headless servers for example). Im my situation, i did the upgrade because pkg was nagging me with warning messages about version disparencies.
 
Ok i understand this,

Ok i understand this, but freebsd according to the freebsd institute is gearing towards laptop use atm. If things like gpu drivers arent working the kernel and base may be ok but the sustem isnt production for many people (that arent using headless servers for example). Im my situation, i did the upgrade because pkg was nagging me with warning messages about version disparencies.
Agreed, but the foundation and [freebsd] base are two different entities. What the foundation is doing is sponsoring work towards laptop use (i.e. developer time), and frankly FreeBSD is much more useful as a general purpose OS since that work started, [freebsd] base then needs to merge that work in to the base system and the ports repo (i.e. core/mantainer time). What we are missing is alignment and coordination between the foundation and the base people.

On a side note, in my opinion, currently and depending on the usage, FreeBSD would be like this:
  • Server usage (or desktop usage with non accelerated X11 DEs, mostly vesa/framebuffer), 15.x release based, quarterly ports and base repo, minor kmods repo
  • Desktop usage (up to date DEs, wayland based, etc), 15-stable based, latest ports repo, latest base repo, latest kmods repo
  • Development, current based, same as stable
FreeBSD only has one version of each package (excepting special cases) per ports branch so other than rolling back to the previous branch (i.e. from latest to weekly) and with the hope that works (most of the times yes) your option for drm packages is known how to build from ports when needed and be ready to also throw in some kernel patches on occasion.

Additionally, this forum, while not super user-friendly (as in skill level, not actual friendliness), has really good information and people that are actually helpful. Few core/porst developers though :P
 
Back
Top