Re: compiling mach64 kernel module for 2.6.9-rc-mm4 kernel
El Miércoles, 29 de Septiembre del 2004 3:20 AM, Jon Smirl escribió: Get the code from here: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri co drm and build in the linux-2.6 directory. It looks like you are missing drm_sysfs.h which is is the CVS repository. I'm building mach64 from CVS on my machine without problems on current linus-bk. There files should be in the linux-2.6 directory: [EMAIL PROTECTED] linux-2.6]$ ls CVS drm_core.h drm_sysfs.h Makefile Makefile.kernel radeon_i2c.c radeon_i2c.h README [EMAIL PROTECTED] linux-2.6]$ Only the 2.4 DRM will build from linux directory, you have to use linux-2.6 Same problem. Your solution works. Seems that snapshots are taken from the linux directory. Somebody should make a workaround to let the users (like me) download a snapshot an install without more complications. On Wed, 29 Sep 2004 03:44:07 +0200, Micha Feigin [EMAIL PROTECTED] wrote: I am trying to compile the mach64 drm kernel module for kernel 2.6.9-rc2-mm4 from latest cvs as the code from the mach64 tree from January is regrettably no longer compiling for me, too many changes to the drm code in the kernel apparently (mostly problems with drmP.h). Anyway, I downloaded the latest cvs from freedesktop.org according to the instructions on the site (it said something about a move of some of the cvs code, but didn't seem related to drm). When I tried to compile it, it gave the following warnings about missing symbols and then the driver won't load for the same reason: *** Warning: mach64_sysfs_device_add [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: remap_page_range [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_device_remove [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_create [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_destroy [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! Is the tree supposed to compile now, which one if so and where am I going wrong. If not, is there a tag/date thats known to work that I can use (I could really use the little acceleration drm gives me for the matlab work I do. Not much 3D, but enough to be intolerable without drm support). Thanks --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: compiling mach64 kernel module for 2.6.9-rc-mm4 kernel
On Wed, 29 Sep 2004 23:33:00 +0200 David [EMAIL PROTECTED] wrote: El Miércoles, 29 de Septiembre del 2004 3:20 AM, Jon Smirl escribió: Get the code from here: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri co drm and build in the linux-2.6 directory. It looks like you are missing drm_sysfs.h which is is the CVS repository. I'm building mach64 from CVS on my machine without problems on current linus-bk. There files should be in the linux-2.6 directory: [EMAIL PROTECTED] linux-2.6]$ ls CVS drm_core.h drm_sysfs.h Makefile Makefile.kernel radeon_i2c.c radeon_i2c.h README [EMAIL PROTECTED] linux-2.6]$ Only the 2.4 DRM will build from linux directory, you have to use linux-2.6 Same problem. Your solution works. Seems that snapshots are taken from the linux directory. Somebody should make a workaround to let the users (like me) download a snapshot an install without more complications. I'm just catching up with recent DRM changes. I guess I could make the snapshots include both versions and choose the correct one in the install script based on the output of uname -r. OTOH at some point we'll have to include the new core-personality version in the snapshots. Then it would become 2.6-only. I guess poeple trying bleeding-edge snapshots wouldn't mind that. On Wed, 29 Sep 2004 03:44:07 +0200, Micha Feigin [EMAIL PROTECTED] wrote: [snip] | Felix Kühling [EMAIL PROTECTED] http://fxk.de.vu | | PGP Fingerprint: 6A3C 9566 5B30 DDED 73C3 B152 151C 5CC1 D888 E595 | --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: compiling mach64 kernel module for 2.6.9-rc-mm4 kernel
I made the linux vs linux-2.6 split because people wanted the GPL code isolated. Anyway, it looks like linux-core may override the linux-2.6 directory when we can say it is working. I thought the snapshots were snapshoting the whole DRM tree. I tried to fix it so that if you built the linux directory from 2.6 you would get an error message from the Makefile file. Maybe that hint isn't working on some distributions. -- Jon Smirl [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
compiling mach64 kernel module for 2.6.9-rc-mm4 kernel
I am trying to compile the mach64 drm kernel module for kernel 2.6.9-rc2-mm4 from latest cvs as the code from the mach64 tree from January is regrettably no longer compiling for me, too many changes to the drm code in the kernel apparently (mostly problems with drmP.h). Anyway, I downloaded the latest cvs from freedesktop.org according to the instructions on the site (it said something about a move of some of the cvs code, but didn't seem related to drm). When I tried to compile it, it gave the following warnings about missing symbols and then the driver won't load for the same reason: *** Warning: mach64_sysfs_device_add [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: remap_page_range [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_device_remove [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_create [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_destroy [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! Is the tree supposed to compile now, which one if so and where am I going wrong. If not, is there a tag/date thats known to work that I can use (I could really use the little acceleration drm gives me for the matlab work I do. Not much 3D, but enough to be intolerable without drm support). Thanks --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: compiling mach64 kernel module for 2.6.9-rc-mm4 kernel
Get the code from here: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvs/dri co drm and build in the linux-2.6 directory. It looks like you are missing drm_sysfs.h which is is the CVS repository. I'm building mach64 from CVS on my machine without problems on current linus-bk. There files should be in the linux-2.6 directory: [EMAIL PROTECTED] linux-2.6]$ ls CVS drm_core.h drm_sysfs.h Makefile Makefile.kernel radeon_i2c.c radeon_i2c.h README [EMAIL PROTECTED] linux-2.6]$ Only the 2.4 DRM will build from linux directory, you have to use linux-2.6 On Wed, 29 Sep 2004 03:44:07 +0200, Micha Feigin [EMAIL PROTECTED] wrote: I am trying to compile the mach64 drm kernel module for kernel 2.6.9-rc2-mm4 from latest cvs as the code from the mach64 tree from January is regrettably no longer compiling for me, too many changes to the drm code in the kernel apparently (mostly problems with drmP.h). Anyway, I downloaded the latest cvs from freedesktop.org according to the instructions on the site (it said something about a move of some of the cvs code, but didn't seem related to drm). When I tried to compile it, it gave the following warnings about missing symbols and then the driver won't load for the same reason: *** Warning: mach64_sysfs_device_add [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: remap_page_range [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_device_remove [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_create [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! *** Warning: mach64_sysfs_destroy [/home/micha/dev/dri/new/drm/linux/mach64.ko] undefined! Is the tree supposed to compile now, which one if so and where am I going wrong. If not, is there a tag/date thats known to work that I can use (I could really use the little acceleration drm gives me for the matlab work I do. Not much 3D, but enough to be intolerable without drm support). Thanks --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel -- Jon Smirl [EMAIL PROTECTED] --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel