💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-07-11.txt captured on 2024-05-12 at 16:08:05.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-07-11T00:26:26 #kisslinux <depsterr> Hey, I made a KISS fork that uses glibc (because I'm a heretic who wants to use priopietary binaries)
2020-07-11T00:26:34 #kisslinux <depsterr> https://github.com/gkiss-linux
2020-07-11T00:26:35 #kisslinux <depsterr> https://depsterr.com/gkiss/
2020-07-11T00:37:11 #kisslinux <himmalerin> That's really cool! I'm pretty happy with musl so far but every so often I've wanted to run something precompiled that doesn't work on musl, might try setting it up on my spare harddrive for fun
2020-07-11T00:40:22 #kisslinux <depsterr> Yeah, I'm having the same experience
2020-07-11T00:40:45 #kisslinux <depsterr> I really wanted to use the ungoogled chromium binaries
2020-07-11T00:41:22 #kisslinux <depsterr> as well as minecraft and some other propietary software that only supports glibc
2020-07-11T00:42:43 #kisslinux <himmalerin> my two were minecraft and vscode, but I've got minecraft running with audio so that's alright. Can't flatpak vscode since I need it to be able to access stuff in /usr/bin
2020-07-11T00:43:07 #kisslinux <depsterr> I dislike flatpaks
2020-07-11T00:43:36 #kisslinux <depsterr> when you're installing glibc in a container to run software I feel like I might as well have it installed anyway
2020-07-11T00:43:43 #kisslinux <depsterr> since the size is the biggest difference
2020-07-11T00:44:58 #kisslinux <himmalerin> yeah that's fair, it's just easier right now. Finally figured out how to get btrfs working so I'm not too keen on reinstalling, but it would be nice to drop the flatpaks
2020-07-11T00:45:08 #kisslinux <depsterr> makes sense
2020-07-11T00:45:30 #kisslinux <depsterr> if you end up trying it out make sure to tell me somehow, especially if it doesn't work
2020-07-11T00:46:20 #kisslinux <depsterr> I've only tested on a vm so far, I'm gonna install it on my laptop tommorow though, and test xorg etc
2020-07-11T00:46:27 #kisslinux <depsterr> it's too late for me to work more today though
2020-07-11T00:47:03 #kisslinux <himmalerin> will do! People are doing some pretty incredible things based off of Kiss
2020-07-11T00:47:50 #kisslinux <depsterr> Makes sense, kiss really is an incredible thing
2020-07-11T00:48:14 #kisslinux <depsterr> it's simplicity makes it super easy to understand and modify
2020-07-11T00:48:50 #kisslinux <depsterr> It's made me feel like gentoo is bloated, which I think is quite an achievement
2020-07-11T00:50:46 #kisslinux <himmalerin> ha, sure is! The one time I tried to install Gentoo I could never get xorg running, so Kiss is pretty awesome. Simple and usable by someone like me :D (Thinking back it's almost certainly because I had no idea about firmware)
2020-07-11T00:53:51 #kisslinux <depsterr> Gentoo has been really smooth for me until recently
2020-07-11T00:54:11 #kisslinux <depsterr> while working on GKISS I accidentaly ran rm -rf /lib64/* outside a chroot
2020-07-11T00:54:44 #kisslinux <depsterr> I managed to solve it by reinstalling every package
2020-07-11T00:54:58 #kisslinux <depsterr> after grabbing the package manager from the tar ball
2020-07-11T00:55:09 #kisslinux <depsterr> but I think I completely broke dependecy checking
2020-07-11T00:55:21 #kisslinux <depsterr> so I have to do all dependecy checks manually now
2020-07-11T00:55:23 #kisslinux <depsterr> =_=
2020-07-11T00:55:37 #kisslinux <dilynm> Holy s h i t
2020-07-11T00:55:44 #kisslinux <himmalerin> *oops*
2020-07-11T00:55:51 #kisslinux <dilynm> Don't nuke the libraries lmao
2020-07-11T00:56:38 #kisslinux <himmalerin> Not a real alternative to backups, but I hope to avoid semi-permanently nuking parts of my system with the btrfs snapshots
2020-07-11T00:58:07 #kisslinux <depsterr> Yeah
2020-07-11T00:58:17 #kisslinux <depsterr> well, after nuking myself I've become a bit more carefull
2020-07-11T00:58:26 #kisslinux <depsterr> so now I work on GKISS in a chroot
2020-07-11T00:58:37 #kisslinux <depsterr> so when I test stuff in GKISS I'm in a chroot chroot
2020-07-11T00:58:59 #kisslinux <depsterr> feels a bit like inception
2020-07-11T00:59:48 #kisslinux <depsterr> himmalerin: What's the deal with btrfs, all I've heard about it is that it's unstable, what are the upsides?
2020-07-11T01:04:56 #kisslinux <himmalerin> I haven't had a power outage since I switched to btrfs so I can't comment on instability from that, but Fedora is looking into switching to it so it can't be /that/ unstable.
2020-07-11T01:04:57 #kisslinux <himmalerin> I switched to it for the snapshots since I broke something messing with my firmware and then REALLY broke something trying to fix it. Figured all that could be avoided if I just had a way to roll back my mistakes.
2020-07-11T01:06:24 #kisslinux <depsterr> I see
2020-07-11T01:06:54 #kisslinux <himmalerin> It's super easy to rollback too, boot recovery medium, `mount /dev/sda3 /mnt`, `btrfs sub delete /mnt/ROOT`, `btrfs sub create /mnt/snapshots/ROOT/$snapshot_id /mnt/ROOT` and you're done
2020-07-11T01:20:45 #kisslinux <dilynm> Why not just use zfs tho
2020-07-11T01:23:59 #kisslinux <himmalerin> Extra work, need to build the kernel module then (I think? Never really looked into it)
2020-07-11T01:57:55 #kisslinux <konimex> > It's made me feel like gentoo is bloated, which I think is quite an achievement
2020-07-11T01:57:55 #kisslinux <konimex> portage is a mess, man
2020-07-11T02:09:20 #kisslinux <depsterr> konimex: portage sucks, I hope I'll be able to get enough stuff working on kiss to justify moving to it on my desktop as well
2020-07-11T02:11:57 #kisslinux <travankor> ^^ +1
2020-07-11T02:12:42 #kisslinux <travankor> honestly i thought that gentoo was bloated crap as soon I started using it
2020-07-11T02:13:00 #kisslinux <travankor> installing gentoo was fun, but maintaining gentoo is painful
2020-07-11T02:15:22 #kisslinux <depsterr> portage is the single most overengineered program I've ever used
2020-07-11T02:16:00 #kisslinux <depsterr> well, maybe not, but it's bad
2020-07-11T02:16:17 #kisslinux <travankor> right
2020-07-11T02:16:23 #kisslinux <travankor> it's not the worst thing out there
2020-07-11T02:16:37 #kisslinux <travankor> but it's overly cargo-culted
2020-07-11T02:39:09 #kisslinux <admicos> does anyone actually understand ebuilds?
2020-07-11T02:39:25 #kisslinux <admicos> they are just a mess of extra commands and magic variables without any documentation about them
2020-07-11T08:57:18 #kisslinux <xzcvczx> admicos: i typically go void first for hints as to how to get shit building
2020-07-11T11:54:28 #kisslinux <illiliti> null_: still no luck with tinyramfs ?
2020-07-11T11:54:59 #kisslinux <null_> oh
2020-07-11T11:55:00 #kisslinux <null_> hey
2020-07-11T11:55:03 #kisslinux <null_> nah unfortunately not
2020-07-11T11:55:16 #kisslinux <null_> i just responded on the issues page actually
2020-07-11T11:56:46 #kisslinux <illiliti> i see
2020-07-11T11:57:19 #kisslinux <null_> makes me really appreciate how interesting the bootup process is tho
2020-07-11T11:57:33 #kisslinux <null_> and integration with initramfs, grub, etc.
2020-07-11T12:01:46 #kisslinux <illiliti> alright. you need to boot with break=luks and manually unlock luks with --debug
2020-07-11T12:06:30 #kisslinux <null_> okay
2020-07-11T12:14:53 #kisslinux <null_> I open it, and it requests the password and then hangs @ Udev cookie <someaddress>  (demid 0) waiting for zero..
2020-07-11T12:15:44 #kisslinux <illiliti> hmm
2020-07-11T12:15:52 #kisslinux <null_> I do get a warning that /run/cryptsetup is missing on the first part of the debug
2020-07-11T12:16:15 #kisslinux <null_> before i put in the passphrase
2020-07-11T12:16:38 #kisslinux <illiliti> it's harmless
2020-07-11T12:16:48 #kisslinux <illiliti> about hang. i recently fixed that issue
2020-07-11T12:16:58 #kisslinux <illiliti> ahh
2020-07-11T12:17:30 #kisslinux <illiliti> i know why it hangs
2020-07-11T12:18:38 #kisslinux <illiliti> run this command : "export DM_DISABLE_UDEV=1" and try to unlock luks
2020-07-11T12:19:26 #kisslinux <null_> in the initramfs right?
2020-07-11T12:19:32 #kisslinux <illiliti> yep
2020-07-11T12:19:41 #kisslinux <null_> i gotta go fix a server real quick brb, i'll respond when i get back
2020-07-11T12:19:55 #kisslinux <illiliti> ok
2020-07-11T12:53:06 #kisslinux <null_> okay
2020-07-11T12:53:10 #kisslinux <null_> that worked
2020-07-11T12:53:25 #kisslinux <null_> so now i'm in initramfs and root is unlocked
2020-07-11T12:56:17 #kisslinux <illiliti> check if /dev/disk/by-uuid/<UUID of root> exist
2020-07-11T12:56:53 #kisslinux <null_> i have a dev/dm-0?
2020-07-11T12:57:03 #kisslinux <null_> which seems to be the unlocked root
2020-07-11T12:57:34 #kisslinux <illiliti> yeah, but /dev/disk/by-uuid/<UUID of root> should be exist too
2020-07-11T12:59:02 #kisslinux <null_> if I'm looking at blkid all i see is /dev/sdb3 (which is the CRYPTO_LUKS container) and the /dev/dm-0
2020-07-11T12:59:20 #kisslinux <null_> which has roots UUID, yeah
2020-07-11T13:00:41 #kisslinux <illiliti> no no, i mean file. run busybox ls /dev/disk/by-uuid/* . it should return symlink
2020-07-11T13:00:46 #kisslinux <null_> ohhhh
2020-07-11T13:00:51 #kisslinux <null_> sorry
2020-07-11T13:01:01 #kisslinux <null_> i misunderstood you, apologies. one second
2020-07-11T13:02:12 #kisslinux <null_> okay, so i don't see root in that directory
2020-07-11T13:04:27 #kisslinux <illiliti> there is should be symlink which points to ../../dm-0
2020-07-11T13:07:39 #kisslinux <null_> unfortunately not :(
2020-07-11T13:08:35 #kisslinux <null_> isee the other drives symlinked for ../../sd* but not dm-0
2020-07-11T13:09:10 #kisslinux <illiliti> create it. run busybox ln -s ../../dm-0 /dev/disk/by-uuid/<root uuid>
2020-07-11T13:11:09 #kisslinux <null_> okay
2020-07-11T13:11:12 #kisslinux <null_> it is done
2020-07-11T13:12:11 #kisslinux <illiliti> run 'exit 0'
2020-07-11T13:13:17 #kisslinux <null_> Errored with Device root already exists. !! failed to unlock LUKS
2020-07-11T13:14:27 #kisslinux <illiliti> run 'exit 0' again
2020-07-11T13:15:51 #kisslinux <null_> mount: mounting /dev/mapper/boot on /boot failed: No such files or directory
2020-07-11T13:16:10 #kisslinux <null_> mount: mounting /dev/sdb1 on /boot/efi failed: No such files or directory
2020-07-11T13:16:22 #kisslinux <null_> Init system encountered an error, starting emergency shell
2020-07-11T13:16:57 #kisslinux <null_> errored after =>Mounting all local filesystems...
2020-07-11T13:17:47 #kisslinux <illiliti> exit 0
2020-07-11T13:18:14 #kisslinux <illiliti> it's should be harmless
2020-07-11T13:19:07 #kisslinux <null_> okay, looks like i'm at a login prompt
2020-07-11T13:19:23 #kisslinux <null_> Failed to resolve /dev/sdb2 error popped up in there
2020-07-11T13:19:35 #kisslinux <null_> oo, boot stage completed in 1610s
2020-07-11T13:19:45 #kisslinux <illiliti> heh
2020-07-11T13:19:53 #kisslinux <illiliti> > Failed to resolve /dev/sdb2
2020-07-11T13:19:56 #kisslinux <illiliti> ignore it
2020-07-11T13:22:32 #kisslinux <illiliti> i suggest you to try to setup same configuration (encryption, etc, ...) in Qemu
2020-07-11T13:23:28 #kisslinux <illiliti> because debugging is painful on real machine
2020-07-11T13:25:07 #kisslinux <null_> What do you mean? Re-install Kiss with encryption, etc on a virtual machine?
2020-07-11T13:25:44 #kisslinux <null_> Or clone this install to Qemu? I'm not familiar with virtualization besides VirtualBox :p
2020-07-11T13:25:58 #kisslinux <illiliti> reinstall
2020-07-11T13:26:36 #kisslinux <illiliti> qemu is easy to setup. just read the docs
2020-07-11T13:28:03 #kisslinux <null_> should i try and reboot this machine to kiss?
2020-07-11T13:28:27 #kisslinux <null_> i'm assuming i'll have to go to initramfs and do this all over every time i boot for the time being or did we fix the problem?
2020-07-11T13:28:51 #kisslinux <null_> I'll work on virtualizing an install of kiss with this encryption tomorrow night for sure
2020-07-11T13:29:24 #kisslinux <illiliti> nope, we didn't fix the problem. it's just a workaround
2020-07-11T13:30:38 #kisslinux <illiliti> to fix the problem i need more info or better if i can reproduce this problem... but everything works fine for me
2020-07-11T13:32:01 #kisslinux <null_> yeah, i must be an outlier haha
2020-07-11T13:32:46 #kisslinux <null_> totally, i'll be on here tomorrow night thru morning at work so I can let you know tomorrow when it's up and running
2020-07-11T13:33:47 #kisslinux <illiliti> where are you from?
2020-07-11T13:35:54 #kisslinux <null_> seattle, wa
2020-07-11T13:37:43 #kisslinux <null_> you?
2020-07-11T13:38:54 #kisslinux <issaias> what are some motherboards with actual good uefi implementations cause my motherboard, the efibootmgr entries disappear when i reboot, the "os boot manager" entry is hardcoded to the window path. i've heard good things about gigabyte
2020-07-11T13:39:09 #kisslinux <illiliti> russia, saint petersburg
2020-07-11T13:42:11 #kisslinux <null_> oooo i've always wanted to go there! dostoyevsky always made saint petersburg sound amazing
2020-07-11T13:44:50 #kisslinux <konimex> looks like llvm 10.0.1 is any day now
2020-07-11T13:47:22 #kisslinux <illiliti> ohh dude.. russia is a totalitarian country. living here is just like eating shit everyday
2020-07-11T13:49:39 #kisslinux <null_> You're not wrong, the politics there are definitely not up my alley.
2020-07-11T13:50:38 #kisslinux <illiliti> it's more than just politics
2020-07-11T13:50:40 #kisslinux <null_> America isn't a whole lot better in some regards.
2020-07-11T13:50:56 #kisslinux <illiliti> no one cares about future in russia
2020-07-11T13:51:39 #kisslinux <null_> As far as education and higher learning?
2020-07-11T13:53:48 #kisslinux <null_> i personal messaged u
2020-07-11T13:53:59 #kisslinux <null_> not sure if you can see them
2020-07-11T13:54:08 #kisslinux <illiliti> i can
2020-07-11T14:07:40 #kisslinux <null_> issaias i've never had any trouble with gigabyte
2020-07-11T14:09:07 #kisslinux <null_> i don't game or anything so i've only used their micro-ATX
2020-07-11T14:09:24 #kisslinux <null_> enough for my needs, and efi has never gone wrong with them
2020-07-11T14:10:36 #kisslinux <issaias> hp's is really buggy and efi entires never persist and the window boot path is hardcoded cause its hp, i made the mistake of picking up a prebuild a few years a ago when i was layz
2020-07-11T14:10:59 #kisslinux <issaias> already had to swap out the graphics card, swapped out a gtk 1070 for an rx570 cause nvidia on linux is unbearable for me
2020-07-11T14:12:34 #kisslinux <issaias> also its got a crappy realtek wifi card, apprently my wifi card is getting support in linux 5.8 as part of rtw88, i tried backporting the patches but didn't really succeed
2020-07-11T14:13:08 #kisslinux <icyphox> illiliti: I've always wanted to live in Russia.
2020-07-11T19:20:20 #kisslinux <dilynm> Does anyone here know a fair amount about cross-compiling?
2020-07-11T19:20:29 #kisslinux <dilynm> Specifically from x86-64 to arm
2020-07-11T19:30:52 #kisslinux <jedavies> dilynm: have done a bit, but now mostly just compile on arm
2020-07-11T19:31:12 #kisslinux <jedavies> What's up?
2020-07-11T19:32:27 #kisslinux <dilynm> My girlfriend doing this project and she needs to build a program for an arm board she bought
2020-07-11T19:32:43 #kisslinux <dilynm> She wants it statically compiled. Does she need arm libraries or...?
2020-07-11T19:33:00 #kisslinux <dilynm> Her error specifically is ld not finding libz
2020-07-11T19:33:42 #kisslinux <dilynm> I don't know bunk about cross chains but she thinks I'm supposed to know this stuff xD
2020-07-11T19:33:55 #kisslinux <E5ten> I assume she'd need libz compiled for arm yeah
2020-07-11T19:33:56 #kisslinux <jedavies> Yes if it's looking for an arm libz.a then you'll need that
2020-07-11T19:35:09 #kisslinux <dilynm> Figured
2020-07-11T19:37:00 #kisslinux <jedavies> You should be able to cross build zlib OK easy enough with the correct --host --build and --target configure options
2020-07-11T19:38:44 #kisslinux <dilynm> Sometimes I wish I could just give her my brain so I wouldn't have to teach her this stuff
2020-07-11T19:53:06 #kisslinux <jedavies> Anyone here doing audio over HDMI on KISS?
2020-07-11T20:53:08 #kisslinux <mcf> jedavies: what's the problem you are hitting? does the hdmi device show up in `aplay -L`?
2020-07-11T21:10:25 #kisslinux <djt3[m]> <mcf "jedavies: what's the problem you"> and try running it as root if it doesnt work, sometimes the permissions on audio devices mess up for me
2020-07-11T21:11:18 #kisslinux <jedavies> mcf: I don't see anything HDMI specific when running "aplay -L", under my normal user or root.  Loaded kernel module "snd_hda_codec_hdmi". Anything else I need to do?
2020-07-11T21:11:48 #kisslinux <jedavies> Works OK under other distros, I must be missing something on my KISS setup.
2020-07-11T21:13:05 #kisslinux <djt3[m]> jedavies: ls -al /dev/snd/*
2020-07-11T21:13:32 #kisslinux <djt3[m]> and have you tried building it into the kernel, as opposed to a module
2020-07-11T21:13:45 #kisslinux <jedavies> jdt3[m]: only:  /dev/snd/timer
2020-07-11T21:14:04 #kisslinux <jedavies> I don't have any other soundcards, only HDMI out
2020-07-11T21:14:11 #kisslinux <djt3[m]> ah
2020-07-11T21:14:23 #kisslinux <jedavies> Works OK on Void, so I know the hardware setup is OK
2020-07-11T21:14:36 #kisslinux <mcf> jedavies: it is almost certainly a missing kernel config option
2020-07-11T21:14:40 #kisslinux <djt3[m]> you tried copying the kernel config from void?
2020-07-11T21:15:31 #kisslinux <mcf> can you paste the output of `grep SND .config`?
2020-07-11T21:16:01 #kisslinux <jedavies> djt3[m]: Normally start from a default kernel config and add the stuff I need, so it may well be I'm missing something there.
2020-07-11T21:16:24 #kisslinux <djt3[m]> yeah, just copy the kernel from void and see if it works, then eliminate stuff
2020-07-11T21:16:55 #kisslinux <mcpcpc[m]> djt3: tried to contact u via package maintainer email but it bounced. was wondering if you would consider adding the double precision libraries to the fftw package build (e.g “./configure —enable-float”)?
2020-07-11T21:17:52 #kisslinux <mcpcpc[m]> djt3: need it for a few other packages (e.g. minimodem).
2020-07-11T21:17:54 #kisslinux <djt3[m]> <mcpcpc[m] "djt3: tried to contact u via pac"> ah i forgot, i reset my router, need to port forward my email. sure, what do you need it for?
2020-07-11T21:18:01 #kisslinux <djt3[m]> okay ill do that now then
2020-07-11T21:18:14 #kisslinux <mcpcpc[m]> <djt3[m] "ah i forgot, i reset my router, "> djt3: thnx!
2020-07-11T21:20:19 #kisslinux <jedavies> mcf: https://pastebin.com/4Mn6msx5
2020-07-11T21:24:12 #kisslinux <djt3[m]> mcpcpc: https://github.com/kisslinux/community/pull/1028
2020-07-11T21:24:38 #kisslinux <mcpcpc[m]> djt3: awesome.  Thank you!
2020-07-11T21:24:44 #kisslinux <djt3[m]> no prob :)
2020-07-11T21:25:30 #kisslinux <djt3[m]> if anyone uses tuitube, do you want any instances adding other than invidio.us and invidious.snopyta.org?
2020-07-11T21:30:16 #kisslinux <mcf> jedavies: maybe you need to modprobe snd_hda_intel? i don't see anything that stands out compared to my config
2020-07-11T21:59:34 #kisslinux <djt3[m]> mcpcpc: i just noticed that breaks other stuff that depends on libfftw, since it changes the name to libfftwf, think it needs a separate package?
2020-07-11T22:00:20 #kisslinux <mcpcpc[m]> djt3: bah. kk.  thanks for trying tho
2020-07-11T22:00:36 #kisslinux <djt3[m]> ill have to undo the update, it got merged after i noticed ;(
2020-07-11T22:00:53 #kisslinux <mcpcpc[m]> sorry :,(
2020-07-11T22:01:06 #kisslinux <djt3[m]> nah no worries, i also had no idea that could happen
2020-07-11T22:01:15 #kisslinux <djt3[m]> seems strange
2020-07-11T22:01:38 #kisslinux <mcpcpc[m]> yeah
2020-07-11T22:21:45 #kisslinux <jedavies> mcf: yup, that was it. snd_hda_intel is the module that was required. Even though I'm not on an Intel system and am directing audio through amdgpu. Makes total sense...
2020-07-11T22:22:08 #kisslinux <jedavies> Thanks for your help :)
2020-07-11T22:31:28 #kisslinux <mcf> i think the hd-audio stuff originated on intel which is why the module is called that. usually the option description ("HD Audio PCI") is more accurate about the hardware it covers than the module name (which might be historical)
2020-07-11T23:11:16 #kisslinux <himmalerin> https://k1ss.org/software#2.0 says "KISS has no need for:
2020-07-11T23:11:17 #kisslinux <himmalerin>  [...] file [...]
2020-07-11T23:11:32 #kisslinux <himmalerin> If you don't use file how do you check mimetypes?
2020-07-11T23:31:48 #kisslinux <depsterr> Has anyone configured their locale on kiss? I haven't needed to do it before but now tmux is refusing to start and demanding a UTF-8 locale, but locale -a only shows C and POSIX
2020-07-11T23:32:05 #kisslinux <depsterr> and I can't find any package called anything related to locale
2020-07-11T23:34:28 #kisslinux <himmalerin> musl doesn't support locales
2020-07-11T23:36:01 #kisslinux <depsterr> oh yeah, just dug into it more, it's cause I'm doing stuff with glibc, I'll need to package loacale-gen
2020-07-11T23:39:25 #kisslinux <depsterr> it seems like locale-gen should have been included when I compiled glibc, yet I don't have it :/
2020-07-11T23:52:55 #kisslinux <depsterr> apparently localedef is just a script that calls locale def, so I'm gonna try porting it from bash to posix shell and then adding it to my glibc build
2020-07-11T23:53:20 #kisslinux <depsterr> locale-gen is just a script*
2020-07-11T23:59:28 #kisslinux <depsterr> ah nice, just figured it out