[Bug 261166] graphics/drm-devel-kmod graphics/drm-current-kmod kernel panics: mi_switch: switch in a critical section

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Jan 2022 12:34:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166

--- Comment #5 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to Graham Perrin from comment #3)

Given the panic with    drm-current-kmod    built, packaged and installed from 
source, I decided to (temporarily) downgrade to
drm-current-kmod-5.4.144.g20211012
built from 61b661339366b6ee95ca1de0667979da9240c6b8 (2021-10-25). 

----

Maybe worth mentioning, at the times of the panics I had: 

% sysrc -f /etc/rc.conf kld_list
kld_list: fusefs radeonkms if_iwlwifi
% 

– loaded, however I was not actually using the driver (no compatible hardware
at the moment). 

No longer. I'm back to just    fusefs radeonkms

----

Also, I nearly always build my CURRENT with GENERIC-NODEBUG. 

Unusually, I'm using GENERIC at the moment. 

----

Let's see how this goes for a few hours, days …


% date ; uptime ; pkg info -x drm-kmod drm-current-kmod drm-devel-kmod
gpu-firmware-kmod
Thu 13 Jan 2022 12:14:37 GMT
12:14p.m.  up 14 mins, 5 users, load averages: 2.47, 3.54, 2.61
drm-kmod-g20190710_1
drm-current-kmod-5.4.144.g20211012
pkg: No package(s) matching drm-devel-kmod
gpu-firmware-kmod-g20210330
% pkg info drm-current-kmod
drm-current-kmod-5.4.144.g20211012
Name           : drm-current-kmod
Version        : 5.4.144.g20211012
Installed on   : Thu Jan 13 11:31:10 2022 GMT
Origin         : graphics/drm-current-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : graphics kld
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod/
Comment        : DRM modules for the linuxkpi-based KMS components
Options        :
        DEBUG          : off
        SOURCE         : off
Annotations    :
        FreeBSD_version: 1400046
        build_timestamp: 2022-01-13T10:42:12+0000
        built_by       : poudriere-git-3.3.99.20211130
        port_checkout_unclean: no
        port_git_hash  : 4519b9e814
        ports_top_checkout_unclean: yes
        ports_top_git_hash: 549b682dc1
        repo_type      : binary
        repository     : poudriere
Flat size      : 10.9MiB
Description    :
amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components.
Currently corresponding to Linux 5.4.114 DRM.
This version is for FreeBSD CURRENT.

WWW: https://github.com/freebsd/drm-kmod/
% uname -aKU
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #15
main-n252381-75d20a5e386: Wed Jan 12 04:39:40 GMT 2022    
root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
1400047 1400047
%

-- 
You are receiving this mail because:
You are the assignee for the bug.