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

View Raw

More Information

⬅️ Previous capture (2021-12-17)

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

2020-02-01T03:53:22 #kisslinux <krunkleton> hey, I have a problem where I can only boot with the nomodeset kernel parameter, otherwise the boot freezes at "fb0: switching to amdgpudrmfb from efi vga"
2020-02-01T03:55:55 #kisslinux <mforney> can you paste your .config somewhere?
2020-02-01T03:57:30 #kisslinux <krunkleton> https://pastebin.com/Nk76eJiS
2020-02-01T04:07:48 #kisslinux <mforney> can you ssh into the machine after it boots to see if there's anything suspicious in dmesg?
2020-02-01T04:10:27 #kisslinux <krunkleton> well I've never set up ssh before but I could give it a shot
2020-02-01T04:21:19 #kisslinux <icyphox> huh, that's weird: building gdb by hand doesn't error out
2020-02-01T04:21:29 #kisslinux <icyphox> but when i 'kiss b' it, it does
2020-02-01T04:22:21 #kisslinux <icyphox> here's the error:
2020-02-01T04:22:41 #kisslinux <icyphox> make[5]: *** [Makefile:565: stabs.info] Error 127
2020-02-01T04:22:43 #kisslinux <icyphox> WARNING: 'makeinfo' is missing on your system.
2020-02-01T04:46:13 #kisslinux <krunkleton_> yeah some of the firmware is erroring out
2020-02-01T04:47:34 #kisslinux <krunkleton_> https://pastebin.com/07PBWEQQ
2020-02-01T04:50:56 #kisslinux <krunkleton_> ahh there it is, it's looking for amdgpu/oland_mc.bin but it's in radeon/
2020-02-01T04:51:21 #kisslinux <mforney> that'll do it
2020-02-01T05:07:01 #kisslinux <krunkleton_> hmm now make is spitting out clock skew detected, stuff was modified 3 minutes in the future
2020-02-01T05:10:34 #kisslinux <icyphox> http://sourceware-org.1504.n7.nabble.com/Bug-compile-18113-New-GDB-7-9-fails-to-build-when-makeinfo-is-not-installed-td305404.html
2020-02-01T05:10:37 #kisslinux <icyphox> ah
2020-02-01T05:10:52 #kisslinux <icyphox> there's a hack for it, but i don't think i'd want to use that
2020-02-01T05:23:30 #kisslinux <krunkleton_> ok got my kernel sorted out, now I can't kiss update or kiss build, it tells me $KISS_PATH needs to be set but echo $KISS_PATH works
2020-02-01T05:26:06 #kisslinux <mforney> is it exported?
2020-02-01T05:26:55 #kisslinux <krunkleton_> it is in /etc/profile.d/kiss_path.sh
2020-02-01T05:28:01 #kisslinux <krunkleton_> now I just tried it again and it worked
2020-02-01T05:30:30 #kisslinux <krunkleton_> weird
2020-02-01T05:50:26 #kisslinux <krunkleton_> oh it doesn't work with sudo
2020-02-01T09:08:56 #kisslinux <dylanaraps> `o/
2020-02-01T14:22:55 #kisslinux <krunkleton_> so I got X up and running, only the keyboard and mouse don't work. I can ssh in and I don't see any errors in Xorg.log and nothing in dmesg
2020-02-01T14:26:50 #kisslinux <dylanaraps> Do you have libinput/xf86-input-libinput installed?
2020-02-01T14:26:55 #kisslinux <dylanaraps> Are you in the input group?
2020-02-01T14:28:11 #kisslinux <krunkleton_> yes to both
2020-02-01T14:28:34 #kisslinux <dylanaraps> Have you enabled the right kernel options?
2020-02-01T14:29:44 #kisslinux <dylanaraps> Mine as an example: https://termbin.com/k0zu
2020-02-01T14:30:25 #kisslinux <dylanaraps> Do you have eudev installed?
2020-02-01T14:31:07 #kisslinux <dylanaraps> Does /dev/input contain any files?
2020-02-01T14:31:08 #kisslinux <krunkleton_> definitely missing most of those... just a min
2020-02-01T14:48:28 #kisslinux <krunkleton_> ok so I fixed the kernel and still the same problem. eudev is installed, but /dev/input does not exist
2020-02-01T14:53:24 #kisslinux <dylanaraps> Do you have: CONFIG_DEVTMPFS ?
2020-02-01T14:54:15 #kisslinux <krunkleton_> yes and CONFIG_DEVTMPS_MOUNT
2020-02-01T14:55:57 #kisslinux <dylanaraps> Can I see your dmesg?
2020-02-01T14:58:34 #kisslinux <krunkleton_> https://pastebin.com/iA38yBrP
2020-02-01T14:59:15 #kisslinux <krunkleton_> hmm wait
2020-02-01T15:01:40 #kisslinux <dylanaraps> > [    1.800784] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:08.1/0000:0f:00.3/usb5/5-1/5-1:1.1/0003:046D:C52B.0002/input/input3
2020-02-01T15:01:46 #kisslinux <dylanaraps> It's finding input devices
2020-02-01T15:04:19 #kisslinux <krunkleton_> think I forgot to mount /boot so it's booting from the kernel with a bunch of CONFIG_INPUT stuff missing
2020-02-01T15:08:08 #kisslinux <claudia> krunkleton_: do you have a font installed like mentioned on install guide?
2020-02-01T15:32:13 #kisslinux <dylanaraps> icyphox: https://github.com/kisslinux/repo/commit/b93e8ace77a9e39a3935826f7c9b544aa6d34bf7
2020-02-01T15:32:21 #kisslinux <dylanaraps> Came across the makeinfo not found error too.
2020-02-01T15:33:38 #kisslinux <konimex> adamantium: can you change the name package from "psproc-ng" to "procps-ng"? because there's no such thing as psproc-ng
2020-02-01T15:34:14 #kisslinux <adamantium> ok
2020-02-01T15:34:28 #kisslinux <dylanaraps> Heh, missed the naming
2020-02-01T15:34:29 #kisslinux <dylanaraps> My bad
2020-02-01T15:34:53 #kisslinux <icyphox> dylanaraps: oh cool. that's the hacky fix i was referring to earlier.
2020-02-01T15:35:04 #kisslinux <icyphox> guess i'll do that too
2020-02-01T15:35:47 #kisslinux <dylanaraps> Older binutils releases correctly disabled info docs if makeinfo was unavailable
2020-02-01T15:35:54 #kisslinux <dylanaraps> This new release broke it :(
2020-02-01T15:36:59 #kisslinux <dylanaraps> Neat, swapping coreutils to GNU is as simple as: kiss a | grep coreutils | kiss a -
2020-02-01T15:37:10 #kisslinux <adamantium> dylanaraps:  check pciutils again
2020-02-01T15:37:49 #kisslinux <dylanaraps> OK
2020-02-01T15:38:12 #kisslinux <dylanaraps> Neat
2020-02-01T15:38:20 #kisslinux <dylanaraps> It still uses CC/CFLAGS?
2020-02-01T15:38:28 #kisslinux <adamantium> lol i dk
2020-02-01T15:38:41 #kisslinux <adamantium> should i put that back?
2020-02-01T15:39:38 #kisslinux <dylanaraps> Depends on if it does or not
2020-02-01T15:39:42 #kisslinux <dylanaraps> You may also need to add: chmod -v 755 "$1/usr/lib/libpci.so"
2020-02-01T15:39:49 #kisslinux <dylanaraps> At the end of the script
2020-02-01T15:39:59 #kisslinux <dylanaraps> '-v' can be removed
2020-02-01T15:40:10 #kisslinux <krunkleton_> that was it, I fixed the kernel and now keyboard/mouse work in xorg but xorg only starts as root
2020-02-01T15:41:29 #kisslinux <dylanaraps> Any error when started as a user?
2020-02-01T15:41:38 #kisslinux <dylanaraps> (In the log for example)
2020-02-01T15:41:45 #kisslinux <dylanaraps> Are you in the video group?
2020-02-01T15:42:04 #kisslinux <dylanaraps> You also need to be in the audio group for ALSA to work :P
2020-02-01T15:43:23 #kisslinux <krunkleton_> am in wheel/audio/video/input groups. log is at https://pastebin.com/4758H1SA
2020-02-01T15:45:07 #kisslinux <adamantium> dylanaraps: proccps-ng has been renamed na PR'd, howver, seems GH wasn't smart enough to figure out what happened. The old one just needs to be dropped
2020-02-01T15:45:28 #kisslinux <adamantium> renamed /and/ PR'd
2020-02-01T15:46:29 #kisslinux <dylanaraps> krunkleton_: Looking into the error
2020-02-01T15:46:31 #kisslinux <dylanaraps> Thanks
2020-02-01T15:46:37 #kisslinux <dylanaraps> adamantium: Will fix, thanks
2020-02-01T15:46:45 #kisslinux <icyphox> hey dylanaraps, i've a bash related query; it's off-topic
2020-02-01T15:46:47 #kisslinux <icyphox> can i pm?
2020-02-01T15:46:54 #kisslinux <adamantium> just say it icyphox
2020-02-01T15:47:02 #kisslinux <icyphox> i mean, sure alright
2020-02-01T15:47:08 #kisslinux <adamantium> Lots of people in here help me with my scripts all the time ;)
2020-02-01T15:47:08 #kisslinux <dylanaraps> ^
2020-02-01T15:47:09 #kisslinux <dylanaraps> :P
2020-02-01T15:47:23 #kisslinux <icyphox> so i want to print stuff to the center of the screen
2020-02-01T15:47:26 #kisslinux <krunkleton_> thanks
2020-02-01T15:47:32 #kisslinux <icyphox> and i want to print a multi-line variable
2020-02-01T15:47:37 #kisslinux <dylanaraps> Vertically and horizontally?
2020-02-01T15:47:38 #kisslinux <icyphox> so far the first line prints to teh center
2020-02-01T15:47:41 #kisslinux <icyphox> yes dylanaraps
2020-02-01T15:47:53 #kisslinux <icyphox> and the rest get realigned to the last char of the prev line
2020-02-01T15:47:55 #kisslinux <icyphox> let me show a scrot
2020-02-01T15:48:17 #kisslinux <icyphox> https://x.icyphox.sh/kBi.png
2020-02-01T15:48:21 #kisslinux <icyphox> this is what's happening
2020-02-01T15:48:41 #kisslinux <icyphox> i'd like them all to line up correctly
2020-02-01T15:49:31 #kisslinux <dylanaraps> Gotcha
2020-02-01T15:50:49 #kisslinux <adamantium> dylanaraps: there is no libpci.so . there is only libpci.a
2020-02-01T15:50:53 #kisslinux <adamantium> (in usr/lib)
2020-02-01T15:51:14 #kisslinux <adamantium> i readded the ZLIB=no and CFLAGS to the first mark
2020-02-01T15:51:16 #kisslinux <adamantium> make*
2020-02-01T15:52:29 #kisslinux <dylanaraps> adamantium: Ah, it is statically compiled then
2020-02-01T15:52:51 #kisslinux <adamantium> dylanaraps: shall we use this for the first make:
2020-02-01T15:52:52 #kisslinux <adamantium> make CC="${CC:-gcc}" OPT="$CFLAGS" ZLIB=no all
2020-02-01T15:53:03 #kisslinux <adamantium> or just "make all" <---
2020-02-01T15:53:06 #kisslinux <adamantium> It builds both ways
2020-02-01T16:01:43 #kisslinux <dylanaraps> icyphox: naive way of doing it https://termbin.com/9lvfc
2020-02-01T16:03:00 #kisslinux <dylanaraps> krunkleton_: Workaround for now: chmod +s /usr/bin/Xorg
2020-02-01T16:03:03 #kisslinux <icyphox> dylanaraps: diff b/w using 'e' and '033'?
2020-02-01T16:03:15 #kisslinux <dylanaraps> In bash it doesn't matter
2020-02-01T16:03:17 #kisslinux <dylanaraps> I'd go for e
2020-02-01T16:03:24 #kisslinux <dylanaraps> In POSIX shell 033 is more portable
2020-02-01T16:03:32 #kisslinux <icyphox> ah
2020-02-01T16:03:34 #kisslinux <icyphox> gotcha
2020-02-01T16:03:35 #kisslinux <dylanaraps> I think bash turns it into 033 underneath
2020-02-01T16:04:27 #kisslinux <adamantium> I have to get going
2020-02-01T16:04:40 #kisslinux <adamantium> Have a good day
2020-02-01T16:04:48 #kisslinux <krunkleton_> dylanaraps: ok, thanks
2020-02-01T16:05:25 #kisslinux <dylanaraps> krunkleton_: https://www.x.org/wiki/FAQErrorMessages/
2020-02-01T16:05:31 #kisslinux <dylanaraps> See: "I keep getting the message: "AddScreen/ScreenInit failed for driver 0"
2020-02-01T16:05:47 #kisslinux <dylanaraps> Is the fix in any way related?
2020-02-01T16:06:35 #kisslinux <krunkleton_> I am using a pretty old GPU. not sure how I could delete modes though
2020-02-01T16:07:10 #kisslinux <dylanaraps> I don't think it's related actually
2020-02-01T16:07:14 #kisslinux <dylanaraps> Disregard that
2020-02-01T16:19:00 #kisslinux <icyphox> am i being dumb or...
2020-02-01T16:19:14 #kisslinux <icyphox> dylanaraps: dividing the lines and cols by 2 should print at the center right
2020-02-01T16:19:27 #kisslinux <icyphox> it doesn't seem centered...
2020-02-01T16:21:46 #kisslinux <dylanaraps> It's a naive method of doing it
2020-02-01T16:22:05 #kisslinux <dylanaraps> Think of it like centering a fixed size "box" which the text sits inside of
2020-02-01T16:22:30 #kisslinux <icyphox> i see
2020-02-01T16:22:55 #kisslinux <icyphox> any way to acheive true centering?
2020-02-01T16:22:57 #kisslinux <icyphox> :D
2020-02-01T16:28:23 #kisslinux <aarng> can't you simply add (cols - str_len)/2 spaces at the beginning of each line, icyphox?
2020-02-01T16:28:55 #kisslinux <icyphox> hmm
2020-02-01T16:28:58 #kisslinux <icyphox> i suppose
2020-02-01T16:29:33 #kisslinux <aarng> you can get a variable amount of whitespace with printf '%'$len'sn' "line"
2020-02-01T16:30:09 #kisslinux <aarng> actually, just printf "%${len}sn" is fine
2020-02-01T16:30:28 #kisslinux <icyphox> oh, neat
2020-02-01T16:30:31 #kisslinux <icyphox> let me try that
2020-02-01T16:30:32 #kisslinux <aarng> no wait, Im dumb
2020-02-01T16:31:09 #kisslinux <aarng> printf "%$lens%sn" " " "$line"
2020-02-01T16:31:11 #kisslinux <aarng> like so maybe
2020-02-01T16:31:15 #kisslinux <dylanaraps> aarng: printf '%*sn' "$len" "$line"
2020-02-01T16:31:24 #kisslinux <aarng> hah, better
2020-02-01T16:31:27 #kisslinux <icyphox> ah
2020-02-01T16:31:29 #kisslinux <dylanaraps> This will center everything like (text-align: center)
2020-02-01T16:31:38 #kisslinux <dylanaraps> You want center + justified text
2020-02-01T16:31:58 #kisslinux <dylanaraps> Which I do the easy way with a fixed width box
2020-02-01T16:34:47 #kisslinux <icyphox> hmm
2020-02-01T17:22:02 #kisslinux <icyphox> >trap 'code_here' RETURN
2020-02-01T17:22:13 #kisslinux <icyphox> dylanaraps: does 'code_here' imply the function that's returning?
2020-02-01T17:22:26 #kisslinux <icyphox> i don't understand how this trap works
2020-02-01T17:43:32 #kisslinux <dylanaraps> It's code
2020-02-01T17:43:42 #kisslinux <dylanaraps> It is basically 'eval' on a signal
2020-02-01T18:26:09 #kisslinux <adamantium> dylanaraps: I am back. Is there anything I need to do still for pciutils?
2020-02-01T22:37:03 #kisslinux <mforney> looks like the makeinfo issue is caused by https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2b44a6a237320a390284b1a8237a6bed67d5401f;hp=89ae5e692398f008d06a8e38d1b531131f41a683
2020-02-01T22:37:19 #kisslinux <mforney> with the justification "I am not sure why the last one was in MAINTAINERCLEANFILES"