Re: Unable to load i915kms

From: Kevin Oberman <kob6558_at_gmail.com>
Date: Sat, 28 Jul 2012 21:49:18 -0700
On Sat, Jul 28, 2012 at 9:20 PM, Denny Lin <dennylin93_at_hs.ntnu.edu.tw> wrote:
> On Sun, Jul 29, 2012 at 10:59:54AM +0700, Erich Dollansky wrote:
>> this seems to be wrong:
>>
>> > 13    1 0xffffffff8167a000 7019     i915.ko
>> > 14    1 0xffffffff81682000 111c4    drm.ko
>> >
>> From 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?
>
> Both are built by default, but only drm.ko and i915.ko are loaded
> automatically. i915kms.ko has to loaded manually:
> http://lists.freebsd.org/pipermail/freebsd-x11/2012-May/011857.html
>
> I do have i915kms and drm2.ko, but every time I try to load i915kms.ko,
> the computer blacks out.
>
>> > I have WITH_KMS=YES and WITH_NEW_XORG=YES in /etc/make.conf. I also
>> > rebuilt xorg-* and xf86-video-intel after updating to r238858.
>> >
>> > 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.
>> >
>> I did not touch this machine since 16.07.12.
>>
>> Maybe your patches affected something. Can you download a fresh source
>> tree?
>
> I used a new checkout when I updated to r238858, so this shouldn't be
> a problem.

You are working too hard from old information. Do not attempt to load
i915kms.ko. Do not attempt to load drm2.ko. For the past months the
drivers have been fixed to automatically load all needed drivers and
kernel modules when Xorg is started. My Sandybridge behaves just like
your system if I try to manually load i915kms.ko. Screen goes black
and that is the end.

Oh, and you didn't mention libdrm. It should be built with WITH_KMS, too.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6558_at_gmail.com
Received on Sun Jul 29 2012 - 02:49:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC