[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't get ATI Rage128 to work with XFree86 on Debian



On Sun, Nov 24, 2002 at 03:38:03PM +0100, Holger Wiechert wrote:
> OK,
> got the message.
> - Downloaded drm-trunk-module-src
> - build the drm module:
>    (in /usr/src/kernel-source-2.4.18/ make-kpkg modules-image,
>     ...
>     "Module /usr/src/modules/drm-trunk processed fine":
>     package drm-trunk-module-2.4.18_custom.2.0+2002.11.06-1_i386.deb now
>     in /usr/src/ )
> 
> - dpkg -i ../drm-trunk-module-2.4.18_custom.2.0+2002.11.06-1_i386.deb

Perfect

> 
> => output
> ...
> Unpacking replacement drm-trunk-module-2.4.18 ...
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/kernel/drivers/char/drm/gamma.o

Ok for this one. You will not use it. You can simply rm it if you want
or leave it.

> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/kernel/drivers/char/drm/gamma.o-dpkg-tmp

This one is strange. It should not be there. Check if this file is still
there, I guess not.


> Setting up drm-trunk-module-2.4.18 (custom.2.0+2002.11.06-1) ...
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/kernel/drivers/char/drm/gamma.o
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.18/kernel/drivers/char/drm/gamma.o
> 
> So, it seems that I've got some older stuff somewhere, don't you think?
> Is there a way to clean up all the mess from any older "tests"?
> Thanks in advance, Holger

So everything is working now?

Christophe

> 
> 
> On Wed, Nov 20, 2002 at 06:56:04PM +0100, Holger Wiechert wrote:
> >
> > Thanks for the hints.
> > However, I still have to struggle. Maybe someone will see,
> > what I'm doing wrong:
> >
> > I downloaded the packages
> > - xserver-xfree86-dri-trunk
> > and
> > - drm-trunk-module-src
> >
> > After that I went to the kernel config (make menuconfig)
> > of the source from the (extracted) kernel package 2.4.18
> > (/usr/src/kernel-source-2.4.18/)
> > and set up the following things:
> >
> > Character devices-->
> >    {*} /dev/agpgart
> >     selection for all chipsets (yeah, I know, but just to make sure)
> >    [*] Direct Rendering Manager (XFree86 DRI support)
> >   --- DRM 4.1 drivers
> >    {*} ATI Rage 128
> 
> Wrong. You need:
>    --- DRM 4.1 drivers
>     { } ATI Rage 128
> 
> Because 4.1 stands for the X version. You certainly use 4.2.
> That's why you have to download and compile drm-trunk-module-src.
> 
> > Finished the config.
> > Then:
> >
> > make-kpkg clean
> > make-kpkg --revision=custom.1.0 kernel_image
> 
> You only need to build the drm modules. In /usr/src, untar the
> drmi-trunk.tar.gz than in /usr/src/linux do 'make-kpkg modules-image'.
> 
> > dpkg -i ../kernel_image--2.4.18_custom.2.0_i386.deb
> 
> install also the resulting drm package.
> 
> > shutdown -r now
> 
> Wrong.
> You need to update your boot loader (unless you use grub).
> For lilo see lilo, for yaboot see ybin.
> 
> > There's something that gets my attention when making the kernel:
> > It says that I'm currently running a 2.4.18 kernel and the modules
> > under /lib/modules/2.4.18 are set up for this kernel. It is building
> > the new dependencies file modules.dep but it should be rebuilt after
> > the reboot. May this be the thing that drives me crazy?
> 
> Yes the dependencies are updated.
> But you will never see the custom.1.0 in the kernel name (just the
> package name).
> 
> Christophe
> 
> > Thanks for your help, Holger
> >
> >
> > To: Debian-User <debian-user@lists.debian.org>
> > Subject: Re: Can't get ATI Rage128 to work with XFree86 on Debian
> > From: christophe barbe <christophe@cattlegrid.net>
> > Date: Sat, 16 Nov 2002 16:08:54 -0500
> > In-reply-to:
> > <HGEDLNOBCDPPDFNLGDKDGEFDCBAA.holger.wiechert@business-logics.de>
> > Mail-followup-to: Debian-User <debian-user@lists.debian.org>
> > Old-return-path: <christophe@cattlegrid.net>
> > References:
> > <HGEDLNOBCDPPDFNLGDKDGEFDCBAA.holger.wiechert@business-logics.de>
> > User-agent: Mutt/1.3.28i
> >
> > --------------------------------------------------------------------------
> --
> > ----
> >
> > There is two part that come from DRI:
> >
> >    xserver-xfree86-dri-trunk : the xfree server
> >
> > And the drm kernel module. The message you see is because the kernel
> > module that is shipped with the kernel is not for xfree 4.2.1.
> > You need to rebuild your kernel without any drm stuff and get the kernel
> > module source from the DRI project or by adding the following line in
> > your /etc/apt/sources.list :
> >
> >    # Daenzer Xfree Stuff
> >    deb http://people.debian.org/~daenzer/dri-trunk/ ./
> >
> > And get drm-trunk-module-src, then build (using kernel-package) and
> > install.
> >
> > That said that only for the 3D part. The server alone should be enough
> > to get X working.
> >
> > Good luck,
> > Christophe
> >
> > On Sat, Nov 16, 2002 at 08:55:07PM +0100, Holger Wiechert wrote:
> > > Hi,
> > >
> > > after a hell of a time trying to get my ATI Rage 128 to work with
> XFree86
> > on
> > > Debian (Woody), it's time to get help from the
> > > outside...
> > > I tried the stuff recommended from
> > > dri.sourceforge.net (installing the xserver-xfree86-dri-trunk package).
> > > As I came closer, it still doesn't work.
> > > The current state is the error message in
> > > XFree86.0.log:
> > > (EE) R128(0): [dri] R128DRIScreenInit failed because of a version
> > mismatch.
> > > [dri] r128.o kernel module version is 2.1.6 but version 2.2 or greater
> is
> > > needed.
> > >
> > > Whatever that means. I compiled the r128.o using a 2.4.18-kernel.
> > Installed
> > > is XFree86 4.2.1.
> > >
> > > What is of version 2.1.6?
> > > So what the hell do I have to do to get that
> > > damn thing to work?
> > > I can live without any 3D stuff. So, if that helps....
> > >
> > > Thanks in advance, Holger
> > >
> > >
> > > ____________
> > > Virus checked by G DATA AntiVirusKit
> > > Virus news: www.antiviruslab.com
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > > with a subject of "unsubscribe". Trouble? Contact
> > listmaster@lists.debian.org
> >
> > --
> > Christophe Barb? <christophe.barbe@ufies.org>
> > GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E
> >
> > Things should be made as simple as possible, but not any simpler.
> > -- Albert Einstein
> >
> >
> >
> >
> >
> > ____________
> > Virus checked by G DATA AntiVirusKit
> > Virus news: www.antiviruslab.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> --
> Christophe Barb? <christophe.barbe@ufies.org>
> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E
> 
> Dogs come when they're called;
> cats take a message and get back to you later. --Mary Bly
> 
> 
> 
> 
> 
> ____________
> Virus checked by G DATA AntiVirusKit
> Virus news: www.antiviruslab.com
> 
> 
> 
> ____________
> Virus checked by G DATA AntiVirusKit
> Virus news: www.antiviruslab.com
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

There's no sense in being precise when you don't even know what you're
talking about. -- John von Neumann



Reply to: