From owner-freebsd-questions@freebsd.org Thu Jan 21 00:27:03 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 97DBB4DE585 for ; Thu, 21 Jan 2021 00:27:03 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4DLjrR3CDXz4VqC for ; Thu, 21 Jan 2021 00:27:03 +0000 (UTC) (envelope-from chris@monochrome.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6C1614DE584; Thu, 21 Jan 2021 00:27:03 +0000 (UTC) Delivered-To: questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6BDA64DE48A for ; Thu, 21 Jan 2021 00:27:03 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (static-71-163-255-121.washdc.fios.verizon.net [71.163.255.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail", Issuer "mail" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLjrQ0MTZz4W5H for ; Thu, 21 Jan 2021 00:27:01 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from tripel.monochrome.org (tripel.monochrome.org [192.168.1.11]) by mail.monochrome.org (8.15.2/8.15.2) with ESMTP id 10L0QtJf010776 for ; Wed, 20 Jan 2021 19:26:55 -0500 (EST) (envelope-from chris@monochrome.org) Date: Wed, 20 Jan 2021 19:26:55 -0500 (EST) From: Chris Hill To: FreeBSD Questions List Subject: drm-kmod kills FreeBSD Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4DLjrQ0MTZz4W5H X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of chris@monochrome.org has no SPF policy when checking 71.163.255.121) smtp.mailfrom=chris@monochrome.org X-Spamd-Result: default: False [-2.03 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[chris]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.163.255.121:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[monochrome.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[71.163.255.121:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-0.98)[-0.985]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.94)[-0.941]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:701, ipnet:71.163.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 00:27:03 -0000 Hello, list. This is a head-scratcher for me; any help or clues will be most welcome. I had been running xorg on 12.2-R [1], but recently had a disk failure and had to reinstall. Although I (thought I had!) kept meticulous notes, the onboard Intel UHD 630 graphics are just not happening. [2] Note, I'm not even to the point of attempting to start X; I'm just trying to get the system to boot and recognize the onboard graphics. I've installed both drm-kmod-g20190710 and drm-fbsd12.0-kmod-4.16.g20201016 (not at the same time) [3], and put kld_list="/boot/modules/i915kms.ko" in /etc/rc.conf, as instructed. When I boot the system like that, it appears to hang partway through the console boot messages. The screen goes blank, and the network interface becomes unresponsive. The remedy is a hard shutdown from the power button, boot from a memstick and remove the offending line from rc.conf. I get the same result from `kldload /boot/modules/i915kms.ko`. I *think* it's hanging in the neighborhood of loading drm; a dmesg I saved from a pre-failure successful boot has lines like drmn0: on vgapci0 and [drm] Connector DP-1: get mode from tunables: ...where we currently see none of that. Thanks very much. [1] The hardware is a Dell Precision 3630 tower workstation. The OS is a fresh install, with freebsd-update applied just after. $ uname -mvU FreeBSD 12.2-RELEASE-p1 GENERIC amd64 1202000 [2] The graphics system appears thus in the output of `pciconf -lv`: vgapci0@pci0:0:2:0: class=0x030000 card=0x08711028 chip=0x3e928086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'UHD Graphics 630 (Desktop)' class = display subclass = VGA [3] As of this writing, I have $ pkg info drm-fbsd12.0-kmod-4.16.g20201016 DRM modules for the linuxkpi-based KMS components gpu-firmware-kmod-g20201213 Firmware modules for the linuxkpi-based KMS components pkg-1.16.1 Package manager -- Chris Hill chris@monochrome.org