LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-07-2009, 12:54 PM   #1
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
nvidiafb - how do you kill it ?


So is there any way to prevent the nvidia frame buffer from loading at boot short of recompiling the kernel ? For some bizarre reason nvidiafb has started loading on my system at boot time, so the nvidia proprietary drivers will no longer work.

I've tried blacklisting nvidiafb

/etc/modprobe.d/blacklist
Code:
blacklist nvidiafb
I've tried disabling it in the boot menu

/boot/grub/menu.list
Code:
defoptions= nosplash nofb

kernel		/vmlinuz-2.6.26-1-686 root=/dev/sda2 ro  vga=normal
It's ignoring all these commands and loading nvidiafb anyway.

is there something I have missed ?


Code:
default@debianetch:~$ apt-cache policy linux-image-2.6.26-1-686
linux-image-2.6.26-1-686:
  Installed: 2.6.26-13lenny2
That should really not be enabled in the kernel by default, or at the very least it should respect being blacklisted or told not to load.
 
Old 04-07-2009, 02:43 PM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Hello Farslayer,
Not sure if you have seen this link,but check the 7th post down...

http://www.nvnews.net/vbulletin/showthread.php?t=96826

Looks like a possible solution.

Regards.
The trooper
 
Old 04-07-2009, 04:47 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249

Original Poster
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Well I finally caved and recompiled the kernel without nvidiafb support and I'm back up and running.

I'm running the same system I've had since I first installed Sarge on it (OK so I upgraded the Geforce 4800 to a 6800 a couple years ago) and I've NEVER had an issue using the nvidia proprietary drivers before on this box with Sarge, Etch or Lenny until yesterday. I've never needed to worry about trying to blacklisit the nvidiafb module, nor have I had to compile a kernel without fb support to get the nvidia drivers to install..

This is just bizarre.

Thanks for the suggestion but it just seemed to ignore those changes to the menu.lst file and load the darned module anyway.
 
Old 05-28-2009, 06:19 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249

Original Poster
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Updated my kernel and fell right back into this hole.. but I found the Debian wiki page on module blacklisting and the correct way to do it, unlike my failed attempt in the first post in this thread..

http://wiki.debian.org/KernelModuleBlacklisting

1. Delete the /etc/modprobe.conf file (This will NOT work if this file exists. I skipped this step the first time around and I can verify this)
2. Create a file '/etc/modprobe.d/<modulename>' containing 'blacklist <modulename>'. (in my case modulename = nvidiafb)
3. run 'depmod -ae' as root
4. Recreate your initrd with 'update-initramfs -u'

Installed the Nvidia driver and everything is working again. No kernel recompile needed this time around, yeah !!
 
  


Reply



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
What if 'kill -9' fails to kill a task? chii-chan Linux - Newbie 15 03-27-2013 03:47 PM
[SOLVED] Kill a hung task when kill -9 doesn't help 10110111 Linux - General 4 04-02-2009 11:10 AM
nvidiafb won't load dtjohnst Linux - Software 1 04-02-2009 12:11 AM
Problem with nvidiafb after compiling kernel donryanocero Slackware 7 09-13-2008 08:42 PM
nvidia and nvidiafb combination konsolebox Linux - Kernel 22 08-02-2006 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:00 PM.

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