<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:936527128;
mso-list-type:hybrid;
mso-list-template-ids:1980118734 -807612148 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
color:navy;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Well it’s taken me a while (well a week) to
get to this point as I had to learn all about using git and building the full
Xorg set of code. But in an attempt to see whether Intel 2.5.1 would help the
problems I’m seeing on a 945G based system I did the following:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'><span style='mso-list:Ignore'>1)<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Pulled/built the mainline
2.6.28-rc8 kernel from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
so I could get 2.6.28-rc8 as I believe (?) this will have the latest drm.ko and
i915.ko (or am I wrong about that?)<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><font
size=2 color=navy face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:navy'><span style='mso-list:Ignore'>2)<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'>Followed the script on the
end of the page: <a href="http://wiki.x.org/wiki/Development/git"><font
color=black><span style='color:windowtext'>http://wiki.x.org/wiki/Development/git</span></font></a>
and slowly but surely fixed any missing dependencies on my system<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>I did all this first on an Ubunutu 8.04 machine
running in a Vmware sandbox on a Windows machine first just to make sure that I
could get everything to build. Eventually I got it booting 2.6.28-rc8 and
running the X software stack I’d built this way. But clearly the video
driver in this is the Vmware driver – not an Intel hardware driver. So
everything worked in that environment which gave me confidence that I built
everything OK.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>I then moved over to the target machine and did it
all again. At the end of this process I tried the same method to start my “private”
copy of X but, as the attached Xorg.0.log shows this ends with:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>(II) intel(0): [drm] mapped front buffer at
0x20000000, handle = 0x20000000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>(II) intel(0): [drm] mapped back buffer at 0x20000000,
handle = 0x14000000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>(II) intel(0): [drm] mapped depth buffer at
0x20000000, handle = 0x14001000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>(II) intel(0): [drm] mapped classic textures at
0x2dff5000, handle = 0x2dff5000<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Backtrace:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>0: /usr/bin/X11/X(xf86SigHandler+0x7e) [0x80c780e]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>1: [0xb8031400]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>2: /usr/local/lib/xorg/modules/drivers//intel_drv.so
[0xb7bcbc03]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>3: /usr/local/lib/xorg/modules/drivers//intel_drv.so
[0xb7bcd3be]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>4: /usr/bin/X11/X(AddScreen+0x1fc) [0x8073d9c]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>5: /usr/bin/X11/X(InitOutput+0x21e) [0x80a9c4e]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>6: /usr/bin/X11/X(main+0x296) [0x8074526]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>7:
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0) [0xb7db6450]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>8: /usr/bin/X11/X(FontFileCompleteXLFD+0x201)
[0x8073a91]<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Fatal server error:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Caught signal 11. Server aborting<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>So can anyone offer any advice as to what I may have
done wrong in the building of all this? Do I need to use special anholt or
airlied kernel trees and if so how do I get them with git? Or is it OK to use the
main Linus Torvalds tree for 2.6.28-rc8<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Is there anything further I can do to diagnose what’s
wrong? I’m guessing one of the components I’ve got does not
inter-work with the rest but how do I check the various version numbers and
identify which is too old (or too new?)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Should it be the case if I just get a 2.6.28-rc8
kernel and also all the git repositories listed in the script in (2) above that
I should have up to date copies of everything or are there patches or update
versions I need to pick up from elsewhere?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New"'>Cliff Lawson</span></font><font size=1 color=black
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Mateusz Kaduk [mailto:mateusz.kaduk@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 12 December 2008 13:52<br>
<b><span style='font-weight:bold'>To:</span></b> Cliff Lawson<br>
<b><span style='font-weight:bold'>Cc:</span></b> xorg@lists.freedesktop.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Building latest Intel
support for 945G</span></font><span lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2008/12/12 Cliff Lawson <<a href="mailto:cliff@amshold.com">cliff@amshold.com</a>>
<o:p></o:p></span></font></p>
<div>
<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>
<div link=blue vlink=purple>
<div>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>So
I used GIT to get a libdrm that did include the linux-source part of the tree
but when I built it the i915.ko did not build and looking at the Makefile it
would appear to be because OS_HAS_GEM was not defined. It was a search for the
solution to that which brought me to a post in the archive of this mailing list
where I realised that a simple "export OS_HAS_GEM=1" before building
was NOT the solution to use.</span></font><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>You dont set that.
drm/linux-core is out-dated.<br>
You get correct drm.ko and i915.ko from latest kernel or from for-airlied
branch of eric's tree.<br>
<br>
Look at Eric's LJ <a href="http://anholt.livejournal.com/39544.html">http://anholt.livejournal.com/39544.html</a>
first case as You dont need dri2.<br>
And after clone switch to for-airlied branch which is a bit more stable.<br>
<br>
I dont know if master xf86-intel does not need xserver 1.6 (here 1.6), but
there is also origin/xf86-video-intel-2.5-branch which should compile fine with
xserver 1.5.3 which is in debian/experiemtal packages and it should be possible
to install it on Ubuntu.<o:p></o:p></span></font></p>
<p class=MsoNormal align=center style='text-align:center'><i><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-style:italic'>Scanned
by MailDefender - managed email security from intY - www.maildefender.net</span></font></i><o:p></o:p></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>No
virus found in this incoming message.<br>
Checked by AVG - http://www.avg.com<br>
Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 12/12/2008
09:02</span></font><o:p></o:p></p>
</div>
</body>
</html>
<center><i>Scanned by MailDefender - managed email security from intY - www.maildefender.net</i></center>