From owner-freebsd-x11@FreeBSD.ORG Sun Aug 3 03:57:11 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 475BF9BC for ; Sun, 3 Aug 2014 03:57:11 +0000 (UTC) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask.apl.washington.edu", Issuer "troutmask.apl.washington.edu" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BBA52567 for ; Sun, 3 Aug 2014 03:57:11 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.9/8.14.9) with ESMTP id s733vAoq034499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 2 Aug 2014 20:57:10 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.9/8.14.9/Submit) id s733vA5Q034498; Sat, 2 Aug 2014 20:57:10 -0700 (PDT) (envelope-from sgk) Date: Sat, 2 Aug 2014 20:57:10 -0700 From: Steve Kargl To: Konstantin Belousov Subject: Re: Instant reboot with New Xorg Message-ID: <20140803035710.GA34466@troutmask.apl.washington.edu> References: <20140803024128.GA34242@troutmask.apl.washington.edu> <20140803031506.GL93733@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140803031506.GL93733@kib.kiev.ua> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 03:57:11 -0000 On Sun, Aug 03, 2014 at 06:15:06AM +0300, Konstantin Belousov wrote: > On Sat, Aug 02, 2014 at 07:41:28PM -0700, Steve Kargl wrote: > > > > FreeBSD laptop-kargl.apl.washington.edu 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269385: Fri Aug 1 10:39:21 PDT 2014 root@laptop-kargl.apl.washington.edu:/usr/obj/usr/src/sys/MOBILE i386 > > > > panic: make_dev_credv: bad si_name (error=17, si_name=dri/card0) > > Errno 17 is EEXISTS, since it comes from the devfs node instantiation, > I am almost sure that you have both drm and drm2 in your kernel. Most > likely, drm is compiled in or loaded as module at boot time, while drm2 > is loaded by X server on initialization. That very well could be the problem. drm2 is not documented. laptop-kargl:root[218] grep drm /sys/i386/conf/NOTES device drm # DRM core module required by DRM drivers device i915drm # Intel i830 through i915 ptop-kargl:root[219] grep drm /sys/i386/conf/MOBILE device drm # DRM core module required by DRM drivers device i915drm # Intel i830 through i915 So, yes, I have drm compiled into my kernel. The core file shows Reading symbols from /boot/kernel/drm2.ko.symbols...done. Loaded symbols for /boot/kernel/drm2.ko.symbols So, Xorg is causing something that is called drm2 to be loaded. Unfortunately, drm2 is not documented. laptop-kargl:root[225] apropos drm2 drm2: nothing appropriate Of course, drm isn't documented in a manpage, but it is documented in NOTES. It will take 4 or so hours to rebuild world and kernel. -- Steve