LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 06-07-2004, 05:18 PM   #1
UberNo0ber
LQ Newbie
 
Registered: Jun 2004
Posts: 19

Rep: Reputation: 0
mandrake10 install kernel source code /radeon 9800xtpro drivers


Hi guys. I'm trying to understand whats going on here with building or compiling a kernel source code ( in mandrake10 ) inorder to link up my newly obtained driver for my ati Radeon 9800xt pro.( they are the latest)
I've read the readme file that came with the kernel source code (confusing)
I've been to http ://blahserver.greatnow.com/atihowto.html (not enough info as to whats going on)
I have as a source code > linux-2.6.6 < unzipped in /home/pauly/desktop/downloads
I have the source code patch > patch-2.6.6 < unzipped in the same directory
I have the ati radeon driver > fglrx-4.3.0-3.9.0.i386.rpm<unzipped in the same director as above.
So at this point I feel I'm ready to start umm building a kernel source code, i think.
To my limited understanding I believe I'm suppose to go into /home/pauly/desktop/downloads and in this window I'm to click TOOLS then OPEN TERMINAL . From here the dirctories shell konsole comes up.
[pauly@ujan downloads]$
From here I type > su - < to go after root, so i can be at a place where I can actually make the changes work.
ie. [pauly@ujan downloads]$ su -
then the password comes up
ie. password:
then the following comes up
ie. [root@ujan downloads]#
and its here I'm unsure as to what to do. they're is some confusion here. In this forum it say /usr/src/linux <--( i don't know what this is for ) I think its the next step but I'm unsure. and if so the Readme file that came with the kernel source code says Do Not use the /usr/src/linux because this area has a usually incomplete set of kernel headers that are used by the library header files. they should match the library, and not get messed up by whatever the kernel -du-jour happens to be.
UPDATE: Seeing that the forums say to do it, I did it ( /usr/src/linux ) and as it turns out they say this is where your kernel source code directory is at.
Continue from: [root@ujan downloads]#
ie. [root@ujan downloads]#cd /usr/src/linux
then press enter. note: they're is a space between cd and /usr/src/linux
then the following comes up
[root@ujan linux]# note: take note of the directory changing from "downloads" to "linux"
cont. next i type > make mrproper < ( i don't know why but I do it and walk into the unknown)
ie. [root@ujan linux]# make mrproper
then press enter. and the following comes up.
CLEAN scripts/genksyms
CLEAN scripts/kconfig
CLEAN scripts
RM $(CLEAN_FILES)
Making mrproper in the srctree
RM $(MRPROPER_DIRS) + $(MRPROPER_FILES)
So from here I type > make clean < to my understanding its so you don't have several unneeded kernel source codes confusing things on your system.
ie. [root@ujan linux]# make clean
then press enter. The following comes up.
RM $(CLEAN_FILES)
At this my unassured walk is gaining some confidence.
cont. next type > make xconfig < (I don't know why but the forums say so.)
ie. [root@ujan linux]# make xconfig
then press enter. the following comes up.
HOSTCC scripts/fixdep
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
/usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/i386/Kconfig
3rdparty/bcm4400/Kconfig:5:warning: 'select' used by config symbol 'BCM4400' refer to undefined symbol '3RDPARTY'
3rdparty/ivtv/Kconfig:5:warning: 'select' used by config symbol 'IVTV' refer to undefined symbol '3RDPARTY'
3rdparty/video-rivatv/Kconfig:13:warning: 'select' used by config symbol 'VIDEO_RIVATV' refer to undefined symbol '3RDPARTY'
3rdparty/viahss/Kconfig:4:warning: 'select' used by config symbol 'VIAHSS' refer to undefined symbol '3RDPARTY'
3rdparty/w9968cf/Kconfig:4:warning: 'select' used by config symbol 'W9968CF' refer to undefined symbol '3RDPARTY'
3rdparty/fuse/Kconfig:4:warning: 'select' used by config symbol 'FUSE' refer to undefined symbol '3RDPARTY'
3rdparty/svgalib_helper/Kconfig:4:warning: 'select' used by config symbol 'SVGALIB_HELPER' refer to undefined symbol '3RDPARTY'
#
# using defaults found in /boot/config-2.6.3-7mdk

So all this comes up and aswell a > X qconf < window, wanting me to do something. but I don't know what. I don't what I'm suppose to configure inorder to make everything work. This is where I'm at. This is where I'm stuck.
I believe i need a properly working qconf for my radeon 9800xt pro card
Thank you all who help in advance !!!
:Uban the UberNo0ber linux user
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: install kernel source code Tux136 Linux - Newbie 9 08-30-2005 09:59 AM
How do I install the Linux kernel source code?? thearchitect Linux - Newbie 3 08-13-2005 12:07 AM
where to D/L kernel source code Almazick Linux - Software 6 09-03-2004 03:41 PM
Install nVidia drivers? (Need Kernel source!) Jojo87 Linux - Newbie 6 02-15-2004 12:32 AM
kernel source code nabil_boussetta Linux - Software 7 02-13-2004 06:57 AM


All times are GMT -5. The time now is 03:27 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration