💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-02-06.txt captured on 2024-05-26 at 16:27:26.
⬅️ Previous capture (2021-12-17)
-=-=-=-=-=-=-
2020-02-06T00:00:52 #kisslinux <altius> (Aaaand answering your question, you guessed it: /etc/sv/dhcpcd/run doesn't exist. In fact, no dhcpcd folder inside /etc/sv). 2020-02-06T00:01:05 #kisslinux <konimex> uh... you meant like, going to your place? 2020-02-06T00:01:54 #kisslinux <altius> Haha, understood. Gentoo-wiki or whatever, here I come. XD 2020-02-06T00:02:22 #kisslinux <konimex> just change that menuconfig in realtek 8169 to M, recompile the kernel, sudo make modules_install, sudo make install, add ::once:modprobe rtl8169 (or the module you have) to /etc/inittab 2020-02-06T00:04:24 #kisslinux <altius> Whew, thanks! Not sure if I'll be able to to that (the part "add ::once:modprobe rtl8169 (or the module you have) to /etc/inittab" I mean... 2020-02-06T00:06:10 #kisslinux <altius> How do I add that to the folder? Or you mean type on term... What, exactly? Or just create a text file inside that directory with ""add ::once:modprobe rtl8169 (or the module you have) to /etc/inittab""? 2020-02-06T00:11:22 #kisslinux <konimex> . /etc/inittab should be user-editable, it's a file 2020-02-06T00:11:37 #kisslinux <konimex> just use the editor 2020-02-06T00:13:38 #kisslinux <altius> Aha, sorry. I'm still trying to learn, and sure I need a lot of reading and practice. :) 2020-02-06T00:14:38 #kisslinux <konimex> we all have to start from somewhere 2020-02-06T00:16:05 #kisslinux <altius> I just don't want to be a pain in the neck and feel sorry posting noob questions, so far I've managed quite good by myself, but 2020-02-06T00:16:50 #kisslinux <konimex> this is not #archlinux, so relax 2020-02-06T00:17:03 #kisslinux <konimex> just ask the questions if you have any 2020-02-06T00:17:12 #kisslinux <altius> I had to take the step to a really-hard distro sooner or later (I have succesfully installed Void Linux and Arch Linux so far). 2020-02-06T00:18:54 #kisslinux <altius> But they go with binaries mostly, so I don't really have any experience compiling and stuff. I promise I'll try to learn more. It's just that, this time, Google wasn't of much help. 2020-02-06T00:21:07 #kisslinux <mforney> altius: regardless of whether you build the driver as a kernel module or into your kernel, you still need the firmware (which is a separate thing, found in linux-firmware) 2020-02-06T00:21:12 #kisslinux <altius> I really appreciate your kindness. I choose Kiss Linux because I share its philosophy, and its creator seems like a code-god to me. I suppose the community is not that big (I'm following it on Reddit, and doesn't seems to be much action there), BUT 2020-02-06T00:21:59 #kisslinux <altius> I do see now that you may not be a lot, but are the best. XD Thank you very much again! 2020-02-06T00:29:34 #kisslinux <altius> mforney, I downloaded the linux-firmware, but I don't really know what to do with it. I just copied the whole extracted directory inside /usr/lib/firmware, but I don't think it was really the right thing to do. 2020-02-06T00:31:28 #kisslinux <altius> Anyway, if the driver which I need for ethernet is already backed in the kernel, or if I build it later as module (as per @konimex suggestion), should I still need something from linux-firmware? 2020-02-06T00:41:55 #kisslinux <mforney> yes, as you can see from dmesg "Direct firmware load for rtl_nic/rtl8168-3.fw failed with error" the driver is trying to load the firmware and is failing 2020-02-06T00:43:14 #kisslinux <mforney> i don't know about how automatic firmware loading works (probably has something to do with udev). i usually just build the firmware needed for my drivers into my kernel by adding it CONFIG_EXTRA_FIRMWARE 2020-02-06T00:57:01 #kisslinux <altius> OK, I'll try to sort this out tomorrow, going to hit the sack. Thank you all again for your help, I'm afraid I'll be posting here again (I hope that with some good news!) Good night or day! XD 2020-02-06T02:15:25 #kisslinux <micro_O> o/ 2020-02-06T02:15:55 #kisslinux <micro_O> something interesting I noticed on repology - looks like sinit is up-to-date on carbs but not on kiss 2020-02-06T03:10:27 #kisslinux <micro_O> just wanted to say I read through the latest github issues and now understand a bit more about why 2020-02-06T03:10:41 #kisslinux <micro_O> thanks everyone who has been making it a solid choice :) 2020-02-06T06:00:00 #kisslinux <icyphox> hmmm, my gnutls builds are failing 2020-02-06T06:00:10 #kisslinux <icyphox> https://termbin.com/jfmm5 -- logs 2020-02-06T06:45:28 #kisslinux <konimex> icyphox: that's from kiss u? 2020-02-06T06:45:42 #kisslinux <icyphox> yes 2020-02-06T06:45:58 #kisslinux <konimex> try to upgrade nettle first before gnutls 2020-02-06T06:46:08 #kisslinux <icyphox> okay, let me do that 2020-02-06T06:46:24 #kisslinux <admicos> can anyone here help me with building gcc? i'm getting "/usr/lib/gcc/x86_64-pc-linux-musl/9.2.0/include/bmi2intrin.h:83:1: error: inlining failed in call to always_inline '_mulx_u64': target specific option mismatch" 2020-02-06T06:46:27 #kisslinux <admicos> CFLAGS=-O3 -pipe -march=haswell -mtune=haswell -falign-functions=32 -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition 2020-02-06T06:47:54 #kisslinux <admicos> i found that -mno-bmi2 disables that optimization, but it doesn't seem to apply my cflags on mpfr's build 2020-02-06T06:49:49 #kisslinux <icyphox> konimex: that worked, ty :) 2020-02-06T06:50:00 #kisslinux <konimex> yeah this is a problem, kiss doesn't upgrade according to dependency tree but alphabetical 2020-02-06T06:55:12 #kisslinux <admicos> (full build log: https://issizler.club/gcc.txt) 2020-02-06T07:36:51 #kisslinux <admicos> i might've fixed it, i'll tell what i did if it compiles successfully 2020-02-06T07:37:09 #kisslinux <admicos> it's a bit of a hack, though 2020-02-06T08:25:39 #kisslinux <dylanaraps> konimex: kiss does update based on dependency ordering 2020-02-06T08:25:48 #kisslinux <dylanaraps> Fixed the /etc bug, thanks. 2020-02-06T08:30:30 #kisslinux <konimex> gnutls depends on nettle but gnutls is built first though, resulting in icyphox (which I have reproduced earlier)'s gnutls linker error, I'll take a look again in the future if it does happen and it's like I suspected 2020-02-06T08:33:14 #kisslinux <dylanaraps> Interesting, the ordering doesn't seem to work for those two. 2020-02-06T08:33:38 #kisslinux <dylanaraps> Simple tests: 'kiss b meson python' -> "Building: python meson" 2020-02-06T08:33:59 #kisslinux <dylanaraps> 'kiss b gnutls nettle' -> "Building: gnutls nettle" (should be "nettle gnutls") 2020-02-06T08:36:18 #kisslinux <dylanaraps> Oh, it does work 2020-02-06T08:36:48 #kisslinux <dylanaraps> It fails if they're installed though. 2020-02-06T08:36:54 #kisslinux <dylanaraps> Fix time :-) 2020-02-06T08:51:46 #kisslinux <admicos> my spare laptop is currently up for 9 hours and ~6 hours of that was most likely just trying to get gcc to compile on my weird setup 2020-02-06T08:51:53 #kisslinux <admicos> and i haven't installed stuff like eudev yet 2020-02-06T08:52:34 #kisslinux <konimex> admicos: what's with those CFLAGS anyway? 2020-02-06T08:53:35 #kisslinux <admicos> i had to run the gcc build with CC="gcc ${CFLAGS}" because the gcc build system randomly decided to ignore my cflags when building mpfr 2020-02-06T08:53:45 #kisslinux <admicos> and tried to compile in some functions that don't support my cpu 2020-02-06T08:54:12 #kisslinux <konimex> what about plain -march=native? 2020-02-06T08:54:23 #kisslinux <konimex> still compiling some functions? 2020-02-06T08:54:50 #kisslinux <admicos> i think plain march native worked sometime ago, can't exactly remember 2020-02-06T08:56:22 #kisslinux <admicos> and gcc just segfaulted trying to build itself --with-isl 2020-02-06T09:27:40 #kisslinux <dylanaraps> Fixed dependency ordering 2020-02-06T09:28:11 #kisslinux <dylanaraps> icyphox: The issue you had won't happen again. :-) 2020-02-06T09:28:42 #kisslinux <icyphox> wooo! 2020-02-06T09:28:47 #kisslinux <icyphox> thanks dylanaraps 2020-02-06T09:29:11 #kisslinux <dylanaraps> https://github.com/kisslinux/kiss/commit/a37a1581698f962ddf6549b0e4f1811747586364 2020-02-06T09:29:27 #kisslinux <dylanaraps> Added a new function to order a fixed list which now runs when updating 2020-02-06T09:29:40 #kisslinux <dylanaraps> Was already doing this for 'kiss i'/'kiss r' 2020-02-06T09:30:27 #kisslinux <icyphox> neat 2020-02-06T09:31:42 #kisslinux <icyphox> btw dylanaraps, i got back to pkging nim. turns out it installs to /usr/bin/nim/{bin,lib} etc 2020-02-06T09:32:15 #kisslinux <dylanaraps> Ah 2020-02-06T09:32:29 #kisslinux <icyphox> i think their install script is fundamentally broken since it doesn't even install the nim package manager binary (nimble) 2020-02-06T09:32:41 #kisslinux <icyphox> i will ask upstream and try later 2020-02-06T09:33:11 #kisslinux <dylanaraps> See: https://git.alpinelinux.org/aports/tree/testing/nim/nim-config-fix-paths.patch 2020-02-06T09:33:16 #kisslinux <dylanaraps> Also: https://git.alpinelinux.org/aports/tree/testing/nim/niminst-fix-paths.patch 2020-02-06T09:34:01 #kisslinux <icyphox> wew 2020-02-06T09:34:23 #kisslinux <dylanaraps> Arch do it this ugly way: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/nim#n69 2020-02-06T09:34:49 #kisslinux <dylanaraps> Also see: https://git.alpinelinux.org/aports/tree/testing/nim/APKBUILD#n56 2020-02-06T09:34:55 #kisslinux <dylanaraps> Looks like .h files need fixing too 2020-02-06T09:35:28 #kisslinux <icyphox> ho boy 2020-02-06T09:36:04 #kisslinux <dylanaraps> Void install it to /usr/lib and then symlink it to the rest of the system 2020-02-06T09:36:05 #kisslinux <dylanaraps> https://github.com/void-linux/void-packages/blob/master/srcpkgs/nim/template#L83 2020-02-06T09:36:21 #kisslinux <dylanaraps> That's the easiest solution 2020-02-06T09:36:47 #kisslinux <icyphox> yeah i took a look at that void template a while ago 2020-02-06T09:36:52 #kisslinux <icyphox> i think i might do that 2020-02-06T09:37:52 #kisslinux <icyphox> oh wow they're actually using ed(1) 2020-02-06T09:39:06 #kisslinux <dylanaraps> We were going to as a POSIX alternative to 'sed -i' but busybox 'ed' sucks :( 2020-02-06T09:39:48 #kisslinux <icyphox> hah 2020-02-06T11:43:16 #kisslinux <altius> Hi all. I'm still stuck with my ethernet problem after fresh install. 2020-02-06T11:43:52 #kisslinux <altius> This is the driver is actually using (same machine, another Linux): Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 2020-02-06T11:45:52 #kisslinux <altius> It seems that this driver calls another, which I just copied inside /mnt/lib/firmware/rtl_nic 2020-02-06T11:46:38 #kisslinux <altius> Anyway, I booted and iplink didn't even showed my device. If I demand up, it goes up, but still pinging with no success. 2020-02-06T11:47:48 #kisslinux <altius> Here's the output of iplink, iflink and dmesg: https://pastebin.com/PwqsZZNg 2020-02-06T11:48:40 #kisslinux <altius> I didn't recompile the kernel because the module SEEMS present, and apparently, the device goes UP. So must be something elsewhere? 2020-02-06T11:49:43 #kisslinux <altius> Or do I try and recompile with the driver as module? I'm puzzled. I'll be grateful of any help. 2020-02-06T11:53:30 #kisslinux <konimex> altius: is enp1s0 your ethernet device? 2020-02-06T11:56:08 #kisslinux <konimex> have you tried running dhcpcd? 2020-02-06T11:56:23 #kisslinux <altius> I'm not sure. The name is somewhat similar to the one in my laptop. But if I put ip link in another Linux, same machine, I get: 2020-02-06T11:56:50 #kisslinux <altius> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:002: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 80:ce:62:ed:0d:54 brd ff:ff:ff:ff:ff:ff3: wlan0: 2020-02-06T11:56:51 #kisslinux <altius> <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether 8a:ce:a4:2d:a1:cc brd ff:ff:ff:ff:ff:ff 2020-02-06T11:57:32 #kisslinux <konimex> try dhcpcd if the enp1s0 interface is up 2020-02-06T11:59:24 #kisslinux <altius> About that, perhaps there is a problem. As I discovered yesterday, my /var/service is empty. I don't know if it will run anyway if manually invoked, I should try and report back. Thank you! 2020-02-06T12:39:11 #kisslinux <altius> konimex , you were right! I feel silly somehow, I have been spinning my head and all it was, just two commands: 2020-02-06T12:39:21 #kisslinux <dylanaraps> altius: Your /var/service will be empty if you don't enable any services 2020-02-06T12:39:39 #kisslinux <dylanaraps> -> ls -1 /var/service/ | wc -l 2020-02-06T12:39:39 #kisslinux <dylanaraps> 0 2020-02-06T12:39:41 #kisslinux <dylanaraps> :-0 2020-02-06T12:39:45 #kisslinux <dylanaraps> :-)* 2020-02-06T12:39:57 #kisslinux <altius> sudo ip link set enp1s0 up && sudo dhcpcd enp1s0 2020-02-06T12:40:33 #kisslinux <altius> I can ping, I can kiss b && kiss i && I could kiss u! XD 2020-02-06T12:40:36 #kisslinux <dylanaraps> dhcpcd might automatically bring your interface up 2020-02-06T12:40:49 #kisslinux <dylanaraps> Also see: https://getkiss.org/wiki/managing-services 2020-02-06T12:41:57 #kisslinux <altius> Haha, thank you, Mr. Araps, will do that. :D So far my first impression is... impressive! It does not boots: it screams, if you blink, you miss it! :O 2020-02-06T12:42:53 #kisslinux <dylanaraps> :P 2020-02-06T12:42:55 #kisslinux <altius> Now I want to stick to your vision as far as possible, so I have installed sowm (must be familiar to you) and st. 2020-02-06T12:43:22 #kisslinux <altius> I am used to Openbox and I removed window borders there, so I think it may be close. 2020-02-06T12:43:36 #kisslinux <dylanaraps> Yeah, I currently use sowm/st 2020-02-06T12:43:55 #kisslinux <dylanaraps> It will be similar to Openbox 2020-02-06T12:44:40 #kisslinux <altius> I supose I'll have to figure out how to autostart things (Conky!), put a nice wallpaper (feh? hsetroot?) but... First things first. 2020-02-06T12:45:16 #kisslinux <altius> I still have to change my kb layout, it's annoying to look for every different character in the keyboard... 2020-02-06T12:45:45 #kisslinux <dylanaraps> See: https://getkiss.org/wiki/setting-the-keyboard-layout-in-x 2020-02-06T12:46:08 #kisslinux <dylanaraps> For TTY: https://getkiss.org/wiki/setting-the-keyboard-layout 2020-02-06T12:46:20 #kisslinux <altius> And oh my, startx refuses to start. I did a minimal .xinitrc with "exec sowm" and it's not running. I have installed the xf86-video-amdgpu, 2020-02-06T12:46:33 #kisslinux <dylanaraps> Are you in the video/input/audio groups? 2020-02-06T12:46:41 #kisslinux <icyphox> altius: Try setxkbmap. 2020-02-06T12:46:49 #kisslinux <altius> and I was going to take a peek at my var/log 2020-02-06T12:46:51 #kisslinux <dylanaraps> Do you have xf86-input-libinput and libinput? 2020-02-06T12:46:53 #kisslinux <icyphox> ^ 2020-02-06T12:47:03 #kisslinux <dylanaraps> Do you have any fonts installed? :P 2020-02-06T12:47:31 #kisslinux <dylanaraps> There will be a Xorg log file on the system which should tell us what's wrong 2020-02-06T12:47:49 #kisslinux <altius> I followed your guide mostly (I skipped the bootloader parts, as I'm booting from an already installed grub) 2020-02-06T12:48:06 #kisslinux <altius> so fonts I'm pretty sure they are installed. 2020-02-06T12:48:11 #kisslinux <icyphox> Ah yes, fonts. :D 2020-02-06T12:48:27 #kisslinux <dylanaraps> Send me your Xorg log file 2020-02-06T12:48:38 #kisslinux <dylanaraps> When Xorg crashes it should display a message with the location of the file 2020-02-06T12:49:07 #kisslinux <icyphox> Should be in your ~/.local/share/xorg/ 2020-02-06T12:49:09 #kisslinux <altius> Oh, and I didn't added myself to the input group because I have read somewhere that it could be a security risk, but correct me if I'm wrong. 2020-02-06T12:49:34 #kisslinux <altius> In Void, I just did a text file and put that somewhere and changed my kb layout. 2020-02-06T12:49:59 #kisslinux <dylanaraps> altius: For a multi-user system, yes. 2020-02-06T12:50:22 #kisslinux <dylanaraps> (Only if two users are running X at the same time) 2020-02-06T12:50:57 #kisslinux <altius> So if I'm the only user, is it safe enough? I thought it was a question of keyloggers or something... But you know better for sure! :) 2020-02-06T12:51:09 #kisslinux <dylanaraps> See: https://termbin.com/180l 2020-02-06T12:51:32 #kisslinux <dylanaraps> Xorg allows applications to snoop on inputs regardless 2020-02-06T12:51:48 #kisslinux <altius> OK, noted and will do ASAP. Now I'm going to retrieve my log file. 2020-02-06T12:51:55 #kisslinux <dylanaraps> This is just the default way of doing things on KISS (single-user, rootless). 2020-02-06T12:52:31 #kisslinux <altius> Aha, you are right, we have a rootless xorg, do we? I like how it sounds. :) 2020-02-06T12:52:35 #kisslinux <dylanaraps> The other alternative is to run Xorg as suid (chmod +s /usr/bin/Xorg) 2020-02-06T12:52:52 #kisslinux <dylanaraps> Or you can package/install elogind/ConsoleKit 2020-02-06T12:52:58 #kisslinux <dylanaraps> There's a lot of options 2020-02-06T12:53:22 #kisslinux <dylanaraps> Single user groups + rootless is the most common though (hence the default) 2020-02-06T12:53:49 #kisslinux <altius> I will avoid elogind/Consolekit or whatever and stick, as I said, with your default vision as posible. So adding the input group it is! :) 2020-02-06T12:53:58 #kisslinux <dylanaraps> Okay :) 2020-02-06T12:54:19 #kisslinux <altius> Going for logs, I'll be back! 2020-02-06T12:54:28 #kisslinux <icyphox> dylanaraps: re: nim packaging 2020-02-06T12:54:32 #kisslinux <dylanaraps> Yeah 2020-02-06T12:56:04 #kisslinux <icyphox> kiss installs the package to $1/usr/bin 2020-02-06T12:56:04 #kisslinux <icyphox> and then 'kiss i' actually installs it, right? 2020-02-06T12:56:28 #kisslinux <dylanaraps> The build file should never touch the system, yeah 2020-02-06T12:56:44 #kisslinux <dylanaraps> Anything in '$1' will be added to a tarball 2020-02-06T12:56:59 #kisslinux <dylanaraps> On install, the tarball is extracted and then installed using rsync 2020-02-06T12:58:00 #kisslinux <icyphox> Okay, so how do I do the symlinking that's being done by Void? 2020-02-06T12:59:11 #kisslinux <dylanaraps> ln -s /usr/lib/nim/bin/nim "$1/usr/bin/nim" 2020-02-06T12:59:19 #kisslinux <icyphox> Yes, yeah. I'm aware of that. But I don't control the install step. 2020-02-06T12:59:32 #kisslinux <altius> OK, I'm no expert, but I think xorg is failing in loading a proper driver: https://pastebin.com/V6zdtTaz 2020-02-06T12:59:47 #kisslinux <icyphox> So how would I symlink the /usr/bin/nim/ dir like in the Void template? 2020-02-06T12:59:48 #kisslinux <dylanaraps> icyphox: Open a PR and I'll take a look 2020-02-06T12:59:53 #kisslinux <icyphox> Should I do that in post-install? 2020-02-06T13:00:03 #kisslinux <dylanaraps> no no 2020-02-06T13:00:05 #kisslinux <dylanaraps> In build 2020-02-06T13:00:09 #kisslinux <dylanaraps> > [ 21.732] (EE) open /dev/dri/card0: No such file or directory 2020-02-06T13:00:18 #kisslinux <icyphox> For reference: https://github.com/void-linux/void-packages/blob/master/srcpkgs/nim/template#L83 2020-02-06T13:00:44 #kisslinux <dylanaraps> altius: It can't find a GPU/Screen 2020-02-06T13:00:48 #kisslinux <dylanaraps> Do you have eudev installed? 2020-02-06T13:01:12 #kisslinux <dylanaraps> icyphox: You can do that from build 2020-02-06T13:01:41 #kisslinux <icyphox> I think my network is severely lagging haha. 2020-02-06T13:03:09 #kisslinux <icyphox> dylanaraps: Doesn't build run without privs? 2020-02-06T13:03:24 #kisslinux <dylanaraps> icyphox: Yes 2020-02-06T13:03:29 #kisslinux <dylanaraps> You don't need them for this 2020-02-06T13:04:02 #kisslinux <dylanaraps> I'll show you what I mean 2020-02-06T13:04:15 #kisslinux <icyphox> Okay, sure. 2020-02-06T13:07:17 #kisslinux <altius> I have it documented, so I must have installed it, yes. Now that you say that, is there a way to check explicitly installed packages (or all in a row?) like, say, an xbps-query -m or pacman -Qe? 2020-02-06T13:08:24 #kisslinux <dylanaraps> altius: kiss doesn't log whether you installed a package yourself or if it was installed as a dependency 2020-02-06T13:08:48 #kisslinux <altius> Now this is my inxi about graphics: Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel Display: x11 server: X.Org 1.20.4 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.19.0-6-amd64 LLVM 7.0.1) v: 4.5 Mesa 18.3.6 2020-02-06T13:08:58 #kisslinux <dylanaraps> Instead, you can check for orphans using 'kiss-orphans' from the 'kiss-utils' package 2020-02-06T13:09:24 #kisslinux <dylanaraps> altius: Does 'ls -l /dev/dri/card0' work? 2020-02-06T13:10:47 #kisslinux <altius> I supose I can't answer that just from the chroot, isn't? I can boot kiss again, write that and report back. 2020-02-06T13:11:21 #kisslinux <dylanaraps> icyphox: nim is taking a while to download. Basically, 'ln -s /usr/lib/nim/bin/nim "$1/usr/bin/nim"' doesn't touch /usr/lib/.... at all. 2020-02-06T13:11:38 #kisslinux <dylanaraps> It just creates "$1/usr/bin/nim" as a symlink and tells it to point to /usr/lib/.... 2020-02-06T13:11:45 #kisslinux <icyphox> Ahhh. 2020-02-06T13:11:59 #kisslinux <dylanaraps> altius: Sure 2020-02-06T13:12:01 #kisslinux <icyphox> Okay, yeah sorry. Slow to grok. 2020-02-06T13:12:08 #kisslinux <dylanaraps> > 130M so far 2020-02-06T13:12:12 #kisslinux <dylanaraps> How big is it? :P 2020-02-06T13:12:13 #kisslinux <icyphox> hah 2020-02-06T13:12:41 #kisslinux <icyphox> 1.3G extracted 2020-02-06T13:12:42 #kisslinux <icyphox> sheesh 2020-02-06T13:12:54 #kisslinux <icyphox> I had no idea it was /this/ huge. 2020-02-06T13:13:16 #kisslinux <dylanaraps> Geez 2020-02-06T13:13:44 #kisslinux <dylanaraps> What is up with "modern" programming languages being so huge? 2020-02-06T13:14:33 #kisslinux <dzove855> it's all the dependencies that everyone add on each project. Big is the new good 2020-02-06T13:14:54 #kisslinux <dylanaraps> Nodejs is smaller than Python 3 on disk 2020-02-06T13:14:57 #kisslinux <dylanaraps> > 98.5M total 2020-02-06T13:15:00 #kisslinux <dylanaraps> (node) 2020-02-06T13:15:04 #kisslinux <dylanaraps> 143.3M total 2020-02-06T13:15:07 #kisslinux <dylanaraps> (python3) 2020-02-06T13:15:09 #kisslinux <icyphox> Wew. 2020-02-06T13:15:24 #kisslinux <dzove855> yey 2020-02-06T13:15:35 #kisslinux <dylanaraps> > 181.0M total 2020-02-06T13:15:37 #kisslinux <dylanaraps> (rust) 2020-02-06T13:15:40 #kisslinux <icyphox> Maybe I should ditch Nim. I hardly use it these days tbh. 2020-02-06T13:15:50 #kisslinux <icyphox> I'll try Zig. 2020-02-06T13:15:59 #kisslinux <dylanaraps> > 90.8M total 2020-02-06T13:16:01 #kisslinux <dylanaraps> (ruby) 2020-02-06T13:16:17 #kisslinux <dylanaraps> > 82.2M total 2020-02-06T13:16:20 #kisslinux <dylanaraps> (python2) 2020-02-06T13:16:29 #kisslinux <dylanaraps> python 2 is half the size of python 3 2020-02-06T13:16:31 #kisslinux <dylanaraps> lol 2020-02-06T13:16:47 #kisslinux <dylanaraps> > 2.2M total 2020-02-06T13:16:52 #kisslinux <dylanaraps> Based luajit 2020-02-06T13:17:08 #kisslinux <dylanaraps> > 1.0M total 2020-02-06T13:17:10 #kisslinux <dylanaraps> Based lua 2020-02-06T13:17:55 #kisslinux <dylanaraps> > 44.2M total 2020-02-06T13:17:59 #kisslinux <dylanaraps> perl >:( 2020-02-06T13:18:08 #kisslinux <dylanaraps> > 2.4M total 2020-02-06T13:18:11 #kisslinux <dylanaraps> bash 2020-02-06T13:18:37 #kisslinux <dylanaraps> > 280.0K total 2020-02-06T13:18:40 #kisslinux <dylanaraps> based dash 2020-02-06T13:18:47 #kisslinux <dylanaraps> > 1.1M total 2020-02-06T13:18:49 #kisslinux <dylanaraps> based busybox 2020-02-06T13:19:20 #kisslinux <dylanaraps> I'll stop now 2020-02-06T13:21:58 #kisslinux <dylanaraps> One more 2020-02-06T13:21:59 #kisslinux <dylanaraps> > 271.9M total 2020-02-06T13:22:01 #kisslinux <dylanaraps> (go) 2020-02-06T13:25:03 #kisslinux <icyphox> lol 2020-02-06T13:27:02 #kisslinux <altius> OK, I messed up. Seeing that xorg was trying to load the ATI driver first, I installed the xf86-video-ati. I had already installed the xf86-video-amdgpu. And now it doesn't want to boot, it stays frozen after a few messages. 2020-02-06T13:28:03 #kisslinux <dylanaraps> altius: chroot in and remove xf86-video-ati 2020-02-06T13:28:28 #kisslinux <altius> I think I could try to remove the xf86-video-amdgpu, and see if it boots with thea ati one. 2020-02-06T13:28:41 #kisslinux <dylanaraps> Alright 2020-02-06T13:29:46 #kisslinux <altius> Or do I remove the xf86-video-ati, which fails to load? And, ehm, any safe way to remove installed packages? 2020-02-06T13:30:23 #kisslinux <dylanaraps> 'kiss r pkg' 2020-02-06T13:30:25 #kisslinux <altius> I don't find some command clues inside the wiki. May I look anywhere else? 2020-02-06T13:30:59 #kisslinux <dylanaraps> 'man kiss' 2020-02-06T13:31:19 #kisslinux <dylanaraps> 'kiss r pkg' or 'kiss remove pkg' (They're the same) 2020-02-06T13:31:33 #kisslinux <altius> Perfect, thank you! Any suggestion about which package to remove? As xorg was trying to load ati, do I try to remove amdgpu? 2020-02-06T13:32:00 #kisslinux <altius> Oh, and sorry, it was that evident, man kiss. I feel embarrassed. :P 2020-02-06T13:32:27 #kisslinux <dylanaraps> altius: Xorg will typically look for multiple drivers and load the first one it finds. 2020-02-06T13:32:38 #kisslinux <dylanaraps> It depends on which driver is for your GPU. 2020-02-06T13:32:49 #kisslinux <dylanaraps> You could try both with only -ati and with only -amdgpu 2020-02-06T13:33:38 #kisslinux <altius> But in the xorg log it didn't seem it was looking for the amdgpu one, just ati, and then modesetting, fbdev and vesa. None of them found! 2020-02-06T13:34:44 #kisslinux <dylanaraps> Ah 2020-02-06T13:34:51 #kisslinux <dylanaraps> In that case, stick to -ati. 2020-02-06T13:35:16 #kisslinux <dylanaraps> Your other option is to remove -ati and -amdgpu which will cause Xorg to use the modesetting driver (built into Xorg) 2020-02-06T13:35:32 #kisslinux <dylanaraps> I use the modesetting driver instead of -intel as an example 2020-02-06T13:36:37 #kisslinux <altius> The intel modesetting driver is neat, I'm using it in my laptop too. Not so sure about the AMD one. But if I get a useful X session I'll be happy anyway. :) 2020-02-06T13:40:09 #kisslinux <dilyn> Perl thiccc 2020-02-06T13:41:41 #kisslinux <dylanaraps> I may have found a way to remove the need for the input group. 2020-02-06T13:41:43 #kisslinux <dylanaraps> brb 2020-02-06T13:41:45 #kisslinux <dylanaraps> :P 2020-02-06T13:43:47 #kisslinux <dylanaraps2> Huzzah 2020-02-06T13:44:11 #kisslinux <dylanaraps2> Basically, just give Xorg setgid input. 2020-02-06T13:44:32 #kisslinux <dylanaraps2> Xorg has access to /dev/input and nothing running inside of it does :D 2020-02-06T13:45:20 #kisslinux <dilyn> The absolute mad lad 2020-02-06T13:45:45 #kisslinux <dilyn> Why wouldnt that be the default 2020-02-06T13:46:11 #kisslinux <dylanaraps2> dilyn: No idea 2020-02-06T13:47:25 #kisslinux <dylanaraps2> Anyway... Pushed 2020-02-06T13:48:09 #kisslinux <altius> Well, removing amdgpu driver and letting ati be the one is still freezing boot. 2020-02-06T13:48:36 #kisslinux <dylanaraps2> Try removing both. 2020-02-06T13:48:42 #kisslinux <dylanaraps2> First step should be to get it working :P 2020-02-06T13:49:22 #kisslinux <altius> Here's dmesg. At the last lines, the thing goes random. https://pastebin.com/bFF4ee1z 2020-02-06T13:50:03 #kisslinux <altius> I'm on it. Removing, rebooting and crossing fingers. 2020-02-06T13:58:18 #kisslinux <altius> Well, it's definitely broken. Loading with modesetting, frozen. 2020-02-06T13:59:07 #kisslinux <altius> But reinstalling amdgpu and, theoretically, bringing back the initial state, 2020-02-06T13:59:15 #kisslinux <dylanaraps2> Alright 2020-02-06T14:00:00 #kisslinux <altius> freezes too. Argh. Reinstall? Now that I have all that documented won't be 2020-02-06T14:00:58 #kisslinux <altius> that hard, but the Xorg step lasts for ages to compile... :P 2020-02-06T14:01:59 #kisslinux <dylanaraps2> What freezes exactly? Boot or starting X? 2020-02-06T14:04:42 #kisslinux <altius> Boot. It freezes on tty2. Last line reads "random: crng init done" 2020-02-06T14:05:17 #kisslinux <altius> I can switch to another tty, but that's no good I think. 2020-02-06T14:05:48 #kisslinux <dylanaraps2> Any messages prior to that? 2020-02-06T14:05:51 #kisslinux <altius> All the mumbo jumbo is in the dmesg copy-paste I posted before. 2020-02-06T14:06:00 #kisslinux <dylanaraps2> I'll take another look 2020-02-06T14:06:36 #kisslinux <dylanaraps2> That's right after udev 2020-02-06T14:06:41 #kisslinux <dylanaraps2> Tried waiting a minute or two? 2020-02-06T14:06:53 #kisslinux <dylanaraps2> Maybe it's udev taking a while 2020-02-06T14:07:33 #kisslinux <dylanaraps2> Do you have cryptsetup/lvm2 installed btw? 2020-02-06T14:08:23 #kisslinux <altius> It's been frozen for minutes. I have it still booted, I'm on my phone here now. 2020-02-06T14:08:29 #kisslinux <dylanaraps2> Ah 2020-02-06T14:10:06 #kisslinux <altius> I don't remember that being explicitly installed, but I'm pretty sure I didn't miss any step 2020-02-06T14:10:15 #kisslinux <dylanaraps2> Alright 2020-02-06T14:10:41 #kisslinux <dylanaraps2> It's hard for me to debug from my end. Might be better to install again 2020-02-06T14:10:42 #kisslinux <aarng> try ssh'ing in 2020-02-06T14:10:51 #kisslinux <aarng> maybe it's just the screen frozen 2020-02-06T14:10:52 #kisslinux <altius> but, as I said, the bootloader. Anyway, it was booting fast as hell 2020-02-06T14:11:14 #kisslinux <altius> until I tried the ati driver. 2020-02-06T14:13:04 #kisslinux <altius> aarng , sorry to ask, but what would you do exactly? 2020-02-06T14:14:23 #kisslinux <aarng> use ssh too see if the entire machine is frozen or not 2020-02-06T14:20:19 #kisslinux <altius> It's not. I can switch to another tty and log in. 2020-02-06T14:20:32 #kisslinux <dylanaraps2> Interesting 2020-02-06T14:21:37 #kisslinux <altius> I can even write commands. In fact, I just upped and dhcpcd'd my connection. 2020-02-06T14:22:11 #kisslinux <dylanaraps2> Send a photo of the frozen tty from your phone? 2020-02-06T14:22:35 #kisslinux <altius> Ping works. All this from tty 2, tty1 still frozen 2020-02-06T14:22:56 #kisslinux <altius> I'll try. 2020-02-06T14:25:45 #kisslinux <altius> http://imgbox.com/coY8Vr49 2020-02-06T14:27:06 #kisslinux <altius> Sorry about the quality, not a great camera and even worse photographer. :P 2020-02-06T14:28:36 #kisslinux <dylanaraps2> Tried mashing 'Enter' a few times? 2020-02-06T14:28:44 #kisslinux <dylanaraps2> Might just be messages on top of the prompt. 2020-02-06T14:29:01 #kisslinux <dylanaraps2> Ah 2020-02-06T14:29:13 #kisslinux <dylanaraps2> Run 'kiss i eudev' from TTY2 2020-02-06T14:29:17 #kisslinux <dylanaraps2> Then try reboot 2020-02-06T14:29:31 #kisslinux <dylanaraps2> Also try what I said the first time 2020-02-06T14:37:55 #kisslinux <altius> Yep, you were right again. Just typing some enters brought the login prompt. Sigh. ;) 2020-02-06T14:38:40 #kisslinux <dylanaraps2> Heh 2020-02-06T14:38:48 #kisslinux <dylanaraps2> Also run 'kiss i eudev' when you get the chance 2020-02-06T14:39:32 #kisslinux <altius> About your instruction: "/dev/dri/card0: No such file or directory." 2020-02-06T14:39:53 #kisslinux <dylanaraps2> Yeah 2020-02-06T14:40:03 #kisslinux <dylanaraps2> Once you run 'kiss i eudev' that should be fixed too. 2020-02-06T14:40:56 #kisslinux <altius> On it! 2020-02-06T14:42:38 #kisslinux <aarng> setguid is nice, dylanaraps 2020-02-06T14:42:44 #kisslinux <aarng> grep 'Groups.* 25' /proc/*/status 2020-02-06T14:42:50 #kisslinux <aarng> nothing shows up 2020-02-06T14:42:56 #kisslinux <aarng> which is weird but good as well :D 2020-02-06T14:43:04 #kisslinux <aarng> 25 is the input gid 2020-02-06T14:43:45 #kisslinux <dylanaraps2> Is this after I made the setgid change? 2020-02-06T14:43:56 #kisslinux <dylanaraps2> I get nothing too 2020-02-06T14:43:56 #kisslinux <altius> "eudev installed successfully", but there are a whole lot of "Path does not exist" and "No such file or directory" messages... 2020-02-06T14:44:00 #kisslinux <aarng> yeah 2020-02-06T14:44:08 #kisslinux <dylanaraps2> Nice 2020-02-06T14:44:40 #kisslinux <dylanaraps2> altius: Which version of kiss are you using? 'kiss v' 2020-02-06T14:45:00 #kisslinux <dylanaraps2> You might have an outdated version (Bug was introduced and fixed inbetween) 2020-02-06T14:45:15 #kisslinux <altius> And still "/dev/dri/card0: No such file or directory." 2020-02-06T14:45:44 #kisslinux <altius> kiss 1.2.0 2020-02-06T14:45:54 #kisslinux <dylanaraps2> Run 'kiss u' 2020-02-06T14:45:58 #kisslinux <dylanaraps2> 1.2.2 is the latest 2020-02-06T14:46:15 #kisslinux <dylanaraps2> Then run 'kiss i eudev' again and finally reboot. 2020-02-06T14:47:58 #kisslinux <altius> fatal: Commit ef7f7fc does not have a GPG signature 2020-02-06T14:49:03 #kisslinux <dylanaraps2> The commit is signed: https://github.com/kisslinux/repo/commit/ef7f7fc 2020-02-06T14:49:46 #kisslinux <dylanaraps2> Is this the first time 'kiss u' has been run on your machine? 2020-02-06T14:50:45 #kisslinux <altius> I think not, I did it yesterday, if I recall correctly. 2020-02-06T14:52:50 #kisslinux <dylanaraps2> Interesting 2020-02-06T14:53:05 #kisslinux <dylanaraps2> Every commit has been signed by me and 'kiss u' works on this machine 2020-02-06T14:53:19 #kisslinux <altius> If I try that with sudo, I get "$KISS_PATH needs to be set 2020-02-06T14:54:03 #kisslinux <dylanaraps2> Yeah, the package manager isn't meant to be run as sudo 2020-02-06T14:54:56 #kisslinux <dylanaraps2> as root* 2020-02-06T14:55:12 #kisslinux <altius> I'll reboot and see how it goes... 2020-02-06T14:55:22 #kisslinux <dylanaraps2> You can temporarily disable signature verification for the update. 2020-02-06T14:55:37 #kisslinux <dylanaraps2> git/gpg + my key sometimes cause issues 2020-02-06T15:04:29 #kisslinux <altius> Disay signature and updating now. It looks like it's gonna take it's time. Will do 2020-02-06T15:04:57 #kisslinux <altius> kiss i eudev, reboot a 2020-02-06T15:05:22 #kisslinux <dylanaraps2> Sounds good 2020-02-06T15:05:31 #kisslinux <altius> And ls... Whatever, and report again. :) 2020-02-06T16:21:10 #kisslinux <altius> Hi again. No luck so far. Did kiss u, kiss i eudev, startx still fails. 2020-02-06T16:22:45 #kisslinux <altius> sowm is already installed and got a ~.xinitrc with "exec sowm". 2020-02-06T16:25:54 #kisslinux <dylanaraps2> What does the Xorg log say? 2020-02-06T16:25:57 #kisslinux <dylanaraps2> Does 2020-02-06T16:26:14 #kisslinux <dylanaraps2> ls -l /dev/dri/card0 2020-02-06T16:26:21 #kisslinux <dylanaraps2> Show the card? 2020-02-06T16:27:29 #kisslinux <altius> Nope, it still shows "No such file or directory" 2020-02-06T16:28:39 #kisslinux <dylanaraps2> This could be a kernel configuration issue 2020-02-06T16:29:23 #kisslinux <altius> As for the log, I'll have to reboot to retrieve and share it, no clue from how to share it from tty... 2020-02-06T16:29:23 #kisslinux <dylanaraps2> I think it is actually 2020-02-06T16:29:39 #kisslinux <dylanaraps2> nc termbin.com:9999 < file 2020-02-06T16:29:42 #kisslinux <dylanaraps2> :) 2020-02-06T16:30:06 #kisslinux <dylanaraps2> Does 'udevadm -h' work? 2020-02-06T16:30:31 #kisslinux <altius> Could be. I didn't touch anything, so I'm having a plain vanilla 4.19.102 kernel, I suppose. 2020-02-06T16:32:23 #kisslinux <altius> udevadm: Symbolic link loop 2020-02-06T16:33:42 #kisslinux <altius> A problem with nc termbin command. I haven't still tried to change my keyboard layout us 2020-02-06T16:34:17 #kisslinux <dylanaraps2> Run: 'unlink /usr/bin/udevadm' then 'kiss i eudev' and reboot 2020-02-06T16:34:40 #kisslinux <altius> and can't find ":" anywhere, which, BTW, is a lotta fun when in vi. :( 2020-02-06T16:36:29 #kisslinux <altius> On my way 2020-02-06T16:39:07 #kisslinux <altius> No luck, xinit server error again. Do I boot another partition and share logs? 2020-02-06T16:43:14 #kisslinux <altius> BTW, just checked groups. I'm into input, audio, video, wheel (for sudoing) 2020-02-06T16:45:25 #kisslinux <dylanaraps2> Logs for Xorg would be nice 2020-02-06T16:45:32 #kisslinux <dylanaraps2> Does 'udevadm -h' work now 2020-02-06T16:45:33 #kisslinux <dylanaraps2> ? 2020-02-06T16:47:58 #kisslinux <altius> I just rebooted to retrieve logs, will share and boot again and try this later 2020-02-06T16:48:59 #kisslinux <dylanaraps2> Alright 2020-02-06T16:52:23 #kisslinux <altius46> There. https://pastebin.com/Wdjn6Q5X 2020-02-06T17:05:30 #kisslinux <altius46> I see you are figuring things out fine, because in the log I see: 2020-02-06T17:05:33 #kisslinux <altius46> 164.359] (EE) open /dev/dri/card0: No such file or directory 2020-02-06T17:06:20 #kisslinux <altius46> But, weird enough, I have checked inside /mnt/dev/dri (I'm in another Linux and have mounted Kiss partition) and 2020-02-06T17:07:01 #kisslinux <altius46> indeed there is a card0 inside, together with a folder (by-path) and another file (renderD128) 2020-02-06T17:07:38 #kisslinux <altius46> which is just the same as the contents in the Linux distro I'm typing this right now. 2020-02-06T17:11:01 #kisslinux <dilyn> When you say you're using a vanilla kernel, what do you mean 2020-02-06T17:14:51 #kisslinux <dylanaraps2> It looks like missing drivers in your kernel 2020-02-06T17:15:42 #kisslinux <altius> Well, I mean that I just downloaded from upstream and builded it as it went, with no changes. 2020-02-06T17:18:18 #kisslinux <altius> Hurm. So what now? Do I try to compile 5.x? I was trying to avoid that because it updates a lot, but... 2020-02-06T17:19:51 #kisslinux <altius> Or better try to recompile 4.19? If I knew which drivers do I need,I could try to check if they are indeed activated before compilation 2020-02-06T17:25:17 #kisslinux <dylanaraps2> altius: I mean your kernel .config file 2020-02-06T17:25:39 #kisslinux <dylanaraps2> Looks like it's missing drivers/settings for your GPU 2020-02-06T17:30:26 #kisslinux <altius> I can take a look and share contents when I'll be back home, will do 2020-02-06T17:31:37 #kisslinux <altius> And I have to say again, thank you very much for your help and patience. :) 2020-02-06T17:35:31 #kisslinux <dylanaraps2> No problem 2020-02-06T18:20:29 #kisslinux <altius> Here are the contents of /root/linux-4.19.102/.config https://pastebin.com/rcSkCAjJ 2020-02-06T18:24:26 #kisslinux <dylanaraps2> > # CONFIG_DRM_RADEON is not set 2020-02-06T18:24:29 #kisslinux <dylanaraps2> > # CONFIG_DRM_AMDGPU is not set 2020-02-06T18:24:35 #kisslinux <dylanaraps2> These are both disabled 2020-02-06T18:24:40 #kisslinux <dylanaraps2> What GPU do you have? 2020-02-06T18:26:08 #kisslinux <altius> I was just about that part. So, what now? Uncomment and add "=y" to both? 2020-02-06T18:26:42 #kisslinux <altius> inxi -G (in MX Linux, same machine: 2020-02-06T18:26:45 #kisslinux <altius> Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel Display: x11 server: X.Org 1.20.4 driver: ati,radeon unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz OpenGL: renderer: AMD MULLINS (DRM 2.50.0 4.19.0-6-amd64 LLVM 7.0.1) v: 4.5 Mesa 18.3.6 2020-02-06T18:34:14 #kisslinux <dylanaraps2> OK 2020-02-06T18:34:23 #kisslinux <dylanaraps2> Looks like it uses Radeon 2020-02-06T18:34:56 #kisslinux <altius> Yep. That must be the xf86-video-amdgpu, am I right? 2020-02-06T18:36:47 #kisslinux <dylanaraps2> -ati 2020-02-06T18:37:05 #kisslinux <dylanaraps2> > driver: ati,radeon 2020-02-06T18:37:10 #kisslinux <dylanaraps2> (From your copy/paste) 2020-02-06T18:38:33 #kisslinux <dylanaraps2> Hm 2020-02-06T18:39:01 #kisslinux <dylanaraps2> Yup, it should be xf86-video-ati 2020-02-06T18:39:22 #kisslinux <altius> Before it says "driver: radeon" 2020-02-06T18:40:07 #kisslinux <altius> I took that must be amdgpu. I am using that, same machine, in Arch, if I don't recall badly. I could check. 2020-02-06T18:51:57 #kisslinux <altius> OK. I suppose it can't be bad if I uncomment and set to =y both lines, then I can try both drivers, can I? 2020-02-06T18:52:06 #kisslinux <altius> Here's how it is now: 2020-02-06T18:52:09 #kisslinux <altius> CONFIG_DRM_RADEON is not set=yCONFIG_DRM_AMDGPU is not set=y 2020-02-06T18:52:27 #kisslinux <altius> Saved and I'm going to reboot now. Fingers crossed. :) 2020-02-06T18:53:07 #kisslinux <dilyn> Wait did you just add =y to the end 2020-02-06T18:53:39 #kisslinux <dilyn> You have to uncomment the lines, remove "is not set" and add =y. Then rebuild the kernel, then make install, then reboot 2020-02-06T18:53:41 #kisslinux <altius> Oh, no. Wasn't the right thing to do? I figured out just looking at the rest of the lines. 2020-02-06T18:53:58 #kisslinux <dilyn> Well if you made it look like the other enabled lines then it's fine 2020-02-06T18:55:08 #kisslinux <altius> Noooooh, you are right, what I was thinking about? I forgot to erase the "is not set" (*fake headshot*) 2020-02-06T18:55:47 #kisslinux <dylanaraps2> :P 2020-02-06T18:56:01 #kisslinux <altius> Oh my. I deserve going back to that-propietary-OS again. My, my. :_( 2020-02-06T18:56:54 #kisslinux <dilyn> Lol nah 2020-02-06T18:56:57 #kisslinux <altius> (chrooting again, this is a non-stopping carousel, but the final prize deserves it!) 2020-02-06T18:57:16 #kisslinux <dilyn> The determination is all that really matters 2020-02-06T18:59:23 #kisslinux <altius> I'm totally determined, I'm stubborn, and as it's been totally clear so far, a total ignorant mess. :P 2020-02-06T19:00:13 #kisslinux <altius> (Compiling kernel again, yoo hoo, here I go!) 2020-02-06T19:01:50 #kisslinux <dilyn> If that doesn't work you could always just give in and try to use the known-working kernel with KISS to eliminate the potential kernel problems and see if the xorg issues are something else. 2020-02-06T19:01:50 #kisslinux <dilyn> But this will probably work enough 2020-02-06T19:01:55 #kisslinux <altius> Before compiling, and just to be better safe than sorry. Do I need to run again: 2020-02-06T19:02:13 #kisslinux <altius> make defconfig 2020-02-06T19:02:30 #kisslinux <altius> make menuconfig 2020-02-06T19:02:51 #kisslinux <altius> Before "make -j "$(nproc)""? 2020-02-06T19:03:18 #kisslinux <dilyn> If you do that you'll delete the config you just painstakingly made! 2020-02-06T19:03:27 #kisslinux <altius> And the know-working kernel is the latest one, 5.4 I think? 2020-02-06T19:03:44 #kisslinux <altius> So I just make -j "$(nproc)" ? 2020-02-06T19:03:53 #kisslinux <dilyn> Yupp! 2020-02-06T19:04:39 #kisslinux <dilyn> Presumably you're using a bootloader and you can point the kernel it loads to be the one you're currently booting from in your other distro instead of the one you're trying to make when it boots into KISS 2020-02-06T19:04:55 #kisslinux <altius> Fine. Will totally do. Will totally report back, get the beers ready! XD 2020-02-06T19:05:26 #kisslinux <dilyn> I'm hype 2020-02-06T19:06:50 #kisslinux <altius> Whew, stop a second. Could I do that? Don't be sure to understand. You mean, boot kiss but with the -say- MX Linux kernel? 2020-02-06T19:10:20 #kisslinux <dylanaraps2> It'd depend on modules, etc. 2020-02-06T19:14:27 #kisslinux <dilyn> ^^ 2020-02-06T19:14:46 #kisslinux <dilyn> It might not work, but you might be able to do it 2020-02-06T19:15:08 #kisslinux <altius> I suppose it goes well beyond my possibilities, and I have been a pain enough here. I'll try to recompile and call it a day if it works. 2020-02-06T19:16:03 #kisslinux <altius> BTW, if you could take something useful from my experience, I have more or least demonstrated that it is indeed possible to install Kiss not from a USB drive, but from another partition. 2020-02-06T19:16:54 #kisslinux <altius> It was kind of "easy", really. Just chroot as one would do from a USB drive, after setting the partition (ext4, my case) 2020-02-06T19:17:17 #kisslinux <altius> follow the instructions, but skipping the bootloader part. After all was installed, just 2020-02-06T19:17:50 #kisslinux <altius> os-prober (kiss was there, yep) and update-grub. And grub shows kiss between my distro jungle. :) 2020-02-06T19:18:25 #kisslinux <altius> If someone would need more detailed steps, I have all documented, just in case I had to do it again. :) 2020-02-06T19:20:35 #kisslinux <dilyn> It was easier to setup than arch 😂 2020-02-06T19:21:14 #kisslinux <dilyn> Then again, I already had working WiFi when I started with kiss, so that cuts out a lot of work 2020-02-06T19:32:27 #kisslinux <altius> I confess I have managed so far to do Arch & Void Linux (both vanilla, no flavours, netinstalls) just with the documentation and mostly no external help. 2020-02-06T19:33:14 #kisslinux <altius> I know it must be hard to believe, given the total inability I have showed here, but I've been totally lucky. 2020-02-06T19:33:41 #kisslinux <altius> The fact that everything comes in precompiled binaries there I think makes things easier. 2020-02-06T19:34:47 #kisslinux <dilyn> Nothing wrong with the questions you've asked if you don't know where to look or done it before 2020-02-06T19:35:03 #kisslinux <dilyn> I've been referring more and more to gentoo's docs lately 2020-02-06T19:35:47 #kisslinux <altius> Yep, but I believe in the DIY, mostly because I don't want to annoy people with obvious/stupid questions... 2020-02-06T19:37:06 #kisslinux <altius> Anyway, I'm here to learn. I do appreciate help and patience, really. I wish someday I can use what I'm learning here to help others. 2020-02-06T19:37:51 #kisslinux <altius> (I'm trying to do that elsewhere. Here I'm a total noob, but in the "you-know-what" distros I'm kinda of king of the world. XD 2020-02-06T19:39:57 #kisslinux <altius> And BTW, there's just one thing I could be of help here, if/when needed. I can translate just fine, from English to Spanish I could do well enough. 2020-02-06T19:40:40 #kisslinux <altius> Perhaps translate the wiki, installation manual? Just ping me if you want me to do that. :) 2020-02-06T19:48:25 #kisslinux <dylanaraps2> altius: Thanks for the offer, I appreciate it. :-) 2020-02-06T19:48:35 #kisslinux <dylanaraps2> Documentation in English is lacking 2020-02-06T19:48:48 #kisslinux <dylanaraps2> Mainly because it's the least fun part for me... 2020-02-06T19:52:53 #kisslinux <E5ten> Lol just got rid of the last of util-linux, replaced with mostly toybox and a bit of ubase and lobase 2020-02-06T19:54:12 #kisslinux <dilyn> From each according to his abilities, to each according to his needs 2020-02-06T19:55:14 #kisslinux <E5ten> I'm certainly in favour of that ;) 2020-02-06T19:58:47 #kisslinux <altius> Totally agreed, dilyn . The free software world, that's what one of the things I like about that, is a little like that. :) 2020-02-06T19:59:22 #kisslinux <dylanaraps> E5ten: How are you working around the library parts of util-linux? (Or do you just not need them) 2020-02-06T19:59:56 #kisslinux <altius> It amazes me everyday why can be possible, in our world to do things as dylanaraps is doing, gratis et amore (free and with love) :D 2020-02-06T20:00:53 #kisslinux <altius> Compiled, rebooting now, will be back. 2020-02-06T20:01:50 #kisslinux <dylanaraps> :P 2020-02-06T20:01:56 #kisslinux <E5ten> Not need them I think, I dealt with that aspect a while ago though 2020-02-06T20:02:25 #kisslinux <E5ten> I would need them for e2fsprogs but it ships the source for them with it as well so I just bundled it for that 2020-02-06T20:03:05 #kisslinux <E5ten> Yeah I think that's all I needed them for 2020-02-06T20:03:29 #kisslinux <E5ten> Had to use --without-libuuid for libsm 2020-02-06T20:04:21 #kisslinux <dylanaraps> ooo 2020-02-06T20:04:31 #kisslinux <dylanaraps> e2fsprogs was what I was going to ask you about 2020-02-06T20:04:50 #kisslinux <E5ten> To be clear when I say I replaced it with toybox etc. I mean the parts I needed there are plenty of things I just didn't need from it so didn't replace (the one thing I wish there was another implementation of but is non-vital enough that I was willing to get rid of it was lsblk) 2020-02-06T20:05:08 #kisslinux <dylanaraps> Yeah 2020-02-06T20:05:24 #kisslinux <E5ten> Just gonna cat /proc/partitions instead it's not as good but whatever 2020-02-06T20:05:31 #kisslinux <dylanaraps> busybox provides a lot of it 2020-02-06T20:06:42 #kisslinux <E5ten> I have ubase providing swap{label,on, off} and chvt but I don't actually need swaplabel or chvt (haven't had chvt for a while until today when I was adding stuff from ubase and was like "oh well might as well add that missing command") 2020-02-06T20:07:21 #kisslinux <E5ten> Lobase is providing col and hexdump but I don't know if I need col I just haven't checked yet 2020-02-06T20:07:55 #kisslinux <E5ten> I wish toybox had hexdump (I know busybox does but I use as little of busybox as possible with the eventual goal of ditching it) 2020-02-06T20:09:31 #kisslinux <dylanaraps> Can I just rm the libuuid stuff from the e2fsprogs package? 2020-02-06T20:10:08 #kisslinux <dylanaraps> nvm 2020-02-06T20:10:13 #kisslinux <dylanaraps> I'll do this another day 2020-02-06T20:10:20 #kisslinux <E5ten> Yeah I just have it build the libs statically and then install using make install-progs-recursive 2020-02-06T20:10:34 #kisslinux <dylanaraps> I'll do it now then 2020-02-06T20:10:36 #kisslinux <dylanaraps> :^) 2020-02-06T20:10:39 #kisslinux <E5ten> Libs don't get installed 2020-02-06T20:13:08 #kisslinux <E5ten> I think I don't need col but if I'm using anything from lobase already (cuz of hexdump) I might as well keep it 2020-02-06T20:14:42 #kisslinux <dylanaraps> yup 2020-02-06T20:21:25 #kisslinux <altius> Still no luck. Tried the xf86-video-ati, xf86-video-amdgpu, and none (modesetting). 2020-02-06T20:22:44 #kisslinux <altius> [ 164.359] (II) [KMS] drm report modesetting isn't supported.[ 164.359] (EE) open /dev/dri/card0: No such file or directory[ 164.359] (WW) Falling back to old probe method for modesetting[ 164.359] (EE) open /dev/dri/card0: No such file or directory[ 164.359] (EE) Screen 0 deleted because of no matching config section.[ 164.359] (II) 2020-02-06T20:22:45 #kisslinux <altius> UnloadModule: "radeon"[ 164.359] (EE) Screen 0 deleted because of no matching config section.[ 164.359] (II) UnloadModule: "modesetting"[ 164.359] (EE) Device(s) detected, but none match those in the config file.[ 164.359] (EE) Fatal server error:[ 164.359] (EE) no screens found(EE) 2020-02-06T20:23:14 #kisslinux <altius> Mostly the same in Xorg.0.log, I think. 2020-02-06T20:23:41 #kisslinux <dylanaraps> It must still be the kernel 2020-02-06T20:23:46 #kisslinux <dylanaraps> Does 'udevadm -h' work? 2020-02-06T20:24:24 #kisslinux <altius> I was thinking about removing the files inside /dev/dri/card0 and moving the ones I have in MX, which does (almost) the same kernel 2020-02-06T20:24:57 #kisslinux <altius> Will reboot and try that. 2020-02-06T20:25:32 #kisslinux <dylanaraps> altius: That won't work 2020-02-06T20:25:44 #kisslinux <dylanaraps> The kernel creats and populates /dev on boot 2020-02-06T20:25:45 #kisslinux <E5ten> Those files are created on boot 2020-02-06T20:25:49 #kisslinux <E5ten> Yeah 2020-02-06T20:25:50 #kisslinux <dylanaraps> creates* 2020-02-06T20:26:41 #kisslinux <altius> Yep, I think so. After all, the file that xorg is looking for IS ALREADY THERE, in THE SAME EXACT PLACE YOU'RE LOOKING FOR, XORG, DARLING. :P 2020-02-06T20:27:28 #kisslinux <dylanaraps> If the kernel isn't creating that file it points to a kernel .config issue 2020-02-06T20:28:12 #kisslinux <fehawen> Hey guys, been listening (reading) in here on and off while I'm working. Just curious what you're working on? Obviously I realize it's something to do with getting radeon (ati/amd) working, but apart from that I'm lost lol. 2020-02-06T20:28:33 #kisslinux <fehawen> Sorry for interrupting btw. 2020-02-06T20:28:44 #kisslinux <fehawen> rader driver(s)* 2020-02-06T20:28:52 #kisslinux <fehawen> radeon* 2020-02-06T20:29:11 #kisslinux <fehawen> damn hp keyboard 2020-02-06T20:29:25 #kisslinux <dylanaraps> Trying to get altius' Xorg to work :-) 2020-02-06T20:30:14 #kisslinux <dylanaraps> Other than that I'm not really working on anything 2020-02-06T20:30:39 #kisslinux <fehawen> I see, thanks :-) 2020-02-06T20:31:01 #kisslinux <dylanaraps> There aren't any known bugs to quash in any part of KISS at the moment :P 2020-02-06T20:31:59 #kisslinux <fehawen> So is Xorg something users might usually have troubles with? 2020-02-06T20:32:08 #kisslinux <fehawen> In the context of kiss linux, that is 2020-02-06T20:32:11 #kisslinux <dylanaraps> It's kernel related 2020-02-06T20:32:15 #kisslinux <E5ten> dylanaraps: when're you implementing lsblk in shell :>) (someone did it for freebsd and it's awful and also very freebsd specific lol) 2020-02-06T20:32:20 #kisslinux <dylanaraps> Which is where most users have issues 2020-02-06T20:32:43 #kisslinux <fehawen> Ah, right, of course 2020-02-06T20:32:45 #kisslinux <dylanaraps> (with KISS you handle the kernel and its configuration yourself) 2020-02-06T20:33:01 #kisslinux <fehawen> Yep, I'm aware of that. 2020-02-06T20:33:22 #kisslinux <dylanaraps> Once you get it working you've hopefully learnt something :P 2020-02-06T20:33:29 #kisslinux <dylanaraps> And you won't have to touch the config again 2020-02-06T20:34:03 #kisslinux <fehawen> Just haven't gotten around doing that yet myself. Planned on moving to Gentoo a while back but didn't have the time really. Too much going on at work and whatnot. 2020-02-06T20:34:36 #kisslinux <dylanaraps> Yeah 2020-02-06T20:35:00 #kisslinux <dylanaraps> KISS really takes time to get up and running 2020-02-06T20:35:04 #kisslinux <fehawen> Kiss is next on my agenda however, as soon as I have the time. Just got a lot of kernel related reading material to pile through first lol, before my trial and error begins. 2020-02-06T20:35:08 #kisslinux <dylanaraps> More so than other distributions 2020-02-06T20:35:40 #kisslinux <dylanaraps> The main part is knowing your hardware, which drivers are needed for it etc 2020-02-06T20:36:11 #kisslinux <dylanaraps> Do I need firmware for my wireless card, GPU, etc 2020-02-06T20:36:14 #kisslinux <dylanaraps> Things like that 2020-02-06T20:36:36 #kisslinux <altius> udevadm -h works (prints help) 2020-02-06T20:36:45 #kisslinux <dylanaraps> altius: Nice 2020-02-06T20:36:54 #kisslinux <dylanaraps> Send me your .config again? 2020-02-06T20:37:16 #kisslinux <dylanaraps> Actually, I'll take another look at the one you sent earlier. 2020-02-06T20:38:14 #kisslinux <altius> Perfect, I just changed the lines we talked earlier 2020-02-06T20:38:54 #kisslinux <dylanaraps> Does 'dmesg' say anything about the GPU? 2020-02-06T20:39:05 #kisslinux <dylanaraps> You can 'grep' for 'radeon', 'ati', 'amd' etc 2020-02-06T20:39:24 #kisslinux <altius> It did something indeed, because when compiling it prompted a lot of stuff 2020-02-06T20:40:08 #kisslinux <altius> I did "y" to everything, just asking to enable support to a lotta stuff 2020-02-06T20:42:16 #kisslinux <dylanaraps> 'dmesg' displays messages from the kernel 2020-02-06T20:42:25 #kisslinux <altius> Maybe. I'll reinstall both drivers and see if it spits something 2020-02-06T20:42:31 #kisslinux <dylanaraps> Try: dmesg | grep radeon 2020-02-06T20:47:41 #kisslinux <fehawen> wtf 2020-02-06T20:48:07 #kisslinux <dylanaraps> fehawen: Might want to email byron⊙gca to get this removed from the logs. 2020-02-06T20:49:09 #kisslinux <dylanaraps> Also: msg NickServ SET PASSWORD <newpassword> 2020-02-06T20:49:27 #kisslinux <fehawen> Uhm, yeah, definitely. What do I provide, timestamp? 2020-02-06T20:49:50 #kisslinux <dylanaraps> > https://freenode.logbot.info/kisslinux/20200206#c3201428 2020-02-06T20:50:14 #kisslinux <altius> grep amd: amd_uncore AMD NB counters detected 2020-02-06T20:50:36 #kisslinux <dylanaraps> altius: Also try 'grep drm' 2020-02-06T20:50:47 #kisslinux <dylanaraps> Might want to add '-i' to grep to ignore case as well 2020-02-06T20:50:48 #kisslinux <altius> And same, but "LLC counters detected" 2020-02-06T20:51:06 #kisslinux <fehawen> dylan: Thanks, I'm gonna send that email then kill myself. 2020-02-06T20:52:14 #kisslinux <dylanaraps> Heh. Been there 2020-02-06T20:52:35 #kisslinux <dylanaraps> This is neat: https://freenode.logbot.info/kisslinux/stats 2020-02-06T20:52:42 #kisslinux <altius> grep drm, nothing. Now I'll try Radeon and ATI 2020-02-06T20:53:23 #kisslinux <dylanaraps> Use '-i' too 2020-02-06T21:00:28 #kisslinux <altius> http://imgbox.com/u4qiE7rp 2020-02-06T21:01:33 #kisslinux <altius> Tuxies on try 2020-02-06T21:01:49 #kisslinux <altius> Tty 2020-02-06T21:01:59 #kisslinux <altius> :) 2020-02-06T21:06:03 #kisslinux <dylanaraps> Hm 2020-02-06T21:07:00 #kisslinux <dylanaraps> Which kernel version? (4.19.102?) 2020-02-06T21:08:30 #kisslinux <altius> That's exactly right, I just uname -a to be sure 2020-02-06T21:09:27 #kisslinux <altius> MX works fine with a slightly older version, I think. 2020-02-06T21:09:47 #kisslinux <altius> It's a 4.19 for sure 2020-02-06T21:10:33 #kisslinux <altius> And Arch and Void run fine with 5.4, if I recall correctly 2020-02-06T21:11:59 #kisslinux <dylanaraps> Try a newer kernel 2020-02-06T21:12:13 #kisslinux <dylanaraps> Just copy your .config to the newer sources and run 'make -j $(nproc)' 2020-02-06T21:15:27 #kisslinux <altius> Perfect. How do I get rid of the older one, if I may ask? 2020-02-06T21:15:49 #kisslinux <altius> BTW, reading a bit, and according to Arch wiki, my GPU (must) be supported by both amdgpu and ATI drivers 2020-02-06T21:16:51 #kisslinux <dylanaraps> Alright, in that case, also enable CONFIG_DRM_AMDGPU=y 2020-02-06T21:17:11 #kisslinux <dylanaraps> (Ignore xf86-video- for now) 2020-02-06T21:17:25 #kisslinux <dylanaraps> You can keep both kernels around for now 2020-02-06T21:17:40 #kisslinux <dylanaraps> Just need to remove it under /boot if you want to 2020-02-06T21:19:36 #kisslinux <dylanaraps> Other pages to check: https://wiki.gentoo.org/wiki/Radeon 2020-02-06T21:19:40 #kisslinux <dylanaraps> https://wiki.gentoo.org/wiki/AMDGPU 2020-02-06T21:19:47 #kisslinux <dylanaraps> There's lists of kernel options here 2020-02-06T21:19:57 #kisslinux <altius> I usually have at least an LTS as backup when using latest kernel, so OK with that 2020-02-06T21:21:07 #kisslinux <dylanaraps> I have 40~ kernels in my /boot. I really need to clean it up :P 2020-02-06T21:22:22 #kisslinux <altius> Haha, really? And I feel bad for having four distros in my machine. XD 2020-02-06T21:23:07 #kisslinux <dylanaraps> -> ls -1 /boot/vmlinuz-* | wc -l 2020-02-06T21:23:07 #kisslinux <dylanaraps> 44 2020-02-06T21:23:29 #kisslinux <dilyn> Ew 2020-02-06T21:23:39 #kisslinux <dilyn> Why tho 2020-02-06T21:23:58 #kisslinux <altius> World Wide Guinness Record. Are you collet them for your old age? 2020-02-06T21:24:42 #kisslinux <dylanaraps> dilyn: I still have my first KISS kernel :') 2020-02-06T21:24:44 #kisslinux <altius> "Watch, son. 5.4. Those were the times." XD 2020-02-06T21:26:14 #kisslinux <dilyn> Print the .config and frame it 2020-02-06T21:26:36 #kisslinux <dylanaraps> -> ls -1 /boot/vmlinuz-* | wc -l 2020-02-06T21:26:36 #kisslinux <dylanaraps> 1 2020-02-06T21:26:46 #kisslinux <dylanaraps> That was easy 2020-02-06T21:27:26 #kisslinux <dilyn> F 2020-02-06T21:28:08 #kisslinux <altius> Ow. You missed the opportunity to start a kernel thematic park. XD 2020-02-06T21:30:53 #kisslinux <altius> Ok, I have RTFM to do, kernels to compile and x to start. 2020-02-06T21:32:03 #kisslinux <altius> I work tomorrow and the whole weekend, until Sunday or perhaps Tuesday won't have much time. 2020-02-06T21:32:07 #kisslinux <E5ten> I think I remember having some problems with sbase install and toybox install doesn't have -t so I'm using busybox install rn but given what I said above about wanting to eliminate my busybox usage and not remembering for sure if I did have a problem with sbase install I'm gonna try it, if it works the only busybox command I'll still have and need is fuser 2020-02-06T21:32:17 #kisslinux <E5ten> (the only implementations of fuser for linux are the actual psmisc one and busybox) 2020-02-06T21:33:10 #kisslinux <altius> But I'll try to keep on doing and keeping you posted. 2020-02-06T21:33:42 #kisslinux <dylanaraps> You could write one from /proc probably 2020-02-06T21:34:43 #kisslinux <altius> Thanks again, even not a total success, I have a working tty with tuxies. And there'll be more! :) 2020-02-06T21:34:46 #kisslinux <E5ten> Yeah I'll probably try at some point but I don't even understand fuser fully it's just that openrc needs it 2020-02-06T21:35:06 #kisslinux <dylanaraps> altius: No problem. We'll get it working :-) 2020-02-06T21:35:45 #kisslinux <dylanaraps> You could swap away from openrc :^) 2020-02-06T21:36:35 #kisslinux <dylanaraps> I might write my own ultra mini init 2020-02-06T21:36:43 #kisslinux <E5ten> Given how much shit on my system relies on assumptions of how it works and the init system being a very large part of how it works that'd definitely break it in ways I can't foresee and even just attempting to switch would probably take longer than implementing fuser lol 2020-02-06T21:36:51 #kisslinux <E5ten> How about instead implement fuser for me ;) 2020-02-06T21:36:57 #kisslinux <altius> Sure. Have a nice weekend and keep up with your good work! 2020-02-06T21:37:30 #kisslinux <dylanaraps> Thanks :) 2020-02-06T21:37:34 #kisslinux <dylanaraps> E5ten: on it 2020-02-06T21:37:41 #kisslinux <E5ten> Lol 2020-02-06T21:43:14 #kisslinux <dylanaraps> https://termbin.com/7kib 2020-02-06T21:43:22 #kisslinux <dylanaraps> This works for basic 'fuser file' 2020-02-06T21:43:31 #kisslinux <dylanaraps> Let me clean it up though 2020-02-06T21:43:37 #kisslinux <dylanaraps> Which flags do you need? 2020-02-06T21:46:04 #kisslinux <E5ten> Doesn't seem to work? 2020-02-06T21:46:23 #kisslinux <dylanaraps> Works for me 2020-02-06T21:46:25 #kisslinux <dylanaraps> Hang on 2020-02-06T21:46:25 #kisslinux <E5ten> Oh hm 2020-02-06T21:46:32 #kisslinux <E5ten> Yeah no it does 2020-02-06T21:46:33 #kisslinux <dylanaraps> I'll clean it up 2020-02-06T21:46:39 #kisslinux <E5ten> It's just an edge case 2020-02-06T21:47:01 #kisslinux <E5ten> I'll figure out what it needs to handle it 2020-02-06T21:48:31 #kisslinux <E5ten> Like fuser would also find a command's PID if you checked the file of that command as the open file 2020-02-06T21:49:06 #kisslinux <E5ten> But what I'm gonna do is try to hopefully quickly write a shell one based on busybox's code 2020-02-06T21:49:36 #kisslinux <dylanaraps> fuser /bin/sh 2020-02-06T21:49:39 #kisslinux <dylanaraps> As an example? 2020-02-06T21:49:48 #kisslinux <E5ten> Yeah 2020-02-06T21:50:48 #kisslinux <E5ten> For opts I'd need -m and -k 2020-02-06T22:00:10 #kisslinux <dylanaraps> What does -m do? 2020-02-06T22:01:11 #kisslinux <E5ten> Prints pids for any process with an open file on the same fs as the file you specify I think 2020-02-06T22:01:35 #kisslinux <dylanaraps> That'd list a lot of pids 2020-02-06T22:01:47 #kisslinux <dylanaraps> Does '-k' still list the pids? 2020-02-06T22:02:01 #kisslinux <E5ten> It's for making sure nothing is still using the fs on shutdown 2020-02-06T22:02:18 #kisslinux <E5ten> Before remounting ro and stuff 2020-02-06T22:02:26 #kisslinux <dylanaraps> Ah 2020-02-06T22:02:47 #kisslinux <E5ten> Well I mean that's not its explicit purpose I just mean that's what openrc uses it for 2020-02-06T22:04:05 #kisslinux <dylanaraps> https://termbin.com/qj3v 2020-02-06T22:04:13 #kisslinux <dylanaraps> -k/-SIGNAL are done 2020-02-06T22:04:43 #kisslinux <dylanaraps> Just -m now 2020-02-06T22:06:04 #kisslinux <E5ten> I'm getting a ton of realpath errors I think cuz it's trying to find the path for fds that point to pipes? 2020-02-06T22:06:45 #kisslinux <dylanaraps> Oh 2020-02-06T22:06:53 #kisslinux <dylanaraps> Needs another check then 2020-02-06T22:06:57 #kisslinux <E5ten> Yeah a ton of no such file or directory for fds that point to stuff like socket:[number] 2020-02-06T22:07:08 #kisslinux <dylanaraps> I have no open sockets on my machine then... 2020-02-06T22:07:08 #kisslinux <dylanaraps> lol 2020-02-06T22:07:28 #kisslinux <E5ten> But also pipes? 2020-02-06T22:07:36 #kisslinux <dylanaraps> > [ -L "$fd" ] || [ -S "$fd" ] || continue 2020-02-06T22:07:40 #kisslinux <dylanaraps> I guess not 2020-02-06T22:07:42 #kisslinux <E5ten> Realpath implementation thing 2020-02-06T22:07:43 #kisslinux <dylanaraps> That should work 2020-02-06T22:07:51 #kisslinux <E5ten> Busybox realpath doesn't output errors 2020-02-06T22:08:37 #kisslinux <dylanaraps> > [ -L "$fd" ] || [ -S "$fd" ] || [ -p "$fd" ] || 2020-02-06T22:08:47 #kisslinux <dylanaraps> It's faster to avoid running it anyway 2020-02-06T22:09:23 #kisslinux <dylanaraps> My realpath shows errors 2020-02-06T22:12:24 #kisslinux <dylanaraps> https://termbin.com/xcgh 2020-02-06T22:12:31 #kisslinux <dylanaraps> Reduced to single loop 2020-02-06T22:12:53 #kisslinux <E5ten> Gotta check $# not being 0 and not $1 being non empty cuz empty args should be errors for the right reasons 2020-02-06T22:14:16 #kisslinux <dylanaraps> https://termbin.com/bguo 2020-02-06T22:14:18 #kisslinux <dylanaraps> Done 2020-02-06T22:14:26 #kisslinux <E5ten> Also for the option parsing loop to repeat and let you reach the shift wouldn't there have to be an argument to shift so you wouldn't need the ternary to avoid the dash shift error? 2020-02-06T22:15:24 #kisslinux <dylanaraps> True 2020-02-06T22:16:19 #kisslinux <dylanaraps> https://github.com/dylanaraps/bin/blob/master/fusher 2020-02-06T22:18:25 #kisslinux <E5ten> I'm still getting realpath errors 🤔 2020-02-06T22:18:31 #kisslinux <dylanaraps> Which type? 2020-02-06T22:18:41 #kisslinux <E5ten> Same 2020-02-06T22:18:53 #kisslinux <dylanaraps> Alrighty 2020-02-06T22:19:16 #kisslinux <E5ten> Ok so for starters the -S and -p should cause continue not the opposite I think 2020-02-06T22:20:32 #kisslinux <E5ten> After I change that to continue if -L is false, or -S or -p are true, I still get errors but only for fds pointing to anon_inode:[eventfd] 2020-02-06T22:20:42 #kisslinux <dylanaraps> Heh 2020-02-06T22:20:55 #kisslinux <dylanaraps> Might be simpler to just chuck a 2>/dev/null on the realpath command 2020-02-06T22:33:00 #kisslinux <E5ten> Ok I'm getting it working better I'll send a diff soon but in the meantime didn't we figure out a way to do this but sorted with something kiss related? (the pids should be sorted but they're not cuz the glob matches like 17000 before 2000 2020-02-06T22:33:05 #kisslinux <E5ten> ) 2020-02-06T22:34:51 #kisslinux <dylanaraps> I don't sort them in KISS 2020-02-06T22:34:59 #kisslinux <dylanaraps> I have -m semi-working 2020-02-06T22:35:00 #kisslinux <E5ten> Ah 2020-02-06T22:35:59 #kisslinux <E5ten> http://ix.io/2aWF 2020-02-06T22:38:16 #kisslinux <dylanaraps> This is very broken (-m) 2020-02-06T22:38:30 #kisslinux <dylanaraps> Basically need to figure out which fs a file belongs to 2020-02-06T22:38:36 #kisslinux <dylanaraps> I'm using df right now 2020-02-06T22:38:40 #kisslinux <dylanaraps> Which doesn't work well 2020-02-06T22:38:55 #kisslinux <E5ten> starting to doubt the viability of shell fuser lol 2020-02-06T22:40:08 #kisslinux <dylanaraps> I figured it out 2020-02-06T22:49:23 #kisslinux <dylanaraps> I'll spend more time on this tomorrow 2020-02-06T22:49:27 #kisslinux <dylanaraps> It's late here 2020-02-06T22:54:01 #kisslinux <dilyn> I need a Fortran compiler and it's unclear to me how Alpine is packaging theirs 2020-02-06T22:55:05 #kisslinux <dylanaraps> https://git.alpinelinux.org/aports/tree/main/gcc?h=master 2020-02-06T22:55:07 #kisslinux <dylanaraps> This one? 2020-02-06T22:55:11 #kisslinux <dylanaraps> That's a lot of patches... 2020-02-06T22:55:12 #kisslinux <dylanaraps> Jesus 2020-02-06T22:55:16 #kisslinux <dilyn> Mhm 2020-02-06T22:55:23 #kisslinux <dilyn> Yeah it hurts me 2020-02-06T22:55:29 #kisslinux <dylanaraps> 600 line APKBUILD 2020-02-06T22:55:41 #kisslinux <dilyn> Their build log for it is a 404 error 2020-02-06T22:55:47 #kisslinux <dilyn> So it's... Fun 2020-02-06T22:56:28 #kisslinux <dylanaraps> See: http://fortranwiki.org/fortran/show/Compilers 2020-02-06T22:57:06 #kisslinux <dylanaraps> https://github.com/flang-compiler/flang/wiki/Building-Flang 2020-02-06T22:57:11 #kisslinux <dylanaraps> Flang looks simple enough 2020-02-06T22:57:26 #kisslinux <dylanaraps> Maybe 2020-02-06T22:57:47 #kisslinux <dilyn> Yeah I saw that as well 2020-02-06T22:57:53 #kisslinux <dilyn> Just a whole evening of exploring haha 2020-02-06T22:58:37 #kisslinux <dylanaraps> Worst case you can run it in a chroot 2020-02-06T22:59:06 #kisslinux <dilyn> Yeah but I don't want to do that xD 2020-02-06T23:00:41 #kisslinux <dylanaraps> :P 2020-02-06T23:01:10 #kisslinux <dilyn> Apparently flang (and by extension, f18(?)) Have been patched BY upstream for musl?? 2020-02-06T23:01:16 #kisslinux <dilyn> Iean, yes please thank you 2020-02-06T23:37:09 #kisslinux <TwistedFate> is there a good program for gnu+linux that properly shows RAM usage? htop and the likes are too chaotic and inconclusive. i want to know what's using my RAM :/ 2020-02-06T23:42:03 #kisslinux <stee> TwistedFa: free -mh