💾 Archived View for gemini.ctrl-c.club › ~phoebos › logs › freenode-kisslinux-2020-02-08.txt captured on 2024-05-10 at 14:40:29.

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-02-08T04:53:06 #kisslinux <dilyn> F18 is unwilling to build on latest GCC or clang, presumably my attempt to downgrade either was unsuccessful or the error I keep getting is unrelated to the compiler version. :X
2020-02-08T07:06:09 #kisslinux <icyphox> This turned out nice-ish: https://x.icyphox.sh/3gS.png
2020-02-08T07:15:43 #kisslinux <TwistedFate> it's too.. white :')
2020-02-08T09:08:19 #kisslinux <icyphox> :P
2020-02-08T09:08:22 #kisslinux <dylanaraps> icyphox: I like it
2020-02-08T09:08:35 #kisslinux <dylanaraps> (Your rice)
2020-02-08T09:08:40 #kisslinux <icyphox> Thanks!
2020-02-08T09:08:42 #kisslinux <icyphox> :)
2020-02-08T09:09:28 #kisslinux <icyphox> Ah, I just realized I forgot to hide the cursor in my fetch script.
2020-02-08T09:16:30 #kisslinux <dylanaraps> lol
2020-02-08T12:25:00 #kisslinux <perish> Hi, I'm having issues with my KISS installation. I'm getting the unable to mount root-fs on unknown block(0,0) error. Most online guides suggest getting another initramfs, which is an issue considering that this distro dos not support initramfs.
2020-02-08T12:31:33 #kisslinux <dylanaraps> perish: Sounds like missing drivers in your kernel for your disk controller, filesystem etc.
2020-02-08T12:31:50 #kisslinux <dylanaraps> Send your .config and I'll take a look. :-)
2020-02-08T12:38:30 #kisslinux <perish> Alright, gimme a sec - i enabled all the EXTs, and every usb device i could, I'm installing onto a USB, haha
2020-02-08T12:38:43 #kisslinux <perish> How do I attach files here?
2020-02-08T12:39:06 #kisslinux <dylanaraps> Upload the file somewhere (pastebin or github gist as examples) and paste the link
2020-02-08T12:39:15 #kisslinux <perish> alright
2020-02-08T12:39:55 #kisslinux <perish> https://pastebin.com/EAj4KiWB
2020-02-08T12:41:56 #kisslinux <dylanaraps> It looks fine to me.
2020-02-08T12:42:22 #kisslinux <dylanaraps> What hardware do you have?
2020-02-08T12:42:29 #kisslinux <perish> yea honestly not sure what's gone on here
2020-02-08T12:43:08 #kisslinux <perish> Intel i7, booting on a kingston SE9 G2, which is supported from the Kernel version 2 iirc
2020-02-08T12:43:47 #kisslinux <perish> Linux v.2.6.x+, actually
2020-02-08T12:44:08 #kisslinux <dylanaraps> Might be that the kernel can't find the partition on the USB.
2020-02-08T12:44:22 #kisslinux <perish> hm
2020-02-08T12:44:34 #kisslinux <dylanaraps> You could try setting root=
2020-02-08T12:44:36 #kisslinux <dylanaraps> See: https://wiki.archlinux.org/index.php/kernel_parameters#GRUB
2020-02-08T12:44:43 #kisslinux <perish> mayhaps, but I've been through the whole song and dance of changing what partitions it detects, setting root, etc
2020-02-08T12:45:03 #kisslinux <perish> Sadly to no avail, but I'll try again.
2020-02-08T12:45:06 #kisslinux <dylanaraps> > root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff
2020-02-08T12:45:17 #kisslinux <dylanaraps> This but with the PARTUUID instead of UUID
2020-02-08T12:48:21 #kisslinux <perish> Will try this.
2020-02-08T12:48:51 #kisslinux <perish> About to disconnect, connected to this IRC the computer I'm trying to boot it with, haha.
2020-02-08T12:52:26 #kisslinux <perish9> I return
2020-02-08T12:52:35 #kisslinux <perish9> To no avail, sadly
2020-02-08T12:53:01 #kisslinux <perish9> Still the same error, even with root=PARTUUID
2020-02-08T12:53:45 #kisslinux <perish9> Off pops my old connection.
2020-02-08T12:56:42 #kisslinux <perish9> dylanaraps any further advice?
2020-02-08T12:58:04 #kisslinux <dylanaraps> perish9: It's hard for me to debug as the error is rather generic and I don't have access to the machine.
2020-02-08T12:58:11 #kisslinux <dylanaraps> What's the partition layout look like?
2020-02-08T12:58:21 #kisslinux <dylanaraps> root= should point to '/'
2020-02-08T12:58:58 #kisslinux <perish9> The partition table is GPT, I've created a bios_grub partition of three megabytes, the rest being an ext4 partition.
2020-02-08T12:59:24 #kisslinux <dylanaraps> This is my config for reference: https://termbin.com/sb54
2020-02-08T12:59:40 #kisslinux <dylanaraps> perish9: Does root= point to the ext4 partition?
2020-02-08T12:59:52 #kisslinux <perish9> It does.
2020-02-08T13:00:02 #kisslinux <dylanaraps> This error occurs when the kernel cannot mount '/' for whatever reason.
2020-02-08T13:00:15 #kisslinux <dylanaraps> (Which means it can't then run /sbin/init etc etc)
2020-02-08T13:00:26 #kisslinux <perish9> Aye.
2020-02-08T13:01:30 #kisslinux <perish9> Have confirmed it points to /dev/sdb1, which is where the entire installation is.
2020-02-08T13:08:22 #kisslinux <dylanaraps> I wonder if it's a missing driver related to the USB(?)
2020-02-08T13:09:49 #kisslinux <dylanaraps> I'm looking through a diff of our .config files
2020-02-08T13:09:59 #kisslinux <dylanaraps> Will let you know if I find anything
2020-02-08T13:11:05 #kisslinux <dylanaraps> I have these though I guess you aren't using SCSI.
2020-02-08T13:11:06 #kisslinux <dylanaraps> > CONFIG_SCSI_LOWLEVEL=y
2020-02-08T13:11:14 #kisslinux <dylanaraps> > CONFIG_ISCSI_BOOT_SYSFS=y
2020-02-08T13:11:40 #kisslinux <perish9> Should I add those?
2020-02-08T13:12:10 #kisslinux <dylanaraps> Worth a shot
2020-02-08T13:12:23 #kisslinux <perish9> Will do. Add to kernel and recompile?
2020-02-08T13:12:26 #kisslinux <dylanaraps> I'm still poking around
2020-02-08T13:12:28 #kisslinux <dylanaraps> Yeah
2020-02-08T13:12:35 #kisslinux <dylanaraps> I may find more
2020-02-08T13:13:32 #kisslinux <perish9> Alright, I might disappear again. When I pop up once more, could you possibly summarise what you've found? Apologies for any inconveniences.
2020-02-08T13:16:01 #kisslinux <dylanaraps> Will do
2020-02-08T13:16:05 #kisslinux <dylanaraps> No worries
2020-02-08T13:16:17 #kisslinux <perish9> Thank you for this help!
2020-02-08T13:16:27 #kisslinux <perish9> And hola, mahmudov.
2020-02-08T13:22:03 #kisslinux <dylanaraps> perish9: This is also something to try: https://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re58.html
2020-02-08T13:22:12 #kisslinux <dylanaraps> >  Wait n seconds before trying to mount the root filesystem. This can be useful if the root filesystem is on a USB or Firewire device, as those disk devices take a bit longer to be discovered by the kernel.
2020-02-08T13:23:18 #kisslinux <dylanaraps> This could also be helpful: https://wiki.gentoo.org/wiki/USB/Guide#Config_options_for_the_kernel (all options as =y)
2020-02-08T13:23:50 #kisslinux <dylanaraps> I have a hunch it is rootwait= related
2020-02-08T14:52:43 #kisslinux <konimex> alright, finally created a docker image for the distro
2020-02-08T14:53:20 #kisslinux <konimex> though... for what, I don't know yet
2020-02-08T14:55:49 #kisslinux <dylanaraps> Someone else created one too iirc
2020-02-08T14:56:12 #kisslinux <dylanaraps> Though I don't see any benefit over a simple chroot
2020-02-08T14:56:31 #kisslinux <konimex> that was one of my colleagues in artix, but yeah it doesn't work
2020-02-08T14:56:49 #kisslinux <dylanaraps> https://hub.docker.com/repository/docker/ndowens2004/kiss-linux
2020-02-08T14:56:51 #kisslinux <dylanaraps> This one?
2020-02-08T14:56:57 #kisslinux <konimex> aye
2020-02-08T14:57:23 #kisslinux <dylanaraps> I never was able to take a look at it since the page requires I login
2020-02-08T14:57:38 #kisslinux <konimex> benefits? no idea either, but I want to test build something in Travis, I don't know if plain chroot method would work
2020-02-08T14:57:49 #kisslinux <dylanaraps> Gotcha
2020-02-08T14:57:56 #kisslinux <dylanaraps> proot might work in travis
2020-02-08T14:58:27 #kisslinux <dylanaraps> Ubuntu has it in their repositories
2020-02-08T14:58:33 #kisslinux <dylanaraps> Also Debian
2020-02-08T14:58:43 #kisslinux <dylanaraps> So you should be able to use it on travis.ci
2020-02-08T14:58:54 #kisslinux <dylanaraps> (https://proot-me.github.io/)
2020-02-08T15:01:33 #kisslinux <konimex> hmm... worth a try later
2020-02-08T17:01:56 #kisslinux <perish> Hola!
2020-02-08T17:02:04 #kisslinux <perish> I return, once more.
2020-02-08T17:10:08 #kisslinux <perish> Hola
2020-02-08T17:10:20 #kisslinux <perish> How goes it?
2020-02-08T17:49:52 #kisslinux <perish> aw
2020-02-08T17:58:49 #kisslinux <perish> Hola
2020-02-08T18:16:35 #kisslinux <dylanaraps> perish: Hello
2020-02-08T18:16:50 #kisslinux <dylanaraps> Apologies, been off and on with crappy net
2020-02-08T18:16:54 #kisslinux <dylanaraps> Didn't check logs
2020-02-08T18:17:09 #kisslinux <dylanaraps> Did you see my last messages about rootwait= etc?
2020-02-08T19:39:58 #kisslinux <dylanaraps> After your next 'kiss u', 'shared-mime-info' can be removed from your system.
2020-02-08T19:39:59 #kisslinux <dylanaraps> :D
2020-02-08T19:40:35 #kisslinux <dylanaraps> I figured out how to remove its use from gdk-pixbuf.
2020-02-08T19:54:34 #kisslinux <E5ten> Imagine having gdk-pixbuf :>)
2020-02-08T19:56:21 #kisslinux <dylanaraps> I swapped back to Firefox :<(
2020-02-08T19:56:51 #kisslinux <dylanaraps> I need my umatrix/ublock
2020-02-08T19:57:03 #kisslinux <E5ten> :(
2020-02-08T19:57:25 #kisslinux <dylanaraps> E5ten: About e2fsprogs, I get linker errors if I omit installing the libs
2020-02-08T19:57:30 #kisslinux <dylanaraps> (When not using util-linux)
2020-02-08T19:58:39 #kisslinux <E5ten> If they're statically linked how could that happen?
2020-02-08T19:58:54 #kisslinux <dylanaraps> Unless I'm statically linking them wrong
2020-02-08T19:59:04 #kisslinux <dylanaraps> (CFLAGS+=-static basically)
2020-02-08T19:59:14 #kisslinux <dylanaraps> Also --disable-shared iirc
2020-02-08T20:01:19 #kisslinux <E5ten> A. Should be LDFLAGS, B. might use libtool try adding both -static and --static
2020-02-08T20:01:53 #kisslinux <dylanaraps> Gotcha
2020-02-08T20:01:56 #kisslinux <E5ten> Once again we're in a situation where there's info you could use on my computer but I'm on a bus home for a while and still haven't updated my dotfiles repo lmao
2020-02-08T20:02:43 #kisslinux <dylanaraps> lol
2020-02-08T20:03:11 #kisslinux <dylanaraps> Ah
2020-02-08T20:03:15 #kisslinux <dylanaraps> That's what it was
2020-02-08T20:03:58 #kisslinux <dylanaraps>  /usr/bin/{blkid,findfs,uuidgen} are installed this way in e2fsprogs
2020-02-08T20:04:37 #kisslinux <dylanaraps> These conflict with util-linux when it *is* installed
2020-02-08T20:04:48 #kisslinux <dylanaraps> I wonder if they can be removed
2020-02-08T20:08:37 #kisslinux <dylanaraps> Done
2020-02-08T20:12:31 #kisslinux <dylanaraps> brb
2020-02-08T20:12:40 #kisslinux <sindavmi> I'm done with Discord. Hello irc!
2020-02-08T20:12:56 #kisslinux <sindavmi> Kiss (GNU/)Linux looks neato
2020-02-08T20:16:35 #kisslinux <dylanaraps> OK
2020-02-08T20:16:39 #kisslinux <dylanaraps> util-linux free now
2020-02-08T20:17:24 #kisslinux <dylanaraps> -> kiss l | wc -l
2020-02-08T20:17:24 #kisslinux <dylanaraps> 103
2020-02-08T20:17:27 #kisslinux <dylanaraps> :^)
2020-02-08T20:17:42 #kisslinux <dylanaraps> sindavmi: Hello
2020-02-08T20:17:58 #kisslinux <sindavmi> Hello
2020-02-08T20:18:00 #kisslinux <dylanaraps> You can drop the GNU :-P
2020-02-08T20:18:15 #kisslinux <sindavmi> :'(
2020-02-08T20:18:28 #kisslinux <sindavmi> But GNU is love and GNU is life
2020-02-08T20:18:46 #kisslinux <dylanaraps> I like a lot of GNU stuff
2020-02-08T20:18:47 #kisslinux <pltrz> it is not, friend
2020-02-08T20:19:00 #kisslinux <dylanaraps> Glibc is gross though
2020-02-08T20:19:05 #kisslinux <sindavmi> Aaah
2020-02-08T20:19:07 #kisslinux <sindavmi> I get it
2020-02-08T20:19:14 #kisslinux <dylanaraps> GNU grep is gud
2020-02-08T20:19:16 #kisslinux <sindavmi> I almost forgot that Kiss Linux is GNU free
2020-02-08T20:19:23 #kisslinux <sindavmi> :(
2020-02-08T20:19:26 #kisslinux <dylanaraps> Well, excluding gcc and friends
2020-02-08T20:19:30 #kisslinux <dylanaraps> KISS uses those :P
2020-02-08T20:19:55 #kisslinux <dylanaraps> But... Windows compiled with GCC wouldn't be called Windows GNU/NT would it? ;)
2020-02-08T20:20:26 #kisslinux <sindavmi> No
2020-02-08T20:20:33 #kisslinux <pltrz> if the utilities were linked against glibc it would
2020-02-08T20:20:34 #kisslinux <sindavmi> EXWM is acting badly today
2020-02-08T20:21:12 #kisslinux <pltrz> same as if you use glibc-based linux compiled with clang, it is still GNU/Linux
2020-02-08T20:21:22 #kisslinux <sindavmi> Wait, if I use Emacs for everything in Kiss, would it be called Emacs/Kiss Linux? (:
2020-02-08T20:21:29 #kisslinux <pltrz> at least that is my understanding
2020-02-08T20:22:00 #kisslinux <pltrz> sindavmi: emacs/busybox/kiss :P
2020-02-08T20:22:15 #kisslinux <dylanaraps> busybox is optional too ;)
2020-02-08T20:22:43 #kisslinux <dylanaraps> You're just stuck with musl really (unless you build your own kiss-chroot.tar.xz)
2020-02-08T20:23:30 #kisslinux <dylanaraps> And the kernel of course :^)
2020-02-08T20:27:50 #kisslinux <sindavmi> So I can use any kernel I want?
2020-02-08T20:27:57 #kisslinux <sindavmi> Does linux-zen work?
2020-02-08T20:28:41 #kisslinux <pltrz> pretty sure with just about any distro you can use any kernel you want
2020-02-08T20:29:06 #kisslinux <pltrz> as long as you remember to enable all the modules you need for the things on that setup
2020-02-08T20:29:37 #kisslinux <sindavmi> I want to use this distro, but what if sound doesn't work?
2020-02-08T20:29:58 #kisslinux <sindavmi> I am a huge media consoomer :-/
2020-02-08T20:30:09 #kisslinux <pltrz> I'd reccomend using whatever kernel the distro provides to start, then you can play around with a custom kernel if that's what you want
2020-02-08T20:30:26 #kisslinux <dylanaraps> We only have ALSA in the repositories but you can package/use whatever you like
2020-02-08T20:30:34 #kisslinux <sindavmi> I am using Artix and pulseaudio doesn't work
2020-02-08T20:30:35 #kisslinux <dylanaraps> ALSA works in everything though
2020-02-08T20:30:36 #kisslinux <dilyn> Sound worked basically out of the box for me with no issues, just needed the right kernel module
2020-02-08T20:30:46 #kisslinux <dylanaraps> (Including Firefox)
2020-02-08T20:30:59 #kisslinux <sindavmi> And I have no wifi drivers
2020-02-08T20:31:09 #kisslinux <dilyn> Build them!
2020-02-08T20:31:12 #kisslinux <dilyn> Easy peasy
2020-02-08T20:31:20 #kisslinux <sindavmi> I read the install guide for Kiss and the drivers are pretty easy to install
2020-02-08T20:31:32 #kisslinux <sindavmi> >Build them!
2020-02-08T20:31:37 #kisslinux <sindavmi> I can't find them
2020-02-08T20:31:43 #kisslinux <dylanaraps> The hardest part is the kernel
2020-02-08T20:31:47 #kisslinux <dylanaraps> The rest is fun :P
2020-02-08T20:31:58 #kisslinux <sindavmi> The longest*
2020-02-08T20:32:01 #kisslinux <dilyn> Even the kernel is fun
2020-02-08T20:32:01 #kisslinux <sindavmi> (-:
2020-02-08T20:32:29 #kisslinux <pltrz> > I can't find them
2020-02-08T20:32:29 #kisslinux <pltrz> > use a distro where you have working wifi, then use lspci -k to see what kernel module it's using
2020-02-08T20:32:45 #kisslinux <dylanaraps> This feature works too well. :D
2020-02-08T20:32:46 #kisslinux <dylanaraps> https://github.com/dylanaraps/dylan-kiss/tree/master/busybox
2020-02-08T20:32:47 #kisslinux <pltrz> that was my strategy in my gentoo days :P
2020-02-08T20:33:05 #kisslinux <sindavmi> Archlabs is working with wifi, but it is a bloated mess!
2020-02-08T20:33:13 #kisslinux <sindavmi> And I can just use Ethernet
2020-02-08T20:33:26 #kisslinux <dylanaraps> I started with 'make allnoconfig' lol
2020-02-08T20:33:34 #kisslinux <dylanaraps> Did it bit by bit by bit
2020-02-08T20:33:35 #kisslinux <sindavmi> Oh noes
2020-02-08T20:33:44 #kisslinux <pltrz> yeah same dylanaraps
2020-02-08T20:33:49 #kisslinux <dylanaraps> I could boot day 2
2020-02-08T20:33:58 #kisslinux <dylanaraps> Day 3 my touchpad worked
2020-02-08T20:34:04 #kisslinux <dylanaraps> And so on
2020-02-08T20:34:17 #kisslinux <pltrz> and I'd just use ubuntu which has every damn driver, with that lspci trick it's pretty easy to find them all
2020-02-08T20:34:23 #kisslinux <dylanaraps> Didn't realize I hadn't enabled multi-core for a while
2020-02-08T20:34:27 #kisslinux <dylanaraps> lol
2020-02-08T20:34:47 #kisslinux <pltrz> hahah
2020-02-08T20:34:58 #kisslinux <sindavmi> The first time I installed Gentoo and Crux, I configured the kernel by myself, and I felt proud
2020-02-08T20:35:04 #kisslinux <pltrz> fun times
2020-02-08T20:35:05 #kisslinux <sindavmi> genkernel is poison!
2020-02-08T20:35:44 #kisslinux <dylanaraps> 'make defconfig' will get you most of the way
2020-02-08T20:35:58 #kisslinux <dylanaraps> Then it's just hardware specific stuff really
2020-02-08T20:39:31 #kisslinux <dilyn> JOIN
2020-02-08T20:39:43 #kisslinux <sindavmi> oops
2020-02-08T20:39:47 #kisslinux <sindavmi> my lappy died
2020-02-08T21:06:48 #kisslinux <dylanaraps> Mine dies all the time
2020-02-08T21:06:56 #kisslinux <dylanaraps> I'm terrible with my charger
2020-02-08T21:16:27 #kisslinux <dilyn> I still can't get my battery detected so my laptop could die at literally any moment
2020-02-08T21:17:42 #kisslinux <dylanaraps> oof
2020-02-08T21:18:52 #kisslinux <dylanaraps> What laptop do you have?
2020-02-08T21:19:49 #kisslinux <dilyn> MacBook pro 11,1
2020-02-08T21:20:14 #kisslinux <dilyn> It took some finagling in arch but unless I did something extra I'm forgetting, it isn't working here
2020-02-08T21:20:59 #kisslinux <claudia> dylanaraps: I read your charger is crappy, do you need a new one?
2020-02-08T21:21:09 #kisslinux <dylanaraps> claudia: Yes
2020-02-08T21:21:22 #kisslinux <claudia> I have some spare for thinkpad whith round plug
2020-02-08T21:21:34 #kisslinux <dylanaraps> This current charger isn't even for my laptop
2020-02-08T21:21:39 #kisslinux <claudia> I am from germany btw not so far away (:
2020-02-08T21:21:45 #kisslinux <claudia> to send
2020-02-08T21:21:52 #kisslinux <dylanaraps> I have a Lenovo Yoga 900
2020-02-08T21:22:07 #kisslinux <dylanaraps> Which finding a charger for is a little tricky
2020-02-08T21:22:32 #kisslinux <dylanaraps> It works right now most of the time so it's fine
2020-02-08T21:22:56 #kisslinux <dylanaraps> I hate ordering things online so knowing me I'll wait till it breaks and then order one
2020-02-08T21:23:50 #kisslinux <dylanaraps> I opened my old charger and used some magic to keep it working the last time
2020-02-08T21:24:24 #kisslinux <dylanaraps> dilyn: Do you set acpi_osi=?
2020-02-08T21:24:25 #kisslinux <claudia> ah, internet says it needs some kind of usb-charger. I dont have this stuff :2020-02-08T21:24:36 #kisslinux <dylanaraps> claudia: Yeah, it's an odd laptop
2020-02-08T21:24:44 #kisslinux <dylanaraps> I'll order one online at some point
2020-02-08T21:24:56 #kisslinux <dylanaraps> Delivery here is a little funny
2020-02-08T21:25:03 #kisslinux <dylanaraps> No one has an address
2020-02-08T21:25:36 #kisslinux <dylanaraps> You get a call and the delivery guy will come to you
2020-02-08T21:25:43 #kisslinux <dylanaraps> Wherever you may be at that moment
2020-02-08T21:25:58 #kisslinux <claudia> that sound interesting for the delivery guy (:
2020-02-08T21:26:05 #kisslinux <claudia> *s
2020-02-08T21:26:08 #kisslinux <dilyn> I set acpi_osi=Darwin
2020-02-08T21:26:21 #kisslinux <dylanaraps> dilyn: That causes the issue
2020-02-08T21:26:27 #kisslinux <dylanaraps> But increases battery life :(
2020-02-08T21:26:54 #kisslinux <dilyn> See it was what I had to do to get it detected in Arch!
2020-02-08T21:27:14 #kisslinux <dilyn> But I'll try without
2020-02-08T21:27:46 #kisslinux <dylanaraps> > acpi_osi=Linux
2020-02-08T21:27:48 #kisslinux <dylanaraps> Try this one
2020-02-08T21:27:56 #kisslinux <dylanaraps> Also
2020-02-08T21:27:59 #kisslinux <dylanaraps> > acpi_osi="!Darwin"
2020-02-08T21:28:05 #kisslinux <dylanaraps> This may fix it entirely
2020-02-08T21:31:08 #kisslinux <dilyn> Well I'll be damned
2020-02-08T21:31:28 #kisslinux <dilyn> Both the last two options work, removing it didn't change anything
2020-02-08T21:31:36 #kisslinux <dylanaraps> Keep !Darwin
2020-02-08T21:34:13 #kisslinux <claudia> btw doas broke again for "kiss u" after last updates
2020-02-08T21:34:35 #kisslinux <E5ten> dylanaraps: "GNU grep is gud" lies :(
2020-02-08T21:35:22 #kisslinux <E5ten> I don't care if it's fast the existence of the PCRE thing is dumb enough to make it awful
2020-02-08T21:38:05 #kisslinux <dylanaraps> Oh yeah
2020-02-08T21:38:16 #kisslinux <dilyn> I want to know why this works but I don't care enough to actually dig as far as I am
2020-02-08T21:38:18 #kisslinux <dylanaraps> I just like it for its speeeeeeeeed
2020-02-08T21:38:26 #kisslinux <dilyn> Thanks for the rabbit hole Dylan
2020-02-08T21:38:39 #kisslinux <dylanaraps> dilyn: https://bugzilla.kernel.org/show_bug.cgi?id=176451
2020-02-08T21:38:44 #kisslinux <dylanaraps> There's some info here
2020-02-08T21:38:50 #kisslinux <dylanaraps> That's where I found !Darwin
2020-02-08T21:38:56 #kisslinux <dilyn> Stop that
2020-02-08T21:39:12 #kisslinux <dilyn> I thought my google-fu was impressive
2020-02-08T21:39:37 #kisslinux <E5ten> I'm not 100% sure but last time we talked greps I did a simplistic benchmark and iirc my results showed toybox grep somewhat slower than GNU and busybox ridiculously slower?
2020-02-08T21:39:58 #kisslinux <dylanaraps> Something like that
2020-02-08T21:41:21 #kisslinux <altius> Good night! Reporting again, after some crazy tries and stuff. Remember me? :)
2020-02-08T21:41:40 #kisslinux <dylanaraps> altius: Yup
2020-02-08T21:41:47 #kisslinux <dylanaraps> Progress?
2020-02-08T21:41:50 #kisslinux <dylanaraps> E5ten: https://freenode.logbot.info/kisslinux/20200115#c3091087
2020-02-08T21:41:58 #kisslinux <dylanaraps> > doing something that took toybox grep 0.491 seconds took busybox grep 6.265
2020-02-08T21:42:14 #kisslinux <dylanaraps> > dammit GNU grep is faster
2020-02-08T21:42:15 #kisslinux <dylanaraps> :^)
2020-02-08T21:42:16 #kisslinux <altius> I went like crazy trying to start X. Recompiled kernel, etc. Tried 4.19 and latest, no good. Then I had this crazy idea.
2020-02-08T21:43:22 #kisslinux <altius> What if I just copypasta my kernel from my /boot in MX Linux, plus all stuff inside /lib into kiss and, well, it seems so stupid it could work.
2020-02-08T21:44:16 #kisslinux <altius> Almost. Now I have a better graphical resolution on tty, and dmesg seems to inform that the ghostly radeon driver was loaded. (!)
2020-02-08T21:44:17 #kisslinux <E5ten> Imagine being busybox grep
2020-02-08T21:44:36 #kisslinux <dylanaraps> altius: You'll have to manually 'modprobe' everything you need
2020-02-08T21:44:44 #kisslinux <altius> But. startx fails as usual, same errors in var/log.
2020-02-08T21:44:53 #kisslinux <dylanaraps> See: https://getkiss.org/wiki/loading-a-module-at-boot
2020-02-08T21:44:59 #kisslinux <dylanaraps> E5ten: sad :(
2020-02-08T21:45:12 #kisslinux <altius> Seeing. Thanks, will try that and go back.
2020-02-08T21:45:26 #kisslinux <E5ten> Sad but not surprising given busybox's codebase lol
2020-02-08T21:45:27 #kisslinux <dylanaraps> altius: You can run 'lsmod' from MX Linux to get a list
2020-02-08T21:46:02 #kisslinux <altius> Even better. Thanks, going to try this. Will report back.
2020-02-08T21:46:05 #kisslinux <dylanaraps> E5ten: It's horrible.
2020-02-08T21:46:07 #kisslinux <E5ten> Tbh you should package toybox solely so you can have a non-GNU grep that's usable
2020-02-08T21:46:19 #kisslinux <dylanaraps> I have GNU grep :^)
2020-02-08T21:46:25 #kisslinux <dylanaraps> GNU GNU GNU GNU
2020-02-08T21:46:36 #kisslinux <E5ten> Is a sin
2020-02-08T21:46:54 #kisslinux <dylanaraps> tbh I need GNU yes to get 1gbps write speeds
2020-02-08T21:46:59 #kisslinux <dylanaraps> :^)
2020-02-08T21:47:40 #kisslinux <dylanaraps> I'll just write my own coreutils in bash
2020-02-08T21:47:42 #kisslinux <E5ten> How is it even possible for a yes implementation to be more or less optimized lol
2020-02-08T21:47:47 #kisslinux <dylanaraps> ooo
2020-02-08T21:47:50 #kisslinux <dylanaraps> I'll show you
2020-02-08T21:47:51 #kisslinux <E5ten> You already did that partially
2020-02-08T21:48:20 #kisslinux <dylanaraps> That's right
2020-02-08T21:48:24 #kisslinux <dylanaraps> https://old.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/?st=j3v3iw3c&sh=5651ea3c
2020-02-08T21:48:34 #kisslinux <dylanaraps> > [10.2GiB/s]
2020-02-08T21:48:58 #kisslinux <dylanaraps> I was wrong
2020-02-08T21:49:04 #kisslinux <dylanaraps> It's 10gbps
2020-02-08T21:50:53 #kisslinux <E5ten> Lol
2020-02-08T21:51:28 #kisslinux <dylanaraps> https://github.com/coreutils/coreutils/blob/master/src/yes.c
2020-02-08T21:51:34 #kisslinux <dylanaraps> That's why it's 100+ LOC
2020-02-08T21:51:40 #kisslinux <dylanaraps> Typical GNU
2020-02-08T21:52:01 #kisslinux <dylanaraps> Look at true: https://github.com/coreutils/coreutils/blob/master/src/true.c
2020-02-08T21:52:27 #kisslinux <dylanaraps> > Note true(1) will return EXIT_FAILURE in the edge case where writes fail with GNU specific options.
2020-02-08T21:52:34 #kisslinux <dylanaraps> I like that GNU true can fail...
2020-02-08T21:52:39 #kisslinux <E5ten> why does true have locale code in it what the fuckk
2020-02-08T21:52:50 #kisslinux <dylanaraps> Welcome to GNU
2020-02-08T21:53:11 #kisslinux <dylanaraps> Should literally just be 'return 0;'
2020-02-08T21:53:27 #kisslinux <E5ten> yeah toybox true is just return;
2020-02-08T21:58:13 #kisslinux <dylanaraps> UNIX v7 /bin/true: https://github.com/dspinellis/unix-history-repo/blob/Research-V7-Snapshot-Development/bin/true
2020-02-08T21:58:22 #kisslinux <dylanaraps> 10/10
2020-02-08T21:59:44 #kisslinux <E5ten> lol
2020-02-08T22:05:05 #kisslinux <altius> Hi again. No luck. Added "radeon" to busybox. Same logs again. So I'm taking a deep breath, let's see If we could put some light.
2020-02-08T22:05:44 #kisslinux <altius> First, let's see if I understand what's the logs really telling me. The relevant parts, I think, are:
2020-02-08T22:05:46 #kisslinux <altius> [    73.194] (EE) open /dev/dri/card0: No such file or directory[    73.194] (WW) Falling back to old probe method for modesetting[    73.194] (EE) open /dev/dri/card0: No such file or directory[    73.194] (EE) Screen 0 deleted because of no matching config section.[    73.194] (II) UnloadModule: "radeon"[    73.194] (EE) Screen 0 deleted because
2020-02-08T22:05:47 #kisslinux <altius> of no matching config section.[    73.194] (II) UnloadModule: "modesetting"[    73.194] (EE) Device(s) detected, but none match those in the config file.
2020-02-08T22:07:27 #kisslinux <altius> Why is not founding /dev/dri/card0? Well, that directory is pretty empty. Must be because of that. Why is it empty? Dunno.
2020-02-08T22:08:35 #kisslinux <altius> If the error is because bad compiling options, I had another idea.
2020-02-08T22:09:26 #kisslinux <dylanaraps> It's empty due to the kernel not detecting your GPU for whatever reason
2020-02-08T22:09:29 #kisslinux <dylanaraps> Not sure why.
2020-02-08T22:09:36 #kisslinux <dilyn> ^
2020-02-08T22:09:37 #kisslinux <altius> There is a file inside /boot in MX Linux which looks very like the .config one used to compile the kernel. May I try to use that and recompile another kernel again?
2020-02-08T22:09:45 #kisslinux <dylanaraps> It's hard for me to help as I'm not in front of your machine :(
2020-02-08T22:09:47 #kisslinux <dilyn> You could definitely try to do that
2020-02-08T22:10:52 #kisslinux <altius> Or the copypasta approach would be enough? Maybe I need to copy some other directories, archives or whatever from MX to KISS? (Avoiding clutter as possible, as this was the point, you know, KISS and all. ;)  ).
2020-02-08T22:11:28 #kisslinux <dilyn> The only relevant directory to copy over might be /usr/share/X11/xorg.conf.d, but that wouldn't be super useful if the kernel isn't actually identifying the card to begin with
2020-02-08T22:11:45 #kisslinux <dylanaraps> It'd be better if you compiled your own kernel for KISS
2020-02-08T22:11:46 #kisslinux <dilyn> plus that directory isn't usually useful for graphics unless you have an actual *display* issue, not a startx issue
2020-02-08T22:11:59 #kisslinux <dylanaraps> Any kernel from an initramfs based system will be tricky to manage
2020-02-08T22:12:08 #kisslinux <dylanaraps> Especially if there are a lot of modules
2020-02-08T22:12:23 #kisslinux <dilyn> build a kernel with all yes and see if it works haha
2020-02-08T22:13:21 #kisslinux <altius> There are a lotta modules indeed. I just added radeon to busybox, as I thought that was the one needed.
2020-02-08T22:13:47 #kisslinux <altius> Recompile is it, then. But, I will be needing linux-firmware anyway, will I?
2020-02-08T22:14:50 #kisslinux <altius> In that case, will suffice to cp -R the /lib/firmware from MX to KISS, or
2020-02-08T22:15:10 #kisslinux <altius> should I compile my own firmware too? Does those have to match or something?
2020-02-08T22:16:33 #kisslinux <altius> (As far as I have managed to explore, the compiling options in the kernel are... Argh. Too much. Will spend weeks just saying Y to all.
2020-02-08T22:17:08 #kisslinux <dilyn> you can generate a kernel with all y
2020-02-08T22:17:13 #kisslinux <altius> And then, some would need to be set as module, and totally f****d up again.) XD
2020-02-08T22:17:14 #kisslinux <dylanaraps> altius: If using firmware it must match the kernel driver. If radeon is =m, the firmware must live in /lib/firmware. If it is =y, it must be baked into the kernel.
2020-02-08T22:18:19 #kisslinux <dylanaraps> Here's mine for =y: https://termbin.com/md2oy
2020-02-08T22:18:26 #kisslinux <altius> Uhrm. As I have read in the config file in MX, radeon at least seems to be compiled as module.
2020-02-08T22:18:44 #kisslinux <dylanaraps> https://termbin.com/2gm0
2020-02-08T22:18:47 #kisslinux <dylanaraps> Fixed link
2020-02-08T22:19:08 #kisslinux <dylanaraps> Try it the way I've done it in the link
2020-02-08T22:19:41 #kisslinux <dylanaraps> Put the firmware files in /lib/firmware, specify them (with a space inbetween each one) and then build your kernel
2020-02-08T22:22:21 #kisslinux <altius> Would you not try first with the file as it comes in MX? It matches a 4.19 kernel, which is LTS, and the firmware I can just cp -R...
2020-02-08T22:24:13 #kisslinux <dylanaraps> altius: 'modprobe radeon' may not be enough.
2020-02-08T22:24:30 #kisslinux <dylanaraps> You'll need to modprobe *everything* which is a module
2020-02-08T22:24:47 #kisslinux <dylanaraps> Which is well... a lot in a typical distribution
2020-02-08T22:29:13 #kisslinux <altius> Aaargh. And then all those will actually load, will they? Not very kissy. ;)  Recompiling, just same question once more, just to be sure. Adding just your line, with radeon and (?), or the MX compiling config file?
2020-02-08T22:29:48 #kisslinux <dylanaraps> altius: The three lines in the link I pasted (the most recent one)
2020-02-08T22:29:55 #kisslinux <dylanaraps> Replacing my list of firmware for yours
2020-02-08T22:30:15 #kisslinux <dylanaraps> Ensure 'radeon' and friends are '=y' as well
2020-02-08T22:32:35 #kisslinux <altius> I see you have three i915, which are for the Intel modesetting driver, am I wrong? And the fourth one must be for your wifi card?
2020-02-08T22:33:24 #kisslinux <altius> I can live without wifi here. I'll search for the radeon ones.
2020-02-08T22:34:10 #kisslinux <dylanaraps> altius: Yes
2020-02-08T22:34:16 #kisslinux <dylanaraps> These are specific to my hardware
2020-02-08T22:34:20 #kisslinux <dylanaraps> Yours will be different
2020-02-08T22:34:49 #kisslinux <dylanaraps> My GPU/Wifi require firmware, yours may not (or you may not have Wifi at all)
2020-02-08T22:35:42 #kisslinux <altius> Wifi doesn't bother me, as this is a tower machine and always connected via ethernet plug.
2020-02-08T22:36:31 #kisslinux <altius> GPU, as it seems to be the one which doesn't let me into the awesomeness of sowm, does. ;)
2020-02-08T22:37:26 #kisslinux <altius> BTW, I installed sowm in a third machine of mine, via AUR. AWESOME. Now I know I can add all needed at startup just via .xinitrc.
2020-02-08T22:37:43 #kisslinux <dylanaraps> Nice
2020-02-08T22:38:49 #kisslinux <altius> If I could find a tiling windows script, as I can do natively in Openbox
2020-02-08T22:39:19 #kisslinux <altius> via adding a few lines in rc.xml, I would be really happy. :)
2020-02-08T22:40:26 #kisslinux <dylanaraps> Might be tricky as sowm has no EWMH/ICCCM support
2020-02-08T22:40:34 #kisslinux <dylanaraps> Or it could just work...
2020-02-08T22:41:21 #kisslinux <altius> Oh, sure it will be fun to try. Unfortunately, my search engine of choice is not
2020-02-08T22:42:04 #kisslinux <altius> showing lots of results with "sowm" related keywords. People still don't know. They will. XD
2020-02-08T22:42:52 #kisslinux <dylanaraps> "sowm github" is probably better
2020-02-08T22:44:15 #kisslinux <altius> Yep, but that brings us to your page. To be fair, you confessed that writing documentation is not really your thing. And let's say that documentation on sowm in github seems to be, say, scarce. XD
2020-02-08T22:45:29 #kisslinux <altius> I'm not complaining. I love it as it is. RAM hardly notes that has come out from tty and into X. XD
2020-02-08T22:46:13 #kisslinux <altius> And the minimalistic look with no window borders and all is what I really love. Just a nice wallpaper, and no clutter, no distractions. just apps doing its appy things. ;)
2020-02-08T22:53:09 #kisslinux <dylanaraps> Heh
2020-02-08T23:49:42 #kisslinux <altius> Well, here's the changes I made to the .config file:
2020-02-08T23:49:46 #kisslinux <altius> # Firmware loader#CONFIG_FW_LOADER=yCONFIG_EXTRA_FIRMWARE="mullins_ce.bin MULLINS_ce.bin mullins_me.bin MULLINS_me.bin mullins_mec.bin MULLINS_mec.bin mullins_pfp.bin MULLINS_pfp.bin mullins_rlc.bin MULLINS_rlc.bin MULLINS_rcl.bin mullins_sdma.bin MULLINS_sdma.bin mullins_sdma1.bin mullins_uvd.bin
2020-02-08T23:49:46 #kisslinux <altius> mullins_vce.bin"CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"CONFIG_FW_LOADER_USER_HELPER=yCONFIG_DRM_RADEON=yCONFIG_FB_RADEON=y# Graphics support#CONFIG_AGP=yCONFIG_AGP_AMD64=y
2020-02-08T23:50:20 #kisslinux <altius> Compiling now. Will report later.