Hmmm,
I found a folder in my home firectory for the 2 different dates i downloaded.
drm-2008613 <--this is the one that worked
drm-2008717
I just not sure what to do to use the previous, or if it will even work.
I'm on ubuntu 8.04 & just got a kernel update and went to run easy-derm-modules and it fails to build. I did download the newest when I ran it, instead of using the one that was already working<--stupid.
It's failing when it gets to the intel stuff.
Here's the output from the 2nd time trying:
Code:$ ./easy-drm-modules-installer Found DRM source directory drm-20080717 Would you like to download the newest 'git' version, instead of using these sources [y/N]? y Downloading... Initialized empty Git repository in /home/stephen/drm/.git/ remote: Counting objects: 32421, done. remote: Compressing objects: 100% (11647/11647), done. remote: Total 32421 (delta 25312), reused 26426 (delta 20417) Receiving objects: 100% (32421/32421), 10.46 MiB | 571 KiB/s, done. Resolving deltas: 100% (25312/25312), done. mv: cannot move `drm' to `drm-20080717/drm': Directory not empty Building from drm-20080717 sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt make -C /lib/modules/2.6.24-19-rt/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-rt' CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_auth.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_bufs.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_context.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_dma.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_drawable.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_drv.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_fops.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_ioctl.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_irq.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_lock.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_memory.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_proc.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_stub.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_vm.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_sysfs.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_pci.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_agpsupport.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_scatter.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_memory_debug.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/ati_pcigart.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_sman.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_hashtab.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_mm.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_object.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_compat.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_fence.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_ttm.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_bo.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_bo_move.o include/asm/io_32.h: In function ‘memcpy_fromio’: include/asm/io_32.h:211: warning: passing argument 2 of ‘__memcpy’ discards qualifiers from pointer target type include/asm/io_32.h: In function ‘memcpy_toio’: include/asm/io_32.h:217: warning: passing argument 1 of ‘__memcpy’ discards qualifiers from pointer target type CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_bo_lock.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_regman.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/drm_vm_nopage_compat.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i810_drv.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i810_dma.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_drv.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_dma.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_irq.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_mem.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_fence.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_buffer.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_compat.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_execbuf.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_suspend.o CC [M] /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.o /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.c: In function ‘intel_opregion_init’: /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.c:355: error: implicit declaration of function ‘register_acpi_notifier’ /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.c: In function ‘intel_opregion_free’: /tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.c:376: error: implicit declaration of function ‘unregister_acpi_notifier’ make[2]: *** [/tmp/tmp.ziSUye6988/drm-20080717/linux-core/i915_opregion.o] Error 1 make[1]: *** [_module_/tmp/tmp.ziSUye6988/drm-20080717/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-rt' make: *** [modules] Error 2 Building modules failed! Leaving build tree in /tmp/tmp.ziSUye6988 Press Enter to close this window
Hmmm,
I found a folder in my home firectory for the 2 different dates i downloaded.
drm-2008613 <--this is the one that worked
drm-2008717
I just not sure what to do to use the previous, or if it will even work.
OK,
I deleted the newer folder and easy-drm installer found the previous and I was able to use that source again.
Phew!!!!! The build went well and installed properly.
FYI, there may be a problem with the source in git today.
Code:$ ./easy-drm-modules-installer Found DRM source directory drm-20080613 Would you like to download the newest 'git' version, instead of using these sources [y/N]? n Will use existing source drm-20080613 Building from drm-20080613 sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt make -C /lib/modules/2.6.24-19-rt/build SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-rt' CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_auth.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_bufs.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_context.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_dma.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_drawable.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_drv.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_fops.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_ioctl.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_irq.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_lock.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_memory.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_proc.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_stub.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_vm.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_sysfs.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_pci.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_agpsupport.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_scatter.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_memory_debug.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/ati_pcigart.o /tmp/tmp.CZdDto6555/drm-20080613/linux-core/ati_pcigart.c: In function ‘drm_ati_pcigart_init’: /tmp/tmp.CZdDto6555/drm-20080613/linux-core/ati_pcigart.c:129: warning: unused variable ‘page_base’ CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_sman.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_hashtab.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_mm.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_object.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_compat.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_fence.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_ttm.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_bo.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_bo_move.o include/asm/io_32.h: In function ‘memcpy_fromio’: include/asm/io_32.h:211: warning: passing argument 2 of ‘__memcpy’ discards qualifiers from pointer target type include/asm/io_32.h: In function ‘memcpy_toio’: include/asm/io_32.h:217: warning: passing argument 1 of ‘__memcpy’ discards qualifiers from pointer target type CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_bo_lock.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_regman.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/drm_vm_nopage_compat.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i810_drv.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i810_dma.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_drv.o /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_drv.c: In function ‘i915_resume’: /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_drv.c:94: warning: unused variable ‘dev_priv’ CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_dma.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_irq.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_mem.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_fence.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_buffer.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_compat.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_execbuf.o CC [M] /tmp/tmp.CZdDto6555/drm-20080613/linux-core/i915_suspend.o ...... make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-rt' Built new modules: drm.ko i810.ko i915.ko mach64.ko mga.ko nouveau.ko nv.ko r128.ko radeon.ko savage.ko sis.ko tdfx.ko via.ko xgi.ko
And the problem is ...
Commit dfd441cf964f20e4a761cb8490d7cd82cf32e7b9
Author: Hong Liu <hong.liu@intel.com>
Date: Tue Jul 15 10:14:17 2008 -0700
There is some support for building only needed modules in both easy-drm-installer and drm's linux-core Makefile, but it is a) not used and b) broken.
Instructions at http://www.phoronix.com/forums/showthread.php?t=9951 should describe how easy-drm-installer takes parameters, and the script itself should have BUILD_MODULES envvar renamed to DRM_MODULES.
You can add the name of the module as an argument. There is also an option "-y" to just go for the default answer. I use for instance "./easy-drm-modules-installer -y radeon".
I don't think it's broken or needs renaming of the envvars, you should take a closer look at the code![]()
While I tried to sidestep the build brokenness with 'radeon' as argument,
for some reason it did not work. I hardcoded the module name as an argument to make and got the impression that BUILD_MODULES's contents did not make it to DRM_MODULES.
Well, I'm sorry. I should have re-downloaded and re-read a copy of the script before complaining here.