Article View: muc.lists.freebsd.stable
Article #5215.2-BETA2: kernel panic with drm-kmod when following the freebsd-update procedure
From: Takashi Shimizu
Date: Thu, 19 Nov 2026 09:11
Date: Thu, 19 Nov 2026 09:11
42 lines
5003 bytes
5003 bytes
Hello, I upgraded my Xorg desktop (AMD GPU, drm-66-kmod installed from packages) from 15.1-RELEASE-p7 to 15.2-BETA2 by following section 1 (freebsd-update) of the 15.2-BETA2 announcement. The system panicked on the first reboot, when drm-66-kmod was loaded. It is the same problem I hit when upgrading from 15.0 to 15.1. Section 2 (pkgbase) of the announcement has a step to update third-party kmods such as drm-kmod, but section 1 (freebsd-update) has no such step. Section 3 explains how to check for third-party kmods, but it comes after the upgrade steps, and it does not say what freebsd-update users should do when kmods are found. If the system panics, the command cannot be run at all. What worked for me was to comment out kld_list and the display manager in /etc/rc.conf before the first reboot, then rebuild drm-66-kmod from ports after the upgrade. I would suggest that the announcement for freebsd-update users: 1. runs the kmods check before the upgrade steps, and 2. says that if third-party kmods are found, remove them from kld_list in advance, and rebuild them from ports after the upgrade. Without this, users who follow the announcement exactly end up with a system that does not boot. Is this the right place to raise it, or should I file a PR? Thank you. Best regards Takashi Shimizu -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<93e0696d-d061-4596-ba14-dac426a355ae@shirt.ocn.ne.jp>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!sewer!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!sewer!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Takashi Shimizu <qqyr7xx9k@shirt.ocn.ne.jp> Newsgroups: muc.lists.freebsd.stable Subject: 15.2-BETA2: kernel panic with drm-kmod when following the freebsd-update procedure Date: Thu, 19 Nov 2026 18:11:06 +0900 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <93e0696d-d061-4596-ba14-dac426a355ae@shirt.ocn.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="56352"; mail-complaints-to="news-admin@muc.de" User-Agent: Mozilla Thunderbird DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795079487; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=TyN2YujwKEFn8pSehMQJ+WOnvv13f8O0PUSU4hgALpk=; b=l81mcjLItZphrZ7aUT6fCwSa7Y4Bxe4Gq5QM5+g5DHAMRTXKuFG0TF8Wxz9xXLx+6NVwOK RMnvkdXp6hmXS3Ky5yHodYyVcVbOMkkUGgj6ASF28fv9Z77owqEESEzZpjBRaHcxewXx6/ tUVy7mULK4x1VnaRrkb8fk+MMNxu8OV5H8GMxGsVkwcFsiKLvWuQqIKITmnAI/SZ1jxEGQ o/46fp2jeIRX3Af4xUI0J3ittY046yCbGSsktZsDdZIiolXLWf9l/tvIw3AuFw8Aku7qoq ZP1jAmXbHWWrDjcke4KUCIOAV/qIa22VMCABf/eKFI3fCW+sgwBZ4/KS7P2fUw== X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shirt.ocn.ne.jp header.s=20240118 header.b=EXe0rXZ7; spf=pass (mx1.freebsd.org: domain of qqyr7xx9k@shirt.ocn.ne.jp designates 122.28.130.104 as permitted sender) smtp.mailfrom=qqyr7xx9k@shirt.ocn.ne.jp; dmarc=pass (policy=reject) header.from=shirt.ocn.ne.jp DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=shirt.ocn.ne.jp; s=20240118; t=1795079467; bh=ocxnnAQtyPfVCsuQgih5oRSpdhO5N0wXvL/kvlN5FKY=; h=Date:To:From:Subject:From; b=EXe0rXZ7C8UQPajlUm0b0ZgoaJjew1RE3GfMA38ucM9Y6mh26YFaVOGA9z/n/2dYC h134YZ8plnvTspweMe+6/0zUjTFhuM2dP5/oKbljsEXsWP+zjb39crxgDuGSmgPEyR IN57uKDh61BLP+WzNfSmlwT+mA1UxiNgFYm6cwlkODxHPDIT+GJ7y0K4AhMc0qA23Z U/NIJWzRvsUSmYYXmcTvqcxtSjm9a/oXLtIFCTxSw3TzMfJ8+buW6MkwEDO8aTXOUW EJto7wWMoNsk2Iun5RbuYB4JczTeQr5z3cTKBEpWVYNhgYM997sAOYGvl8PVdWaCSE Qs8NJZQhb9yGA== Precedence: list Content-Language: en-US X-Rspamd-Queue-Id: 4jVXl32RWjz4h9p X-Spamd-Bar: - X-Spamd-Result: default: False [-1.00 / 15.00]; DMARC_POLICY_ALLOW(-0.50)[shirt.ocn.ne.jp,reject]; R_DKIM_ALLOW(-0.20)[shirt.ocn.ne.jp:s=20240118]; R_SPF_ALLOW(-0.20)[+ip4:122.28.130.64/26]; MIME_GOOD(-0.10)[text/plain]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:4713, ipnet:122.16.0.0/12, country:JP]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[shirt.ocn.ne.jp:+] X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes