LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-03-2024, 03:43 PM   #1
lzhiren
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 14

Rep: Reputation: Disabled
Slackware current hangs on blacklisting nouveau driver


Hey all recently decided to install slackware-current on my desktop and wanted to get some Nvidia drivers installed. So first thing was I blacklisted the nouveau driver by downloading the blacklist package with slackpkg.

I then rebooted and then it stopped at the part where it usually changes resolution. The system will just display the following forever.

Code:
ELILO v3.16 for EFI/x86_64
.
Loading kernel vmlinuz... done
Loading file initrd.gz...done
Booted in to my installation media and just did chroot to uninstall the blacklist package and everything worked again. Tried adding nomodeset to my elilo.conf but that gave the same issue as when I blacklisted.

GPU is a RTX 3060

Any ideas on how I can blacklist the nouveau driver without hanging on boot?
 
Old 04-03-2024, 03:51 PM   #2
dhalliwe
Member
 
Registered: Mar 2022
Location: Ontario, Canada
Distribution: Slackware
Posts: 163

Rep: Reputation: 154Reputation: 154
Try:
  • Leave nouveau alive
  • Install nvidia driver.
  • If nvidia install offers to blacklist nouveau, let it. (I can't remember if it does this.)
  • If nvidia install does not blacklist nouveau driver, do it yourself before you reboot.
 
Old 04-03-2024, 04:04 PM   #3
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 929

Rep: Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516Reputation: 516
Another try: if you don't need any particular module being loaded at boot,
then an initrd.gz isn't needed anymore. The ext4 module is built in the -current generic kernel now.
 
Old 04-03-2024, 04:51 PM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
It might be useful to include the option "nomodeset" in your bootloader or include it in your "/etc/modprobe.d/blacklist.conf" like this "options nouveau modeset=0". FWIW most systems will allow the "NVIDIA-foo.run" installer to do this for you if you approve. When in doubt, do it manually.
 
Old 04-03-2024, 06:43 PM   #5
lzhiren
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: Disabled
I ended up "fixing" it by building the nvidia drivers from slackbuilds, installing the nouveau blacklist package with slackpkg, and then changing my run level in /etc/inittab to 4. Confirmed the nvidia drivers are up and running on X11

However runlevel 3 is still broken and I would like to have that as an option
 
Old 04-03-2024, 06:51 PM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,540

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
550 drivers? https://www.linuxquestions.org/quest...ml#post6490864 Try the nvidia_drm kernel module options I listed here.
 
Old 04-03-2024, 09:26 PM   #7
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,508

Rep: Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473Reputation: 8473
Boot with grub. This is really the only situation where elilo is entirely broken -- when it isn't able to set up the console font on newer machines (I've heard it does, but it's black text on a black background). When you're not using nomodeset, eventually the kernel direct rendering console comes along and make a readable console, but when you are it's got to be set up correctly by the bootloader.
 
Old 04-03-2024, 10:48 PM   #8
lzhiren
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Boot with grub. This is really the only situation where elilo is entirely broken -- when it isn't able to set up the console font on newer machines (I've heard it does, but it's black text on a black background). When you're not using nomodeset, eventually the kernel direct rendering console comes along and make a readable console, but when you are it's got to be set up correctly by the bootloader.
Thanks for the responses everyone, would this slackdoc be good to follow for getting grub installed?
 
Old 04-03-2024, 10:52 PM   #9
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,687

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by lzhiren View Post
Thanks for the responses everyone, would this slackdoc be good to follow for getting grub installed?
It is a fairly easy process. OTB has a good video on how to get it setup during the Slackware installation process. He explains it around the 25 minute mark. You can always install it after you install slackware, but you will need to remove elilo first.
https://www.youtube.com/watch?v=OZeJd5JPQro&t=27s

Last edited by Daedra; 04-03-2024 at 10:54 PM.
 
Old 04-03-2024, 11:38 PM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
I rather dislike being in a position juxtaposed to our BDKL, but I dislike Grub rather a lot and for several reasons. If you're familiar with lilo/elilo and especially if you multiboot, you should try rEFInd as it's syntax human readable and much like lilo. The learning curve is very substantially less than with Grub and rEFInd has directly edit function for configuration. No binaries or extra steps required. The documentation is quite good, too. In fact, much like how Patrick treats config files by including tips and examples, rEFInd has an excellent config file that is documented and exampled right in refind.conf.

It is also a trivial slackbuild.

Last edited by enorbet; 04-03-2024 at 11:41 PM.
 
1 members found this post helpful.
Old 04-04-2024, 12:09 AM   #11
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,687

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by enorbet View Post
I rather dislike being in a position juxtaposed to our BDKL, but I dislike Grub rather a lot and for several reasons. If you're familiar with lilo/elilo and especially if you multiboot, you should try rEFInd as it's syntax human readable and much like lilo. The learning curve is very substantially less than with Grub and rEFInd has directly edit function for configuration. No binaries or extra steps required. The documentation is quite good, too. In fact, much like how Patrick treats config files by including tips and examples, rEFInd has an excellent config file that is documented and exampled right in refind.conf.

It is also a trivial slackbuild.
Grub definitely has a learning curve, but I have never found it to be as hard as its reputation in the Slackware community implies. Grub is my bootloader of choice and IMO the most feature rich and powerful and the one Slackware should be using, but If I had to use something else it would definitely be rEFInd.
 
Old 04-04-2024, 02:23 AM   #12
lzhiren
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 14

Original Poster
Rep: Reputation: Disabled
I assume to uninstall ELILO I'd just need to remove the EFI/Slackware Directory and remove the boot entry with efibootmgr? Any other steps?

Edit: Ended up just taking a look at the eliloconfig script and it looks like that's all I needed to do. Booted with grub into runlevel 3 successfully. Will probably take a look at rEFInd as well when I get the chance, remember using it to dual boot in the past. Thanks again for the help everyone

Last edited by lzhiren; 04-04-2024 at 08:57 AM.
 
1 members found this post helpful.
Old 04-04-2024, 11:30 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
It's moot in this thread now since lzhiren has Grub working but it is possibly worth mentioning that I don't see Slackers complaining about how hard the learning curve is, and I certainly don't asses Grub that way. It does use arcane syntax but it's trrivial to check documentation or just web search the line in question. It seems to be a case of "One man's meat is another man's poison" in that what Daedra sees as a benefit. "feature rich", is part of what I don't like. It's a bootloader. All it needs to do is boot - "do one thing and do it well and pipe..."

However the deal breaker for me is having to run a binary instead of edit a human readable .conf file and know almost instantly if and where I've messed up. I prefer a nice KISS.
 
2 members found this post helpful.
  


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
64-current vanilla, blacklisting modules Linux.tar.gz Slackware 12 09-29-2021 01:35 PM
I just had a hard lock on slackware-current with nouveau driver. UH10Y6 Slackware 3 10-07-2020 11:13 AM
dmesg says:[ 23.443246] nouveau 0000:01:00.0: msvld: unable to load firmware data [ 23.443256] nouveau 0000:01:00.0: msvld: init failed, pixelmatrix Linux - Hardware 2 10-05-2019 10:16 AM
Slackware-current (2011-01-31) - Nouveau Driver - What do people think? rmjohnso Slackware 22 02-03-2011 04:57 AM
Blacklisting gcc/glibc with slackpkg in multilib-current damgar Slackware 1 01-04-2010 11:15 PM

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

All times are GMT -5. The time now is 03:23 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