From owner-freebsd-x11@freebsd.org Mon Nov 23 22:30:45 2015 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3B22A36A66 for ; Mon, 23 Nov 2015 22:30:45 +0000 (UTC) (envelope-from isaac@mm.st) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 729E71472 for ; Mon, 23 Nov 2015 22:30:45 +0000 (UTC) (envelope-from isaac@mm.st) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 832E320AB1 for ; Mon, 23 Nov 2015 17:30:44 -0500 (EST) Received: from web4 ([10.202.2.214]) by compute2.internal (MEProxy); Mon, 23 Nov 2015 17:30:44 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=mm.st; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=yR0SisI0zEcHtxT5GjONUqD4VfY=; b=BijdGa rNfgO/HryzMpTG4ktsimFPN4aE4ZKEC24CTAaqw0tpWZhmywrijYeqDYcNIGU/DI K55NXAJGZPfnovF65NVfwTKpt/iCj5CZF7fD/CKqY/z8dEiGz34KPFurF7pS/ddm BbO48aLTKaj7SgRq77r5kqDGVcdfL2/lXx1QE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=yR0SisI0zEcHtxT 5GjONUqD4VfY=; b=lmr8+XAAcLEkWC3bbPCgmYP0cFxL1jR4rkXNTqqXlk1Lprr opTx4dPDnZQdjptUAeGi3nIwK6TBsU5oubrnzmqs0Ixnqr5i5RljvUgE4OFKL7TC 6CeF0p1Qh6Rh3TcuIFc3TQfBh9sltEjTcsMKjaZJt6cZUBMX4PvV0KwzYBPA= Received: by web4.nyi.internal (Postfix, from userid 99) id 3D4E210AEBB; Mon, 23 Nov 2015 17:30:44 -0500 (EST) Message-Id: <1448317844.2634413.448146337.481BB57A@webmail.messagingengine.com> X-Sasl-Enc: H7W3ElqA+KROmdlxJCzkdfU091/UJ/Bm6tmoVUvQitCX 1448317844 From: Isaac Raway To: freebsd-x11@freebsd.org MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface - ajax-0a80c2aa In-Reply-To: <56538FF1.10202@kapsi.fi> References: <1448285795.1791028.447613585.0739E958@webmail.messagingengine.com> <56538FF1.10202@kapsi.fi> Subject: Re: Haswel / i915 experimental test result Date: Mon, 23 Nov 2015 16:30:44 -0600 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 22:30:45 -0000 Yes, /boot/kernel.i915 contains the new kernel. I use UEFI boot, grub has always been really hard to setup on this machine. I used this bit you quote from the page to try to boot into the kernel: # nextboot -k kernel.i915 reboot But this is making me think it really didn't work because that's the wrong diredtory that it is loading i915kms from, and I think we're looking for i915.ko anyway -- which isn't listed at all. $ kldstat -v|grep i915 44=A0=A0=A0 1 0xffffffff8248d000 6c2bb=A0=A0=A0 i915= kms.ko (/boot/kernel/i915kms.ko)=A0=A0 =A0=A0=A0 =A0537 vgapci/i915kms I'll try to find more info on booting an alternative kernel with PC- BSD and UEFI. IJR On Mon, Nov 23, 2015, at 04:15 PM, Arto Pekkanen wrote: > Do you have the directory /boot/kernel.i915 with the experimental > kernel files in it? That directory must exist before /boot/loader can > boot the experimental kernel from it. > > If you do > # nextboot -k kernel.i915 reboot > > as root, then /boot/loader should boot kernel from > /boot/kernel.i915/kernel -file after next reboot. > > The "nextboot -k " -command simply writes a "hint file" in > /boot -directory, which overrides the default kernel path for > /boot/loader. > > If these instructions do not help, then problem is that I just have no > idea how a PC-BSD system has been set up. I don't use PC-BSD or even > ZFS myself. I only use base FreeBSD 10.2 with UEFI (which does not > require installation of any stage0 and/or stage1 bootcode, only a 900k > partition with specific type GUID and the file /boot/boot1.efifat > written as partition contents with dd) or a standard gpt setup (with > /boot/pmbr as stage0 and /boot/gptboot as stage1). > > I've heard PC-BSD uses GRUB in some way. Is it possible that GRUB > loads the /boot/kernel directly? If it does, then it does NOT care > about the nextboot hint file at all, unlike /boot/loader. IF (and only > IF) GRUB loads the system kernel image directly from boot partition > (emphasis on __directly__), then you need to somehow configure GRUB to > offer a boot menu item for the specific kernel. Unfortunately I cannot > remember how GRUB is configured since it been a decade since I last > time had to bother configuring GRUB. > > You could also ask in PC-BSD forums something like "how do I boot a > custom kernel built in /boot/" ... > > On 23.11.2015 15:36, Isaac Raway wrote: >> Hello, >> >> I've followed the directions on this page to install the experimental >> i915 kernel: >> >> https://wiki.freebsd.org/Graphics/Update%20i915%20GPU%20driver%20to%20Li= nux%203.8 >> >> I'm not sure that I booted into it correctly (pretty green with BSD >> in general, and only some experience with kernel builds on Linux). I >> have a Dell Latitude E7240 with a Haswell chip. Running PC-BSD 10.2 >> if that matters. I'm uncertain about if the boot did what I think it >> did because the uname output still say's it's a -RELEASE build: >> >> # uname -a >> FreeBSD sebastian 10.2-RELEASE-p4 FreeBSD 10.2-RELEASE-p4 #0: Tue Aug >> 18 15:15:36 UTC 2015 root@amd64- >> builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC=A0 amd64 >> >> The driver doesn't seem to load, using PC-BSD's Display wizard it >> reports a failure then restarts the wizard when I try to start X >> using the intel driver. >> >> I've attached the dmesg output as requested on the above page. Let me >> know if anything else would be useful. >> >> IJR >> >> >> >> _________________________________________________ >> freebsd-x11@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 To >> unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >> > > Email had 1 attachment: > * signature.asc=A0 1k (application/pgp-signature)