You are not logged in.

#1 2003-12-20 23:54:45

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

2.6 kernel upgrade lost Nvidia & aumix

I upgraded kernel to 2.6 per notes from Apeiro under General Discussion topic "2.6.0 Goes Final" and system is alot faster.  I copied my old (modules.conf) over to modprobe.conf and network is up good.   I lost aumix for some reason even though I have it in rc.local and when I try to reinstall NVIDIA driver it states that I don't have header files.  Wondering if I'm missing something obvious (likely) or if there is anyone else having this problem. Running P4 1.6 on Shuttle AV45GT (266A) MB w/cm onboard audio and GF2 video card.  I'm using the "nv" video driver now but would like to get the nvidia back online. Any direction or assistance would be much appreciated. If more info is needed, let me know and I'll try to post as soon as possible.  TIA!

P.S.  Thanks for the info Apeiro!


Skeeter

Rule #1:  There are NO RULES!

Offline

#2 2003-12-21 01:23:05

red_over_blue
Member
Registered: 2003-07-19
Posts: 152

Re: 2.6 kernel upgrade lost Nvidia & aumix

You need to patch the nvidia driver.  The patch is available here:

http://www.minion.de

Here are the instructions.

http://minion.de/files/NVIDIA_kernel-1.0-4496.README


Don't forget to post your PKGBUILD in your thread when you announce a new package in incoming.
see HERE for details

Offline

#3 2003-12-21 01:41:11

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: 2.6 kernel upgrade lost Nvidia & aumix

Thanks Red Over Blue.  I'll patch it real soon and let you how it comes out.  I thought I heard that Alsa was in the 2.6 kernel so I'm going to setup my sound w/Alsa and see if that fixes that issue.  Thanks again.


Skeeter

Rule #1:  There are NO RULES!

Offline

#4 2003-12-21 19:12:30

slawson
Member
From: Chester, UK
Registered: 2003-08-22
Posts: 20

Re: 2.6 kernel upgrade lost Nvidia & aumix

I've tried patching the nvidia driver as instructed. It compiles and installs fine, but for some reason it won't run with agp enabled.
I've tried various agp kernel options with no sucess.
I've also tried the Option "NvAGP" "1" setting in the XF86Config.
What should the agp options be set to in the kernel?
Has anybody got any ideas how to enable agp?

Steve

Offline

#5 2003-12-22 14:33:54

slawson
Member
From: Chester, UK
Registered: 2003-08-22
Posts: 20

Re: 2.6 kernel upgrade lost Nvidia & aumix

Ok, I'm now a happy Arch 2.6.0 Kernel user  big_smile

I ended up compiling /dev/agpgart support into the kernel, and my VIA chipset support into the kernel rather than using them as modules.

I done the same for my sound card using ALSA and my relevant sound card drivers built in rathar than using modules.

Everything now works great..

Steve

Offline

#6 2003-12-24 19:39:49

Jagged
Member
From: Blacksburg, VA
Registered: 2003-07-18
Posts: 153

Re: 2.6 kernel upgrade lost Nvidia & aumix

The nvidia drivers have their own agp interface... not to mention you can have an nvidia agp chipset without having an nvidia card.  I think this is what he was looking for


Nkawtg...n!

Offline

#7 2003-12-25 00:27:21

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: 2.6 kernel upgrade lost Nvidia & aumix

Well I solved the sound issue by installing ALSA but I still can't get the nvidia driver to load. I attempted to do so from a clean install, patch the driver & install w/o any luck. Here is my /var/log/nvidia-installer.log.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Dec 24 19:14:51 2003

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : false
  XFree86 install prefix  : /usr/X11R6
  OpenGL install prefix   : /usr
  Installer install prefix: /usr
  kernel source path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp site                : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; wou
   ke the installer to attempt to download a kernel interface for your
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ft
   this means that the installer will need to compile a kernel interfa
   your kernel.
-> Kernel source path: '/lib/modules/2.6.0/build'
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make KERNDIR=/lib/modules/2.6.0/build
   .
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
   cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
   make[1]: Entering directory `/usr/src/linux-2.6.0'
   make[1]: *** No rule to make target `modules'.  Stop.
   make[1]: Leaving directory `/usr/src/linux-2.6.0'
   nvidia.ko failed to build!
   make: *** [module] Error 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find sugg
       on fixing installation problems in the README available on the
       driver download page at www.nvidia.com.
I find nothing in my /usr/src/linux-2.6.0/include/video for nvidia. I take it that is where the driver should be installed. I see the error ***No rule to make target 'modules'*** but I don't understand why I'm getting that. Am I on the right track and if so any ideas on repairing? TIA!


Skeeter

Rule #1:  There are NO RULES!

Offline

#8 2003-12-25 08:37:41

slawson
Member
From: Chester, UK
Registered: 2003-08-22
Posts: 20

Re: 2.6 kernel upgrade lost Nvidia & aumix

Here are the steps I took to get it working using the latest nvidia drivers. I didn't need to run the nvidia installer on the 2.6 kernel. The make install should put the file nvidia.ko in directory /lib/modules/2.6.0/kernel/drivers/video

Ran NVIDIA-Linux-x86-1.0-5328-pkg1.run on the 2.4 kernel.
Then boot up into the 2.6 kernel
Ran NVIDIA-Linux-x86-1.0-5328-pkg1.run --extract-only
Copy NVIDIA_kernel-1.0-5328-2.6.diff.bz2 to NVIDIA-Linux-x86-1.0-5328-pkg1/usr/src/nv
# cd NVIDIA-Linux-x86-1.0-5328-pkg0/usr/src/nv
# bzcat NVIDIA_kernel-1.0-5328-2.6.diff.bz2 | patch -p1
# ln -s Makefile.kbuild Makefile
# make install

Hope this helps

Offline

#9 2003-12-29 22:26:56

pcs333
Member
Registered: 2003-10-18
Posts: 31

Re: 2.6 kernel upgrade lost Nvidia & aumix

i`ve done everthing slawson suggested and it seemed to go all ok until i ran startx and i get this error returned;

could not open control device /dev/nvidiactl (no such file or device)

any ideas why nvidiactl is not present ??

Offline

#10 2003-12-29 22:32:49

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: 2.6 kernel upgrade lost Nvidia & aumix

You are way ahead of me smile I'm still at the "can't find nvidia module" while it is loaded (lsmod says so)


apt-get install arch

Offline

#11 2003-12-29 23:06:05

pcs333
Member
Registered: 2003-10-18
Posts: 31

Re: 2.6 kernel upgrade lost Nvidia & aumix

i just followed slawson`s guide to the letter and my module installed no problem  big_smile

now if only i could get it to work   lol

Offline

#12 2003-12-30 01:50:21

slawson
Member
From: Chester, UK
Registered: 2003-08-22
Posts: 20

Re: 2.6 kernel upgrade lost Nvidia & aumix

could not open control device /dev/nvidiactl (no such file or device)

Now you mention it, I remember getting this error a few times before I got it working properly.
I'm not at my pc to confirm this at the moment, but I think it was a config issue.
Have you made the changes to the /etc/X11/XF86Config file??

ie:
comment out the: Load "dri" line
#  Load "dri"

and changed the line: Driver "nv" to
Driver "nvidia"

Offline

#13 2003-12-30 21:25:12

pcs333
Member
Registered: 2003-10-18
Posts: 31

Re: 2.6 kernel upgrade lost Nvidia & aumix

yeah i`ve done that to my xf86config, i`m actually using the same file as with kernel 2.4.
i`ve had to change "nvidia" to "nv" to get it to work with 2.6

Offline

#14 2003-12-31 15:43:21

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: 2.6 kernel upgrade lost Nvidia & aumix

Did as slawson supplied (thanks btw) and I still get the same as I posted before. Will keep trying different approaches but this may be something to do with my VIA chipset. Weird thing is using the 2.6 kernel I don't get the AGPGART problem and it's fast, but using 2.4.23 kernel I can load the nvidia driver (w/AGPGART not recognized). Time will tell but thanks to all for their input. I will keep checking back for any updates and/or successes and will post when I do finally succeed.


Skeeter

Rule #1:  There are NO RULES!

Offline

#15 2003-12-31 16:58:24

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: 2.6 kernel upgrade lost Nvidia & aumix

hi skeeter,

dunno if you already tried that:
ftp://download.nvidia.com/XFree86/Linux … 328/README
and search for agpgart. There are options to use or don't use in XF86config

maybe this helps

bye neri

Offline

#16 2004-01-11 17:16:27

skeeter
Member
From: Morristown TN
Registered: 2003-02-01
Posts: 77

Re: 2.6 kernel upgrade lost Nvidia & aumix

Followed Sarah31 advice and patched nvidia installer per minion.de.
sarah31 wrote:
su

cd /var/abs/kernels/kernel26

makepkg

cd src/

rm -rf /usr/src/linux-2.6.1

mv linux-2.6.1 /usr/src

then patch your drivers according to minion.de

Once I installed nvidia and changed XFree86.conf file to "nvidia" and "GLX"
I found I had the error "no device  /dev/nvidiactrl" even with the old ALIAS  statement copied over to modprobe.conf from modules.conf. I put "nvidia" in the modules line of /etc/rc.conf and it loaded w/o any problems. A BIG THANKS to all for their input, this also reminded me to not forget ABS in the future. Hopefully this will help others who are having some problems with this issue. wink


Skeeter

Rule #1:  There are NO RULES!

Offline

Board footer

Powered by FluxBB