Re: building kernel drm modules [was Re: DRI on mach64 (ATI Technologies Inc 3D Rage Pro 215GP (rev 5c))]
On Tue, 2008-09-23 at 08:48 +0200, Hans Ekbrand wrote:
>
> 1. added experimental to sources.list
>
> $ grep experimental /etc/apt/sources.list
> deb-src http://ftp.se.debian.org/debian/ experimental main
>
> 2. Backported drm-modules-source from experimental to lenny
>
> # apt-get build-dep drm-modules-source
> # apt-get --build source drm-modules-source
>
> 3. Installed the backported drm-modules-source package
>
> # dpkg -i drm-modules-source_2.3.1+git+20080706+401f77a-1_all.deb
>
> I just ignored the other packages that where built in this run:
>
> libdrm-dev_2.3.1+git+20080706+401f77a-1_powerpc.deb
> libdrm2_2.3.1+git+20080706+401f77a-1_powerpc.deb
> libdrm2-dbg_2.3.1+git+20080706+401f77a-1_powerpc.deb
>
> Was that correct?
Yes, but couldn't you just install drm-modules-source from experimental?
> CC [M] /usr/src/modules/drm-modules/linux-core/mach64_drv.o
> CC [M] /usr/src/modules/drm-modules/linux-core/mach64_dma.o
> CC [M] /usr/src/modules/drm-modules/linux-core/mach64_irq.o
> CC [M] /usr/src/modules/drm-modules/linux-core/mach64_state.o
As you can see, the mach64 driver builds fine; try setting the
environment variable DRM_MODULES=mach64 for running module-assistant.
FWIW, the xgi driver build should be fixed in upstream commit
eac0933be75b226e0b623d8dcbf343c391eb88a2 .
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
Reply to: