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.
Build initrd, etc. for new generic kernel, run lilo, and reboot.
If there are no problems with the generic kernel, upgrade kernel-huge as well and run lilo again.
This way I have the huge kernel as a fallback just in case there are issues, and I don't have to jump through hoops with slackpkg or do a lot of things manually.
Nice idea, thanks. I'm usually lazy and just `slackpkg upgrade-all`, I figure if the system falls over I'll just USB back in and install an old kernel, but your way is safer (without being too much hassle).
Just FTR my Main 14.2 install "/boot" houses 20 kernels for 5 distros, each of which is also chainloaded (has it's own bootloader installed to it's own "/boot") but I can recover any and all from just the one, or any of them. I could easily reduce that to 10-15 as several are rarely or even never used but I like the option of redundancy. I'm probably too paranoid but then again I am very safe, and I prefer manual. I'd probably store more than one spare tire in my trunk if space wasn't a premium there. It isn't on my hard drives.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Original Poster
Rep:
Quote:
Originally Posted by Paulo2
.......I built the new 5.4.0-rc7 with the config-generic taken from Slackware testing/5.4.0-rc6 and the resulting kernel does build NVidia 440.31, go figure.
Well, then, I guess, the question becomes, what is the difference (in the configuration?) that allows the Nividia driver to build with one 5.40-rc7 kernel, but not the other?
Last edited by cwizardone; 11-13-2019 at 09:18 AM.
Actually I'd kind of like it if slackpkg had an option you could set where "upgrade-all" would never actually upgrade kernels, but only install them (with all other packages being upgraded like usual). That along with a "clean-kernels" option that would nuke everything except the latest. I don't think that will happen, but it would be convenient
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
Quote:
Originally Posted by cwizardone
Well, then, I guess, the question becomes, what is the difference (in the configuration?) that allows the Nividia driver to build with one 5.40-rc7 kernel, but not the other?
Still no luck with the stock testing 5.4.0-rc7, NVidia driver fails.
I built a new 5.4.0-rc7 kernel and modules with the stock /usr/src/linux-5.4-rc7 and stock .config file
(which is the same as config-generic file) and that kernel does build NVidia driver
Maybe "configure" kernel is getting something from my system.
Still VBox 6.1 beta2 doesn't build with any 5.4.
edit- all this with the new gcc(multilib) update.
I think it isn't related with multilib since in another -current install
without multilib (but with KDE5 and Xfce 4.14), NVidia doesn't build too.
Last edited by Paulo2; 11-13-2019 at 10:42 AM.
Reason: add gcc info
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Original Poster
Rep:
Quote:
Originally Posted by Paulo2
...........edit- all this with the new gcc(multilib) update.
I think it isn't related with multilib since in another -current install
without multilib (but with KDE5 and Xfce 4.14), NVidia doesn't build too.
Agreed. I've tried it on a fairly new "fresh" install of -current with the recent gcc
update and with the gcc-multilib update and both failed.
No: slackpkg upgrade expects only a single version of each package to be installed, so it is slackpkg and not slackware as total distro that really doesn't support two (or more) kernels in parallel.
I always have (at least) two kernel versions installed and often three:
- a "backup" kernel, as a safe and known to be working fallback choice
- the current active kernel, probably newer then the backup
- a "new upgrade" to be tested, NOT the default one at boot
Every time a newer kernel is announced I install it as the "new" choice in the boot menu,
try it, possible build NVidia, Vbox, etc modules FOR it.
Only when I'm comfortable with this new update I let it replace the "current" one (which will become the "old" one) by changing some symbolic links in /boot (no EFI here).
So after that I'm back again to two kernels.
I.e. in 14.2 the links are:
old: 4.4.190
cur: 4.4.199
new: 4.4.201
My bad
Totally agree
slackpkg was not intended for running more kernels (or other packages) in parallel by automagic
caveat: take care for parallel installed headers when building NVidia drivers
Slackware is and was intended to do what ever you might happen to achieve - intended or not - and to achieve it with reliability and grace.
P.S.
Children, don't drink and # rm -rfv / unless you're accompanied by, what you'd call "a trained professional"!
The stable changelog says 4.4.201 is now available but I seem to have totally forgotten where it is.
slackpkg will offer to upgrade for me but I would rather download the packages manually. I ftp in to the server I have selected in slackpkg/mirrors but can't for the life of me find the new packages anywhere and I used to do it all the time!
Could someone be so kind as to point me in the right direction please? (I'm looking for a pre-built package rather than the source).
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Rep:
Quote:
Originally Posted by SCerovec
I guess that inconvenient side effect is to be expected?
There are only two ways to circumvent this, and both are manual I'm afraid:
1. Do the test run with the kernel and if it works - pick one to stick with
2. Alternatively, restrain from further package upgrading for the (short?) while you test-drive two kernels
It appears to me that Slackware does not really support (nor was intended for) running two installed kernel versions in parallel - think of kernel headers and the confusion for builds depending on having them present and assuming there are only one headers?
Could it be that running two parallel kernels is ought to be but a passing affair?
there are more than two ways of running safely several kernels in parallel:
for example I removed all slackware kernels and manually installed custom, so now running
slackpkg install-new
slackpg upgrade-all
slackpkg clean-system
does not affect installed kernels (I always have three kernels: stable that is one running for more than two weeks without single issue, current that will became stable if no issues found and experimental that is rcX)
because I rely on custom kernels, I don't see any reason to keep stock Slackware kernels and I don't have problems with system updates that are related to installed kernels
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928
Rep:
Quote:
Originally Posted by rkfb
The stable changelog says 4.4.201 is now available but I seem to have totally forgotten where it is.
slackpkg will offer to upgrade for me but I would rather download the packages manually. I ftp in to the server I have selected in slackpkg/mirrors but can't for the life of me find the new packages anywhere and I used to do it all the time!
Could someone be so kind as to point me in the right direction please? (I'm looking for a pre-built package rather than the source).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.