You are not logged in.
In my opinion, unneeded modules don't harm the system, just take up space on disk. I even do think (never did) that they can be deleted without issues if you know what you are doing.
Agree.
The question is different - the size of the kernel and the unnecessary code in it. For example, support for Intel and AMD platforms is built into the kernel. It is clear that for a particular computer one of them is redundant. Etc...
Regards.
Would it also be the same for minor ones?
eg: 4.9x -> 4.9y?
Yes, you'll have to rebuild.
The versions are different, here in "news" you can see the changes
https://tracker.debian.org/pkg/linux
Regards.
Perhaps the following should be added.
On my ideapad the second OS is OpenSuse 15.4. The ideapad_slidebar module in it is also “invisible” for lsmod and hardinfo.
But at the same time, function keys works in OpenSuse and Devuan.
@Altoid
Hello!
Yes, when updating the kernel you need to compile a new one. Therefore, if a standard kernel is sufficient for your tasks, there is no point in compiling.
The most time-consuming task is the initial editing. There are more than 5000 lines in the file, about the same number of questions that need to be answered correctly.
Then it’s easier, just use this configuration file of yours.
My “couch surfer” Lenovo s205 is AMD 300/4Gb, even a slight improvement with a custom kernel is noticeable. Well, kind of fun...
Regards.
Lenovo Ideapad s205, ideapad_slidebar module does not load by default
root@AA:/# uname -a
Linux AA 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux
root@AA:/# lsmod | grep "ideapad"
ideapad_laptop 40960 0
platform_profile 16384 1 ideapad_laptop
sparse_keymap 16384 2 acer_wmi,ideapad_laptop
rfkill 36864 6 acer_wmi,rt2x00lib,bluetooth,ideapad_laptop,cfg80211
video 65536 4 acer_wmi,amdgpu,radeon,ideapad_laptop
wmi 36864 4 video,acer_wmi,wmi_bmof,ideapad_laptop
root@AA:/# lsmod | grep ideapad_slidebar
root@AA:/#modinfo ideapad_slidebar
filename: /lib/modules/6.1.0-10-amd64/kernel/drivers/input/misc/ideapad_slidebar.ko
license: GPL
description: Slidebar input support for some Lenovo IdeaPad laptops
author: Andrey Moiseev <o2g.org.ru@gmail.com>
alias: dmi*:svn*LENOVO*:pn*20035*:pvr*LenovoIdeaPadY550P*:
alias: dmi*:svn*LENOVO*:pn*20017*:pvr*LenovoIdeaPadY550*:
depends:
retpoline: Y
intree: Y
name: ideapad_slidebar
vermagic: 6.1.0-10-amd64 SMP preempt mod_unload modversions
sig_id: PKCS#7
signer: Debian Secure Boot CA
sig_key: 32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo: sha256
signature: 7C:AB:96:F7:1E:9A:CA:DA:3B:4A:30:C3:38:14:6D:C8:48:56:DB:74:
C9:F8:14:44:27:F4:91:D7:C7:03:15:27:B7:2C:AF:69:F5:C3:9A:04:
0A:41:61:A4:80:4F:55:EE:88:03:4F:4C:F0:DC:52:64:53:72:6A:F9:
C1:57:0F:BD:17:E2:35:5D:6F:1E:43:90:A0:24:9C:BA:DE:E5:0D:A1:
D3:1A:DB:94:82:8D:2C:A0:A9:9A:74:C0:55:68:A2:6B:76:4D:72:B3:
BE:DB:E0:CA:A4:27:A8:30:A1:19:13:B9:40:A0:CE:99:A5:27:4E:67:
6D:BC:18:68:1C:0F:39:25:19:6A:B7:D5:92:B3:F0:9F:45:F3:C4:C3:
CA:89:8B:D5:47:EF:A4:D1:66:0A:97:D5:4B:00:7F:3E:37:9E:84:71:
CF:8E:25:32:8D:75:90:36:08:B8:89:A7:4F:76:22:FD:BB:99:61:6A:
E1:F2:DF:05:09:60:5E:73:5B:7A:C7:31:71:4E:4B:5C:1A:54:0C:B4:
AE:87:BB:D5:5D:00:C9:C4:D5:B0:CC:0A:83:DB:11:DB:60:0A:33:F2:
94:38:63:4D:2C:9E:12:A8:43:70:17:0C:CB:44:6C:99:BE:24:00:3F:
C1:ED:A2:EE:5E:D3:29:66:8C:CA:B3:D5:B6:1F:8E:77
parm: force:Force driver load, ignore DMI data (bool)
root@AA:/#
Obviously the kernel doesn’t “see” it, just like the hardinfo program, by the way.
But it’s already 2 am, it’s time to sleep.
These packages are available in Devuan.
Maybe they are modified in Ubuntu, then there should be patches for the kernel code.
There are two kernel modules for ideapad (Daedalus for example )
/lib/modules/6.1.0-10-amd64/kernel/drivers/platform/x86/ideapad-laptop.ko
/lib/modules/6.1.0-10-amd64/kernel/drivers/input/misc/ideapad_slidebar.ko
Are they loaded?
Daedalus.
The result of building the linux-image-6.1.xx kernel for Lenovo s205.
localhost:/home/uly_15.3/Downloads/Dist/Deevuan # ls -lh
total 6.5M
-rw-r--r-- 1 root root 0 Oct 23 12:29 ls
-rw-r--r-- 1 uly_15.3 users 6.5M Oct 22 16:29 vmlinuz-6.1.55s205
localhost:/home/uly_15.3/Downloads/Dist/Deevuan #
Another question is that for this you need to have a modern computer.
On a machine with a Core 2Duo E8400/4Gb, compilation takes 3 hours
yes, you're missing something, "1st message on devuan mirror files" is more accurate.
Understood thanks.
PS. You are needlessly offended.
From my own experience, I accept the skepticism of my colleagues. I stopped checking my home desktop with all sorts of сheckroot, etc. because over the years I have never seen any suspicious programs. As I understand it, home users have little interest in hackers, and if something gets into the distribution, there are more qualified people who will make a fuss.
Devuan is more of a distribution for enthusiasts than for cooperative or business use, security requirements and the risk of hacking are probably lower.
But that's just my opinion.
Regards.
that tool (clamav really) was running for years scanning all server files. this is the 1st time i got notifications and though i immediately thought of it as false positives, i guessed it'd be better to get official confirmation...
and not all "digests" give false positives notifications.
Why is it needed if after years of use this is its first message and it’s false? Or am I missing something?
Regards.
No security vendors and no sandboxes flagged this file as malicious
In my Daedalus
root@AA:/run/systemd# netstat -an | grep systemd
root@AA:/run/systemd# netstat -an | grep DGRAM
unix 3 [ ] DGRAM CONNECTED 12101
unix 3 [ ] DGRAM CONNECTED 12100
unix 2 [ ] DGRAM 19561 /run/wpa_supplicant/wlan0
root@AA:/run/systemd#
For example
/run/systemd/inhibit/1
# This is private data. Do not parse.
WHAT=sleep
MODE=delay
UID=0
PID=1217
WHO=NetworkManager
WHY=NetworkManager needs to turn off networks
FIFO=/run/systemd/inhibit/1.ref
This is probably how it should be.
This is Daedalus, which, according to distrowatch.com, does not have systemd.
The situation is obvious, the package is not tightly linked to other packages, is not installed by default, and apt does not object when it is removed.
Although the kernel still looks for it when loading.
Whether this is good or bad, as well as the issue of responsibility for the use of prohibited radio frequencies, is up to the developers to decide.
Ok, let's try to figure it out.
It is listed here
root@AA:~# apt-cache rdepends wireless-regdb
wireless-regdb
Reverse Depends:
linux-image-6.1.0-10-amd64...
There are no recommendations for installing it here.
root@AA:~# apt show linux-image-6.1.0-10-amd64 -a
Package: linux-image-6.1.0-10-amd64
Version: 6.1.38-2
Built-Using: linux (= 6.1.38-2)
Priority: optional
Section: kernel
Source: linux-signed-amd64 (6.1.38+2)
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 408 MB
Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
Recommends: firmware-linux-free, apparmor
Suggests: linux-doc-6.1, debian-kernel-handbook, grub-pc | grub-efi-amd64 | extlinux
Conflicts: linux-image-6.1.0-10-amd64-unsigned
Breaks: fwupdate (<< 12-7), initramfs-tools (<< 0.120+deb8u2), wireless-regdb (<< 2019.06.03-1~)
Replaces: linux-image-6.1.0-10-amd64-unsigned
Homepage: https://www.kernel.org/
Download-Size: 68.5 MB
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: Linux 6.1 for 64-bit PCs (signed)
No dependencies.
root@AA:~# apt show wireless-regdb
Package: wireless-regdb
Version: 2022.06.06-1
Priority: optional
Section: net
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Installed-Size: 36.9 kB
Homepage: https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb
Tag: admin::hardware, role::app-data
Download-Size: 13.1 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: wireless regulatory database for Linux
My post is not about the Wi-Fi card driver.
Quote:
"Linux allows changing regulatory domains in compliance with regulatory restrictions world wide, including the US FCC. In order to achieve this devices always respect their programmed regulatory domain and a country code selection will only enhance regulatory restrictions. This is in accordance with the FCC part 15 country code selection knowledge base publication number 594280. As an example if your device was programmed for operation in the US which allows operation on channels 1-11 on the 2.4 GHz band and you visit Japan which allows operation on channels 1-14 and you change your regulatory domain to JP you will not be able to use channel 12, 13 or 14 (CCK). But if you have a device programmed for operation in Japan and visit the US and you select US as your regulatory domain you will have channel 12-14 disabled..."
https://wireless.wiki.kernel.org/en/dev … atory/crda
The question concerns computers with WI-FI.
Devuan Daedalus, when loading there is a pause to search for regulatory.db.
This is a database with the conditions for using WI-FI in a specific user's country.
It is in the optional
wireles-regdb
package, which must be installed.
Otherwise, the user may turn out to be a criminal by accidentally turning on a WI-FI channel that is prohibited in his country.
Firefox, uBlock Origin v. 1.52.0, latest update
September 13, 2023.
There are no advertisements on YouTube.
P.S. Maybe you need to enable filters in uBlock Origin, or add them.
I'll bring up the topic.
Brave browser installs and works without problems on Chimaera and Daedalus.
Instructions here https://brave.com/linux/
Music for playing solitaire.
https://www.youtube.com/watch?v=gw9fKuymA0I
HI rdav.
Of course, we each have our own entertainment and toys.
But I really do not understand why break one OS to install another? Today, disk capacity is not a problem; if possible, you can add another disk.
Spend time and get an OS littered with unnecessary rubbish, then puzzle over why it does not work as it should ...
But, I repeat, of course this is our free choice.
Regards.
Why this suffering?
Why not set aside 20...30 GB of hard disk space and install a clean Devuan right away?
And you can build your own kernel, just answer 5000 questions in the configuration file.
https://dev1galaxy.org/viewtopic.php?id=5415
Thank you very much!
I added the line in /etc/default/grub and everything works.
Regards.