From owner-freebsd-x11@freebsd.org Mon Nov 23 22:20:44 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 437BBA36823 for ; Mon, 23 Nov 2015 22:20:44 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from emh03.mail.saunalahti.fi (emh03.mail.saunalahti.fi [62.142.5.109]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "emh07.mail.saunalahti.fi", Issuer "emh07.mail.saunalahti.fi" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D0DEA1FC2 for ; Mon, 23 Nov 2015 22:20:43 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from [192.168.255.112] (91-159-15-56.elisa-laajakaista.fi [91.159.15.56]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 047F318888E for ; Tue, 24 Nov 2015 00:20:39 +0200 (EET) Subject: Re: Haswel / i915 experimental test result To: freebsd-x11@freebsd.org References: <1448285795.1791028.447613585.0739E958@webmail.messagingengine.com> <56538FF1.10202@kapsi.fi> From: Arto Pekkanen Message-ID: <56539136.40205@kapsi.fi> Date: Tue, 24 Nov 2015 00:20:38 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56538FF1.10202@kapsi.fi> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UJ6urTtLElqhq5PbFucDtvWvQEbHSeMuj" 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:20:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UJ6urTtLElqhq5PbFucDtvWvQEbHSeMuj Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable One more thing ... IF your system uses GRUB as boot manager and IF you can provide me a copy= of the GRUB config file, then I could probably try to figure out the sys= tem bootup procedure from it. Just by looking at the GRUB configuration y= ou can see if GRUB directly loads the kernel or if it chainloads specific= block or blocks in a partition. This information would help me to figure= out what component of the bootstrap procedure makes the decision to load= which kernel image file. On 24.11.2015 0:15, Arto Pekkanen wrote: > Do you have the directory /boot/kernel.i915 with the experimental kerne= l files in it? That directory must exist before /boot/loader can boot the= experimental kernel from it. >=20 > If you do > # nextboot -k kernel.i915 > # reboot >=20 > as root, then /boot/loader should boot kernel from /boot/kernel.i915/ke= rnel -file after next reboot. >=20 > The "nextboot -k " -command simply writes a "hint file" in /boo= t -directory, which overrides the default kernel path for /boot/loader. >=20 > 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 in= stallation of any stage0 and/or stage1 bootcode, only a 900k partition wi= th specific type GUID and the file /boot/boot1.efifat written as partitio= n contents with dd) or a standard gpt setup (with /boot/pmbr as stage0 an= d /boot/gptboot as stage1). >=20 > 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 n= extboot hint file at all, unlike /boot/loader. IF (and only IF) GRUB load= s the system kernel image directly from boot partition (emphasis on _dire= ctly_), then you need to somehow configure GRUB to offer a boot menu item= for the specific kernel. Unfortunately I cannot remember how GRUB is con= figured since it been a decade since I last time had to bother configurin= g GRUB.=20 >=20 > You could also ask in PC-BSD forums something like "how do I boot a cus= tom kernel built in /boot/" ... >=20 > 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%20= Linux%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 becau= se >> 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 =20 >> root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC 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"= >> >=20 --UJ6urTtLElqhq5PbFucDtvWvQEbHSeMuj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iF4EAREIAAYFAlZTkTYACgkQTBivhqtJa27uKwEAsUncCp3ly83l+GHinSVLZOfC cYxV11B9Ru0S6w39orkA/0Xl0rPmmMABl0jKaBzOQ/BMetfMza6X54xt7woAQ3zU =vi0e -----END PGP SIGNATURE----- --UJ6urTtLElqhq5PbFucDtvWvQEbHSeMuj--