Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 10:59:54 +0700
From:      Erich Dollansky <erichfreebsdlist@ovitrap.com>
To:        Denny Lin <dennylin93@hs.ntnu.edu.tw>
Cc:        freebsd-x11@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Unable to load i915kms
Message-ID:  <20120729105954.7de47bbf@AMD620.ovitrap.com>
In-Reply-To: <20120729015350.GH72464@mail.hs.ntnu.edu.tw>
References:  <20120729015350.GH72464@mail.hs.ntnu.edu.tw>

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

On Sun, 29 Jul 2012 09:53:50 +0800
Denny Lin <dennylin93@hs.ntnu.edu.tw> wrote:
>=20
> I updated to r238858 yesterday, but I was unable to load i915kms (I
> tried loading it manually and putting it in /boot/loader.conf). The
> computer becomes unresponsive and the screen turns black in either
> case. I'm using the GENERIC kernel with WITNESS and INVARIANTS
> disabled.
>=20
> Output of pciconf -lvb:
> vgapci1@pci0:0:2:0:	class=3D0x030000 card=3D0x15f21043
> chip=3D0x01168086 rev=3D0x09 hdr=3D0x00 vendor     =3D 'Intel Corporation'
>     device     =3D '2nd Generation Core Processor Family Integrated
> Graphics Controller' class      =3D display
>     subclass   =3D VGA
>     bar   [10] =3D type Memory, range 64, base 0xdd400000, size
> 4194304, enabled bar   [18] =3D type Prefetchable Memory, range 64,
> base 0xb0000000, size 268435456, enabled bar   [20] =3D type I/O Port,
> range 32, base 0xe000, size 64, enabled
>=20
> Modules loaded at boot:
> Id Refs Address            Size     Name
>  1   38 0xffffffff80200000 12c57f0  kernel
>  2    1 0xffffffff814c6000 70a8     acpi_video.ko
>  3    1 0xffffffff814ce000 6568     cuse4bsd.ko
>  4    1 0xffffffff81612000 cea0     geom_eli.ko
>  5    1 0xffffffff8161f000 1abc1    crypto.ko
>  6    1 0xffffffff8163a000 a4f9     zlib.ko
>  7    1 0xffffffff81645000 15e2     fdescfs.ko
>  8    1 0xffffffff81647000 3daf     linprocfs.ko
>  9    1 0xffffffff8164b000 1eeb2    linux.ko
> 10    1 0xffffffff8166a000 2393     ums.ko
> 11    1 0xffffffff8166d000 17d3     uhid.ko
> 12    1 0xffffffff8166f000 a9f3     fuse.ko

this seems to be wrong:

> 13    1 0xffffffff8167a000 7019     i915.ko
> 14    1 0xffffffff81682000 111c4    drm.ko
>=20
=46rom my machine:

 2    1 0xffffffff817e4000 aee0     sem.ko
 3    1 0xffffffff81a12000 9db3     linprocfs.ko
 4    1 0xffffffff81a1c000 587a5    linux.ko
 5    1 0xffffffff81a75000 3900     ums.ko
 6    1 0xffffffff81a79000 2b0d     uhid.ko
 7    1 0xffffffff81a7c000 1b7a1    ng_btsocket.ko
 8    1 0xffffffff81a98000 ba58     netgraph.ko
 9    1 0xffffffff81aa4000 118b     ng_bluetooth.ko
10    1 0xffffffff81aa6000 a9f3     fuse.ko
11    1 0xffffffff81ab1000 69298    i915kms.ko
12    1 0xffffffff81b1b000 1ba2     iicbb.ko
13    4 0xffffffff81b1d000 1ddb     iicbus.ko
14    1 0xffffffff81b1f000 1cd5     iic.ko
15    1 0xffffffff81b21000 32386    drm2.ko
16    1 0xffffffff81b54000 241      acpi_call.ko

So, why did drm.ko and i915.ko make it into your kernel?

> I have WITH_KMS=3DYES and WITH_NEW_XORG=3DYES in /etc/make.conf. I also
> rebuilt xorg-* and xf86-video-intel after updating to r238858.
>=20
> Xorg previously worked on my laptop with all.14.3.patch on top of
> -CURRENT from around mid-April, so I'm not sure what went wrong.
>=20
I did not touch this machine since 16.07.12.

Maybe your patches affected something. Can you download a fresh source
tree?

Erich



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