From owner-freebsd-x11@FreeBSD.ORG Thu Apr 26 18:49:41 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 84470106566C for ; Thu, 26 Apr 2012 18:49:41 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 091AA8FC0C for ; Thu, 26 Apr 2012 18:49:40 +0000 (UTC) Received: by weyt57 with SMTP id t57so1219349wey.13 for ; Thu, 26 Apr 2012 11:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-operating-system :user-agent; bh=NiCh8eLlLXno9X3DSsLHfNE9f7jz57/dwSFKoVQBujM=; b=As51Nhjd7p0sUwqoKDIuGJRsa+g05LMSwtPOwJUwySBFgGvHu/TQBN9p+tw+iolAEP /LsKy5+owBnhCdRCgQ50DBEeVbSItROuhRu2LGk0XO+BbQx2ss+dOKlHpZKknyhHTovz MHN1a9TfMeWQAq/76j6y2+nC3IWWhSgcv3Rors7h16LbUL4IfBicYUZXBh7NttoplIlW 1wLvDN/iQoq11vYzg8K1+Z2AVuL06dVe1qC4tgTFx+1bkBkAGCAiBXNXSo1kDgj0OMpR SktrnrVLJfoHXtwagfLtL2zbjn6tPDhXxBkisXylmRX6/KUl0Nds4WxJ2U7yuVnQQ5zu wghA== Received: by 10.216.131.2 with SMTP id l2mr791753wei.3.1335466179958; Thu, 26 Apr 2012 11:49:39 -0700 (PDT) Received: from banach (69.Red-79-153-176.dynamicIP.rima-tde.net. [79.153.176.69]) by mx.google.com with ESMTPS id du4sm1979170wib.10.2012.04.26.11.49.38 (version=SSLv3 cipher=OTHER); Thu, 26 Apr 2012 11:49:39 -0700 (PDT) Date: Thu, 26 Apr 2012 20:49:35 +0200 From: Jose Garcia Juanino To: Konstantin Belousov Message-ID: <20120426184933.GA2328@banach> References: <20120424184459.GB2455@banach> <20120424194123.GC2358@deviant.kiev.zoral.com.ua> <20120424201526.GA2045@banach> <20120425053243.GF2358@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <20120425053243.GF2358@deviant.kiev.zoral.com.ua> X-Operating-System: FreeBSD 9.0-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) 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: Thu, 26 Apr 2012 18:49:41 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El mi=E9rcoles 25 de abril a las 07:32:43 CEST, Konstantin Belousov escribi= =F3: >=20 > Please apply patch below on top of 14.4 + previous patch. >=20 > commit 86f72619ec308ff62ec77926f9cb5afca635828b > Author: Konstantin Belousov > Date: Wed Apr 25 08:30:37 2012 +0300 >=20 > Specify right chipset methods for 855/865. >=20 > [ .......... ] Hi, After the patch was applied, the kldload i915 gives to me a fully blank screen, and it is not possible to revert to a functional screen unless the system be rebooted. However, keystrokes are sent to the console, and it is posible to reboot from here. =46rom a remote ssh session, the kernel messages show the following: Apr 26 19:41:24 riemann kernel: vgapci0: port 0xc0= 00-0xc007 mem 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at device = 2.0 on pci0 Apr 26 19:41:24 riemann kernel: agp0: on vgapci0 Apr 26 19:41:24 riemann kernel: agp0: aperture size is 128M, detected 892k = stolen memory Apr 26 19:41:24 riemann kernel: agp0: AGP_I810_PGTBL_CTL: 4ffe0001 Apr 26 19:41:24 riemann kernel: agp0: AGP_I855_GCC1: 0x14 Apr 26 19:41:24 riemann kernel: agp0: Mappable GTT entries: 32768 Apr 26 19:41:24 riemann kernel: agp0: Total GTT entries: 32768 Apr 26 19:41:24 riemann kernel: vgapci1: mem 0xe80= 00000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0 =2E................... # kldload i915 here Apr 26 19:43:05 riemann kernel: drm0: on vgapci0 Apr 26 19:43:05 riemann kernel: info: [drm] AGP at 0xf0000000 128MB Apr 26 19:43:05 riemann kernel: pcib0: allocated type 3 (0x80000000-0x80003= fff) for rid 100 of drm0 Apr 26 19:43:05 riemann kernel: iicbus0: on iicbb0 addr 0= xc7 Apr 26 19:43:05 riemann kernel: iic0: on iicbus0 Apr 26 19:43:05 riemann kernel: iic1: on iicbus1 Apr 26 19:43:05 riemann kernel: iicbus2: on iicbb1 addr 0= x0 Apr 26 19:43:05 riemann kernel: iic2: on iicbus2 Apr 26 19:43:05 riemann kernel: iic3: on iicbus3 Apr 26 19:43:05 riemann kernel: iicbus4: on iicbb2 addr 0= x0 Apr 26 19:43:05 riemann kernel: iic4: on iicbus4 Apr 26 19:43:05 riemann kernel: iic5: on iicbus5 Apr 26 19:43:05 riemann kernel: iicbus6: on iicbb3 addr 0= x0 Apr 26 19:43:05 riemann kernel: iic6: on iicbus6 Apr 26 19:43:05 riemann kernel: iic7: on iicbus7 Apr 26 19:43:05 riemann kernel: iicbus8: on iicbb4 addr 0= x0 Apr 26 19:43:05 riemann kernel: iic8: on iicbus8 Apr 26 19:43:05 riemann kernel: iic9: on iicbus9 Apr 26 19:43:05 riemann kernel: iicbus10: on iicbb5 addr = 0x0 Apr 26 19:43:05 riemann kernel: iic10: on iicbus10 Apr 26 19:43:05 riemann kernel: iic11: on iicbus11 Apr 26 19:43:05 riemann kernel: iicbus12: on iicbb6 addr = 0x0 Apr 26 19:43:05 riemann kernel: iic12: on iicbus12 Apr 26 19:43:05 riemann kernel: iic13: on iicbus13 Apr 26 19:43:05 riemann kernel: iicbus14: on iicbb7 addr = 0x0 Apr 26 19:43:05 riemann kernel: iic14: on iicbus14 Apr 26 19:43:05 riemann kernel: iic15: on iicbus15 Apr 26 19:43:05 riemann kernel: info: [drm] Supports vblank timestamp cachi= ng Rev 1 (10.10.2010). Apr 26 19:43:05 riemann kernel: info: [drm] Driver supports precise vblank = timestamp query. Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_detect_pch] No PCH d= etected Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:init_vbt_defaults] Set def= ault to SSC at 66MHz Apr 26 19:43:05 riemann kernel: info: [drm] failed to find VBIOS tables Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_modeset_init] 2 disp= lay pipes available. Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_modeset_init] plane = 0 init failed: -19 Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_modeset_init] plane = 1 init failed: -19 Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:drm_do_probe_ddc_edid] iic= bus_transfer countdown 5 error 0 Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:drm_do_probe_ddc_edid] iic= bus_transfer countdown 5 error 0 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_update_fbc]=20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) A: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) B: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO water= marks - A: 40, B: 40 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting FI= FO watermarks - A: 40, B: 40, C: 2, SR 1 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_update_fbc]=20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) A: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) B: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO water= marks - A: 40, B: 40 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting FI= FO watermarks - A: 40, B: 40, C: 2, SR 1 Apr 26 19:43:07 riemann kernel: drm0: taking over the fictitious range 0xf0= 000000-0xf7fff000 Apr 26 19:43:07 riemann kernel: info: [drm] initialized overlay support Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_co= nnector_modes] [CONNECTOR:5:LVDS-1] Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_co= nnector_modes] [CONNECTOR:5:LVDS-1] probed modes : Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_mode_debug_printmodeli= ne] Modeline 13:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0x4= 8 0xa Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_co= nnector_modes] [CONNECTOR:11:VGA-1] Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_get_load_detect_pipe= ] [CONNECTOR:11:VGA-1], [ENCODER:12:DAC-12] Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_get_load_detect_pipe= ] creating tmp fb for load-detection Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_crtc_helper_set_mode] = [CRTC:3] Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_crtc_mode_set] Mode f= or pipe A: Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_mode_debug_printmodeli= ne] Modeline 0:"640x480" 0 31500 640 664 704 832 480 489 491 520 0x10 0xa Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_wait_for_vblank] vbl= ank wait timed out Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_wait_for_vblank] vbl= ank wait timed out Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_plane] Writing= base 00020000 00000000 0 0 2560 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_update_fbc]=20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) A: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO e= ntries required for mode: 20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO w= atermark level: 20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) B: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO water= marks - A: 20, B: 40 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting FI= FO watermarks - A: 20, B: 40, C: 2, SR 1 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_crtc_helper_set_mode] = [ENCODER:12:DAC-12] set [MODE:0:640x480] Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) A: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO e= ntries required for mode: 20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO w= atermark level: 20 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) B: 42 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO water= marks - A: 20, B: 40 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting FI= FO watermarks - A: 20, B: 40, C: 2, SR 1 Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_update_fbc]=20 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_wait_for_vblank] vbl= ank wait timed out Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_crt_load_detect] sta= rting load-detect on CRT Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_release_load_detect_= pipe] [CONNECTOR:11:VGA-1], [ENCODER:12:DAC-12] Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_update_fbc]=20 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) A: 42 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO s= ize - (0x00015455) B: 42 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO water= marks - A: 40, B: 40 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting FI= FO watermarks - A: 40, B: 40, C: 2, SR 1 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_co= nnector_modes] [CONNECTOR:11:VGA-1] disconnected Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_setup_crtcs]=20 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_enable_connectors] con= nector 5 enabled? yes Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_enable_connectors] con= nector 11 enabled? no Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] look= ing for cmdline mode on connector 5 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] look= ing for preferred mode on connector 5 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] foun= d mode 1024x768 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_setup_crtcs] picking C= RTCs for 2048x2048 config Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_setup_crtcs] desired m= ode 1024x768 set on crtc 4 Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intelfb_create] allocated = 1024x768 fb: 0x00020000, bo 0xc75c9b00 Apr 26 19:43:09 riemann kernel: info: [drm] Initialized i915 1.6.0 20080730 Apr 26 19:43:19 riemann kernel: [drm:KMS:pid0:output_poll_execute] [CONNECT= OR:11:VGA-1] status updated from 2 to 2 It is possible to execute a "startx" from the blank screen, but the results are a very weird X session, with no functional mouse nor keyboard. Best regards. --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk+ZmL0ACgkQFOo0zaS9RnJuBgCeOR3Yxd+R+zrszluuuYK6m8+b cuMAnR9fTRJhbix8ch2GbfSSjAM1OFKp =ytdj -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--