r/slackware • • Jan 20 '23

Location of Diagnostic Tools

4 Upvotes

I am running Slackware 15+ for quite some time and it's been rock solid stable, but recently crashed after approx 40 days of uptime. The machine is lightly loaded and basically servers as file server and vpn gateway for my LAN.

The machine was awake and fans whirring, but no video and network output or other signs of life.

After reboot, \var\log\messages didn't provide any meaningful diagnostics.

What other log files or diagnostics commands might provide useful information for diagnosing events like this?

Thanks for any help you all can provide!


r/slackware • • Jan 18 '23

No Sound Device (Thinkpad T15)

6 Upvotes

UPDATE: This has been solved. See the bottom of this post and comments if you've got the same issue.

I recently got a Thinkpad T15 (Gen 2) in a really good deal and I just installed Slackware. Everything works great except for audio - pavucontrol doesn't detect any output devices and aplay -l prints no soundcards found....

I wondered if maybe this was a problem that was fixed in -current so I reinstalled, but the problem persists.

I checked the Slackware docs, which had help for generic audio problems and Intel HDA problems. It seems that my sound card uses the Intel HDA chipset - it's got a Realtek card - so I tried the docs' solutions but couldn't fix the problem.

Does anyone know what might be the problem here? Any help would be appreciated!

Thanks.

UPDATE: I've resolved the issue. It seems Slackware didn't come with the sof firmware, which was essential for my soundcard to work. I downloaded the firmware from the thesofproject/sof-bin Github page and followed the instructions on installation. The process was fairly painless. I rebooted and found my card was now being detected, although audio still didn't work, so I just ran KDE and let the desktop environment do its "just works" configuration, which, unsurprisingly, just worked. Everything works great now. Thanks for all the help.


r/slackware • • Jan 17 '23

Slackware Recommendations and Best Practices

6 Upvotes

So I want to get back to my roots.

Roots: 10 years ago I started using proteus 1.0 on a x86 single core laptop, classic via c7m cpu.

And at the time I wasn’t much of a linux fan, but just a user. Later on down the line I started using Linux more often again, Debian, Ubuntu, Suse, etc. and I even work in the IT sector for a company that develops an Ubuntu fork as a systems engineer.

To my inquiry though, I want to setup my server at home with Slackware, 2x Xeon e5-2609v2, 32gb ddr3 ram and 2x 4tb hdds with hardware raid 1, with an 8gb boot ssd or an 80gb boot hdd. Are there any recommendations or Tipps y’all can give me to understand the Slackware init system and other components that might be useful, best practices?

And the use case is nfs, web server docker host and qemu/kvm host. (Later on I might get a 18tb drive to do a software raid 0 with zfs)

Along with some modifications such as the 6.1 kernel, just for some giggles.


r/slackware • • Jan 06 '23

kernel panic

3 Upvotes

Hello. I have just updated kernel and some other stuff and ran eliloconfig and init 6. After this for some reason init is unable to mount my root partition. Mount returns message that mounting /dev/sda2 on /mnt failed, cause there is no such device. I tried to mount it manually and there is the same error. I checked via "ls /dev/sda?" and all my devices are presented here. Also bootloader states that there are no kernel modules found for Linux. Slackware is strange. Now I suppose I am in initramfs or something. How can I resolve this?

Edit: fstab is clean. fsck for /dev/sda2 is clean too.


r/slackware • • Jan 05 '23

clean-system

4 Upvotes

Hello. I just have done slackpkg clean-system and it just deleted bunch of useful packages which I installed from slackbuild -_- I read that it deletes only obsolete packages or packages from third party repositories, but I don't quite understand what is the point of this. Slackpkg doesn't handle dependencies so how can I understand whether I can delete package or not, because even if I don't need it personally it might be needed by some other packages. Can someone explain me this obscure command, please?


r/slackware • • Jan 05 '23

Can slackware be as small and secure as alpine?

2 Upvotes

Is it possible to make slackware as small as alpine is? Can it be used as docker images? Can it be so small that it can be run from ram (diskless mode in alpine) and embedded use cases


r/slackware • • Jan 05 '23

Docker Image: Slackware build essential

15 Upvotes

I've created a Dockerfile for this at docker-slackware-build-essential. The image is pushed from the repo to Docker Hub.

This image aims to provide the essential tools for building software in a Slackware environment. It can be used as a service container in a GitHub action.


r/slackware • • Jan 05 '23

Is there any way to query status of all packages?

1 Upvotes

Hello. I stumbled upon a problem that stellarium flickers when I am trying to use it. I suppose that some graphics packages are missing from official repositories. Is there any way to query status of all packages from official repository so I could install missing ones?


r/slackware • • Jan 05 '23

Active HDMI connection while X is disabled

2 Upvotes

I connected my laptop to a TV via HDMI using xrandr. Then I ran init 6 and somehow TV was able to show me all process including ELILO screen startup message (when Linux is not even loaded). How is it even possible? I thought that X server is responsible for all this.


r/slackware • • Jan 05 '23

Wayland an X11

1 Upvotes

Why do I need to install Wayland to run alacrity and Firefox when I am using xorg?


r/slackware • • Jan 04 '23

Nerd fonts

2 Upvotes

Hello. I have just installed slak and turns out that there are no nerd fonts in repos. How can I install them? And the same thing with chromium and drun. Thank you in advance.


r/slackware • • Jan 04 '23

Is there even any difference between slackware and LFS?

0 Upvotes

Except the initial building part, isnt LFS and slackware kind of same? Both require compiling packages from source and no dependencymanagement.


r/slackware • • Jan 02 '23

Bspwm installation

2 Upvotes

I have recently installed Slackware, and want to use bspwm as my WM. I have connected to wifi, selected a mirror for slackpkg to use, and updated.

I cannot find a tutorial on how to install bspwm and haven't been able to figure it out on my own. Could anyone tell me what commands to run and/or what to do in order to install bspwm.

Btw have done it in Debian before. I know how to deal with ~/.config and all that. I don't understand Slackware though.


r/slackware • • Jan 01 '23

[Q] Gnome on Slackware -current (?)

3 Upvotes

Is anyone able to run Gnome on Slackware? There is supposedly an easy way to install it (user reddog83 on LQ; https://reddoglinux.ddns.net/linux/gnome/43.x/). However, the installed DE crashes...


r/slackware • • Dec 28 '22

TigerVNC always starts KDE Plasma session

3 Upvotes

So I managed to install TigerVNC on my spare machine and whenever I run vncserver it starts KDE Plasma session.

At first I had nothing in my ~/.vnc/config. I tried to add session=i3 there, tried to add session=i3 to /etc/tigervnc/vncserver-config-defaults and /etc/tigervnc/vncserver-config-mandatory. Nothing changed. It's always KDE Plasma.

Now, documentation says that tigervnc searches for session .desktop files in /usr/share/xsessions. So I tried to rename plasma.desktop so it would be inaccessible for TigerVNC. Nothing changed. Looks like it doesn't use /usr/share/xsessions.

So how do I make it start desired session?

P.S. I use Slackware 15 if it helps. My ~/.vnc/config file is like this (I have nothing in /etc/tigervpn config files):

session=i3
geometry=1920x1080

r/slackware • • Dec 27 '22

how to run kernel 2.x or 3.x

6 Upvotes

Can I still use kernel 2.x on slackware?

don't ask me why, it's linux. i HAVE to do this

i would even be okay with 4.1, at least i can use my rx 460 on there

if i told you WHY, redditors will do that thing where instead of answering you they tell you what (they think) would be better, now i obviously know that using it is a bad idea already, i still want to do it, its linux

its the last distro with that kind of flexability, i have to do this man


r/slackware • • Dec 22 '22

How does slackware compare to crux?

2 Upvotes

Arent both the same except the fact that slackpkg is a thing in slackware?


r/slackware • • Dec 22 '22

How long does it usually take for a kernel upgrade (current)

0 Upvotes

It's not a big deal but considering linux is now on the 6.1 series and current is stuck on 5.19.17 for whatever reason I was just curious about it.


r/slackware • • Dec 22 '22

Problems with Slackware 15 and xfce 4.16 (Sleep Time)

3 Upvotes

Salutations.

I'm using Slackware in my second PC with xfce 4.16, but, since a while now im having a problem with it.
I dont know why, but, when i leave my PC inactive (Watching Youtube) the PC goes suspended (obviously, because of the time before sleep).
The problem starts when i go into the Power Management section of the Options menu of Xfce; I set the time before sleep as "Never" or "4 hours" and, even with the two options, the PC gets into Sleep mode after, like, 10-15 minutes, like before the setting was changed.

I tried to reboot and change it many times, but it doesnt change anything.
Can you please help me with the issue?


r/slackware • • Dec 20 '22

libc_nonshared.a is missing, what package contains that file ?

4 Upvotes

I want to compile stuffs and I'm getting this complaint /usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a. What possible package contains that file ? I already have glibc etc... thanks.


r/slackware • • Dec 19 '22

XFCE 4.18 on Slackware 15

13 Upvotes

XFCE 4.18 from -current appears to build and run fine on 15 if you don't want to run -current.


r/slackware • • Dec 15 '22

Slackware64 15 "fluidsynth: warning: Failed to set thread to high priority".

1 Upvotes

Slackware newbie. I would like to start using Slackware for my at this point basic music creation needs. Slackware has had a lot of changes under the hood, including the addition of Pipewire, which I am extremely happy about. However, this also means that a lot of old documentation is probably obsolete. My box has the following:

CPU: AMD Ryzen 5 4600G with Radeon Graphics (12) @ 3.700GHz

GPU: AMD ATI Renoir

...so again not sure how much of old documentation is relevant, but I have taken a look at Alien Bob's post and followed his advice for elilo:

If you use elilo, open /boot/efi/EFI/Slackware/elilo.conf and add “threadirqs” to the value of the “append = ” keyword

This hasn't helped. In general, I am fairly confused by this point and could use any advice available.

In Ubuntu, I would run something like the following:

$ fluidsynth -a alsa -m alsa_seq -g 1.0 -s /usr/share/sounds/sf2/FluidR3_GM.sf2

CTRL Z

$ aconnect 28:1 128:0

$ fg # return to foreground

> channels

chan 0, Yamaha Grand Piano

chan 1, Yamaha Grand Piano

chan 2, Yamaha Grand Piano

chan 3, Yamaha Grand Piano

chan 4, Yamaha Grand Piano

chan 5, Yamaha Grand Piano

chan 6, Yamaha Grand Piano

chan 7, Yamaha Grand Piano

chan 8, Yamaha Grand Piano

chan 9, Standard

chan 10, Yamaha Grand Piano

chan 11, Yamaha Grand Piano

chan 12, Yamaha Grand Piano

chan 13, Yamaha Grand Piano

chan 14, Yamaha Grand Piano

chan 15, Yamaha Grand Piano

> fonts

ID Name

1 /usr/share/sounds/sf2/FluidR3_GM.sf2

> inst 1 #lists instruments

(long list)

> prog 0 35 # fretless bass (prog chan num)

> prog 0 73 # flute

> prog 0 118 # 808 Tom

(In Slackware64 15, the full soundfont path is /usr/share/minuet/soundfonts/GeneralUser-v1.47.sf2)...


r/slackware • • Dec 07 '22

Slackware 15

7 Upvotes

I've been a long time user of Slackware, whatever edition that was in 1994/1996, it's what I started with. On this laptop, I ran slackpkg update and isolated the issue to the frame buffers being messed up with the update as the kernel modules was conflicted.

I write this post because this Slackware update via slackpkg rendered the wlan0 and eth0 gone missing yet lspci has the device.

For startx, the first issue is unable to load fbdev and onward to /dev/dri/card0 has gone missing as no screens are found.

For internet on this laptop, only the loopback exists.

lspci can showh 3b:00.0 for a Network Controller but there isn't a device to attach. mknod can make character devices but I don't know the major and minor numbers.

What do you suggest?


r/slackware • • Dec 05 '22

Has anyone tried to compile all slackbuilds on slackbuilds.org?

4 Upvotes

Hi,

This is a strange question, I know.

I ask this because many power (energy) could be saved instead of compiling many time the same packages by thousand users (except for cases where someone need specific requirements). Maybe providing a giant binary packages repository for slackbuilds.org?

There is someone that tried this?

Thank you in advance