Article View: muc.lists.freebsd.bugs
Article #110[Bug 299302] Crash and reboot after startx
From: bugzilla-noreply
Date: Thu, 15 Oct 2026 15:26
Date: Thu, 15 Oct 2026 15:26
56 lines
3935 bytes
3935 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299302
--- Comment #3 from marek <man130117@outlook.com> ---
I have asked Claude for help and this what he found:
Further kgdb analysis: vm_phys_fictitious_tree.rbh_root == NULL, i.e. no
fictitious ranges are registered. The faulting vm_page is the vm_page_array
entry for PFN 0xc0004 (PA 0xC0004000, inside the i915 GTT aperture BAR
0xC0000000–0xCFFFFFFF, in a hole between vm_phys_segs); the whole struct is
uninitialized (random phys_addr, object, ref_count). So the aperture was never
registered via vm_phys_fictitious_reg_range() (or was unregistered). On amd64's
dense vm_page_array, PHYS_TO_VM_PAGE() returns this hole entry, and
lkpi_vmf_insert_pfn_prot_locked()'s NULL check (D53412) can't detect it.
Triggered by xf86-video-intel (SNA GTT mmaps) on Ivy Bridge (HD 4000) with
drm-612-kmod-6.12.110.1501000_3; modesetting+glamor avoids it.
Then - following Claude's advice - I uninstalled `xf86-video-intel` driver and
changed `/usr/local/etc/X11/xorg.conf.d/20-driver.conf` from:
Section "Device"
Identifier "Card0"
Driver "intel"
EndSection
to:
Section "Device"
Identifier "Intel"
Driver "modesetting"
Option "AccelMethod" "glamor"
EndSection
and now it works as it should (GNOME starts, mouse and keyboard work and no
crashes)!
For details see the attached 'kgdb-session.txt' and '299302 - Crash and reboot
after startx.odt'.
I'm not a FreeBSD expert, but I've been using it since version 7 and I've never
seen it crash this badly! What's going on?
--
You are receiving this mail because:
You are the assignee for the bug.
--
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:
<bug-299302-227-TqNffU7lv3@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-299302-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 299302] Crash and reboot after startx Date: Thu, 15 Oct 2026 15:26:10 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-299302-227-TqNffU7lv3@https.bugs.freebsd.org/bugzilla/> References: <bug-299302-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="29397"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792077970; 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: in-reply-to:in-reply-to:references:references; bh=S1SDy/zcv1AdLmo4AMFOe726UdTmSAj4A4MNVmU+uSY=; b=d8DjZwx7amvgar/zVAQI9sBH9GlhTpT0/YqKoOlRQQ5DymiCmHnwqQ6PRLzjtnl/XHNqEk OKH2On4t43As+RWInKjGok/u826L8aumCcyzkVqOxBPlzwTP9VVyjr4vL+3MIscM3RGXy6 ouPZ+FmnRvssGdVE1C50eWV1AfBEk5Wc7cxPpvbo8SHRdYeVg8IAtrOb3O8uRwFQG6AM5A Bc9pIvyQz19B0A+vgHnnucVVtHZKeLcILY3IjjpCsFxx+PAKBzSYd4eas1NypVufAIkBiX pXddTnUkHfs7G6mf0UOeXPl+XjdAuxL/BMFeitlxb61EArGezC/BGSrRKM9Keg== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-299302-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes