Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 119115

Summary: Unable to Emerge x11-drm
Product: Gentoo Linux Reporter: Philippe-A. Forget <syskrasher>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: itsmedanesh
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Philippe-A. Forget 2006-01-15 12:28:39 UTC
GPU : Radeon 9000 Mobility (M9)
Ive been following step by step the instructions in the Gentoo DRM guide.

Upon emerge x11-drm Here is what i get (Last Chunk)
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:57:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:88:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:136:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:143:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:159:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:57:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:88:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:136:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:143:5: warning: "DRM_DEBUG_MEMORY" is not defined
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_pci.c:159:5: warning: "DRM_DEBUG_MEMORY" is not defined
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_agpsupport.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_scatter.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/drm_memory_debug.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/ati_pcigart.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c: In function `postinit':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: implicit declaration of function `pci_pretty_name'
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_drv.c:42: warning: format argument is not a pointer (arg 8)
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_cp.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_state.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_mem.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_irq.o
  CC [M]  /var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c: In function `setup_i2c_bus':
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: `I2C_ALGO_ATI' undeclared (first use in this function)
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: (Each undeclared identifier is reported only once
/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.c:91: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/x11-drm-20050502/work/drm/linux-core/radeon_i2c.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-drm-20050502/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r5'
make: *** [modules] Error 2
 * Portage could not build the DRM modules. If you see an ACCESS DENIED error,
 * this could mean that you were using an unsupported kernel build system. All
 * 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
 * are supported.

Any Hint would be greatly appreciated.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-15 12:35:15 UTC

*** This bug has been marked as a duplicate of 117525 ***
Comment 2 Dan 2006-07-02 15:20:31 UTC
I'm having the exact same issue. I don't think this bug is a dupe of 117525 as bug# 117525 completes compiling where as this bug reports failure due to "error:
`I2C_ALGO_ATI' undeclared (first use in this function)".


I tried digging a little deeper into the problem (and I'm a newbie when it comes to this), but according to "http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/include/linux/i2c-id.h" (and I wish I could find a more authorative source, but I2C_ALGO_ATI is declared in kernel 2.6.11.8, but not in 2.6.16.18 (and since reporter of bug 117525 could compile it, Im assuming the change was made after 2.6.14-r2 but before 2.6.14-r5 which the original reporter of bug 119115 seems to be using. The kernel version I am using is suspend2 2.6.16-r8).
Comment 3 Dan 2006-07-02 15:32:40 UTC
This seems to be what might have done it..

http://lists.lm-sensors.org/pipermail/lm-sensors/2005-September/013516.html