Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Apr 2012 22:02:19 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Jose Garcia Juanino <jjuanino@gmail.com>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Loading i915 module panics my system after patching with Intel GPU patch 14.4 for stable/9
Message-ID:  <20120426190219.GU2358@deviant.kiev.zoral.com.ua>
In-Reply-To: <20120426184933.GA2328@banach>
References:  <20120424184459.GB2455@banach> <20120424194123.GC2358@deviant.kiev.zoral.com.ua> <20120424201526.GA2045@banach> <20120425053243.GF2358@deviant.kiev.zoral.com.ua> <20120426184933.GA2328@banach>

next in thread | previous in thread | raw e-mail | index | archive | help

--k+y6GK5QJpEoQlq8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 26, 2012 at 08:49:35PM +0200, Jose Garcia Juanino wrote:
> El mi?rcoles 25 de abril a las 07:32:43 CEST, Konstantin Belousov escribi=
?:
> >=20
> > Please apply patch below on top of 14.4 + previous patch.
> >=20
> > commit 86f72619ec308ff62ec77926f9cb5afca635828b
> > Author: Konstantin Belousov <kib@freebsd.org>
> > Date:   Wed Apr 25 08:30:37 2012 +0300
> >=20
> >     Specify right chipset methods for 855/865.
> >=20
> > [ .......... ]
>=20
> Hi,
>=20
> 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.
>=20
> From a remote ssh session, the kernel messages show the following:
>=20
>=20
>=20
> Apr 26 19:41:24 riemann kernel: vgapci0: <VGA-compatible display> port 0x=
c000-0xc007 mem 0xf0000000-0xf7ffffff,0xfaf80000-0xfaffffff irq 11 at devic=
e 2.0 on pci0
> Apr 26 19:41:24 riemann kernel: agp0: <Intel 82855GME (855GME GMCH) SVGA =
controller> on vgapci0
> Apr 26 19:41:24 riemann kernel: agp0: aperture size is 128M, detected 892=
k 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: <VGA-compatible display> mem 0xe=
8000000-0xefffffff,0xfaf00000-0xfaf7ffff at device 2.1 on pci0
>=20
> ....................
>=20
> # kldload i915 here
>=20
> Apr 26 19:43:05 riemann kernel: drm0: <Intel i852GM/i855GM GMCH> on vgapc=
i0
> 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-0x800=
03fff) for rid 100 of drm0
> Apr 26 19:43:05 riemann kernel: iicbus0: <Philips I2C bus> on iicbb0 addr=
 0xc7
> Apr 26 19:43:05 riemann kernel: iic0: <I2C generic I/O> on iicbus0
> Apr 26 19:43:05 riemann kernel: iic1: <I2C generic I/O> on iicbus1
> Apr 26 19:43:05 riemann kernel: iicbus2: <Philips I2C bus> on iicbb1 addr=
 0x0
> Apr 26 19:43:05 riemann kernel: iic2: <I2C generic I/O> on iicbus2
> Apr 26 19:43:05 riemann kernel: iic3: <I2C generic I/O> on iicbus3
> Apr 26 19:43:05 riemann kernel: iicbus4: <Philips I2C bus> on iicbb2 addr=
 0x0
> Apr 26 19:43:05 riemann kernel: iic4: <I2C generic I/O> on iicbus4
> Apr 26 19:43:05 riemann kernel: iic5: <I2C generic I/O> on iicbus5
> Apr 26 19:43:05 riemann kernel: iicbus6: <Philips I2C bus> on iicbb3 addr=
 0x0
> Apr 26 19:43:05 riemann kernel: iic6: <I2C generic I/O> on iicbus6
> Apr 26 19:43:05 riemann kernel: iic7: <I2C generic I/O> on iicbus7
> Apr 26 19:43:05 riemann kernel: iicbus8: <Philips I2C bus> on iicbb4 addr=
 0x0
> Apr 26 19:43:05 riemann kernel: iic8: <I2C generic I/O> on iicbus8
> Apr 26 19:43:05 riemann kernel: iic9: <I2C generic I/O> on iicbus9
> Apr 26 19:43:05 riemann kernel: iicbus10: <Philips I2C bus> on iicbb5 add=
r 0x0
> Apr 26 19:43:05 riemann kernel: iic10: <I2C generic I/O> on iicbus10
> Apr 26 19:43:05 riemann kernel: iic11: <I2C generic I/O> on iicbus11
> Apr 26 19:43:05 riemann kernel: iicbus12: <Philips I2C bus> on iicbb6 add=
r 0x0
> Apr 26 19:43:05 riemann kernel: iic12: <I2C generic I/O> on iicbus12
> Apr 26 19:43:05 riemann kernel: iic13: <I2C generic I/O> on iicbus13
> Apr 26 19:43:05 riemann kernel: iicbus14: <Philips I2C bus> on iicbb7 add=
r 0x0
> Apr 26 19:43:05 riemann kernel: iic14: <I2C generic I/O> on iicbus14
> Apr 26 19:43:05 riemann kernel: iic15: <I2C generic I/O> on iicbus15
> Apr 26 19:43:05 riemann kernel: info: [drm] Supports vblank timestamp cac=
hing Rev 1 (10.10.2010).
> Apr 26 19:43:05 riemann kernel: info: [drm] Driver supports precise vblan=
k timestamp query.
> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_detect_pch] No PCH=
 detected
> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:init_vbt_defaults] Set d=
efault 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 di=
splay pipes available.
> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_modeset_init] plan=
e 0 init failed: -19
> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:intel_modeset_init] plan=
e 1 init failed: -19
These errors can be ignored.

> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:drm_do_probe_ddc_edid] i=
icbus_transfer countdown 5 error 0
> Apr 26 19:43:05 riemann kernel: [drm:KMS:pid1949:drm_do_probe_ddc_edid] i=
icbus_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=
 size - (0x00015455) A: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO=
 size - (0x00015455) B: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO wat=
ermarks - A: 40, B: 40
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting =
FIFO 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=
 size - (0x00015455) A: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO=
 size - (0x00015455) B: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO wat=
ermarks - A: 40, B: 40
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting =
FIFO watermarks - A: 40, B: 40, C: 2, SR 1
> Apr 26 19:43:07 riemann kernel: drm0: taking over the fictitious range 0x=
f0000000-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_=
connector_modes] [CONNECTOR:5:LVDS-1]
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_=
connector_modes] [CONNECTOR:5:LVDS-1] probed modes :
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_mode_debug_printmode=
line] Modeline 13:"1024x768" 60 65000 1024 1048 1184 1344 768 771 777 806 0=
x48 0xa
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_=
connector_modes] [CONNECTOR:11:VGA-1]
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_get_load_detect_pi=
pe] [CONNECTOR:11:VGA-1], [ENCODER:12:DAC-12]
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_get_load_detect_pi=
pe] 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=
 for pipe A:
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:drm_mode_debug_printmode=
line] 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] v=
blank wait timed out
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_wait_for_vblank] v=
blank wait timed out
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_plane] Writi=
ng 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=
 size - (0x00015455) A: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO=
 entries required for mode: 20
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO=
 watermark level: 20
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO=
 size - (0x00015455) B: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO wat=
ermarks - A: 20, B: 40
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting =
FIFO 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=
 size - (0x00015455) A: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO=
 entries required for mode: 20
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:intel_calculate_wm] FIFO=
 watermark level: 20
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO=
 size - (0x00015455) B: 42
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO wat=
ermarks - A: 20, B: 40
> Apr 26 19:43:07 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting =
FIFO 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] v=
blank wait timed out
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_crt_load_detect] s=
tarting load-detect on CRT
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intel_release_load_detec=
t_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=
 size - (0x00015455) A: 42
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i85x_get_fifo_size] FIFO=
 size - (0x00015455) B: 42
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] FIFO wat=
ermarks - A: 40, B: 40
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:i9xx_update_wm] Setting =
FIFO watermarks - A: 40, B: 40, C: 2, SR 1
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_helper_probe_single_=
connector_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] c=
onnector 5 enabled? yes
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_enable_connectors] c=
onnector 11 enabled? no
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] lo=
oking for cmdline mode on connector 5
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] lo=
oking for preferred mode on connector 5
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_target_preferred] fo=
und mode 1024x768
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_setup_crtcs] picking=
 CRTCs for 2048x2048 config
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:drm_setup_crtcs] desired=
 mode 1024x768 set on crtc 4
> Apr 26 19:43:09 riemann kernel: [drm:KMS:pid1949:intelfb_create] allocate=
d 1024x768 fb: 0x00020000, bo 0xc75c9b00
> Apr 26 19:43:09 riemann kernel: info: [drm] Initialized i915 1.6.0 200807=
30
> Apr 26 19:43:19 riemann kernel: [drm:KMS:pid0:output_poll_execute] [CONNE=
CTOR:11:VGA-1] status updated from 2 to 2
>=20
>=20
> 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.

Does the right image appear ? What do you mean by 'weird X session' ?

Non-functioning kbd/mouse has nothing to do with i195.ko.


--k+y6GK5QJpEoQlq8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (FreeBSD)

iEYEARECAAYFAk+Zm7oACgkQC3+MBN1Mb4i4+ACguWn31g0BTA4J9NXYkfIgeOmE
0DAAoJloR0V4Rd5771VV4s+qlJZA1sQx
=3/35
-----END PGP SIGNATURE-----

--k+y6GK5QJpEoQlq8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120426190219.GU2358>