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