mandrake 10 and ati

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
im trying to get tv out to work with my radeon 9500 pro, i found out that i cant install it on a system with the 2.6 kernel so i reinstalled with the 2.4 kernel. heres what happend:
[root@localhost Documents]# rpm -Uh --force fglrx-4.3.0-3.7.6.i386.rpm
########################################### [100%]
########################################### [100%]
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Error: no kernel module build environment - please consult readme.
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===
[root@localhost Documents]#
what am i doing wrong? there were the three different versions, i ran the check.sh program and got the right one for sure.

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
It told you what you need to do:

You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
sorry, i forgot to add on that i did that and this is what happend.

[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
[root@localhost build_mod]# cd..
[root@localhost fglrx]# cd..
[root@localhost modules]# cd..
[root@localhost lib]# cd..
[root@localhost /]# cd lib/modules/fglrx
[root@localhost fglrx]# dir
build_mod fglrx.2.4.18-17.7.x.o fglrx.2.4.18-17.8.0.o make_install.sh
[root@localhost fglrx]# sh make_install.sh
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
[root@localhost fglrx]#

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

poorboy

Distinguished
Jan 17, 2002
634
0
18,980
You probably need to install the kernel headers or kernel source package. It's trying to build the ATI module, but it can't without knowing how your kernel was built.

These lines give it away:
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h

Kernel sources are usually put under /usr/src/linux, so install that from your distro (not from kernel.org - it won't be setup the same), and you should be good to go.

<i>Knock Knock, Neo</i>
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
There'll be a kernel-2.6.x-rXX-mdk.src.rpm file somewhere on your install disks. Just

rpm -i <file>

and it should do it for you. The name formatting might not look exactly like that, but I'm pretty sure it'll be similar.

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
i did the file called "kenel-2.6.3.4mdk-1-1mdk.i586.rpm
it said "package ... is already installed. that file was in cdrom/Mandrake/RPMS ill look for another file.

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

poorboy

Distinguished
Jan 17, 2002
634
0
18,980
Right. That's the binary (compiled) package. The one you want is probably called kernel-source-2.6.3.4mdk-1-1mdk.i586.rpm. If you are having trouble finding it, launch RpmDrake through the Mandrake Control Center. It has a search feature in it. If looking for "kernel-source" doesn't find anything, try "urpmi kernel-source" to automagically install it (if your system "knows" about the package in it's database). Alternatively, you might have to grab the rpm off an ftp mirror. You can manually install the package with rpm -Uvh kernel-source-2.6.3.4mdk-1-1mdk.i586.rpm.

<i>Knock Knock, Neo</i>
 

Johanthegnarler

Distinguished
Nov 24, 2003
895
0
18,980
Do you know how to get my 9800pro to work with 3d games like tux racer. Lol. Sad isn't it?
It looks great for color's and whatnot , just really choppy.. even on chromium. Mandrake 10 here as well.

<A HREF="http://arc.aquamark3.com/arc/arc_view.php?run=277124623" target="_new">http://arc.aquamark3.com/arc/arc_view.php?run=277124623</A>
46,510 , movin on up. 48k new goal. Maybe not.. :/
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
The basic procedure is to install the drivers, run fglrxconfig and copy the XF86Config-4 file to /etc/X11. Then run

opengl-update ati

and restart your xserver by hitting <ctrl> + <backspace>

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
i broke linux so i reinstalled. i thought i installed the source from the individual package selection section durring install. now this happens when i try to install the drivers
[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.4.25-2mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux


just who the [-peep-] do i have to kill to get this working right????????? my aim name is jihiggs if any one were interested in helping a lost soul.

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

Johanthegnarler

Distinguished
Nov 24, 2003
895
0
18,980
I guess i did it right then.. maybe my direct rendering is just broke becuase it says it isn't on.

<A HREF="http://arc.aquamark3.com/arc/arc_view.php?run=277124623" target="_new">http://arc.aquamark3.com/arc/arc_view.php?run=277124623</A>
46,510 , movin on up. 48k new goal. Maybe not.. :/
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
<A HREF="http://ftp://ftp.rediris.es/sites/carroll.cac.psu.edu/mandrake-devel/cooker/SRPMS/kernel-2.4.25.2mdk-1-1mdk.src.rpm" target="_new">Download and install this</A>

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
[root@localhost Documents]# rpm -i kernel-2.4.25.2mdk-1-1mdk.src.rpm
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
warning: user nplanel does not exist - using root
warning: group nplanel does not exist - using root
[root@localhost Documents]# cd /lib/modules/fglrx/
[root@localhost fglrx]# cd build_mod
[root@localhost build_mod]# dir
2.6.x agpgart_be.c firegl_public.c libfglrx_ip.a.GCC2 make.sh
agp3.c agpgart.h firegl_public.h libfglrx_ip.a.GCC3 nvidia-agp.c
agp_backend.h agp.h i7505-agp.c make.log
[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /usr/src/linux/include do not match current kernel.
they are versioned as ""
instead of "2.4.25-2mdk".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
[root@localhost build_mod]#

<sigh>
the link you provided was dead so i searched for the exact file name and downloaded it from somewhere else. should i be restarting inbetween these actions?

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

Corcilan

Distinguished
Apr 13, 2004
2
0
18,510
jihiggs,
It sounds like you need the kernel-source rpm package for the kernel you are using, along with the kernel-headers rpm as well. These will contain the headers and source code for the kernel to allow for modules to be built with the right symbols. Could you do the following?
Reply with the output of the following commands:
rpm -qa | grep kernel
uname -a
ls -al /usr/src

This will allow us/me to better help you ensure that the right pacakges and configuration is done to allow the source code for the driver to compile the module correctly. I will keep an eye out for this information.


Corcilan

<P ID="edit"><FONT SIZE=-1><EM>Edited by Corcilan on 04/13/04 06:33 AM.</EM></FONT></P>
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
there you go, and thank you all for putting up with my noobness! i also just learned that that grep command is a VERY usefull tool. i thought it just searched for text in document files.

[root@localhost james]# rpm -qa | grep kernel
kernel-source-2.6.3-4mdk
kernel-2.4.25.2mdk-1-1mdk
kernel-2.6.3.4mdk-1-1mdk
[root@localhost james]# uname -a
Linux localhost 2.4.25-2mdk #1 Tue Mar 2 07:39:08 CET 2004 i686 unknown unknown GNU/Linux
[root@localhost james]# ls -al /usr/src
total 20
drwxr-xr-x 5 root root 4096 Apr 13 01:11 ./
drwxr-xr-x 12 root root 4096 Apr 12 20:38 ../
drwxr-xr-x 2 root root 4096 Apr 13 01:35 ATI/
lrwxrwxrwx 1 root root 16 Apr 12 20:29 linux -> linux-2.6.3-4mdk/
drwxr-xr-x 20 root root 4096 Apr 12 20:29 linux-2.6.3-4mdk/
drwxr-xr-x 7 root root 4096 Apr 12 20:20 RPM/


wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
Okay, there's your problem

"[root@localhost james]# uname -a
Linux localhost 2.4.25-2mdk"

You are running the 2.4.25-2mdk kernel but

"lrwxrwxrwx 1 root root 16 Apr 12 20:29 linux -> linux-2.6.3-4mdk/"

Your installed sources are for the 2.6.3-4mdk kernel.

Did you try compiling your own kernel and upgrading to 2.6.x at some point? Basically, the kernel version and kernel sources have to match in order for this procedure to work. You basically have two options here: You can either use the installed sources to make a new kernel for yourself and reboot to that, or you can find the kernel sources for your kernel, install them, and update your /usr/src/linux symlink.

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
a few posts up i installed this package "kernel-2.4.25.2mdk-1-1mdk.src.rpm" correct me if im wrong, but that is the same version number as my kernel? this is a fresh install, just did it yesterday. by default mandrake 10 installs the 2.6 kernel, if you select one of the dev packages it forces you down to 2.4 because of a compatibility issue. i knew that the ati drivers said specificaly they werent compatible with the 2.6 kernel so i made it install the 2.4. i dont understand these symlinks, could that be all i need to change to get it to recognise the other source files i want to use? is it a variable that is set for "linux"? how do i set it?

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
Apparently the kernel-source-2.4.25-2mdk.i586.rpm file is on CD4 of mandrake 10.0

It's been hard to find and the one or two links I've found have been broken or require you sign up. You basically need to get

kernel-source-2.4.25-2mdk.i586.rpm

s signature has been formatted to fit your scr
 

silverpig

Splendid
Dec 31, 2007
5,068
0
25,780
It is the same version number but not the same package. I think I messed up the link as I copied the wrong one off the site I found. Doesn't matter though as I went back and the correct link was dead as well.

I've had my ati drivers working on a 2.6.x kernel, so maybe check that you have the latest version of those. Do you happen to have CD4 of your install disks?

s signature has been formatted to fit your scr
 

jihiggs

Splendid
Oct 11, 2001
5,821
2
25,780
there was no cd 4 in any of the ftp mirrors i downloaded from. let me clarify some things, my ati card works just fine, linux installed the drivers but the tv out doesnt work. so im trying to install the latest catalyst drivers to get it to work. also, is there a good remote admin app for linux that i could control from windows? ive played with ssh and vnc, but what i really need to do is control the gui. if all i needed was the command line i would just use telnet. getting a gui folder is nice and all, but i want to be able to use the box just as it is in front of me, gui and everything.

wpdclan.com cs game server - 64.246.52.144:27015
now featuring (optional) cheating death!
 

Corcilan

Distinguished
Apr 13, 2004
2
0
18,510
I would agree with Silverpig, if you can find the rpm for kernel-source-2.4.25-2mdk.i586.rpm and kernel-headers-2.4.25-2mdk.i586.rpm (if it exists) and install those, then make sure the /usr/src/linux soft link points to /usr/src/linux-2.4.25-2mdk, that should work. As for CD4, I could not find it either, and I didn't see it on Mandrake's site when I downloaded the software. If you go to the download page on Mandrake's website, they don't list an MD5SUM for CD4! But it definetly asked me for it during an install of it... very strange.
As far as the remote management goes, I would try one of the X tools for windows: xwin32 (not free), Cygwin (free), Hummingbird Xceed (not free), ReflectionX (not free). You will have to work with the linux host to setup xdmcp so that you can do a connection via that, but once you have that configured and use the X applications, you should be able to get a "Login" window to show up on your windows machine. Please note that this is not the preferred method of doing Linux work, since opening X up this way has inherent security risks, but it can be done.