From owner-freebsd-x11@FreeBSD.ORG Wed Apr 25 05:32:50 2012 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60883106564A for ; Wed, 25 Apr 2012 05:32:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id D23CD8FC08 for ; Wed, 25 Apr 2012 05:32:49 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q3P5WhTX035091; Wed, 25 Apr 2012 08:32:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q3P5WhNn043934; Wed, 25 Apr 2012 08:32:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q3P5WhAM043933; Wed, 25 Apr 2012 08:32:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 25 Apr 2012 08:32:43 +0300 From: Konstantin Belousov To: Jose Garcia Juanino Message-ID: <20120425053243.GF2358@deviant.kiev.zoral.com.ua> References: <20120424184459.GB2455@banach> <20120424194123.GC2358@deviant.kiev.zoral.com.ua> <20120424201526.GA2045@banach> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/t4lthCbeA8G1uhS" Content-Disposition: inline In-Reply-To: <20120424201526.GA2045@banach> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-x11@freebsd.org Subject: Re: Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2012 05:32:50 -0000 --/t4lthCbeA8G1uhS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 24, 2012 at 10:15:27PM +0200, Jose Garcia Juanino wrote: > El martes 24 de abril a las 21:41:23 CEST, Konstantin Belousov escribi?: > > Apply the patch below on top of 14.4. Most likely, it would cure the > > panic on agp attach failure. > >=20 > > Anyway, enable verbose booting, and show me the kernel messages after > > kldload i915 is initiated for 14.4 + patch below. > > > > [ ........... ] >=20 > Thanks for your response. >=20 > The panic is fixed after your patch was applied, and after kldload i915 > module, I get: >=20 > agp0: on vgapci0 > agp0: unknown memory configuration, disabling (GCC1 14) > device_attach: agp0 attach returned 22 > drm0: on vgapci0 > error: [drm:pid1944:drm_load] *ERROR* Card isn't AGP, or couldn't initial= ize AGP. > device_attach: drm0 attach returned 12 >=20 Please apply patch below on top of 14.4 + previous patch. commit 86f72619ec308ff62ec77926f9cb5afca635828b Author: Konstantin Belousov Date: Wed Apr 25 08:30:37 2012 +0300 Specify right chipset methods for 855/865. diff --git a/sys/dev/agp/agp_i810.c b/sys/dev/agp/agp_i810.c index 1b0c60d..a181ad7 100644 --- a/sys/dev/agp/agp_i810.c +++ b/sys/dev/agp/agp_i810.c @@ -323,8 +323,8 @@ static const struct agp_i810_driver agp_i810_i855_drive= r =3D { .check_active =3D agp_i830_check_active, .set_desc =3D agp_82852_set_desc, .dump_regs =3D agp_i855_dump_regs, - .get_stolen_size =3D agp_i830_get_stolen_size, - .get_gtt_mappable_entries =3D agp_i830_get_gtt_mappable_entries, + .get_stolen_size =3D agp_i915_get_stolen_size, + .get_gtt_mappable_entries =3D agp_i915_get_gtt_mappable_entries, .get_gtt_total_entries =3D agp_i810_get_gtt_total_entries, .install_gatt =3D agp_i830_install_gatt, .deinstall_gatt =3D agp_i830_deinstall_gatt, @@ -346,8 +346,8 @@ static const struct agp_i810_driver agp_i810_i865_drive= r =3D { .check_active =3D agp_i830_check_active, .set_desc =3D agp_i810_set_desc, .dump_regs =3D agp_i855_dump_regs, - .get_stolen_size =3D agp_i830_get_stolen_size, - .get_gtt_mappable_entries =3D agp_i830_get_gtt_mappable_entries, + .get_stolen_size =3D agp_i915_get_stolen_size, + .get_gtt_mappable_entries =3D agp_i915_get_gtt_mappable_entries, .get_gtt_total_entries =3D agp_i810_get_gtt_total_entries, .install_gatt =3D agp_i830_install_gatt, .deinstall_gatt =3D agp_i830_deinstall_gatt, --/t4lthCbeA8G1uhS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk+XjHsACgkQC3+MBN1Mb4gayACdESSjnN+nZ/hCoKAp7zMA0B6K qKwAn21y3XB+dWckQtBQfl9xyyPxIeHd =p69w -----END PGP SIGNATURE----- --/t4lthCbeA8G1uhS--