Help - Search - Members - Calendar
Full Version: Fedora Core 1 Nvidia Drivers
Linuxhelp > Support > Technical Support
Robert83
Hi I get this error when trying to install the nvidia audio driver :

[root@demon nvaudio]# make
make nvaudio.o
make[1]: Entering directory `/home/NForce 2/nforce/nvaudio'
cc -D__KERNEL__ -I/lib/modules/2.4.22-1.2115.nptl/build/include -Wall -Wstrict-prototypes -O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -DREMAP_NEW -c -o nvhw.o nvhw.c
nvhw.c:14:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/sched.h:14,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/linux/timex.h:56: error: syntax error before "and"
In file included from /usr/include/linux/timex.h:126,
from /usr/include/linux/sched.h:14,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/asm/timex.h:33: error: syntax error before "cacheflush_time"
/usr/include/asm/timex.h:35: error: syntax error before "get_cycles"
In file included from /usr/include/linux/sched.h:14,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/linux/timex.h:147: error: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/asm/signal.h:107: error: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:81,
from nvhw.h:15,
from nvhw.c:16:
/usr/include/linux/timer.h:45: error: syntax error before "spinlock_t"
/usr/include/linux/timer.h:53: error: syntax error before '}' token
/usr/include/linux/timer.h:67: error: syntax error before "tvec_base_t"
/usr/include/linux/timer.h:101: error: syntax error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: error: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: error: dereferencing pointer to incomplete type
In file included from nvhw.h:16,
from nvhw.c:16:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
In file included from nvhw.h:22,
from nvhw.c:16:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
In file included from nvhw.h:23,
from nvhw.c:16:
/usr/include/asm/dma.h: At top level:
/usr/include/asm/dma.h:138: error: syntax error before "dma_spin_lock"
In file included from nvhw.h:23,
from nvhw.c:16:
/usr/include/asm/dma.h:298:2: warning: #warning Using kernel headers in userspace!
In file included from nvhw.c:16:
nvhw.h:28:30: linux/ac97_codec.h: No such file or directory
nvhw.h:30:25: asm/uaccess.h: No such file or directory
nvhw.h:31:25: asm/hardirq.h: No such file or directory
In file included from nvhw.h:33,
from nvhw.c:16:
chaninfo.h:103: error: syntax error before "wait_queue_head_t"
chaninfo.h:103: warning: no semicolon at end of struct or union
chaninfo.h:120: error: syntax error before '}' token
chaninfo.h:120: warning: type defaults to `int' in declaration of `dmabuf'
chaninfo.h:120: warning: data definition has no type or storage class
chaninfo.h:129: error: field `open_sem' has incomplete type
chaninfo.h:130: error: syntax error before "wait_queue_head_t"
chaninfo.h:130: warning: no semicolon at end of struct or union
chaninfo.h:148: error: syntax error before ':' token
chaninfo.h:149: error: syntax error before ':' token
chaninfo.h:150: error: syntax error before ':' token
chaninfo.h:153: error: syntax error before "lock"
chaninfo.h:153: warning: type defaults to `int' in declaration of `lock'
chaninfo.h:153: warning: data definition has no type or storage class
In file included from nvhw.c:16:
nvhw.h:99: error: syntax error before "spinlock_t"
nvhw.h:99: warning: no semicolon at end of struct or union
nvhw.h:148: error: syntax error before '}' token
nvhw.c: In function `alloc_dmabuf':
nvhw.c:38: error: dereferencing pointer to incomplete type
nvhw.c:41: error: dereferencing pointer to incomplete type
nvhw.c:42: error: dereferencing pointer to incomplete type
nvhw.c:44: error: dereferencing pointer to incomplete type
nvhw.c:45: error: dereferencing pointer to incomplete type
nvhw.c:45: error: dereferencing pointer to incomplete type
nvhw.c:47: error: dereferencing pointer to incomplete type
nvhw.c:47: error: dereferencing pointer to incomplete type
nvhw.c:49: error: dereferencing pointer to incomplete type
nvhw.c:49: error: dereferencing pointer to incomplete type
nvhw.c:59: warning: implicit declaration of function `pci_alloc_consistent'
nvhw.c:59: error: dereferencing pointer to incomplete type
nvhw.c:61: error: dereferencing pointer to incomplete type
nvhw.c:61: warning: assignment makes pointer from integer without a cast
nvhw.c:67: error: `ENOMEM' undeclared (first use in this function)
nvhw.c:67: error: (Each undeclared identifier is reported only once
nvhw.c:67: error: for each function it appears in.)
nvhw.c:75: error: dereferencing pointer to incomplete type
nvhw.c:75: error: dereferencing pointer to incomplete type
nvhw.c:76: error: dereferencing pointer to incomplete type
nvhw.c:77: error: dereferencing pointer to incomplete type
nvhw.c:81: warning: implicit declaration of function `virt_to_page'
nvhw.c:81: warning: assignment makes pointer from integer without a cast
nvhw.c:82: warning: assignment makes pointer from integer without a cast
nvhw.c:82: error: increment of pointer to unknown structure
nvhw.c:82: error: arithmetic on pointer to an incomplete type
nvhw.c:83: error: `PG_reserved' undeclared (first use in this function)
nvhw.c:83: error: dereferencing pointer to incomplete type
nvhw.c: In function `dealloc_dmabuf':
nvhw.c:93: error: dereferencing pointer to incomplete type
nvhw.c:95: error: dereferencing pointer to incomplete type
nvhw.c:98: error: dereferencing pointer to incomplete type
nvhw.c:98: error: dereferencing pointer to incomplete type
nvhw.c:98: warning: assignment makes pointer from integer without a cast
nvhw.c:99: error: dereferencing pointer to incomplete type
nvhw.c:99: warning: assignment makes pointer from integer without a cast
nvhw.c:99: error: increment of pointer to unknown structure
nvhw.c:99: error: arithmetic on pointer to an incomplete type
nvhw.c:100: error: `PG_reserved' undeclared (first use in this function)
nvhw.c:100: error: dereferencing pointer to incomplete type
nvhw.c:102: warning: implicit declaration of function `pci_free_consistent'
nvhw.c:102: error: dereferencing pointer to incomplete type
nvhw.c:102: error: dereferencing pointer to incomplete type
nvhw.c:103: error: dereferencing pointer to incomplete type
nvhw.c:103: error: dereferencing pointer to incomplete type
nvhw.c:110: error: dereferencing pointer to incomplete type
nvhw.c:111: error: dereferencing pointer to incomplete type
nvhw.c:111: error: dereferencing pointer to incomplete type
nvhw.c: In function `prog_dmabuf':
nvhw.c:122: error: dereferencing pointer to incomplete type
nvhw.c:124: error: dereferencing pointer to incomplete type
nvhw.c:126: error: dereferencing pointer to incomplete type
nvhw.c:130: error: dereferencing pointer to incomplete type
nvhw.c:134: error: dereferencing pointer to incomplete type
nvhw.c:138: error: dereferencing pointer to incomplete type
nvhw.c:139: error: dereferencing pointer to incomplete type
nvhw.c:139: error: dereferencing pointer to incomplete type
nvhw.c:140: error: dereferencing pointer to incomplete type
nvhw.c:140: error: dereferencing pointer to incomplete type
nvhw.c:141: error: dereferencing pointer to incomplete type
nvhw.c:150: error: dereferencing pointer to incomplete type
nvhw.c:150: error: dereferencing pointer to incomplete type
nvhw.c:151: error: dereferencing pointer to incomplete type
nvhw.c:152: error: dereferencing pointer to incomplete type
nvhw.c:152: error: dereferencing pointer to incomplete type
nvhw.c:152: error: dereferencing pointer to incomplete type
nvhw.c:153: error: dereferencing pointer to incomplete type
nvhw.c:153: error: dereferencing pointer to incomplete type
nvhw.c:154: error: dereferencing pointer to incomplete type
nvhw.c:154: error: dereferencing pointer to incomplete type
nvhw.c:155: error: dereferencing pointer to incomplete type
nvhw.c:155: error: dereferencing pointer to incomplete type
nvhw.c:155: error: dereferencing pointer to incomplete type
nvhw.c:157: warning: implicit declaration of function `memset'
nvhw.c:157: error: dereferencing pointer to incomplete type
nvhw.c:157: error: dereferencing pointer to incomplete type
nvhw.c:159: error: dereferencing pointer to incomplete type
nvhw.c:161: error: dereferencing pointer to incomplete type
nvhw.c:162: error: dereferencing pointer to incomplete type
nvhw.c:164: error: dereferencing pointer to incomplete type
nvhw.c:165: error: dereferencing pointer to incomplete type
nvhw.c:167: error: dereferencing pointer to incomplete type
nvhw.c:170: error: dereferencing pointer to incomplete type
nvhw.c:177: error: dereferencing pointer to incomplete type
nvhw.c:194: error: dereferencing pointer to incomplete type
nvhw.c:196: error: dereferencing pointer to incomplete type
nvhw.c:198: error: dereferencing pointer to incomplete type
nvhw.c:200: error: dereferencing pointer to incomplete type
nvhw.c:200: error: dereferencing pointer to incomplete type
nvhw.c:203: error: dereferencing pointer to incomplete type
nvhw.c:216: error: dereferencing pointer to incomplete type
nvhw.c:219: error: dereferencing pointer to incomplete type
nvhw.c:221: error: dereferencing pointer to incomplete type
nvhw.c:224: error: dereferencing pointer to incomplete type
nvhw.c: In function `Nvaudio_ac97_get':
nvhw.c:242: error: dereferencing pointer to incomplete type
nvhw.c:244: error: dereferencing pointer to incomplete type
nvhw.c:246: error: dereferencing pointer to incomplete type
nvhw.c:247: warning: implicit declaration of function `udelay'
nvhw.c:249: error: dereferencing pointer to incomplete type
nvhw.c: In function `Nvaudio_ac97_set':
nvhw.c:254: error: dereferencing pointer to incomplete type
nvhw.c:256: error: dereferencing pointer to incomplete type
nvhw.c:258: error: dereferencing pointer to incomplete type
nvhw.c:260: error: dereferencing pointer to incomplete type
nvhw.c: In function `Nvaudio_Recalfreespace':
nvhw.c:268: error: dereferencing pointer to incomplete type
nvhw.c:270: error: dereferencing pointer to incomplete type
nvhw.c:283: error: dereferencing pointer to incomplete type
nvhw.c:296: error: dereferencing pointer to incomplete type
nvhw.c:305: error: dereferencing pointer to incomplete type
nvhw.c:306: error: dereferencing pointer to incomplete type
nvhw.c:313: error: dereferencing pointer to incomplete type
nvhw.c:314: error: dereferencing pointer to incomplete type
nvhw.c: In function `Nvaudio_MultiChannel_volume':
nvhw.c:328: error: dereferencing pointer to incomplete type
nvhw.c:331: error: dereferencing pointer to incomplete type
nvhw.c:336: error: dereferencing pointer to incomplete type
nvhw.c:339: error: `AC97_MASTER_VOL_STEREO' undeclared (first use in this function)
nvhw.c:344: error: `AC97_SURROUND_MASTER' undeclared (first use in this function)
nvhw.c:355: error: `AC97_PCMOUT_VOL' undeclared (first use in this function)
nvhw.c:359: error: `AC97_CENTER_LFE_MASTER' undeclared (first use in this function)
nvhw.c: In function `Nvaudio_SetSpkrRegister':
nvhw.c:374: error: dereferencing pointer to incomplete type
nvhw.c:376: error: dereferencing pointer to incomplete type
nvhw.c:379: error: dereferencing pointer to incomplete type
nvhw.c:383: error: dereferencing pointer to incomplete type
nvhw.c:387: error: dereferencing pointer to incomplete type
nvhw.c:395: error: dereferencing pointer to incomplete type
nvhw.c:395: error: dereferencing pointer to incomplete type
nvhw.c:395: error: dereferencing pointer to incomplete type
nvhw.c:398: error: dereferencing pointer to incomplete type
nvhw.c: At top level:
chaninfo.h:151: error: storage size of `dmabuffer' isn't known
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/home/NForce 2/nforce/nvaudio'
make: *** [all] Error 2
[root@demon nvaudio]#

what to do? , I have no sound yet...did all the updates, kernel was also updated...

Sincerely
Robert B
hughesjr
Shouldn't have to do the nvidia should driver ... it should work without it .... let me look around.
hughesjr
OK,

I built the RPM for 2174 kernel .... you can download it here



Install with:

rpm -Uvh NVIDIA_nforce-1.0-0261.athlon.rpm
Robert83
Hi,

Thank you, thank you, thank you, thank you, thank you!!!

Currently I cannot access you're website, because my ISP is having problems, but I hope that the rpm you created will stay there for another day... and thank you, thank you again!



Thank you!

Sincerely
Robert B

smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif
Robert83
Strange, I still cannot access you're site, but the rest of the net works fine...


the link is good?

Sincerely
Robert B
hughesjr
If you have an FTP server, PM me a password and I'll upload it if you want ...

I'll leave it up forever (although I'll rename it with the kernel version and OS later).
hughesjr
It works for me .... let me test it from outside...
Robert83
Ok, thanx

I was succesfull this time...


Sincerely
Robert B
Robert83
By the way,

do I need to change the 810_audio to nvaudio in modprobe.conf or modules.conf ?

[I don't know If this is just me, or I'm doing things bad, but I did it again, I've got one modprobe.conf , and one modules.conf... with almost the same lines, it seems that I need both for the system to function correctly, the sound ethernet is defined in modules.conf]


Sincerely
Robert B
Robert83
I hope, that I need to change something, because I gave the system a restart after the rpm installation and still no sound...

tried modporbe nvaudio but nothings...show error, module not found

modprobe i810_audio loads up without any warning or anything at all , but no sound, the volume is maxed out, and MUTE is not selected.


Sincerely
Robert B
hughesjr
should be able to just replace it in modules.conf for the 2.4.x kernels ... modprobe.conf is a 2.6.x kernel replacement for modules.conf.
hughesjr
do:

rpm -ql NVIDIA_nforce-1.0-0261 | grep modules

what is the output?
Robert83
Hi,

I'm sorry for wasting you're time...I've found it, just opened up the rpm with mc [F3], and read the first pages, and saw that it should'v replaced the alias to nvaudio in modules.conf , but it did not do it, so I changed it myself, and guess what? YAHHHHHOOOOOOOOOOOOOOOOOOOOOOOOOOOOO smile.gif [now I only hope I will succed with Ati smile.gif smile.gif ],

So thank you again for the rpm.

Sincerely
Robert B

smile.gif Oh happy day smile.gif lalalalal smile.gif now I can listen to some music again, while doing the ati stuff... smile.gif
hughesjr
Make sure you go through the kernel source setup stuff .... remove the custom, make dep, etc ... but remember ... no make install inside the kernel source directory....(or else you will get a new kernel).
Robert83
thanx for remiding me, that make install part I forgot...okay! so I build the ati modules, and from the ati dir I do the make install... or from / that is good no?

Sincerely
Robert B
hughesjr
first setup the kernel source:

cd /usr/src/linux-2.4.22-1.2174.nptl/

make mrproper


edit Makefile ... remove custom from the extra version line

cp /boot/config-2.4.22-1.2174.nptl .config

make oldconfig

make dep


you're done in source

Install the ati rpm like this:

rpm -Uvh --force fglrx-4.3.0-3.7.6.i386.rpm

the run fglrxconfig, then reboot and it should work....
Robert83
Hi,

it's me again smile.gif

here is the output of the ati driver installation

[root@demon Ati9600Pro Driver]# rpm -Uvh --force fglrx-4.3.0-3.7.6.i386.rpm
Preparing... ########################################### [100%]
1:fglrx ########################################### [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.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/net/nvnet.o
- trying a sample load of the kernel module
Warning: loading /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/char/drm/fglrx.o will taint the kernel: non-GPL license - Proprietary. © 2002 - ATI Technologies, Starnberg, GERMANY
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Module fglrx loaded, with warnings
done.
depmod: *** Unresolved symbols in /lib/modules/2.4.22-1.2174.nptl/kernel/drivers/net/nvnet.o
Installed: qt3 (gcc 3.2) based control panel application
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===
[root@demon Ati9600Pro Driver]#


so I guess I need to do those first steps right?

and after that run fglrxrconfig...

and one more thing, after all this done make install from somewhere not the kernel source...


Sincerely
Robert B
Robert83
Hi,

I've did everything you told me, but 3D ACCELERATION is still not available...

and when I try playing movies with mplayer, the following error comes up, and only sound is played :

fbdev: Can't open /dev/fb0: No such device

what is this? how can I fix it? [is this related to the 3D of Ati ? ]


Sincerely
Robert B
Termina
Ah, the joys of ATI. ;-_-
Robert83
Yes but I will NOT GIVE UP, muhahhahaha
I might throw the monitor out trough the window, I might use a battleaxe to press buttons on my keyboard...but I will eventualy do this...my guess is, with Fedora Core 2 [once the stable is released], it'll work, was reading a lot, and found something about 2.4.x kernels not detecting or something the AGP3.0....

But somebody here might have some aditional ideas for me? [shall I try Kernel 2.6.x again?]


Sincerely
Robert B
Robert83
Hello EVERYOBODY smile.gif))

Termina Hughesjr please have a look at this .... do you know what this means?

13732 frames in 5.0 seconds = 2746.400 FPS
13767 frames in 5.0 seconds = 2753.400 FPS
13766 frames in 5.0 seconds = 2753.200 FPS
13741 frames in 5.0 seconds = 2748.200 FPS
13760 frames in 5.0 seconds = 2752.000 FPS
13736 frames in 5.0 seconds = 2747.200 FPS
13768 frames in 5.0 seconds = 2753.600 FPS
13766 frames in 5.0 seconds = 2753.200 FPS
13750 frames in 5.0 seconds = 2750.000 FPS
13754 frames in 5.0 seconds = 2750.800 FPS
13770 frames in 5.0 seconds = 2754.000 FPS
13771 frames in 5.0 seconds = 2754.200 FPS
13727 frames in 5.0 seconds = 2745.400 FPS
13776 frames in 5.0 seconds = 2755.200 FPS
13735 frames in 5.0 seconds = 2747.000 FPS
13773 frames in 5.0 seconds = 2754.600 FPS
13711 frames in 5.0 seconds = 2742.200 FPS
13764 frames in 5.0 seconds = 2752.800 FPS
13771 frames in 5.0 seconds = 2754.200 FPS
13731 frames in 5.0 seconds = 2746.200 FPS
13766 frames in 5.0 seconds = 2753.200 FPS
13757 frames in 5.0 seconds = 2751.400 FPS
11539 frames in 5.0 seconds = 2307.800 FPS

with Fedora Core 1 2.4.22-1.2174.nptl with this kernel...I've built myself a custom kernel...
though NVIDIA AGP was enabled in kernel, one big mistake was left there CHARACTER MAP[?] , DRI... I disabled this... and as you see...it works, I will try this tomorrow with RH9, then with Whitebox Linux...

for all those Linux girlz and guyz out there with Ati Radeon cards...please have a look at this page
http://www.g-tec.co.at/ this site can save you're life...and you can stay at ATI smile.gif smile.gif smile.gif

Oh this is the happiest day of my life, and I've learnt something NEVER EVER GIVE UP, because as you see, eventualy you'll succed.
I've used make xconfig ... to configure the kernel, it's great , has help to, it took me 30 minutes aprox to read everything, and everything works fine, sound video, everything...

Sincerely
Robert B

ps.: I think this could be posted in tips and tricks for everyone to see...the solution
Robert83
Hi,

thought I post another one, without music running, without 3 browsers open, only glxgears, fresh start

23006 frames in 5.0 seconds = 4601.200 FPS
23032 frames in 5.0 seconds = 4606.400 FPS
23011 frames in 5.0 seconds = 4602.200 FPS
22984 frames in 5.0 seconds = 4596.800 FPS
23022 frames in 5.0 seconds = 4604.400 FPS
22554 frames in 5.0 seconds = 4510.800 FPS
21763 frames in 5.0 seconds = 4352.600 FPS
23004 frames in 5.0 seconds = 4600.800 FPS
22999 frames in 5.0 seconds = 4599.800 FPS
22983 frames in 5.0 seconds = 4596.600 FPS
22944 frames in 5.0 seconds = 4588.800 FPS
22995 frames in 5.0 seconds = 4599.000 FPS
23010 frames in 5.0 seconds = 4602.000 FPS
22960 frames in 5.0 seconds = 4592.000 FPS
23030 frames in 5.0 seconds = 4606.000 FPS
23024 frames in 5.0 seconds = 4604.800 FPS

Sincerely
Robert B
Termina
Wow! smile.gif If this works for me, then thank you so much! If this doesn't, then I loathe you for your success. wink.gif


QUOTE
Compilation
Now compile the kernel, create the debian package and install it:


How exactly should I do that in slackware? happy.gif I assume the first part (downloading the kernel and source I can do by downloading them at kernel.org), but this part confuses me. happy.gif
Robert83
Hi,

I did the following steps :

do this step-by-step :

1.get the kernel source
2.goto kernel source directory /usr/src/kernel-2.xx.xx.xx/
3.make mrproper
4.make sure that in make "custom" is deleted
5.make xconfig[ do everything by the book, make sure the options mentioned on the site are turned on and some are turned off, make sure ext3 is enabled, and you can safely disable support for other agp's. [I did so to]
6.make dep
7.make install
8.reboot
9.install ati driver
10.fglrxconfig [make sure you use external agp driver, and agp_locking is disabled...[works without it, but in my case it showed stuff in messages.log /var/log/messages.log , errors warrning, so I disabled it]

Hope you'll succed... smile.gif

Sincerely
Robert B
Robert83
As you can see the step-by-step guido on that site is for debian, so slight changes must be done when installing the kernel, but with the above mentioned way , you should be able to configure it...

MAKE SURE THAT UNDER CHARACTER MAP [? I think this is the name in make xconfig] DRI[something] IS COMPLETELY DISABLED, THIS WAS CAUSING THE TROUBLES WITH ATI CARDS, SINCE THEY ARE NOT COMPATIBLE!!! smile.gif


Sincerely
Robert B
hughesjr
@termina ... here is how you you should be able to get this to work ....

download the latest 2.4.25 slackware kernel source from here

Install the kernel source via pkgtool.

cd /usr/src

rm -rf linux

ln -s /usr/src/linux-2.4.25/ linux


Now see if the command ls -al shows linux -> /usr/src/linux-2.4.25/

Download this kernel config from me ... it has nvidia agpgart on, XFREE DRI SUPPORT off, and the selected CPU is athlon .... copy it to the /usr/src/linux-2.4.25 directory ... all the instructions from here down need to take place in the /usr/src/2.4.25 directory.

cd /usr/src/linux-2.4.25

make mrproper

unzip the kernel conifg file you donloaded from me with this command:

tar -xvzf config-slack-2.4.25.althon.nforce2.ati.tgz

make oldconfig

make dep

make bzImage

make modules

make modules_install


If you get this far without errors, copy the new kernel into place:

cp arch/i386/boot/bzImage /boot/vmlinuz-ide-2.4.25

Now copy the system map into place:

cp System.map /boot/System.map-ide-2.4.25

Now you need to adjust the grub or lilo to boot the new kernel ... if grub, edit /boot/grub/grub.conf ... copy the current section ... and paste it under the current selection then change the vmlinux to vmlinux-ide-2.4.25.

Mine looks like this:

# For booting Linux
title Slackware 9.1
root (hd0,5)
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=773 hdc=ide-scsi ro

title Slackware 9.1 (2.4.25)
root (hd0,5)
kernel (hd0,5)/boot/vmlinuz-ide-2.4.25 root=/dev/hda6 vga=773 hdc=ide-scsi ro

save the file

----------------
if you have lilo, edit the file /etc/lilo.conf ... copy the entry to boot slackware now and put it under the current kernel ... change the vmlinuz line to point to /boot/vmlinuz-ide-2.4.25

save the file and then run the command lilo.

If lilo completes without error, you are ready to reboot ... but first make sure you have the nforce source (to make the nvnet and nvaudio files if needed ... and make sure you have the /lib/modules/fglrx directory ...

If you have both, you are ready to reboot to the new kernel ...

after reboot, the video should laready be working ... the sound and network card might need to be rebuilt ...

if sound / nic don't work ... cd to nforce source directory... do

make clean

make

make install
Termina
;-_- <- Feels stupid

Thanks for all your help. smile.gif I just wish I had enabled SSHD on my computer at home so I could be doing this now! *falls over*
Termina
root@slack:~# glxgears
4355 frames in 5.0 seconds = 871.000 FPS
5281 frames in 5.0 seconds = 1056.200 FPS
5244 frames in 5.0 seconds = 1048.800 FPS
5281 frames in 5.0 seconds = 1056.200 FPS


You kick so much ass. smile.gif
hughesjr
You still might want to use the NVIDIA card when you get it ... it is faster.
Termina
Oh, I am. happy.gif

Just nice to know that if my bro wants to try out linux himself, he'll still be able to play games. biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.