Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
935 Views

945gse use iegd 10.3 in ubuntu 9.04

Dear all,

I have follow

http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution" >http://www.nanoant.com/linux/compiling-kernel-iegd-10x-module-for-any-linux-distribution

to build iegd_mod.ko for ubuntu 9.04.

chipset: 945gse

kernel version: 2.6.28-11-generic

X server: 1.6.0

I have success to build iegd_mod.ko, and success load into kernel,

also success in agp_test / drm_test,

but I found something in dmesg.

========================================

[ 11.127116] Linux agpgart interface v0.103[ 11.148129] agpgart-intel 0000:00:00.0: Intel 945GME Chipset[ 11.148570] agpgart-intel 0000:00:00.0: detected 7932K stolen memory[ 11.151541] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xb0000000[ 11.193352] [drm] Initialized drm 1.1.0 20060810[ 11.240475] [IEGD]: Unregister agpgart name agpgart-intel[ 11.241306] [IEGD]: Registering iegd gart module[ 11.241361] [IEGD]: Initialize IEGD agpgart and drm[ 11.241382] [IEGD]: Intel 945GME/GSE chipset detected[ 11.241527] resource map sanity check conflict: 0xfe940000 0xfe9bffff 0xfe940000 0xfe97ffff 0000:00:02.0[ 11.241545] ------------[ cut here ]------------[ 11.241551] WARNING: at /build/buildd/linux-2.6.28/arch/x86/mm/ioremap.c:226 __ioremap_caller+0x251/0x2b0()[ 11.241559] Modules linked in: iegd_mod(+) snd_timer snd_seq_device drm intel_agp video(+) agpgart output snd soundcore snd_page_alloc usbhid r8169 mii fbcon tileblit font bitblit softcursor[ 11.241607] Pid: 917, comm: modprobe Not tainted 2.6.28-11-generic # 42-Ubuntu[ 11.241614] Call Trace:[ 11.241628] [] ? printk+0x18/0x1a[ 11.241640] [] warn_on_slowpath+0x54/0x80[ 11.241651] [] ? __change_page_attr_set_clr+0x6c/0xa0[ 11.241662] [] ? printk+0x18/0x1a[ 11.241672] [] ? iomem_map_sanity_check+0xdf/0xf0[ 11.241689] [] __ioremap_caller+0x251/0x2b0[ 11.241700] [] ? pci_read+0x2f/0x40[ 11.241712] [] ? pci_bus_read_config_dword+0x65/0x80[ 11.241726] [] ioremap_nocache+0x16/0x20[ 11.241744] [] ? iegd_nap_create_gatt_table+0x7a/0x640 [iegd_mod][ 11.241761] [] iegd_nap_create_gatt_table+0x7a/0x640 [iegd_mod][ 11.241786] [] agp_backend_initialize+0xbf/0x2a0 [agpgart][ 11.241806] [] agp_add_bridge+0x51/0x1a0 [agpgart][ 11.241826] [] iegd_intel_probe+0x176/0x208 [iegd_mod][ 11.241843] [] pci_device_probe+0x5e/0x80[ 11.241857] [] really_probe+0x54/0x180[ 11.241867] [] ? pci_match_device+0xbe/0xd0[ 11.241884] [] driver_probe_device+0x3e/0x50[ 11.241896] [] __driver_attach+0x89/0x90[ 11.241909] [] bus_for_each_dev+0x53/0x80[ 11.241920] [] ? pci_device_remove+0x0/0x40[ 11.241930] [] driver_attach+0x19/0x20[ 11.241940] [] ? __driver_attach+0x0/0x90[ 11.241949] [] bus_add_driver+0x1c7/0x240[ 11.241964] [] ? pci_device_remove+0x0/0x40[ 11.241974] [] driver_register+0x69/0x140[ 11.241988] [] ? driver_unregister+0x31/0x40[ 11.242006] [] ? iegd_gart_init+0x0/0xc0 [iegd_mod][ 11.242018] [] __pci_register_driver+0x4a/0x90[ 11.242036] [] ? iegd_gart_init+0x0/0xc0 [iegd_mod][ 11.242051] [] iegd_gart_init+0x7a/0xc0 [iegd_mod][ 11.242065] [] _stext+0x2e/0x170[ 11.242076] [] ? __vunmap+0x9c/0xe0[ 11.242086] [] ? update_curr+0x8d/0x1e0[ 11.242096] [] ? enqueue_entity+0x13c/0x360[ 11.242106] [] ? resched_task+0x1e/0x70[ 11.242116] [] ? try_to_wake_up+0x104/0x290[ 11.242134] [] sys_init_module+0x88/0x1b0[ 11.242144] [] sysenter_do_call+0x12/0x2f[ 11.242156] [] ? relay_hotcpu_callback+0x6d/0xbd[ 11.242165] ---[ end trace 6af63c6b95640e8f ]---[ 11.242348] [IEGD]: Detected 7932K stolen memory.[ 11.262180] iegd-intel 0000:00:00.0: AGP aperture is 256M @ 0xb0000000[ 11.262253] [IEGD]: Registering iegd drm module[ 11.262313] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16[ 11.262325] pci 0000:00:02.0: setting latency timer to 64[ 11.262712] [drm] Initialized iegd 1.0.1 20081022 on minor 0===========================

does this is normal?

Thanks.

0 Kudos
1 Reply
Highlighted
Beginner
40 Views

That is because iegd driver try to remap a size that lager than the actual IO size.

But I think it's ok. If you don't want to see the warning. You can modify the iegd driver:

Edit agp/drv_nap.c:

Find the function "static int AGP_CREATE_GATT(iegd_nap_create_gatt_table)"

Modify the line : "private_data.gtt = (volatile u32 *)ioremap(temp2, 512 * 1024);"

->"private_data.gtt = (volatile u32 *)ioremap(temp2, 256 * 1024);"

-----------------------------------------------------------------------------------------------------------

resource map sanity check conflict: 0xfe940000 0xfe9bffff 0xfe940000 0xfe97ffff 0000:00:02.0

iegd remap size : 0xfe9bffff - 0xfe940000 = 512x1024

autual remap size : 0xfe97ffff - 0xfe940000 = 256x1024

0 Kudos