libera/#devuan/ Wednesday, 2020-07-15

udn44does anyone know what is the automatic method for loading non-device/hardware kernel modules such as ext4, crc, aes, nft_tables and other fs, crypto and protocol related modules? Is it also handled by udev/eudev or another mechanism?00:35
rrqudn44: I think modules mentioned in "/etc/modules" are loaded automagically during boot up01:25
udn44Afaik "/etc/modules" is empty by default on Deb/Dev and so is "/etc/modprobe.d/"02:26
udn44do you believe it might be a different /etc/modules used to build initrd?02:27
rrqthere's also /etc/initramfs-tools/modules and /usr/share/initramfs-tools/modules.d/* for modules to load at initrd stage .. start with "man initramfs.conf"02:40
udn44rrq: both are also empty... I believe when you use a cryptloop cipher, mount with a new fs type or try to handle a new protocol or iptables/nft helper, these kernel modules load on demand... I am just wondering who does it, since my understanding was that udevd only reacted to device/hardware based events signaled from the kernel and not from user02:49
udn44space tools02:49
gnarfaceudn44: look in ls /lib/modules/`uname -r`02:51
gnarfaceudn44: sorry to be clear "ls /lib/modules/`uname -r`"02:51
gnarfaceudn44: look at the .dep files in there02:51
rrqudn44: you might need to follow up the initramfs scripting of the package(s) involved02:52
gnarfaceyea, the initramfs has it's own thing, but it's separate02:52
gnarfaceit kinda replicates the process02:52
udn44yep, I see we have several thousand modules in there... but, is there a userspace tool that loads them or is the kernel loading them directly02:52
gnarfacebut modules can still be loaded after boot automatically, the old way, afaik02:52
rrqudn44: eg from "dpkg -L $package | grep initramfs"02:52
rrqthat scripting has two parts: script for building intramfs and scripts executed duting initrd init02:53
rrqduring02:53
gnarfaceudn44: this module-init-tools used to be the thing i'm talking about (the one separate from initramfs) but i'm seeing now they seem to have canged it to something called "kmod" as of ceres, at least, not sure about beowulf02:54
gnarfaceudn44: yea this ceres install has been upgraded for years.  i'm not sure when module-init-tools went away but it's kmod as of beowulf too02:55
udn44lsmod | grep "nf_"02:58
gnarfacewrong window?02:59
udn44I just cannot understand how these nf modules are not loaded during boot (initramfs) but come up on-demand, *but* without a hardware event hook which is what I thought triggered udev03:01
gnarfaceno, it's a software hook event for sure, it comes from the kernel, and i think calls a userspace tool03:01
gnarfacei'm not 100% clear on it either03:02
gnarfacebut i don't think it invovles udev at all03:02
udn44the only search result I get is initram/modules/modprobe or udev03:02
gnarfacei could be wrong03:02
udn44right, I hope so03:02
gnarfacedid you look at the kmod package?03:02
gnarfacefor boot it's initramfs tools, but after boot it is probably the kmod package03:02
gnarface(though they may be intertwined directly somehow)03:02
gnarface(but that only is if you are actually using an initramfs, which is the default but not a strict requirement)03:03
udn44yep, but my understanding is that these are user land control tools, there is no running daemon like udevd on kmod03:03
udn44gnar and rrq, thanks for trying, ill keep researching and chime here my findings03:13
Admiral_PurrHello there. Good morning from here. Are all Debian packages available for Devuan?07:55
golinuxAdmiral_Purr: All except these: https://pkgmaster.devuan.org/bannedpackages.txt07:59
Admiral_PurrThanks. Will have a look.07:59
golinuxYou can check available packages here: https://pkginfo.devuan.org/07:59
Admiral_PurrGreat08:04
zalckosdoes devuan use the linux-libre kernel? https://en.wikipedia.org/wiki/Linux-libre10:59
zalckosin other words, are there proprietary blobs present by default?10:59
zalckosor does it mirror Debian's philosophy? https://unix.stackexchange.com/questions/288027/what-are-the-differences-between-debian-linux-kernel-and-linux-libre11:02
xinomilodevuan uses debian kernel11:06
zalckosah ok ty11:08
xinomilobut you can use linux-libre if you like in devuan too..11:10

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!