LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-09-2010, 04:35 AM   #1
devdol
Member
 
Registered: Dec 2005
Distribution: debian (testing/unstable)
Posts: 68

Rep: Reputation: 17
Question Installing NVIDIA graphics driver on running anoubis Kernel


I'm posting this under general, as there is no problem with hardware (just with building a driver module on one specific kernel) and it should most likely be independent from a certain distribution.
It is only related to the patched kernel image yo can install from http://www.anoubis.org, as I want to evaluate the anoubis security suite which seems to be the only Application Level Firewall for Linux currently available.

Therefore, running Linux Debian 5.0 ("Lenny") I ...

1) installed the packages
linux-image-2.6.32.10-anoubis-0.9.3.25.281.564_1_i386.deb
linux-headers-2.6.32.10-anoubis-0.9.3.25.281.564_1_i386.deb
anoubisd_0.9.3_i386.deb and
xanoubis_0.9.3_i386.deb (as instructed on the develeopers' page),

2) booted into the new installed kernel (2.6.32.10-anoubis),

At this stage a first attempt to install the NVIDIA driver failed, complaining about missing kernel sources, therefore I

3) installed the most appropriate kernel source package (linux-source-2.6.32)

4) extracted it (tar -xjf linux-source-2.6.32.tar.bz2) to /usr/src/linux-source-2.6.32,

5) symlinked that to /usr/src/linux.

6) fetched the new kernels config by "cp /boot/config-2.6.32.10-anoubis-0.9.3.25.281.564 /usr/src/linux/.config"

7) ran "cd /usr/src/linux ; make oldconfig && make prepare"

Finally I supposed to be ready to install the NVIDIA driver the usual way (invoking "NVIDIA-Linux-x86-195.36.15-pkg1.run" as root), but it failed with "unable to build nvidia.ko", and unfortunately there was no further hint inside /var/log/nvidia-installer.log.

As we need full 3D support, we still depend on this proprietary driver.
Therefore any suggestions welcome how to compile it in the given situation above would be appreciated!

Last edited by devdol; 07-10-2010 at 01:35 PM.
 
Old 07-09-2010, 06:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The "source" required, is available, it seems :
http://www.anoubis.org/downloads/100...564_1_i386.deb
>> linux-headers-2.6.32.10-anoubis-0.9.3.25.281.564_1_i386.deb

Providing :
/usr/src/linux-headers-2.6.32.10-anoubis-0.9.3.25.281.564/// \
///<everything>/
..

Last edited by knudfl; 07-09-2010 at 06:55 AM.
 
1 members found this post helpful.
Old 07-10-2010, 05:21 AM   #3
devdol
Member
 
Registered: Dec 2005
Distribution: debian (testing/unstable)
Posts: 68

Original Poster
Rep: Reputation: 17
Smile

Well, I actually did install "linux-headers-2.6.32.10-anoubis-0.9.3.25.281.564_1_i386.deb" as reported above in the first step.

However, at the first attempt (between step (2) and (3) in my first posting) to install the NVIDIA driver it complained missing kernel sources. Therefore I proceeded with step (3), according to the usual workflow with the debian kernel images.

However, I was wrong. If one just manually does:
Code:
rm /usr/src/linux
ln -s /usr/src/linux-headers-2.6.32.10-anoubis-0.9.3.25.281.564  /usr/src/linux
(albeit I supposed this, if necessary, to be the package install script's job...?) the NVIDIA driver can be installed without further needs indeed .
No debian kernel source package needs to be installed.
Thanks knudfl for pointing this out!

Last edited by devdol; 07-12-2010 at 06:10 AM. Reason: further clarification
 
  


Reply

Tags
driver, firewall, kernel, nvidia



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
Installing NVidia graphics driver on Opensuse 10.2 Spectrix33 Linux - Software 4 05-29-2007 11:08 PM
Trouble installing NVIDIA graphics driver Rick069 Linux - Software 2 02-10-2006 07:31 AM
Installing NVidia graphics driver hangs X stonehurstX11 Mandriva 3 01-17-2006 03:20 PM
Disabled GDM after installing NVIDIA graphics driver cajunaggie Linux - Software 6 02-07-2005 11:30 AM
problems installing NVIDIA graphics driver and SMP littleneutral1 Debian 0 11-24-2004 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration