Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jul 2012 11:59:02 +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:  <20120729115902.6013885f@AMD620.ovitrap.com>
In-Reply-To: <20120729042013.GA22960@mail.hs.ntnu.edu.tw>
References:  <20120729015350.GH72464@mail.hs.ntnu.edu.tw> <20120729105954.7de47bbf@AMD620.ovitrap.com> <20120729042013.GA22960@mail.hs.ntnu.edu.tw>

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

On Sun, 29 Jul 2012 12:20:13 +0800
Denny Lin <dennylin93@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
> 
ok, try to use my script:

http://www.alogreentechnologies.com/freebsd/XonX220

I do not know what this script will do when drm and i915 are already
loaded.

> I do have i915kms and drm2.ko, but every time I try to load
> i915kms.ko, the computer blacks out.

The black screen is normal if you do not start X.
> 
> > > 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.
> 
It could be that the two loaded modules cause the problem.

Erich



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