💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › kisslinux-2021-09-06.txt captured on 2024-05-12 at 16:04:24.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
[2021-09-06T03:38:24Z] <testuser[m]> Hi [2021-09-06T09:44:44Z] <soliwilos> Hello. [2021-09-06T09:47:14Z] <bountyht> Mornings, people. I am working hard at job stuff but will come later with more KISS questions [2021-09-06T09:47:17Z] <bountyht> :-) [2021-09-06T09:49:43Z] <soliwilos> Has anyone patched syslinux to remove it's boot messages? I found some really old patches and have adapted them to the newer syslinux, but there's still one message left. [2021-09-06T09:50:31Z] <testuser[m]> grep for the message ? [2021-09-06T09:50:33Z] <soliwilos> Trying to figure out what to remove, but it's a bit of trial and error. [2021-09-06T09:51:28Z] <soliwilos> Seems it's combining multiple variables and/or pointers. [2021-09-06T09:51:38Z] <testuser[m]> what line [2021-09-06T09:51:40Z] <testuser[m]> and file [2021-09-06T09:53:46Z] <soliwilos> core/diskstart.inc - look for early_banner [2021-09-06T09:54:16Z] <soliwilos> also copyright_str [2021-09-06T09:54:18Z] <testuser[m]> could you show what the other patches look like [2021-09-06T09:55:16Z] <soliwilos> Yes, a moment. [2021-09-06T09:56:28Z] <soliwilos> http://ix.io/3y5U [2021-09-06T09:57:20Z] <soliwilos> There is also this one http://ix.io/3y5V [2021-09-06T09:57:33Z] <soliwilos> These are the old patches I found. [2021-09-06T09:59:16Z] <testuser[m]> at line 40 early_banner is just defined, so you can let it be. it's printed at line 114 so just comment 114 out ? [2021-09-06T09:59:18Z] <testuser[m]> https://termbin.com/1qcb like hit [2021-09-06T09:59:20Z] <testuser[m]> this [2021-09-06T10:02:52Z] <soliwilos> I have tried it like this http://ix.io/3y5Z [2021-09-06T10:04:31Z] <testuser[m]> It doesnt work ? [2021-09-06T10:05:30Z] <soliwilos> There is still one message left, guessing it might be from a different file. [2021-09-06T10:08:36Z] <testuser[m]> there's 13 occurances of writestr_early so just go through the ones you havent commented out [2021-09-06T10:10:51Z] <soliwilos> Indeed. [2021-09-06T10:11:11Z] <soliwilos> I'll continue poking at it. :) [2021-09-06T14:35:23Z] <soliwilos> Looks like that final message is provided by bios/extlinux/extlinux, the binary that is used to install the boot sector. Can be removed with a hex editor on that binary. [2021-09-06T14:50:54Z] <soliwilos> I actually edited /sbin/extlinux, but tinkering with the sources in extlinux/ and libinstaller/ is where it's at I guess. [2021-09-06T16:58:14Z] <bountyht> Stupid question, does Wayland support switching to a tty, like Xorg does via Crtl+Alt+$number? [2021-09-06T17:15:04Z] <illiliti> iirc, it does [2021-09-06T17:18:44Z] <bountyht> Nice [2021-09-06T17:18:59Z] <bountyht> Because somebody was telling me it doesn't, but I could not find any reference out there [2021-09-06T17:22:02Z] <noocsharp> i'm pretty sure switching ttys is a linux feature, not specific to a display manager [2021-09-06T17:23:08Z] <bountyht> Well I think it works on OpenBSD too :-) [2021-09-06T17:23:14Z] <bountyht> But I get the point [2021-09-06T17:38:26Z] <rio6> x does handle it I think, judging by how when x freezes tty switching doesn't work until I do sysrq r [2021-09-06T17:46:07Z] <acheam> If x/wayland handles it then it wouldnt work without one of those sessions running , but it does [2021-09-06T17:48:14Z] <bountyht> I take people who wants to run KISS under FDE is using tinyinitramfs? [2021-09-06T17:48:49Z] <acheam> Yes [2021-09-06T17:48:59Z] <acheam> Don't know of anyone using anything else [2021-09-06T17:49:27Z] <bountyht> I was thinking of using some Slackware initramfs making script and wondering how portable that would be heh [2021-09-06T17:50:05Z] <rio6> when I say x handles it, I meant that when it is running [2021-09-06T17:59:26Z] <claudia> you can switch tty when you are in a tty. So the display whatever has nothing to do with it. [2021-09-06T17:59:51Z] <claudia> I have no proff but suspect the getty one is using heavily. [2021-09-06T18:00:22Z] <claudia> *display server whatever [2021-09-06T18:01:35Z] <illiliti> bountyht: slackware hardcodes (b)ash and gnu coreutils in their scripts [2021-09-06T18:01:56Z] <bountyht> illiliti: Actually I ported the init scripts to ash back in the day [2021-09-06T18:02:01Z] <bountyht> when I had so much time in my hands [2021-09-06T18:02:59Z] <bountyht> illiliti: I am checking the repository for tinyramfs but I can't figure out how it guesses which encrypted volumes to unlock when booting FDE [2021-09-06T18:03:39Z] <illiliti> it's up to user [2021-09-06T18:03:49Z] <illiliti> there's no automation [2021-09-06T18:03:58Z] <bountyht> Ok, fine :-) [2021-09-06T18:05:12Z] <bountyht> What is "local" mode supposed to accomplish? [2021-09-06T18:05:41Z] <bountyht> Oh wait it liads /lib/init.sh and friends. [2021-09-06T18:05:54Z] <illiliti> local is bashism that isn't posix yet [2021-09-06T18:06:02Z] <illiliti> https://www.austingroupbugs.net/bug_view_page.php?bug_id=767 [2021-09-06T18:06:29Z] <illiliti> it's very useful but not portable [2021-09-06T18:07:38Z] <bountyht> I have to go. I will show up later [2021-09-06T18:08:03Z] <illiliti> ok [2021-09-06T18:10:04Z] <trunc88> all of a sudden its taking over a minute for the device manager to set up my keyboard and mouse at boot time and i have no idea whats going on [2021-09-06T18:11:38Z] <trunc88> i installed eudev for android-tools but it was working fine until i rebooted today [2021-09-06T18:17:20Z] <illiliti> trunc88: probably you messed up eudev with libudev-zero [2021-09-06T18:18:06Z] <illiliti> eudev isn't supported in kiss linux anymore, so you're on your own [2021-09-06T18:18:45Z] <trunc88> thats what it kinda seems like, but i installed eudev in a subdirectory of /usr/lib to try to avoid conflicts [2021-09-06T18:19:33Z] <trunc88> and it worked fine for a day or 2 [2021-09-06T18:20:42Z] <trunc88> right now im trying to use mdevd and it has the same problem [2021-09-06T18:20:57Z] <trunc88> i only want eudev for android-tools [2021-09-06T18:26:56Z] <trunc88> i also thought it might be related to the init system changes referred to on kisslinux.org but those dont seem to have been implemented yet [2021-09-06T18:33:05Z] <testuser[m]> trunc88: use adb over wifi if you don't need fastboot. It won't need eudev [2021-09-06T18:34:24Z] <trunc88> i do need fastboot, thanks for the suggestion though [2021-09-06T18:35:21Z] <testuser[m]> I just use a normal live usb for the occasional fastboot stuff [2021-09-06T18:35:38Z] <testuser[m]> To avoid replacing with eudev just for a single task [2021-09-06T18:36:07Z] <trunc88> hm now theres an idea [2021-09-06T18:36:59Z] <illiliti> can't promise anything, but i'll try to fix this [2021-09-06T18:39:10Z] <trunc88> greatly appreciated! let me know if you want any more info [2021-09-06T18:44:20Z] <rio6> claudia: what I'm saying is when you switch tty inside a x session, it's the xserver that does the switching [2021-09-06T18:44:36Z] <rio6> https://www.x.org/releases/X11R7.7/doc/man/man1/Xorg.1.xhtml#heading8 [2021-09-06T18:45:30Z] <illiliti> well, adb just works for me as root [2021-09-06T18:46:38Z] <trunc88> without eudev? [2021-09-06T18:47:01Z] <illiliti> yes lol [2021-09-06T18:47:21Z] <trunc88> did you try fastboot? [2021-09-06T18:47:50Z] <illiliti> one sec [2021-09-06T18:48:06Z] <trunc88> i had adb working also, my problem now is the weird behaviour at boot time [2021-09-06T18:48:34Z] <trunc88> not sure if adb is still working or not [2021-09-06T18:52:47Z] <illiliti> fastboot just works [2021-09-06T18:53:28Z] <trunc88> huh, sick. i guess i should have just tried building android-tools with libudev-zero first [2021-09-06T18:54:58Z] <rio6> su [2021-09-06T18:55:02Z] <rio6> oops wrong terminal [2021-09-06T18:55:06Z] <GalaxyNova> lol [2021-09-06T18:55:20Z] <GalaxyNova> good thing you didn't type your password [2021-09-06T18:55:39Z] <claudia02> rio6: oh thats interesting. Thanks for the reference and read. [2021-09-06T18:56:20Z] <rio6> plot twist, that is my password [2021-09-06T18:58:16Z] <illiliti> rio6: is that you on github? [2021-09-06T18:58:22Z] <illiliti> https://github.com/illiliti/libudev-zero/issues/38 [2021-09-06T18:58:27Z] <rio6> ye [2021-09-06T18:58:34Z] <rio6> that's for artix tho, not kiss [2021-09-06T18:58:53Z] <rio6> (so no rebuilding libusb) [2021-09-06T18:59:32Z] <illiliti> that's error is harmless, but if you want to get rid of it you need to rebuild all software which was compiled against udev [2021-09-06T18:59:51Z] <illiliti> personally, i hate symbol versioning [2021-09-06T19:00:44Z] <rio6> I'm thinking more of stub version names without actually putting things in there [2021-09-06T19:03:43Z] <rio6> I think it's good to have if the binary drop-in is one of the goal for libudev-zero [2021-09-06T19:06:30Z] <illiliti> not sure if mold supports symbol versioning [2021-09-06T19:09:24Z] <rio6> probably, --version-script is there [2021-09-06T19:10:51Z] <illiliti> yeah, it does - https://github.com/rui314/mold/blob/main/test/version-script2.sh [2021-09-06T19:11:20Z] <illiliti> ok. i'll add .sym [2021-09-06T19:15:26Z] <illiliti> testuser[m]: adb ootb doesn't work without root because udev rules isn't parsed by mdev [2021-09-06T19:16:22Z] <illiliti> udev rule is yet another vendor lock-in [2021-09-06T19:57:41Z] <rio6> does anyone know if pulse's module-x11-bell has an alsa equivelent [2021-09-06T19:58:08Z] <rio6> ie, plays sound with echo -e '\a' [2021-09-06T20:04:34Z] <GalaxyNova> I'm still not able to build automake :( [2021-09-06T20:21:23Z] <GalaxyNova> anyone here using wyverkiss able to build automake? [2021-09-06T20:21:58Z] <GalaxyNova> it might be an issue with upstream automake [2021-09-06T20:39:41Z] <illiliti> anybody knows a very cheap laptop that just works with *BSD? [2021-09-06T20:39:59Z] <illiliti> i need throwaway hardware to experiment with *BSD [2021-09-06T20:45:29Z] <GalaxyNova> probably pinebook when it comes back in stock [2021-09-06T20:50:06Z] <illiliti> they don't do shipping to russia [2021-09-06T20:50:21Z] <illiliti> at least *directly* [2021-09-06T20:56:11Z] <claudia02> illiliti: my thinkpad x230 runs with free, net open bsd, because devs use thinkpads often. [2021-09-06T20:57:23Z] <claudia02> Otherwise rpi4 should work on openbsd. net prob too. [2021-09-06T21:00:42Z] <illiliti> i have rpi3b btw [2021-09-06T21:01:28Z] <claudia02> checout this http://www.armbsd.org/arm/#HEAD [2021-09-06T21:02:04Z] <claudia02> https://www.openbsd.org/arm64.html [2021-09-06T21:02:51Z] <illiliti> fuck [2021-09-06T21:02:57Z] <illiliti> https://isitblockedinrussia.com/?host=armbsd.org [2021-09-06T21:03:02Z] <illiliti> look at this shit [2021-09-06T21:03:47Z] <GalaxyNova> move to Canada [2021-09-06T21:03:54Z] <GalaxyNova> xD [2021-09-06T21:04:17Z] <GalaxyNova> why do they block it [2021-09-06T21:04:38Z] <illiliti> offer me a job in ca and i'll move :) [2021-09-06T21:04:47Z] <noocsharp> vpn? [2021-09-06T21:04:53Z] <illiliti> already [2021-09-06T21:05:06Z] <claudia02> wth [2021-09-06T21:06:53Z] <claudia02> Do you want to test libudev-zero on the bsds? [2021-09-06T21:07:27Z] <illiliti> no, i want to implement cross-platform libudev alternative [2021-09-06T21:07:38Z] <claudia02> ah gotcha [2021-09-06T21:08:02Z] <claudia02> brave project! [2021-09-06T21:10:43Z] <illiliti> yeah, i hope i'll manage to design generic API [2021-09-06T21:13:51Z] <claudia02> I know this PR for swc, for netbsd support. Maybe this is helpful https://github.com/michaelforney/swc/pull/53 [2021-09-06T21:19:46Z] <illiliti> thanks. i'll look into this [2021-09-06T21:20:56Z] <illiliti> the main problem is that i don't know how to reliably enumerate devices because NetBSD(and OpenBSD) still uses static nodes [2021-09-06T21:21:17Z] <illiliti> and there's no userspace api to do that [2021-09-06T21:37:04Z] <rio6> can mdev change permission for /sys/ stuff? [2021-09-06T21:38:20Z] <illiliti> yes [2021-09-06T21:39:51Z] <rio6> so for example, if I want root:video 660 on /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness, how do I do that [2021-09-06T21:40:32Z] <rio6> just chmod it? [2021-09-06T21:40:45Z] <GalaxyNova> I think that would reset on each reboot [2021-09-06T21:41:42Z] <rio6> *chmod it from mdev.conf [2021-09-06T21:42:36Z] <claudia02> rio6: I did this with chmod from inittab. So basically run that on each startup. [2021-09-06T21:43:48Z] <bountyht> illiliti: Which BSD are you thinking about? [2021-09-06T21:43:52Z] <bountyht> FOr the laptop? [2021-09-06T21:44:45Z] <bountyht> OK, never mind, I read that [2021-09-06T21:45:16Z] <bountyht> illiliti: I'd got with a second hand Dell Optiplex workstation [2021-09-06T21:45:24Z] <bountyht> You can get those for 80 bucks [2021-09-06T21:46:53Z] <bountyht> I recently set an OpenBSD point-of-sale with an Optiplex 390 and a 5 USD used monitor. [2021-09-06T21:47:24Z] <bountyht> Dunno if the suggestion helps. Also, I have been studying tinyramfs and it looks very complete. Congratulations. [2021-09-06T21:56:50Z] <illiliti> bountyht: thanks! very good suggestion [2021-09-06T21:57:51Z] <illiliti> do you know if it works with NetBSD/FreeBSD ? [2021-09-06T22:02:56Z] <bountyht> I have only tried it with OpenBSD [2021-09-06T22:03:22Z] <bountyht> But I bet it would work with NetBSD and FreeBSD [2021-09-06T22:03:54Z] <illiliti> nice [2021-09-06T22:04:02Z] <bountyht> Anyway, if you only want to play with device detection and /dev, maybe you could use **gasp** a virtualitation solution for testing [2021-09-06T22:04:07Z] * bountyht dodges thrown tomatoes [2021-09-06T22:05:58Z] <illiliti> i know. i prefer real hardware to ensure correctness