<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Compiling kernel IEGD 10.x module for any Linux distribution</title>
	<atom:link href="http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution</link>
	<description>Yet another self-employee site &#38; blog</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:46:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Graphics problem with on-board Intel (11.4)</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-5751</link>
		<dc:creator>Graphics problem with on-board Intel (11.4)</dc:creator>
		<pubDate>Sun, 20 Mar 2011 09:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-5751</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: efiniti</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-5505</link>
		<dc:creator>efiniti</dc:creator>
		<pubDate>Sun, 13 Mar 2011 04:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-5505</guid>
		<description>Ok, I got passed the compiler errors by following the steps here:

http://developer.windriver.com/thread/1207

And in the error in iegd_interface_2624.c I moved the .mmap, .poll, and .fasync initialization above .unlocked_ioctl @ around 737.

So I&#039;m able to compile, but when I loaded the kernel module using insmod I get a kernel panic.  

Mar 12 22:36:24 thinklinux kernel: [  740.509052] [IEGD]: Unregister agpgart name agpgart-intel
Mar 12 22:36:24 thinklinux kernel: [  740.511941] [IEGD]: Registering iegd gart module
Mar 12 22:36:24 thinklinux kernel: [  740.511971] [IEGD]: Initialize IEGD agpgart and drm
Mar 12 22:36:24 thinklinux kernel: [  740.511992] [IEGD]: Intel GM965 chipset detected
Mar 12 22:36:24 thinklinux kernel: [  740.532409] Modules linked in: iegd_mod(+) binfmt_misc ppdev arc4 snd_hda_codec_conexant i915 snd_hda_intel iwl3945 drm_kms_helper thinkpad_acpi pcmcia drm snd_hda_codec psmouse iwlcore i2c_algo_bit snd_hwdep snd_pcm snd_seq_midi snd_rawmidi yenta_socket intel_agp agpgart pcmcia_rsrc snd_seq_midi_event lp parport snd_seq snd_timer snd_seq_device serio_raw led_class video pcmcia_core mac80211 snd soundcore output cfg80211 nvram snd_page_alloc usbhid hid usb_storage ahci tg3 libahci
Mar 12 22:36:24 thinklinux kernel: [  740.532409] 
Mar 12 22:36:24 thinklinux kernel: [  740.532409] Pid: 3174, comm: insmod Not tainted 2.6.36-999-generic #201010021408 7649CTO/7649CTO
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EIP: 0060:[] EFLAGS: 00210282 CPU: 0
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EIP is at iegd_igm45_sizes+0x8/0xffffd3b7 [iegd_mod]
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EAX: c15e7380 EBX: fb68b3e0 ECX: fb68b3b0 EDX: f4fe232c
Mar 12 22:36:24 thinklinux kernel: [  740.532409] ESI: f4fe2300 EDI: ffffffed EBP: d56f3dec ESP: d56f3dcc
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  f83ae1ba d56f3ddc c037c2c8 f70c9800 d56f3dec fb68bba0 f4fe2300 ffffffed
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  d56f3e10 f83ae482 f70c99f8 f70c9bf4 f70c9800 f4fe2300 f70c9800 f4fe2300
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  00000000 d56f3e34 fb688725 fb689068 fb688c63 00200292 00000000 d56f3e50
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? agp_backend_initialize+0x4a/0x280 [agpgart]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_fixup_device+0x28/0x80
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? agp_add_bridge+0x62/0x180 [agpgart]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_intel_probe+0x1d5/0x217 [iegd_mod]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? local_pci_probe+0x40/0x90
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_call_probe+0x1c/0x20
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __pci_device_probe+0x54/0x60
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_probe+0x2b/0x50
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? really_probe+0xde/0x150
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pm_runtime_barrier+0x4e/0xa0
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_probe_device+0x3c/0x60
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __driver_attach+0x7a/0x80
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? bus_for_each_dev+0x49/0x70
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_attach+0x1e/0x20
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __driver_attach+0x0/0x80
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? bus_add_driver+0xbb/0x200
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? kset_find_obj+0x57/0x70
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_shutdown+0x0/0x30
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_shutdown+0x0/0x30
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_register+0x52/0xd0
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0x0/0xd0 [iegd_mod]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __pci_register_driver+0x45/0x90
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0x0/0xd0 [iegd_mod]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0x51/0xd0 [iegd_mod]
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? do_one_initcall+0xba/0x100
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sys_init_module+0x76/0x1c0
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sys_close+0x6e/0xc0
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sysenter_do_call+0x12/0x28
Mar 12 22:36:24 thinklinux kernel: [  740.895190] ---[ end trace 4e7ba1cd939cbc9d ]---</description>
		<content:encoded><![CDATA[<p>Ok, I got passed the compiler errors by following the steps here:</p>
<p><a href="http://developer.windriver.com/thread/1207" rel="nofollow">http://developer.windriver.com/thread/1207</a></p>
<p>And in the error in iegd_interface_2624.c I moved the .mmap, .poll, and .fasync initialization above .unlocked_ioctl @ around 737.</p>
<p>So I&#8217;m able to compile, but when I loaded the kernel module using insmod I get a kernel panic.  </p>
<p>Mar 12 22:36:24 thinklinux kernel: [  740.509052] [IEGD]: Unregister agpgart name agpgart-intel<br />
Mar 12 22:36:24 thinklinux kernel: [  740.511941] [IEGD]: Registering iegd gart module<br />
Mar 12 22:36:24 thinklinux kernel: [  740.511971] [IEGD]: Initialize IEGD agpgart and drm<br />
Mar 12 22:36:24 thinklinux kernel: [  740.511992] [IEGD]: Intel GM965 chipset detected<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] Modules linked in: iegd_mod(+) binfmt_misc ppdev arc4 snd_hda_codec_conexant i915 snd_hda_intel iwl3945 drm_kms_helper thinkpad_acpi pcmcia drm snd_hda_codec psmouse iwlcore i2c_algo_bit snd_hwdep snd_pcm snd_seq_midi snd_rawmidi yenta_socket intel_agp agpgart pcmcia_rsrc snd_seq_midi_event lp parport snd_seq snd_timer snd_seq_device serio_raw led_class video pcmcia_core mac80211 snd soundcore output cfg80211 nvram snd_page_alloc usbhid hid usb_storage ahci tg3 libahci<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] Pid: 3174, comm: insmod Not tainted 2.6.36-999-generic #201010021408 7649CTO/7649CTO<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EIP: 0060:[] EFLAGS: 00210282 CPU: 0<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EIP is at iegd_igm45_sizes+0&#215;8/0xffffd3b7 [iegd_mod]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] EAX: c15e7380 EBX: fb68b3e0 ECX: fb68b3b0 EDX: f4fe232c<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409] ESI: f4fe2300 EDI: ffffffed EBP: d56f3dec ESP: d56f3dcc<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  f83ae1ba d56f3ddc c037c2c8 f70c9800 d56f3dec fb68bba0 f4fe2300 ffffffed<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  d56f3e10 f83ae482 f70c99f8 f70c9bf4 f70c9800 f4fe2300 f70c9800 f4fe2300<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  00000000 d56f3e34 fb688725 fb689068 fb688c63 00200292 00000000 d56f3e50<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? agp_backend_initialize+0x4a/0&#215;280 [agpgart]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_fixup_device+0&#215;28/0&#215;80<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? agp_add_bridge+0&#215;62/0&#215;180 [agpgart]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_intel_probe+0x1d5/0&#215;217 [iegd_mod]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? local_pci_probe+0&#215;40/0&#215;90<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_call_probe+0x1c/0&#215;20<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __pci_device_probe+0&#215;54/0&#215;60<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_probe+0x2b/0&#215;50<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? really_probe+0xde/0&#215;150<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pm_runtime_barrier+0x4e/0xa0<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_probe_device+0x3c/0&#215;60<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __driver_attach+0x7a/0&#215;80<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? bus_for_each_dev+0&#215;49/0&#215;70<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_attach+0x1e/0&#215;20<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __driver_attach+0&#215;0/0&#215;80<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? bus_add_driver+0xbb/0&#215;200<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? kset_find_obj+0&#215;57/0&#215;70<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_shutdown+0&#215;0/0&#215;30<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? pci_device_shutdown+0&#215;0/0&#215;30<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? driver_register+0&#215;52/0xd0<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0&#215;0/0xd0 [iegd_mod]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? __pci_register_driver+0&#215;45/0&#215;90<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0&#215;0/0xd0 [iegd_mod]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? iegd_gart_init+0&#215;51/0xd0 [iegd_mod]<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? do_one_initcall+0xba/0&#215;100<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sys_init_module+0&#215;76/0x1c0<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sys_close+0x6e/0xc0<br />
Mar 12 22:36:24 thinklinux kernel: [  740.532409]  [] ? sysenter_do_call+0&#215;12/0&#215;28<br />
Mar 12 22:36:24 thinklinux kernel: [  740.895190] &#8212;[ end trace 4e7ba1cd939cbc9d ]&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: efiniti</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-5443</link>
		<dc:creator>efiniti</dc:creator>
		<pubDate>Fri, 11 Mar 2011 10:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-5443</guid>
		<description>I&#039;m getting the same issues as Jurek after running make on i386 Ubuntu Lucid:

dave@thinklinux:~/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM$ make
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM
make[1]: Entering directory `/usr/src/linux-headers-2.6.36-999-generic&#039;
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/pci.o
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/global.o
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:67: warning: initialization from incompatible pointer type
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c: In function ‘iegd_alm_insert_entries’:
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_nap.o
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_nap.c:63: warning: initialization from incompatible pointer type
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.o
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:76: warning: initialization from incompatible pointer type
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c: In function ‘iegd_plb_insert_entries’:
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:625: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:625: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:637: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:637: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:639: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:639: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: ‘file_rss’ undeclared (first use in this function)
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: (Each undeclared identifier is reported only once
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: for each function it appears in.)
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c: In function ‘iegd_plb_remove_entries’:
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:801: error: ‘file_rss’ undeclared (first use in this function)
make[2]: *** [/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.o] Error 1
make[1]: *** [_module_/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.36-999-generic&#039;
make: *** [modules] Error 2


I made sure to copy over the interface_abs.h from val/agpm0vmob2 to include/ .  Did anyone successfully compile?</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting the same issues as Jurek after running make on i386 Ubuntu Lucid:</p>
<p>dave@thinklinux:~/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM$ make<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM<br />
make[1]: Entering directory `/usr/src/linux-headers-2.6.36-999-generic&#8217;<br />
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/pci.o<br />
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/global.o<br />
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:67: warning: initialization from incompatible pointer type<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c: In function ‘iegd_alm_insert_entries’:<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’<br />
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_nap.o<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_nap.c:63: warning: initialization from incompatible pointer type<br />
  CC [M]  /home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.o<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:76: warning: initialization from incompatible pointer type<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c: In function ‘iegd_plb_insert_entries’:<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:625: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:625: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:637: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:637: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:639: warning: passing argument 2 of ‘agp_bridge-&gt;driver-&gt;mask_memory’ makes integer from pointer without a cast<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:639: note: expected ‘dma_addr_t’ but argument is of type ‘struct page *’<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: ‘file_rss’ undeclared (first use in this function)<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: (Each undeclared identifier is reported only once<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:692: error: for each function it appears in.)<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c: In function ‘iegd_plb_remove_entries’:<br />
/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.c:801: error: ‘file_rss’ undeclared (first use in this function)<br />
make[2]: *** [/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM/agp/drv_plb.o] Error 1<br />
make[1]: *** [_module_/home/dave/iegd/IEGD_10_3_Linux/IEGD_10_3_Linux/IKM] Error 2<br />
make[1]: Leaving directory `/usr/src/linux-headers-2.6.36-999-generic&#8217;<br />
make: *** [modules] Error 2</p>
<p>I made sure to copy over the interface_abs.h from val/agpm0vmob2 to include/ .  Did anyone successfully compile?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thoughspace</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-2686</link>
		<dc:creator>thoughspace</dc:creator>
		<pubDate>Thu, 25 Nov 2010 07:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-2686</guid>
		<description>I am using the 945GSE chip supported by the IEGD drivers on
Ubuntu 9.10. Based on your excellent procedure all compiles and
installs fine. However... When I do &#039;sudo modprobe iegd_mod&#039; I get
a black screen. I read elsewhere that this can be a problem with
xorg.conf. I tried the xorg.conf generated by CED but still a black
output. Did you use an xorg.conf? If so, could you show the
contents and what directory you put it in?</description>
		<content:encoded><![CDATA[<p>I am using the 945GSE chip supported by the IEGD drivers on<br />
Ubuntu 9.10. Based on your excellent procedure all compiles and<br />
installs fine. However&#8230; When I do &#8216;sudo modprobe iegd_mod&#8217; I get<br />
a black screen. I read elsewhere that this can be a problem with<br />
xorg.conf. I tried the xorg.conf generated by CED but still a black<br />
output. Did you use an xorg.conf? If so, could you show the<br />
contents and what directory you put it in?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfgang</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-1810</link>
		<dc:creator>wolfgang</dc:creator>
		<pubDate>Mon, 18 Oct 2010 16:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-1810</guid>
		<description>little addition, i forgot:
the kernels below 2.6.34 have a bug with uvesafb module.

So if you are using kernel 2.6.32 from unstable repository,
you have to add a additional kernel parameter (mem=1000M) in this way:

open /boot/grub/grub.cfg and edit:

menuentry &#039;Debian GNU/Linux, with Linux 2.6.32-686&#039; --class debian --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod jfs
        set root=&#039;(hd0,msdos5)&#039;
        echo    &#039;Loading Linux 2.6.32-686 ...&#039;
        linux   /boot/vmlinuz-2.6.32-686 root=UUID=7aad1a21-7db6-4b80-a1ee-8b7e87a80120 mem=1000Mro  quiet
        echo    &#039;Loading initial ramdisk ...&#039;
        initrd  /boot/initrd.img-2.6.32-686
}
### END /etc/grub.d/10_linux ###</description>
		<content:encoded><![CDATA[<p>little addition, i forgot:<br />
the kernels below 2.6.34 have a bug with uvesafb module.</p>
<p>So if you are using kernel 2.6.32 from unstable repository,<br />
you have to add a additional kernel parameter (mem=1000M) in this way:</p>
<p>open /boot/grub/grub.cfg and edit:</p>
<p>menuentry &#8216;Debian GNU/Linux, with Linux 2.6.32-686&#8242; &#8211;class debian &#8211;class gnu-linux &#8211;class gnu &#8211;class os {<br />
        insmod part_msdos<br />
        insmod jfs<br />
        set root=&#8217;(hd0,msdos5)&#8217;<br />
        echo    &#8216;Loading Linux 2.6.32-686 &#8230;&#8217;<br />
        linux   /boot/vmlinuz-2.6.32-686 root=UUID=7aad1a21-7db6-4b80-a1ee-8b7e87a80120 mem=1000Mro  quiet<br />
        echo    &#8216;Loading initial ramdisk &#8230;&#8217;<br />
        initrd  /boot/initrd.img-2.6.32-686<br />
}<br />
### END /etc/grub.d/10_linux ###</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfgang</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-1809</link>
		<dc:creator>wolfgang</dc:creator>
		<pubDate>Mon, 18 Oct 2010 16:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-1809</guid>
		<description>little correction:
1. install the package called v86d</description>
		<content:encoded><![CDATA[<p>little correction:<br />
1. install the package called v86d</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfgang</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-1808</link>
		<dc:creator>wolfgang</dc:creator>
		<pubDate>Mon, 18 Oct 2010 16:22:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-1808</guid>
		<description>I&#039;m sorry guys, but there is no need to install the iegd or poulsbo driver from ubuntu to get the native resolution.
I&#039;d like to give a hint for debian users:
1. install the package called v96d
2. istall the package called xserver-xorg-video-fbdev
3. download a sourcecode from tool called &quot;915resolution&quot;, download the gma500 patch for this tool
4. apply patch to 915resolution
5. compile and install the patched 915resolution tool (it makes possible to replace resolution mode settings for gma500)
6. Modify the device section in file /etc/X11/xorg.conf as following:

Section &quot;Device&quot;
        Option         &quot;IgnoreACPI&quot;          &quot;1&quot;
        Identifier     &quot;Card0&quot;
        Driver         &quot;fbdev&quot;
        Option         &quot;UseFBDEV&quot;
        VendorName     &quot;Intel Corporation&quot;
        BoardName      &quot;System Controller Hub (SCH Poulsbo) Graphics Controller&quot;
        BusID          &quot;PCI:0:2:0&quot;
EndSection
 
7. Make sure to execute following script before gnome desktop starts, to set resolution to 1366x768:

#!/bin/bash
/usr/sbin/915resolution 58 1366 768 32
modprobe uvesafb vbemode=0x011b nocrtc mtrr=2


8. Have fun with native resolution and quite good performance (in my case on eee pc 1101ha) :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry guys, but there is no need to install the iegd or poulsbo driver from ubuntu to get the native resolution.<br />
I&#8217;d like to give a hint for debian users:<br />
1. install the package called v96d<br />
2. istall the package called xserver-xorg-video-fbdev<br />
3. download a sourcecode from tool called &#8220;915resolution&#8221;, download the gma500 patch for this tool<br />
4. apply patch to 915resolution<br />
5. compile and install the patched 915resolution tool (it makes possible to replace resolution mode settings for gma500)<br />
6. Modify the device section in file /etc/X11/xorg.conf as following:</p>
<p>Section &#8220;Device&#8221;<br />
        Option         &#8220;IgnoreACPI&#8221;          &#8220;1&#8243;<br />
        Identifier     &#8220;Card0&#8243;<br />
        Driver         &#8220;fbdev&#8221;<br />
        Option         &#8220;UseFBDEV&#8221;<br />
        VendorName     &#8220;Intel Corporation&#8221;<br />
        BoardName      &#8220;System Controller Hub (SCH Poulsbo) Graphics Controller&#8221;<br />
        BusID          &#8220;PCI:0:2:0&#8243;<br />
EndSection</p>
<p>7. Make sure to execute following script before gnome desktop starts, to set resolution to 1366&#215;768:</p>
<p>#!/bin/bash<br />
/usr/sbin/915resolution 58 1366 768 32<br />
modprobe uvesafb vbemode=0x011b nocrtc mtrr=2</p>
<p>8. Have fun with native resolution and quite good performance (in my case on eee pc 1101ha) <img src='http://www.nanoant.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MTM</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-1718</link>
		<dc:creator>MTM</dc:creator>
		<pubDate>Wed, 13 Oct 2010 14:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-1718</guid>
		<description>Hey,  I&#039;m using gentoo 2.6.30. I followed your guide, but when trying to compile i get the following error:

/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r8&#039;
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/pci.o
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/global.o
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:67: warning: initialization from incompatible pointer type
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c: In function &#039;iegd_alm_insert_entries&#039;:
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: error: &#039;struct agp_memory&#039; has no member named &#039;pages&#039;
make[2]: *** [/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o] Error 1
make[1]: *** [_module_/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r8&#039;
make: *** [modules] Error 2

Any idea?</description>
		<content:encoded><![CDATA[<p>Hey,  I&#8217;m using gentoo 2.6.30. I followed your guide, but when trying to compile i get the following error:</p>
<p>/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM<br />
make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r8&#8242;<br />
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/pci.o<br />
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/global.o<br />
  CC [M]  /psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o<br />
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:67: warning: initialization from incompatible pointer type<br />
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c: In function &#8216;iegd_alm_insert_entries&#8217;:<br />
/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.c:396: error: &#8216;struct agp_memory&#8217; has no member named &#8216;pages&#8217;<br />
make[2]: *** [/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM/agp/drv_alm.o] Error 1<br />
make[1]: *** [_module_/psbdev/IEGD/IEGD_10_3/plugins/com.intel.iegd.drivers_10.3.1/Linux/IEGD_10_3_Linux/IKM] Error 2<br />
make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r8&#8242;<br />
make: *** [modules] Error 2</p>
<p>Any idea?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: witka</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-2#comment-809</link>
		<dc:creator>witka</dc:creator>
		<pubDate>Fri, 27 Aug 2010 17:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-809</guid>
		<description>It is possible to build it under Debian sid with kernel 2.6.32-trunk-686 (linux-2.6.32-5-686 (20)) [iegd 10.3.1]

Additional point for the instructions above have to be added:
agp/drv_cmn.c:#define phys_to_gart(x) (x)
Xorg 1.6.5 works good
Videos  in h262 are much better to see then under psb driver.</description>
		<content:encoded><![CDATA[<p>It is possible to build it under Debian sid with kernel 2.6.32-trunk-686 (linux-2.6.32-5-686 (20)) [iegd 10.3.1]</p>
<p>Additional point for the instructions above have to be added:<br />
agp/drv_cmn.c:#define phys_to_gart(x) (x)<br />
Xorg 1.6.5 works good<br />
Videos  in h262 are much better to see then under psb driver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marks</title>
		<link>http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution/comment-page-1#comment-591</link>
		<dc:creator>Marks</dc:creator>
		<pubDate>Thu, 12 Aug 2010 01:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.nanoant.com/?p=354#comment-591</guid>
		<description>Would you please teach me that I can compile and install the driver on Ubuntu 9.10, but when I ran &quot;modprobe iegd_mod&quot; command, it always crash. Am I lose something when I compile driver? I have tried IEGD 10.2 &amp; 10.3, and have the same question. Please teach me, thank you.</description>
		<content:encoded><![CDATA[<p>Would you please teach me that I can compile and install the driver on Ubuntu 9.10, but when I ran &#8220;modprobe iegd_mod&#8221; command, it always crash. Am I lose something when I compile driver? I have tried IEGD 10.2 &amp; 10.3, and have the same question. Please teach me, thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

