From: Sottek, M. J <mat...@in...> - 2000-07-13 16:55:56
|
David, It looks like there may be some problems with your i810 module getting the right kernel options for your running kernel. Look in the file /proc/ksyms, this is a kernel provided file that shows all the current kernel symbols. Look for some similar names to the "unresolved" ones below. If you see a similar name but with an _R####### on the end then your kernel has "modversions" turned on and your i810 module does not. Similarly there are "2gig" and "SMP" options. So what to do? The makefile should be guessing what options your kernel wants from the file /usr/src/linux/include/linux/autoconf.h if you correctly installed and compiled your kernel on the same machine you are compiling X on then this should have just worked. Check this: /usr/src/linux points to the sources for your current kernel. The sources for the kernel have not been reconfigured since compiling your kernel. autoconf.h exists If any of these are wrong then fix it before compiling the i810 module. I'll look into compiling on test3 when I get a chance, this should be possible but maybe something changed that needs to get tweaked. BTW: If you are having a lot of trouble with these development sources XFree86 4.0.1 includes everything you need for DRI on the i810, and it should be stable. -Matt > -----Original Message----- > From: David Raulo [mailto:Dav...@in...] > Sent: Thursday, July 13, 2000 2:55 AM > To: Keith Whitwell > Cc: dri...@li... > Subject: Re: [Dri-devel] how to enable i810 DRI with XFree4.0.1 > > > > > I'm using 2.4.0-test3 kernel. I couldn't find i810 DRI > support in kernel config, only i810 agpgart support. However > I thought that no kernel module apart from agpgart was > needed. Is a special kernel module needed for DRI? I've seen > a reference to a kernel-module named i810.o in X > documentation, but couldn't find it. Probably there's another > explanation... > > > > You need to build the i810.o kernel module. It lives in > > > xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel. > Make with > > 'make -f Makefile.linux' on the target system. > > > > Keith > > Thank you for the fast response! > > I downloaded a DRI snapshot and build the i810.o module. > Didn't work with linux-2.4.0-test3, succeeded with > linux-2.3.99-pre6. Now I get unresolved symbol while loading > the module: > > # modprobe i810 > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol mtrr_add > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol > __generic_copy_from_user > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol > create_proc_entry > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol boot_cpu_data > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol iounmap > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol __ioremap > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol mtrr_del > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol > remove_proc_entry > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol pci_find_slot > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol kill_fasync > /lib/modules/2.3.99-pre6/misc/i810.o: unresolved symbol > __generic_copy_to_user > /lib/modules/2.3.99-pre6/misc/i810.o: insmod > /lib/modules/2.3.99-pre6/misc/i810.o failed > /lib/modules/2.3.99-pre6/misc/i810.o: insmod i810 failed > > Probably I missed some options while configuring my kernel (I > enabled support for MTRR, DRM, and i810 AGPGART). Is there a > documentation about that? > > David > > _______________________________________________ > Dri-devel mailing list > Dri...@li... > http://lists.sourceforge.net/mailman/listinfo/dri-devel > |