💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2022-11-27.txt captured on 2024-05-12 at 16:01:24.

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

[2022-11-27T00:07:25Z] <midfavila> hmm
[2022-11-27T00:07:47Z] <midfavila> you know, recently i've been thinking about how nice it would be to have a modernized take on "The UNIX Programming Environment"
[2022-11-27T00:08:05Z] <midfavila> but in many ways it's difficult to imagine what it would expand upon, aside from updating stuff about directories 
[2022-11-27T00:08:20Z] <midfavila> maybe provide an intro to sockets, X/Wayland, etc
[2022-11-27T00:08:39Z] <midfavila> brief intro to POSIX using its equivalents of kernel system calls
[2022-11-27T00:08:42Z] <midfavila> that kinda thing
[2022-11-27T00:21:49Z] <Torr> How much Pdp11 was in Unix back when this was released, eh.
[2022-11-27T00:21:57Z] <Torr> And how much still there...
[2022-11-27T00:27:47Z] <midfavila> i don't think there was much if any when it was released
[2022-11-27T00:28:04Z] <midfavila> pretty sure research iii or iv was around the time the entire kernel was C
[2022-11-27T00:28:07Z] <midfavila> might be wrong though
[2022-11-27T00:31:08Z] <midfavila> ...heh, i might print myself an "Ed, man! !man ed" t-shirt at some point
[2022-11-27T00:31:16Z] <midfavila> that would be kinda funny
[2022-11-27T00:46:03Z] <phoebos> lol
[2022-11-27T06:51:57Z] <wael[m]> Hi
[2022-11-27T06:52:55Z] <testuser[m]> Hi
[2022-11-27T08:15:09Z] <virutalmachineus> Hi
[2022-11-27T08:26:24Z] <wael[m]> illiliti: btw the pr doesnt work with lzma or bzip2 or xz
[2022-11-27T08:26:32Z] <wael[m]> they are still single-threadeed
[2022-11-27T09:29:50Z] <wael[m]> testuser: is verbose building commands needed? for example when manually extracting or copying files is verbosity preferred
[2022-11-27T09:30:03Z] <testuser[m]> no
[2022-11-27T09:30:23Z] <wael[m]> how come? wouldn't it be more transparent that way
[2022-11-27T09:43:49Z] <testuser[m]> It's irrelevant most of the times
[2022-11-27T09:43:52Z] <testuser[m]> Except debuggin
[2022-11-27T10:35:31Z] <aelspire> Hi, I'm playing with automatic kernel module loading via mdevd rule like in mdev-like-a-boss. I've added line with modrpobe to /etc/mdev.conf and /etc/mdevd.conf and noticed that nothing is loaded untill I add "-C" flag to mdevd/run somehow "mdevd-coldplug" in /lib/init/rc.boot looks like doing something (I've changed modprobe to echo to see what is happening) but it's not loading required modules somehow?
[2022-11-27T10:36:31Z] <aelspire> I've tried changing "mdevd-coldplug" to "-C" flag in /lib/init/rc.boot but it didn't helped
[2022-11-27T10:37:35Z] <aelspire> but "-C" flag in mdevd/run service's file works
[2022-11-27T10:38:22Z] <aelspire> Any ideas what I'm doing wrong?
[2022-11-27T10:39:21Z] <testuser[m]> illiliti: 
[2022-11-27T10:55:47Z] <aelspire> more info: I've sound "card" that require sof-firmware and wanted to load required modules after boot so kernel will grab fw from /lib/firmware
[2022-11-27T11:09:00Z] <aelspire> ok, I probably found cause
[2022-11-27T11:09:20Z] <aelspire> mdevd is killed too quicky in rc script
[2022-11-27T11:09:46Z] <aelspire> I've added slepp 10 after mdevd-coldplug and now lsmod shows modules
[2022-11-27T11:10:39Z] <aelspire> but this is not solution, from what I see mdevd-coldplug has -o option for synchronous coldbplug
[2022-11-27T11:10:59Z] <aelspire> but I'm still investigating how to use it
[2022-11-27T11:34:34Z] <aelspire> using "-O 4" as flag for both mdevd and mdevd-coldplug works 
[2022-11-27T11:48:13Z] <wael[m]> waht the fu
[2022-11-27T12:37:30Z] <illiliti> aelspire: https://github.com/skarnet/mdevd/issues/9
[2022-11-27T12:38:04Z] <illiliti> you're right, "-O4" in rc.boot should work
[2022-11-27T12:38:45Z] <illiliti> except that I would recommend running mdevd-coldplug twice
[2022-11-27T12:39:11Z] <illiliti> that reduces a chance to hit race condition
[2022-11-27T12:39:53Z] <aelspire> illiliti: Oh, I didn't see this issue
[2022-11-27T12:39:57Z] <aelspire> thanks
[2022-11-27T12:41:16Z] <illiliti> but doesn't completely fix it. sometimes, even with having two mdev-coldplug i get broken permissions in /dev
[2022-11-27T12:42:15Z] <illiliti> but it is very rare and doesn't bother me
[2022-11-27T12:42:49Z] <aelspire> yeah, I'll probably settle with -O 4 in rc and see
[2022-11-27T12:43:07Z] <aelspire> in my case this is only sound so nothing mission critical
[2022-11-27T12:43:34Z] <illiliti> fine, just wanted to let you know that race condition is still possible
[2022-11-27T12:46:09Z] <illiliti> wael[m]: i don't know man. i believe i did everything what i could
[2022-11-27T12:59:02Z] <wael[m]> <illiliti> "wael: i don't know man. i..." <- nproc maybe?
[2022-11-27T12:59:35Z] <testuser[m]> illiliti: why not just use mdev -O4?
[2022-11-27T13:07:42Z] <illiliti> nproc is non-standard
[2022-11-27T13:07:57Z] <illiliti> mdev doesn't support -O4
[2022-11-27T13:08:23Z] <illiliti> it's exclusive to mdevd