r/slackware • • 9d ago

I’m testing Slackware, and I’ve upgraded the kernel from 5.15.19 to 7.3.5.

105 Upvotes

33 comments sorted by

9

u/terono 9d ago

As you can see in the system details, it’s using 246 MiB from the get-go while playing audio.

In the second image, playing a YouTube video in Firefox raises the usage to 828 MiB.

3

u/smellin_bacon 8d ago

Could you bullet point your update steps? Did you build the 7.3.5 kernel from source? What other components needed updating? I’d like to do this on my system but I’m a noob at manual kernel updates.

1

u/terono 8d ago

I'm also new to Slackware, and I'm trying it out for the first time. Until now, I'd only heard the stories about Slackware. In my previous post, I followed the instructions that other users kindly shared. I downloaded the kernel source code. In an earlier attempt, I wanted to upgrade the system to Current, but I only had 10 GB of disk space available, which wasn't enough, so I had to abort the upgrade

https://www.reddit.com/r/slackware/comments/1y24j94/my_challenge_kernel_7_with_slackware/

1

u/chrs_ 5d ago

What’s your JWM config?

1

u/terono 5d ago

The JWM configuration appears with a few examples in the JWM handbook.

1

u/Mysterious_Thing 5d ago

How the heck is your memory usage so low?

1

u/terono 5d ago

It’s not that low: on desktop while idle with the audio app open, it uses 246 MiB of the machine’s resources; while playing a YouTube video, it uses 828 MiB. Remember, it’s a custom system built from the base kernel installer.

1

u/Mysterious_Thing 4d ago

That is insanely low. I don't even think my alpine install used that little. My slackware is now at 2083 MiB with movie running in mpv and 4 reddit tabs open in firefox.

1

u/terono 4d ago

Haha, sure, because a lot of people are used to installing things by clicking ‘Next… Next…’ like they do on Windows. They install heavy desktop environments with all their bloatware. The Slackware installer also includes unnecessary things by default, like window managers, and if you’re the kind of person who just clicks ‘Next… Next…,’ it’ll install everything.

1

u/Mysterious_Thing 3d ago

I don't do full install. I only install /a, /ap, /d, /l and /n. I don't use heavy desktop environments. I use cwm with lemonbar. But even if I did install heavy desktop environments and their bloatware it should have no affect on RAM. RAM is only tied to usage. If I install KDE and never touch it, how would that affect RAM?

3

u/OwnStrategy1144 8d ago

Looks cool. I always wanted to upgrade kernel but i dont have an idea how

-4

u/calrogman 9d ago

Running your own kernel rather than Slackware's kernel means, of all the things you could be testing, Slackware is categorically not it.

5

u/terono 9d ago edited 9d ago

I don’t know if you’re a Debian moderator.

Edit:   That is precisely what the philosophy of free software is based on, the philosophy of freedoms, in improving software. And your Debian moved away from the philosophy with the red-hat systemd wanting to put everyone in a Trojan ho

13

u/anidnmeno 9d ago

I thought Linux was about freedom

13

u/Richy_T 9d ago

Especially Slackware.

Back in the 90s, compiling your own kernel was the first thing you did (before modules).

0

u/calrogman 8d ago

They actually invented this thing called a distribution back in the 90s so that you didn't have to compile your kernel.

2

u/Richy_T 8d ago

Pre modules, you would decide what was compiled in your kernel so you didn't have unneeded bloat. This was the 90s. I did it. With Slackware. Distributions were (and are) for getting a running system together.

2

u/calrogman 9d ago

Well yeah, nobody's going to stop you from not testing Slackware.

3

u/enorbet 9d ago

@ calrogman - I find your response a non sequitur for any Linux distro and especially so regarding Slackware. One of the most valuable design imperatives separating Slackware from the vast majority is that it is actually "Vanilla". It's kernel build requires no actions or flaming hoops to jump through to accommodate its function, especially and commonly automated dependency resolution. One can copy the official kernel config after running "make clean && make mrproper" and follow up with "make oldconfig" or any of a number of other iterations to create a machine specific, kernel specific configuration that is precisely all of the non specific settings of any official kernel config so how is this "not Slackware"?

0

u/calrogman 8d ago

I find your response a non-sequitur because you just described building the kernel on literally any distro.

2

u/Code-Amelia 8d ago

Je vous trouve bien provocateur et vous répondez jamais sans hostilter en plus vous justifiez jamais le pourquoi avec un début de solution .

0

u/calrogman 8d ago

To what problem, exactly?

2

u/enorbet 8d ago

"Any distro" are not vanilla and have specialized extra steps for building new kernels. Most recommend only using official repo kernel packages. Slackware can use stock tar files from kernel.org with zero special steps.

1

u/calrogman 8d ago

You do know that if you need to build your own kernels, you should be using the SlackBuilds under source/k, don't you?

2

u/enorbet 7d ago

By what standard, calrogman, do you evaluate and conclude "should"? It seems to me the base philosophy and design standards of Patrick Volkerding he stated himself by "I don't assume Users use case". Slackware is Vanilla precisely to hold that design standard sacrosanct, to deliver in effect a working blank slate which one user/admin may adhere to default stock install, another can add slackbuild packages, and others still build from source or even create slackbuilds from source.

I've been using Slackware as my Main Daily Driver since 2001, after a few years of learning how to make it mine starting in 1997. Back then I employed Checkinstall to create customized tgz packages from source which not only specifically suited my Slackware system but were also easily updated or removed. I see no redeeming value in sticking to what amounts to slackware-specific repos of apps and libraries someone else made convenient.

The most important value Slackware offers is the capability to install anything from source simply because it has no need nor desire to restrict usage which auto dependency resolving distros must restrict.

If you or anyone chooses to ignore or eschew that capability that is still a valid use case and works great but it does accept limitations that you impose not obstacles designed in by Patrick Volkerding.

-1

u/calrogman 7d ago

By what standard, calrogman, do you evaluate and conclude "should"?

By the standard that the package manager is better at keeping track of files than you are, and that the SlackBuilds already exist to build the packages.

auto dependency resolving distros [...] restrict [the capability to install anything from source].

No they don't.

1

u/enorbet 7d ago

Are you trolling, calrogman? You haven't the vaguest of clues about my ability to track files yet you express certainty absent any objective evidence.

As for the above mentioned restrictions on installing from pure source, while some exist in non vanilla distros, I would have been more accurate writing "install SOME things from source" rather than "anything" but nevertheless we get a clue on expectations and support for source building in the simple fact that the default install of Slackware includes a vast array of build tools by default and most other distros do not.

I have to wonder if you actually rely on Slackware at all. Do you?

1

u/Mysterious_Thing 5d ago

"YOU ARE DOING FREEDOM WRONG!!!!"

0

u/calrogman 5d ago

Which of the four freedoms do you think I'm impugning, and how, by saying "Linux 7.3.5 is not part of Slackware 15.0, so what you're testing isn't Slackware"?

0

u/Mysterious_Thing 4d ago

Freedom 0 and 1.

Also, updating the kernel does not change the fact that you are running Slackware. You can't possibly be this dumb.

0

u/calrogman 4d ago

I'm still not clear about how you managed to interpret "you're not testing Slackware" as "you should not be running Linux 7.3.5 on Slackware 15". You can do that, if you want to, and I have no problem with that. But if you do that, you're not testing Slackware, you're testing Linux 7.3.5.

0

u/Mysterious_Thing 4d ago

He installed Slackware to test it out, and he installed kernel 7.3.5 on it. He is still testing Slackware. Maybe he should have said "trying out" instead of "testing" as to not confuse you.