From owner-freebsd-stable@freebsd.org Sun Oct 13 20:12:59 2019 Return-Path: Delivered-To: freebsd-stable@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 DE3B9B4417 for ; Sun, 13 Oct 2019 20:12:59 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (phouka1.phouka.net [107.170.196.116]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "phouka.net", Issuer "Go Daddy Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46rtCt1WRHz4Vbw for ; Sun, 13 Oct 2019 20:12:58 +0000 (UTC) (envelope-from warlock@phouka1.phouka.net) Received: from phouka1.phouka.net (localhost [127.0.0.1]) by phouka1.phouka.net (8.15.2/8.15.2) with ESMTPS id x9DKBZpp077886 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 13 Oct 2019 13:11:36 -0700 (PDT) (envelope-from warlock@phouka1.phouka.net) Received: (from warlock@localhost) by phouka1.phouka.net (8.15.2/8.15.2/Submit) id x9DKBZcN077882; Sun, 13 Oct 2019 13:11:35 -0700 (PDT) (envelope-from warlock) Date: Sun, 13 Oct 2019 13:11:35 -0700 From: John Kennedy To: Chuck Tuffli Cc: freebsd-stable@freebsd.org Subject: Re: Confused about i915kms on 12.1 Message-ID: <20191013201135.GA91243@phouka1.phouka.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46rtCt1WRHz4Vbw X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of warlock@phouka1.phouka.net has no SPF policy when checking 107.170.196.116) smtp.mailfrom=warlock@phouka1.phouka.net X-Spamd-Result: default: False [1.36 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(0.36)[ipnet: 107.170.192.0/18(0.14), asn: 14061(1.71), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[phouka.net]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.02)[0.021,0]; NEURAL_HAM_LONG(-0.22)[-0.224,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[warlock@phouka.net,warlock@phouka1.phouka.net]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:107.170.192.0/18, country:US]; FROM_NEQ_ENVFROM(0.00)[warlock@phouka.net,warlock@phouka1.phouka.net]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2019 20:12:59 -0000 On Sun, Oct 13, 2019 at 12:35:41PM -0700, Chuck Tuffli wrote: > I've been running 12.0-REL on my X1 Carbon 3rd Gen happily with xorg, > but after installing 12.1-RC1, the laptop reboots when loading the > i915kms driver. If I comment out the line in /etc/rc.conf: > > kld_list="/boot/modules/i915kms.ko" > > the laptop boots, albeit without graphics. The above comes from the > 12.0R release notes, and I didn't see any updates to this in the 12.1 > release notes. I've tried drm-kmod from both ports and packages with > the same result. Did something change with 12.1? What should I check? > TIA Not sure how your upgraded your box, but make sure that the driver is compiled for the new kernel. KBI breakage can easily behave like that. I won't be in front of a box with that setup until Monday, but from memory, graphics/drm-kmod pulls in graphics/drm-fbsd12.0-kmod (at least on my system with it's build-in Intel video card). If you do something like this, but substitute your .ko file for m4 below, you should be able to validate the package it came from and the kernel version it was targeted at: $ pkg which /usr/local/bin/*m4 /usr/local/bin/gm4 was installed by package m4-1.4.18_1,1 $ pkg info m4 | grep -i version Version : 1.4.18_1,1 FreeBSD_version: 1201000 That 1201000 means that it was compiled for 12.1 in my case. Have you overridden the default package location, leaving it aimed at 12.0? What do you mean by trying it from "ports"? How did you refresh that? (I'm just fishing for something that would have survived the upgrade process and been locked onto 12.0 vs 12.1 and stopping you from getting a good, recompiled version installed.)