Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9

Konstantin Belousov kostikbel at gmail.com
Wed Apr 25 05:32:50 UTC 2012


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.
> > 
> > Anyway, enable verbose booting, and show me the kernel messages after
> > kldload i915 is initiated for 14.4 + patch below.
> >
> > [ ........... ]
> 
> Thanks for your response.
> 
> The panic is fixed after your patch was applied, and after kldload i915
> module, I get:
> 
> agp0: <Intel 82855GME (855GME GMCH) SVGA controller> on vgapci0
> agp0: unknown memory configuration, disabling (GCC1 14)
> device_attach: agp0 attach returned 22
> drm0: <Intel i852GM/i855GM GMCH> on vgapci0
> error: [drm:pid1944:drm_load] *ERROR* Card isn't AGP, or couldn't initialize AGP.
> device_attach: drm0 attach returned 12
> 

Please apply patch below on top of 14.4 + previous patch.

commit 86f72619ec308ff62ec77926f9cb5afca635828b
Author: Konstantin Belousov <kib at freebsd.org>
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_driver = {
 	.check_active = agp_i830_check_active,
 	.set_desc = agp_82852_set_desc,
 	.dump_regs = agp_i855_dump_regs,
-	.get_stolen_size = agp_i830_get_stolen_size,
-	.get_gtt_mappable_entries = agp_i830_get_gtt_mappable_entries,
+	.get_stolen_size = agp_i915_get_stolen_size,
+	.get_gtt_mappable_entries = agp_i915_get_gtt_mappable_entries,
 	.get_gtt_total_entries = agp_i810_get_gtt_total_entries,
 	.install_gatt = agp_i830_install_gatt,
 	.deinstall_gatt = agp_i830_deinstall_gatt,
@@ -346,8 +346,8 @@ static const struct agp_i810_driver agp_i810_i865_driver = {
 	.check_active = agp_i830_check_active,
 	.set_desc = agp_i810_set_desc,
 	.dump_regs = agp_i855_dump_regs,
-	.get_stolen_size = agp_i830_get_stolen_size,
-	.get_gtt_mappable_entries = agp_i830_get_gtt_mappable_entries,
+	.get_stolen_size = agp_i915_get_stolen_size,
+	.get_gtt_mappable_entries = agp_i915_get_gtt_mappable_entries,
 	.get_gtt_total_entries = agp_i810_get_gtt_total_entries,
 	.install_gatt = agp_i830_install_gatt,
 	.deinstall_gatt = agp_i830_deinstall_gatt,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20120425/82c6afcd/attachment.pgp


More information about the freebsd-x11 mailing list