LinuxQuestions.org
Help answer threads with 0 replies.
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 10-29-2023, 06:48 AM   #3031
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware64-current
Posts: 172

Rep: Reputation: 67

Quote:
Originally Posted by marav View Post
As far as possible, a generic kernel should be suitable for all hardware and for all users
I understand that the naming doesn't suggest so, but I always considered the huge kernel to be the one meant for "all users" who aren't skilled yet or are in a hurry, while the generic being meant to be small and with less impact.
 
1 members found this post helpful.
Old 10-29-2023, 07:13 AM   #3032
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,407

Rep: Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140Reputation: 4140
Quote:
Originally Posted by lonestar_italy View Post
I understand that the naming doesn't suggest so, but I always considered the huge kernel to be the one meant for "all users" who aren't skilled yet or are in a hurry, while the generic being meant to be small and with less impact.
To be honest, in this great world of Linux distributions, absolutely nobody provides a huge kernel with all these built-in modules
They provide a kind of generic kernel with initramfs (self generated, ditto after each kernel update)
Mr Volkerding has been kind enough to propose a workaround to that self generation of the initrd, i.e. the generic kernel no longer needs one, at least for booting (in most cases)

Are you suggesting that Slackware users are less skilled than all other users?

Last edited by marav; 10-29-2023 at 07:15 AM.
 
1 members found this post helpful.
Old 10-29-2023, 08:11 AM   #3033
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,032

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
Originally Posted by marav View Post
To be honest, in this great world of Linux distributions, absolutely nobody provides a huge kernel with all these built-in modules
They provide a kind of generic kernel with initramfs (self generated, ditto after each kernel update)
Indeed, all other major Linux distributions manage initrd by themselves, without user intervention.

And it was discussed in detail in this forum, how it is possible to do the same in Slackware. It is very simple to do this. What apparently is missing is the will to do it.

Quote:
Originally Posted by marav View Post
Mr Volkerding has been kind enough to propose a workaround to that self generation of the initrd, i.e. the generic kernel no longer needs one, at least for booting (in most cases)
Let's be honest. It's not even a workaround. It is a concession made to some people who refuse to learn to use an initrd.

Quote:
Originally Posted by marav View Post
Are you suggesting that Slackware users are less skilled than all other users?
How can you describe the attitude of some people who consider it a burden to learn to use /etc/mkinitrd.conf.sample ? Technologically challenged?

For your enjoyment, I've attached this Slackware configuration file below. Would you mind explaining to me what is difficult to understand in this file?

Code:
# mkinitrd.conf.sample
# See "man mkinitrd.conf" for details on the syntax of this file
#
#SOURCE_TREE="/boot/initrd-tree"
#CLEAR_TREE="0"
#OUTPUT_IMAGE="/boot/initrd.gz"
#KERNEL_VERSION="$(uname -r)"
#KEYMAP="us"
#MODULE_LIST="ext4"
#LUKSDEV="/dev/sda2"
#LUKSTRIM="/dev/sda2" # verify support with 'hdparm -I $dev | grep TRIM'
#LUKSKEY="LABEL=TRAVELSTICK:/keys/alienbob.luks"
#ROOTDEV="/dev/sda1"
#ROOTFS="ext4"
#RESUMEDEV="/dev/sda2"
#RAID="0"
#LVM="0"
#UDEV="1"
#MODCONF="0"
#MICROCODE_ARCH="/boot/intel-ucode.cpio"
#WAIT="1"
Personally, I think it is ridiculous some people to call what I do "advanced usage", when it comes to a Slackware system installed in an SD-card, using UUIDs for portability. If really I am an "advanced user", then the general level of knowledge in the Slackware community hits the deep bottom.

Last edited by ZhaoLin1457; 10-29-2023 at 08:40 AM.
 
1 members found this post helpful.
Old 10-29-2023, 08:35 AM   #3034
Andrew_R
LQ Newbie
 
Registered: Sep 2021
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by Andrew_R View Post
I take liberty to request SPIRV-LLVM-Translator:
Ah, it already included in -current, my bad (but some linking still might help with clover - opencl-c.h and opencl-c-base.h from llvm package should be put somewhere system-readable, like /usr/include, instead of /usr/lib/clang/16/include/ on my machine or similar with llvm-17 from -current).

also, making rust-book separate from rust itself might save some 500 Mb of /usr/doc space on someone's limited tmpfs during update ...
 
Old 10-29-2023, 08:38 AM   #3035
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Quote:
Originally Posted by Petri Kaukasoina View Post
EDIT: OK, dropping the huge kernel was already considered in ChangeLog.txt: "First of all, it's clear that some Slackware users have been using the huge kernel all along, without an initrd, and are (to say the least) unhappy about the prospect of a new requirement to start using one."
The changelog also says: "The conclusion that I've come to here is that rather than drop the huge
kernel, ... it would be better to make the generic kernel more huge, and minimize the differences between the two kernel
configs."

which sounds like keeping two kernels.
 
Old 10-29-2023, 08:50 AM   #3036
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,032

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Speaking of the new generic kernel a bit huge, it is not able to mount the EFI partition without the associated modules.

This will block the user's access to the EFI partition, if he does a kernel upgrade and has uninstalled the associated kernel-modules. It is one of the main reasons for user errors when using elilo or similar bootloaders which needs putting files in the EFI partition.

Code:
root@darkstar:~# mv /lib/modules//6.1.60 /lib/modules/6.1.60.bak
root@darkstar:~# 
root@darkstar:~# mount /boot/efi
mount: /boot/efi: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
root@darkstar:~# 
root@darkstar:~# mv /lib/modules/6.1.60.bak /lib/modules/6.1.60
root@darkstar:~#

Last edited by ZhaoLin1457; 10-29-2023 at 11:17 AM.
 
1 members found this post helpful.
Old 10-29-2023, 09:05 AM   #3037
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,853

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by ZhaoLin1457 View Post
Speaking of the new generic kernel a bit huge, it is not able to mount the EFI partition without the associated modules.
I guess config-generic needs CONFIG_NLS_ISO8859_1=y
 
Old 10-29-2023, 09:18 AM   #3038
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,032

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
Originally Posted by Petri Kaukasoina View Post
I guess config-generic needs CONFIG_NLS_ISO8859_1=y
And CONFIG_NLS_CODEPAGE_437=y
 
Old 10-29-2023, 09:19 AM   #3039
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,853

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Quote:
Originally Posted by ZhaoLin1457 View Post
And CONFIG_NLS_CODEPAGE_437=y
It is there already.
 
1 members found this post helpful.
Old 10-29-2023, 09:22 AM   #3040
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,032

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
Originally Posted by Petri Kaukasoina View Post
It is there already.
Yes. You are right.
 
Old 10-29-2023, 09:36 AM   #3041
baldzhang
Member
 
Registered: Aug 2012
Posts: 58

Rep: Reputation: Disabled
Quote:
Originally Posted by glennmcc View Post
Oh I see.... you're running LiveSlak in VB.

Perhaps the problem is with running it in virtualbox ?
no, it's not

if run with "live" account in the above steps, everything is good.

and firstly, i was met this in a vnc server and spent a whole to found out and re-produce, because alien's livecd is good
finally found the shortest way to re-produce and then ...

and i post vnc log following.
Attached Files
File Type: log els-11-xfwm4-segfault.log (52.5 KB, 5 views)
 
Old 10-29-2023, 12:30 PM   #3042
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 556

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Quote:
Originally Posted by baldzhang View Post
no, it's not

if run with "live" account in the above steps, everything is good.

and firstly, i was met this in a vnc server and spent a whole to found out and re-produce, because alien's livecd is good
finally found the shortest way to re-produce and then ...

and i post vnc log following.
Question: What OS is the computer actually booted into in-which you are then booting the LiveSlak ISO from within virtalbox ?
 
Old 10-29-2023, 12:48 PM   #3043
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0
Posts: 556

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Quote:
Originally Posted by ZhaoLin1457 View Post
How can you describe the attitude of some people who consider it a burden to learn to use /etc/mkinitrd.conf.sample ? Technologically challenged?
No, not "Technologically challenged"... I'm just lazy

But, be that as it may...

I agree completely with Patrick's point-of-view and would be perfectly fine
with the total elimination of the huge kernel.

If he decided to go to just the 'standard' generic kernel requiring an initrd, that would be fine by me.

Heck, during an install from DVD, if the generic kernel is installed
the setup system automatically generates that intitrd.

So, since it can be done automatically during initial install...
it shouldn't be too darned difficult to do it manually each time the kernel gets upgraded.

Patrick has already said that v15.1 will no-longer have lilo but rather only GRUB.

So, those of us who have only ever used lilo will either need to continue using lilo from 15.0 or learn to use GRUB instead.
 
Old 10-29-2023, 12:59 PM   #3044
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 461

Rep: Reputation: 237Reputation: 237Reputation: 237
xdg-desktop-portal 1.18.1

Since Slackware does not install bubblewrap or flatpack by default this patch removes the bubblewrap requirements and with @0XBF https://www.linuxquestions.org/quest...ml#post6461102 modified Slackbuild it allow's xdg-desktop-portal to install.

Quote:
diff --git a/meson.build b/meson.build
index 1b0c5ecd..26078d35 100644
--- a/meson.build
+++ b/meson.build
@@ -112,19 +112,7 @@ libportal_dep = dependency('libportal',
pipewire_dep = dependency('libpipewire-0.3', version: '>= 0.2.90')
libsystemd_dep = dependency('libsystemd', required: get_option('systemd'))

-
-use_bwrap = get_option('sandboxed-image-validation')
-bwrap = find_program('bwrap', required: use_bwrap)
-
-if not use_bwrap
- warning('''
- Sandboxed image validation with Bubblewrap is DISABLED.
- If your system can run Bubblewrap, it's **hightly** recommended that you enable this
- option. Bitmap validation and processing is a common attack vector.
- By proceeding with sandboxed image validation disabled, you acknowledge that you
- are lowering your system's security, and are subject to known or unknown exploits.
- ''')
-endif
+bwrap = find_program('bwrap', required: false)

have_libportal = libportal_dep.found()
if have_libportal
@@ -201,7 +189,6 @@ summary({
'Enable python test suite': enable_pytest,
'Build man pages': rst2man.found(),
'Build flatpak interfaces': flatpak_dep.found(),
- 'Sandboxed image validation': use_bwrap,
},
section: 'Optional builds',
bool_yn: true,


diff --git a/meson_options.txt b/meson_options.txt
index 41b2eefb..2545a3fa 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -50,7 +50,3 @@ option('man-pages',
type: 'feature',
value: 'auto',
description: 'Build man pages (requires rst2man)')
-option('sandboxed-image-validation',
- type: 'boolean',
- value: true,
- description: 'Use Bubblewrap to sandbox image validation. Disabling this option may lead to security vulnerabilities.')
 
Old 10-29-2023, 01:10 PM   #3045
baldzhang
Member
 
Registered: Aug 2012
Posts: 58

Rep: Reputation: Disabled
Quote:
Originally Posted by glennmcc View Post
Question: What OS is the computer actually booted into in-which you are then booting the LiveSlak ISO from within virtalbox ?
1) this was firstly occurred on slarm64-current at a arm sbc days ago

2) tested in virtualbox(7.0.12) on 2 host
A) dell precision workstation, win10 pro
B) dell xps, win10 pro

3) with the same vm config and same kernel, -15.0 is ok, -current has problem

4) it's the same in vnc and X-window in vb gui

5) in 2) was tested with alien's livecd 2023-10-27, and re-tested 2023-10-29 this morning, it's same

6) finally found same bug in arch bs, and in xfconf git issues(it has been fixed and closed already)

so, I believe it's a software bug, nothing related to hardware and testing environments.

any more info you want to know, just ask me.
 
  


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
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 11:26 AM.

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