libera/#devuan/ Tuesday, 2023-08-08

golinuxIn life most all the misery we experience is self-inflicted00:04
crhyloveHey y'all!  I got a new RTX laptop that won't boot with daedalus...00:05
crhyloveWhat's the quick and dirty fix?  Looks like it's crashing on the nouveau handoff.00:06
crhyloveSide note: I hate nouveau and will probably install real drivers ASAP, but can't get it to boot yet....00:06
crhyloveShould I try nouveau.blacklist=1 on the grub boot?00:09
gnarfacecrhylove: there's no expectation that nouveau will actually work on all nvidia cards00:12
gnarfaceyou'll probably need the real drivers00:12
crhyloveYes, I'll be installing them ASAP if I can get this to boot at all.00:12
crhyloveAlso getting the group sgx unknown halt...00:13
crhyloveHmmm00:13
gnarfacetry setting this in your /etc/default/grub file: GRUB_CMDLINE_LINUX="nomodeset"00:13
crhyloveTHAT'S the one.  Thanks...00:14
gnarfaceand remove "quiet" from that file too00:14
crhyloveWhere do I put GRUB_CMDLINE at?  Top of the file, or...?00:19
gnarfacei'm not sure the order matters, but on mine it was already present in the comments and i just edited it00:20
gnarfacedo you seriously not have a commented version of that file in place already?00:21
crhyloveStill hanging at nouveau enabling device....00:22
gnarfaceyou took out "quiet" ?00:22
crhyloveYeah.00:22
gnarfaceyou could try setting GRUB_GFXMODE=640x48000:22
gnarfaceor something like that00:23
crhyloveTried it at the top of the grub file and the bottom of it.00:23
gnarfaceor pass "vga=ask" on the command-line00:23
gnarfacebut i can't be sure there's anything that can be done for it00:23
crhyloveI'll try the GFXMODE one...00:23
gnarfacedid you run "update-grub" afterwards? you might have to, i forget...00:23
gnarfaceoh, yea my comments say you do00:24
crhyloveI can't even get to a console to do that.00:26
crhyloveSame hang at nouveau enabling device.00:26
crhyloveMaybe I need to install NVIDIA drivers during install?00:26
gnarfacewait how are you getting to a console to edit the /etc/default/grub file if you can't run update-grub?00:27
crhyloveI'm pressing e in the advanced area of grub.00:27
gnarfacethat's not the same thing, and wouldn't require running update-grub00:27
gnarfacealso it wouldn't persist through multiple boots00:28
crhyloveNo, I know, I've been typing the commands in manually every time.00:28
gnarfaceyou'll just have to boot something else and chroot in to fix this00:28
crhyloveBut none of them have gotten me to boot yet.00:28
gnarfacethe installer image you used should work00:28
crhyloveAh, from the USB key then?00:28
crhyloveroger... BRB00:28
gnarfaceyes00:28
gnarfaceusually you can at least get a text console with nouveau, but if you installed a graphical login that might be sabotaging you00:30
gnarfaceand i haven't used it in quite a while, so i don't know off the top of my head if there's extra issues with this new card or not, but it has a very bad track record with new devices00:31
ted-iousgnarface: Yes I generated all the locales to see how much space they would use.00:35
gnarfacei think the grub package you were looking for was grub-pc00:36
crhyloveHmmm  Trying to figure it out.  Booted to the USB key, searching for the existing root directory.00:36
crhyloveNow clients are calling me.  Must be Monday.00:37
gnarfacecrhylove: just alt+f4 over to the empty console and mount it from there00:37
gnarfacei think it's F400:38
gnarfaceyou'll need to also bind-mount a couple things00:38
gnarface /sys, /proc, and /dev, at least00:38
gnarfacelet me know if you need help00:39
gnarface"rescue mode" from the main menu might also have worked00:40
crhyloveYeah, rescue mode is the one I am in....00:46
gnarfacedoesn't rescue mode just dump you into the rootfs in single user mode?00:50
gnarfaceor does it put you in an initrd shell or something?00:50
crhyloveNo... LOL, I don't know where it dumped me... I'll try a different option00:50
crhyloverebooting now.00:51
gnarfacefrom the regular install process you should be able to get a terminal on one of the extra virtual consoles00:52
gnarfacethen you can mount the rootfs from there00:52
crhyloveok, I'm into the root console.  Am I editing grub.cfg?  And what should I try first, the nomodeset one?01:08
crhyloveTook me a second to figure out which partition I needed to mount...01:08
gnarfaceno, edit /etc/default/grub01:08
gnarfacethen run update-grub01:09
gnarfacebut you need to also need to make sure you bind mounted /sys, /proc, /dev and in some cases /dev/pts into the chroot first before you actaully chroot in01:09
gnarfaceor update-grub won't find the right disk to update01:09
gnarface(actually i think most stuff doesn't need /dev/pts for this but i can't remember all the things that did, so i usually recommend mounting it too for good measure)01:10
gnarfaceediting grub.cfg directly might actually work but it's a generated file and your changes will be overwritten without warning01:13
crhyloveI'm in!01:17
crhyloveNow to manually install the nvidia drivers.... *fingers crossed*01:17
gnarfacewait, so you manage to get it to boot to a text console, or you mean you're just chrooted in still?01:17
gnarfacewell, either way make sure you're using the nvidia drivers from the repo and not from nvidia.com01:18
gnarfaceand note that they've been moved from "non-free" to a new section called "non-free-firmware" as of daedalus01:18
crhyloveAh... so don't install the NVIDIA ones from their website?01:23
gnarfacedefinitely not01:23
gnarfaceit's one of those things that will probably work when you do it but it will break stuff later down the road because their shell script isn't dependency-aware01:24
gnarfaceit just sprays unpackaged files all over the placea01:24
gnarface*place01:25
gnarfaceso it's basically fine until the next time you try to upgrade the distro and everything blows up and you don't know why01:25
crhyloveI'm in synaptic and I can't find nvidia-drivers01:28
crhyloveShould I install bumblebee, or...?01:28
gnarfaceno01:28
gnarfaceyou need to fix your /etc/apt/sources.list file first probably01:28
crhyloveit had nonfree-firmware already in it.01:29
gnarfaceor maybe synaptic has a checkbox for "non-free-firmware" somewhere, not sure, i don't use it01:29
gnarfaceget a console open and run "apt-cache search ^nvidia"01:29
crhylovenvidia gsp firmware?01:30
gnarfaceprobably not01:30
gnarfacethere should be like 25 packages with nvidia in front of their names though01:30
gnarfaceyou don't see those?01:31
crhylovenope.  gsp, bumblebee, vaapi, some C libraries.01:31
crhyloveNo drivers.01:31
gnarfacealright, we have to sanity check your sources.list01:32
gnarfaceactually, no we don't01:32
gnarfacei'll just give you something to change it to, stand by01:32
gnarfacecrhylove: here, change it to this https://paste.debian.net/1288215/01:33
gnarfacethen run "apt-get update && apt-cache search ^nvidia"01:34
crhyloveCool!  Installing nvidia-driver and all dependencies.01:40
crhyloveWill reboot and report back shortly. :D01:40
gnarfacegood luck01:41
gnarfacecrhylove: oh, wait01:42
gnarfaceyou probably want to remove GRUB_CMDLINE_LINUX="nomodeset" from your /etc/default/grub file and replace it with GRUB_GFXPAYLOAD_LINUX="keep" now01:42
crhyloveGood call.01:43
crhyloveWill rem that one out just in case.01:43
gnarfacedon't forget "update-grub"01:43
debdoggnarface: do I need the deb-src repos if I intend to install the nvidia driver from there?01:47
gnarfacedebdog: not sure actually, but you do need the linux-headers package for your kernel along with dkms and some other build deps so it's probably a good idea to keep them just in case01:48
debdogas mentioned in https://paste.debian.net/1288215/01:48
debdogok01:48
gnarfacei think they're just for source packages so you could try without them01:49
debdogas soon as I update to daedalus I will bother you with more nvidia-packages questions01:49
gnarfaceno problem01:49
crhyloveupdate-grub command not found.  WTF?01:50
gnarfaceoh, it's in /usr/sbin/ and in their infinite wisdom the assholes at debian removed /usr/sbin from root's default path01:51
gnarfaceyou can put it back. find the ENV_SUPATH variable in /etc/login.defs01:52
gnarface(just more casual vandalism from upstream developers working on it under duress while trying to get jobs at Microsoft)01:53
crhyloveugh....  I hate that so much01:55
gnarfaceat least it's just a one line config change instead of a patch and rebuild this time01:55
gnarfacehere's the old default, for reference: ENV_SUPATH      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin01:56
gnarfaceyou'll have to relog for the change to take effect01:56
crhyloveHuh... so now I'm getting stuck during boot on IPV6 : ADDRCONF, which I have IPV6 disabled on my network.02:00
gnarfacehmm, that's a new one02:00
gnarfaceare you using dhcp?02:01
crhyloveYeah02:01
gnarfaceis it possible ipv6 is not disabled in dhcp?02:01
crhyloveHuh, and recovery crashes at the same spot.  *sigh*02:01
crhyloveAt least I know which partition to mount from the USB key now.  LOL02:01
gnarfacei would try a static ip02:02
crhyloveCould be.02:02
crhyloveYeah, I can do that.02:02
crhyloveI can actually set that static in the router....02:02
gnarfaceyou mean in dhcp still? well, an interesting test, worth a try02:02
gnarfacei meant to actually just hardcode a ip address in /etc/network/interfaces just to see if that dodges the issue but changing it in dhcp should work too if the hypothesis is corred02:03
gnarface*correct02:03
gnarfacefor that matter it should be possible to just tell the dhcp server not to use ipv6 at all, but if it's some built-in feature of a plastic toy router i couldn't be sure02:07
rhy_Huh... So I enabled IPV6 on my network, rebooted the router, and still hanging at the same spot.  Must not be ipv6 related.02:10
gnarfacehmm, is it possible you're missing ethernet firmware or something?02:11
gnarfacesome network devices also require a non-free-firmware package02:11
gnarfacethis is especially true for wifi devices02:11
gnarfacerhy_: is it a wireless device?02:12
rhy_Yeah, but I don't think that's the issue.02:17
rhy_It's grabbing an IP right away.02:17
rhy_I think something else is crashing during start up.02:17
rhy_Need to go look in /var/log maybe....02:17
rhy_I'm going back to nomodeset to see if it will boot.02:19
rhy_Then look at the logs.02:19
rhy_Looks like it's crashing at nvidia persistence daemon.02:32
gnarfacehah02:33
gnarfacenvidia-persistenced strikes again!02:34
gnarfacerhy_: just uninstall that cursed piece of trash, it never works and you don't need it02:34
gnarfaceif you "apt-get purge nvidia-persistenced" it should get removed alone, and nothing else should get pulled with it, but pay attention to make sure that's the case02:35
gnarface(this has been coming up a lot lately but it's not a new issue)02:35
rhy_Yeah, I removed it, still won't boot.  :/02:39
rhy_I didn't purge though.....02:39
gnarfacehmm, shouldn't matter that much i wouldn't think...02:40
gnarfaceany new error?02:40
gnarfaceand is it the boot that's crashing or just the graphical startup?02:41
gnarfaceif it's just the graphical startup that's actually crashing make sure you're in the "video" group02:41
gnarfaceif you've installed a graphical login the distinction between it starting and the kernel itself booting may not be super clear02:42
gnarfaceif it's the graphical environment crashing, the relevant errors would be in /var/log/Xorg.0.log02:46
gnarfacerhy_: ^02:58
gnarfacebrb04:17
onefangDid anything I need to know about happen here in the last couple of days?06:50
GoatAvengeronefang, not that I'm aware of..07:26
onefangCool, and thanks.07:26
gnarfaceonefang: nothing as far as i know07:58
onefangThanks as always gnarface.08:30
ted-iousI found more debian decay that has crept into devuan.11:20
ted-ioustouch /forcefsck no longer works.11:20
ted-iousNeither does fsck.mode=force in /etc/default/grub grub_cmdline_linux_default which is supposed to be the new systemd way.11:21
ted-iousI haven't found a way to get around it yet.11:22
ted-iousSingle user doesn't work properly either.11:26
ted-iousFor some reason it runs dhcpcd which requires / to be mounted rw so you can't remount it ro.11:28
rrqI guess dhcpcd would be because networking is started (?)11:46
rrqfsck seems to need a fsck.repair=yes setting as well to be automated11:47
ted-iousSo both in the grub_cmdline_linux_default?12:00
ted-iousWhy disable the sane behavior in the system and require a kernel argument to enable it back again?12:01
ted-iousDebian makes less sense to me every year.12:01
rrqit should be possible to add them manually once-off to the boot command line.. otherwise adding to that setting and upgrade-grub12:04
ted-iousRight.12:04
rrqeh update-grub I guess12:04
ted-iousLet's make something less useful by default so you can feel accomplished when you make it more useful later.12:05
rrq"why make it difficult when's it's so easy to make it impossible"12:05
ted-iousGood point.12:06
ted-iousI should be quiet or they might get even worse ideas.12:06
rrqyeah there's the -offtopic channel as well; keeping this for support12:11
Necrodiverfsmithred I have a question about keyboard settings. That Dell latitude 5490 you helped me with the installation on, for some reason the keyboard layout isnt properly recognized, and since I use Japanese as well, I need to have the keyboard set properly or else many of the keys wont work properly. Do you happen to know what keyboard/keyboard type i should use for that specific computer?12:24
fsmithredNecrodiver, I don't know what keyboard settings you should use. There's a section in debian wiki for installing on dell: https://wiki.debian.org/InstallingDebianOn/Dell15:34
Necrodiverfsmithred thanks, ill look into it17:05
micdudanyone know how to debug with an nfsv4 server ( freebsd client unable to mount )17:42

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!