SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there again, well, ever i upgrade packages, betweens them, normally upgrade the kernel, the problem its when are upgraded, ever broken my nvidia drivers.
Well i need to know which is the latest version of kernel support the drivers Nvidia 304.137 (for 32 & 64 Bits, because i have two partitions for each slackware one for 64 Bits and the another for 32 Bits)
And apart of that, how i can block permanetly the upgrade of the kernel, for avoid that problems. because ever i want use Slackware i can't because the upgrade has broken the nvidia drivers.
While I'd recommend never allowing automated upgrades, that's up to you. I just figure any work you save, you end up putting back, but that's just me. What I highly recommend in either case is making the default boot Runlevel 3, CLI. Have your nVidia drivers in a known directory, change to it and reinstall for new kernels. Takes 5 or 6 minutes for most.
Alternatively you could watch any activity LEDS and when you think you're at X Login or Desktop, try Ctrl-Alt-Backspace and/or Alt-F2 to see if you get visual at the terminal. The only problem with that is that there could be issues once the main driver already tried to load and failed that wouldn't possibly occur with the first method.
> And apart of that, how i can block permanetly the upgrade of the kernel...
It is recommended that you DO NOT allow kernel upgrades automatically (Slackpkg, etc.). However, there are some who prefer it that way. As @enorbet states above... it's up to you.
To prevent future kernel upgrades, using your favorite text editor as Root edit the /etc/slackpkg/blacklist file like this:
Quote:
# This is a blacklist file. Any packages listed here won't be
# upgraded, removed, or installed by slackpkg.
#
# The correct syntax is:
#
# To blacklist the package xorg-server-1.6.3-x86_64-1 the line will be:
# xorg-server
#
# DON'T put any space(s) before or after the package name or regexp.
# If you do this, the blacklist will NOT work.
# # Automated upgrade of kernel packages aren't a good idea (and you need to
# run "lilo" after upgrade). If you think the same, uncomment the lines
# below
#
# You can blacklist using regular expressions.
#
# Don't use *full* regex here, because all of the following
# will be checked for the regex: series, name, version, arch,
# build and fullname.
#
# This one will blacklist all SBo packages:
#[0-9]+_SBo
#
# This will blacklist opensource nouveau drivers - running Nvidia proprietary
nouveau
# This will blacklist HP drivers - running directly downloaded version from HP
hplip
Note: "Uncomment" means to remove the # character from in front of the entry (see above in red).
I take an alternate position. If you are still running Slackware 14.2, then automatic kernel upgrades are a good idea. They are only upgraded to address non-trivial issues and should be installed as a matter of course.
I long ago gave up trying to support my old nVidia GPU with the proprietary nVidia 304.137 driver. The delays between a kernel version upgrade and a driver update became exceedingly long. The nouveau driver meets all my needs and does not require a re-compile on each kernel version update.
Funny you should mention Nvidia and kernel upgrades. Recently, I attempted to manually upgrade from 4.4.14 to 4.4.208. The upgrade went OK. I could boot the system. However, I needed to "reinstall" my current version of Nvidia proprietary drivers. That didn't go too well. They would not compile with the new kernel. I cannot get my full resolution using Nouveau, unfortunately, so I had to revert to an rsnyc'd system backup and return to my 4.4.14 installation. That is where I currently am.
This forum is full of threads about the perils of installing proprietary nVidia drivers, then trying to switch back to the nouveau driver. @kingbeowulf has strived manfully nay, heroically, to provide SlackBuilds that make this a clean process.
Hi there, ok look, yestarday i had Linux 4.4.202, i manually ran
Code:
slpkg_upgrade
#Its a bash script writen by myself to update & upgrade packages from active repos
Code:
slackpkg update ; slackpkg upgrade
#With this things like glibc & kernel was upgrade and anothers packages i can't remember.
I ever had the statup in level 3, just when i log my personal user, this start the graphical session
The problems was :
1 - Nvidia driver broken
2 - Network connection broken [I don't idea why] (i am trying to fix it)
3 - If i login to my user, and reach graphical session, the keyboard & the mouse don't work
Well in this moment i am searching how fix the network connection, becuase without connect to internet i can't do much on any GNU/Linux distro xD.
I need the nvidia driver, becuase the Nouveau Driver, don't get the maximun performance i need, i ever use the GNU/Linux from Play Videogames (Since 2004) and well in few words in 3D games : nouveau fps = 15, nvidia fps = 75.
i had try to install nvidia drivers :
1 - From the official run file -> Never compile the Kernel Module
2 - Extracing the official run file and apply the mrtt patch and make a patched run file -> Never compile the Kernel Module
3 - From slpkg -> the packages are installed but the Kernel module "nvidia" don't exist
and because of this i make this thread. Ok i am going to try to install the kernel 4.14 came with slackware or the latest i remember works fine with this drivers was kernel huge 4.4.190. But i don't have that packages.
nVidia legacy driver series 304.xxx is no longer supported or maintained by nVidia since the end of 2017, so I don't know if the driver or kernel modules will build on recent 4.4.y kernels. https://nvidia.custhelp.com/app/answ...y-gpu-releases
Last edited by mats_b_tegner; 01-18-2020 at 11:15 AM.
Mine is the nforce 630M / GeForce 7150M. I blew away Vista on an old HP Pavillion Laptop and installed 14.2, then upgraded. The 4.4.208 kernel would not build with with any version of nvidia. I went back to 4.4.14 using your links. Problem solved. Thanks for that!
I only use the Laptop in the early morning for Netflix while the wife is still asleep. I'll go outside when it gets warmer!
Nah - being retired has made me more in demand for family stuff. Moved two daughters recently, made repairs on a brother's home, volunteered at the Church.......Babysat sick grandkids, taken to doctors........I think I'm gonna go back to work.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.