|
Pardon my vomit but maybe you see something here that looks wrong. I'm about to reboot after doing all this and will be looking back at it if I still get screwed. I guess I could pastebin but I may edit in place. Let me know if this is too much crap in one post.code:
Rocko Bonaparte fucked around with this message at 23:49 on May 31, 2022 |
# ? May 31, 2022 21:56 |
|
|
# ? May 18, 2024 01:03 |
|
Conclusion to the mess (well, so far): I got it working with the boot-repair utility in Ubuntu but only after one retru. Recall I was in a LiveUSB with an encrypted disk that had my stuff on it. The first time I tried it, I had already decrypted the disk. Boot Repair complained that I should decrypt the partition /dev/sda3 and as an example named it "myvolume." Whatever, I just rolled with it. The chroot commands it was telling me to enter wouldn't work as-is but I interpreted them and got through it. Except it didn't boot. I deserved it. Given all those variables, I just restarted into the LiveUSB, didn't decrypt the disk, and literally named it "myvolume" when Boot Repair complained about it. This time all recommended the commands worked fine. What came out the other end was a bootable grub menu. So, what the gently caress? I had speculated at the end that something went wrong with decrypting the main drive during boot. The uuid that grub was using everywhere was for the decrypted volume, not the encrypted one. This included the search uuid in /boot/efi/EFI/ubuntu/grub.cfg. The search.fs_uuid command that lead off that configuration was using my decrypted volume's uuid. When I tried to manually load this .cfg file using the configfile command in grub, it complained the volume wasn't found. Well, it didn't complain so much as very quickly flash a message about it before flinging me back into the grub command line, but I deciphered it after trying the command a few times. The Boot Repair utility managed to figure out what to do, which had ... nothing to do with the encrypted or decrypted uuids at all! The EFI grub.cfg needed to use the uuid for my /boot partition (/dev/sda2). So, how the gently caress did the efi grub.cfg get changed in the first place? I don't know. I wasn't wading around in there. But now I know what to sniff for if it happens again (oh God I hope not). While getting everything back up, I managed to find that nouveau.blacklist=1 and modprobe.blacklist=nouveau were not enough kernel parameters to block the nouveau driver. I ultimately also needed to add nouveau.modeset=0. I don't know if that's the only actual flag I needed, and I don't really feel like finding out. I can say though that normal module blacklisting just wasn't enough. I'm amazed with how tightly coupled the nouveau driver is in this kernel! My day job has veered into building internal kernel stuff with lots of driver poo poo and none of it is stapled so tight to the kernel itself that you have to throw a slurry of kernel flags at the boot options to disable one of them. And this is with me working with a bunch of electrical engineers who did one semester of C and are stuck in that poo poo show. Thank you for listening to my TED Talk.
|
# ? Jun 1, 2022 05:47 |
|
Con someone recommend a webcam that works out-of-the-box on Ubuntu? After fiddling to no avail with some cheap amazon one, I decided to return it and just ask the thread.
|
# ? Jun 1, 2022 22:56 |
The Atomic Man-Boy posted:Con someone recommend a webcam that works out-of-the-box on Ubuntu? After fiddling to no avail with some cheap amazon one, I decided to return it and just ask the thread. That's how basically every single webcam works and is known as the Video4Linux2 API that's being used - that should give you enough to go on for finding out more, although it's very possible that you need to install something to handle the API. On FreeBSD, webcams work through multimedia/webcamd - although ironically that still supports V4L1 features and codecs that was dropped from Linux. I have the cheapest 1080p Sandberg webcam I could find, and it works great for the few times I've had occasion to use it for WebRTC video conferencing in Firefox - with the caveat that I usually have to do some user-agent fuckery, but that's not unheard of on Linux either, from what I've been told.
|
|
# ? Jun 1, 2022 23:05 |
|
I think I have a Logitech C922 and it has given me absolutely no problems in Linux. That is high praise! I got 99 problems but my webcam ain't one of them. Edit: Confirmed from receipt from Logitech's own store: C922 PRO HD STREAM WEBCAM - Black (960-001087). It's a super trooper. Worked in Kubuntu 20.04 and 22.04, as well as this mutt intermediate Kubuntu I had for a week when it half-assed upgraded itself without asking me and it was a complete mess. Rocko Bonaparte fucked around with this message at 00:46 on Jun 2, 2022 |
# ? Jun 2, 2022 00:42 |
|
Yeah, I'm impressed you found one that doesn't just work. Then again, there's no bottom to the junk amazon will sell you.
|
# ? Jun 4, 2022 20:47 |
|
Monday update on my Linux rig: It actually booted fine from the get-go this time. I think I finally reined it in with last week's changes.
|
# ? Jun 6, 2022 13:26 |
|
Any recommend a USB bootable distro that I can use to experiment with kubernetes? I have a server running an media farm with docker-compose, it's an ancient (but upgraded to pretty current) Ubuntu install. I'd like to be able to boot off a stick, fiddle with k8s, and then switch back to the internal hd and go back to my docker setup until I have k8s working well. All the media/docker files are on a separate drive from the bootable ubuntu, so I can just remove that drive when I'm done.
|
# ? Jun 6, 2022 14:35 |
|
Why not just get k8s working in a lab environment first? Install vbox on your desktop, install a decent OS, and have fun.
|
# ? Jun 6, 2022 15:22 |
|
Yeah, something like MiniKube is tailor made for messing around with k8s, you can use Docker or a VM. https://minikube.sigs.k8s.io/docs/start/
|
# ? Jun 6, 2022 15:36 |
|
I have a question about iperf: On Fedora I was looking at my local network yesterday and wanted to run an iperf test. I was getting around 740Mbps with the gateway. Worried, I changed cables, bypassed switches, everything I could think of, still 740Mbps. On another box in my room, on the same switch, that box running Debian, I was getting 940Mbps. Burned a live debian image on a flash drive, and from Debian on my machine I got 940Mbps as well. The normal google speed test, which basically tests my connection to the internet, I was getting 960Mbps. From what I can gather is not my network card. Not the driver. Not the cables or switches, not anything except iperf itself. Anyone has any idea what could be going on? I tried a test with nc itself, still, to the gateway, around 740Mbps. I'm a bit stumped.
|
# ? Jun 6, 2022 16:31 |
|
RFC2324 posted:Why not just get k8s working in a lab environment first? Install vbox on your desktop, install a decent OS, and have fun. So this is a really valid suggestion, one of the main reasons is that I want to setup a webserver with Traefik/Lets Encrypt with a real domain name from a real public IP through cloudflare. For me to do that I need a valid domain/DNS, a public IP opened on 443. On a Virtualbox lab that'd be a bigger hassle. Probably what I'll do is just spin up a cheap EC2 instance with an elastic IP and point a subdomain that I already own at it. I have a second dockerfile question. I haven't worked in windows in years, but $NEW_JOB has given me a windows laptop. I have Docker desktop setup, but I can't for the life of me get a dockerfile to work mounting a local windows directly. I using docker in I guess in WSL2, it works from the cli: code:
code:
code:
|
# ? Jun 6, 2022 18:59 |
|
Jerk McJerkface posted:So this is a really valid suggestion, one of the main reasons is that I want to setup a webserver with Traefik/Lets Encrypt with a real domain name from a real public IP through cloudflare. For me to do that I need a valid domain/DNS, a public IP opened on 443. On a Virtualbox lab that'd be a bigger hassle. Probably what I'll do is just spin up a cheap EC2 instance with an elastic IP and point a subdomain that I already own at it. is c:\Users\jmjf\Development the path to that directory from inside WSL? Remember, WSL2 is running inside a VM, and even WSL1 required translating paths because C: doesn't exist in a linux context
|
# ? Jun 6, 2022 21:00 |
|
RFC2324 posted:is c:\Users\jmjf\Development the path to that directory from inside WSL? Remember, WSL2 is running inside a VM, and even WSL1 required translating paths because C: doesn't exist in a linux context I'm running this command from inside WSL and it works fine: code:
|
# ? Jun 6, 2022 22:09 |
|
Jerk McJerkface posted:I'm running this command from inside WSL and it works fine: That makes sense. I was thinking about the compose file, that does define how its used. and /mnt/c/Users/jmjf/Development isn't the poo poo that you posted as coming up in the final result, which is why I didn't look at it. /mnt/c is the only path you should have needed/used (somewhere other than the docker file, apparently )
|
# ? Jun 7, 2022 01:02 |
Can someone verify that the NFSv4.2 client works on Linux kernel v5.17.4 or newer? A system I'm trying to help someone with is refusing to accept minorversion=2 as an argument, despite it being supported and nominally enabled.
|
|
# ? Jun 9, 2022 16:42 |
|
I haven't used linux in years, but I want to set up a computer to use as a sort of multipurpose server. I'm primarily going to use it to run Foundry Virtual Tabletop but I'd also like to use it as a print server and maybe a file server. I figure it doesn't really matter, but is there a distro that would be particularly well suited to this kind of thing?
|
# ? Jun 9, 2022 17:38 |
|
Cool Dad posted:I haven't used linux in years, but I want to set up a computer to use as a sort of multipurpose server. I'm primarily going to use it to run Foundry Virtual Tabletop but I'd also like to use it as a print server and maybe a file server. I figure it doesn't really matter, but is there a distro that would be particularly well suited to this kind of thing? Just pick what you like. I suggest opensuse because yast2 makes admin easy, but it can be a little bit of a pain to and and configure some software for it. I just want a handy, self contained, easy to manage ldap server in a tiny container, is that so much to ask?
|
# ? Jun 9, 2022 18:28 |
|
Cool Dad posted:I haven't used linux in years, but I want to set up a computer to use as a sort of multipurpose server. I'm primarily going to use it to run Foundry Virtual Tabletop but I'd also like to use it as a print server and maybe a file server. I figure it doesn't really matter, but is there a distro that would be particularly well suited to this kind of thing? You'd be well served to stick with Ubuntu LTS releases, in my opinion. The least fussy user experience, and consistently easy upgrades. I'd install Ubuntu 22.04, which is supported and gets updates until 2027. I'd use the server image if you want to keep resource usage really low and don't plan to connect a monitor to it directly. If you want to use this as a desktop and server, just install a desktop image and you'll get a nice GUI out of the box too. Set up automatic upgrades with automatic reboots, which you can do graphically on desktop edition, or like this for server with the unattended-upgrades package: https://help.ubuntu.com/community/AutomaticSecurityUpdates
|
# ? Jun 9, 2022 20:48 |
Cool Dad posted:I haven't used linux in years, but I want to set up a computer to use as a sort of multipurpose server. I'm primarily going to use it to run Foundry Virtual Tabletop but I'd also like to use it as a print server and maybe a file server. I figure it doesn't really matter, but is there a distro that would be particularly well suited to this kind of thing?
|
|
# ? Jun 10, 2022 00:24 |
|
Had trouble typing the right magic words into Google. I have a Ubuntu desktop install I use as a Plex server with an Nvidia graphics card for transcoding. Can my wife log into the machine with another user account and play games on the TV simultaneously, directly on the system? Will the graphics card be good to go on both sessions?
|
# ? Jun 11, 2022 01:07 |
|
I just swapped to a bigger hard drive and am very rusty on LVM2. Do I want to lvextend /dev/pve/root? I just want to give my VMs more room since they were thin provisioned and if I run a big update on one I've had it fill up the disk and cause nonsense. I moved from 512GB to 2TB. I've done fdisk to resize nvme0n1p3, and done pvresize /dev/nvme0n1p3, but now I don't know if I lvextend /dev/pve/root or what. code:
code:
code:
|
# ? Jun 11, 2022 15:34 |
|
I got it, I didn't realize data was thin provisioned (lvm-thin), it was root that was not, but it didn't really need more space. So my steps were fdisk to replace the last partition, pvresize to extend physical volume, then double the size of the metadata (lvresize --poolmetadatasize -r -L +3.6G pve/data in my case) and finally double the data (lvresize -L +350G pve/data). I've still got a bunch of slack there, but that's good for now.
|
# ? Jun 12, 2022 14:01 |
|
Anyone using pcp (performance co-pilot) to log performance metrics on their servers? If so, what are you using to compile/view the data? We have Xdmod but I'm looking for the most straightforward way to show everything by host. Basically cpu/mem/disk/net usage. Could be as simple as cacti but I'd probably want to do things like heatmaps and stuff as well. These are cluster nodes so being able to group things by chassis/row would be ideal
|
# ? Jun 13, 2022 15:48 |
|
LRADIKAL posted:Had trouble typing the right magic words into Google. I have a Ubuntu desktop install I use as a Plex server with an Nvidia graphics card for transcoding. Can my wife log into the machine with another user account and play games on the TV simultaneously, directly on the system? Will the graphics card be good to go on both sessions? Should work fine in theory -- the video encoder and the 3d acceleration are mostly separate bits, and multiple users can use the same GPU. Question is how the plex server is running on the other user: as a systemd service, or as a desktop app? Because the 2nd one is likely to be trouble. Running multiple local x sessions is fiddly. If it's running as an at-boot service, and so nobody even needs to be logged on for it to run, that would be the nest set-up.
|
# ? Jun 13, 2022 21:03 |
|
It's running as a systemd service, and I am usually logged in remotely to manage and find torrents. Thanks for the tip.
|
# ? Jun 13, 2022 21:12 |
|
I've lost the menu bar in Kate. Tips I've seen online are "Press CTRL-M" and "Check katerc to set showmenu=true". Ctrl-M does nothing, and everything that mentions a Menu in katerc is already set to true. I'm baffled and annoyed. Any ideas? Edit: Okay, it's also gone in LibreOffice, so I'm gathering I just turned some global "Have Menu Bar" setting off. Where do I find that in KDE? Vavrek fucked around with this message at 19:35 on Jun 16, 2022 |
# ? Jun 16, 2022 19:26 |
|
Vavrek posted:I've lost the menu bar in Kate. Tips I've seen online are "Press CTRL-M" and "Check katerc to set showmenu=true". Maybe in System Settings under Application Styles?
|
# ? Jun 16, 2022 21:40 |
|
Vavrek posted:Edit: Okay, it's also gone in LibreOffice, so I'm gathering I just turned some global "Have Menu Bar" setting off. Where do I find that in KDE? Some google suggests quote:You seem to have the Global Menu feature enabled, have a look at the System Settings: OTOH I have that deamon checked and have no problems? (I guess this daemon can extract the main menu to either put it in a ≡ hamburger in the titlebar, or into a global menu bar ala macos. Cool feature. I wouldn't want to do that everywhere, but I wonder if you can do that for just some apps via special rules?)
|
# ? Jun 16, 2022 22:49 |
|
CaptainSarcastic posted:Maybe in System Settings under Application Styles? Klyith posted:Some google suggests I don't know. The menu bar is back now. Problem is ... solved? Problem is gone. Thanks for the help.
|
# ? Jun 16, 2022 22:57 |
|
Is there a thread for Linux gaming in general? Proton workarounds, appeasing anticheat software, Lutris, Bottles, etc.? If not, I could create one but I don't know which forum is more suitable for it, since it's both about gaming and writing incantations in the shell.
|
# ? Jun 20, 2022 17:06 |
|
1player posted:Is there a thread for Linux gaming in general? Proton workarounds, appeasing anticheat software, Lutris, Bottles, etc.? I think that the de-facto Linux Gaming thread is the Steam Deck thread: https://forums.somethingawful.com/showthread.php?threadid=3973713, but I'd appreciate a general purpose one in Games also. There's probably going to be a lot of overlap.
|
# ? Jun 20, 2022 17:11 |
|
Twerk from Home posted:I think that the de-facto Linux Gaming thread is the Steam Deck thread: https://forums.somethingawful.com/showthread.php?threadid=3973713, but I'd appreciate a general purpose one in Games also. There's probably going to be a lot of overlap. Yeah, but there's also going to be a lot of posts about the Steam Deck itself or its hardware, which I don't really care about. I'll see about making a post.
|
# ? Jun 20, 2022 17:26 |
|
I've created a Linux Gaming thread: https://forums.somethingawful.com/showthread.php?threadid=4004994 Hope this is alright, I'm quite the newbie around these parts.
|
# ? Jun 20, 2022 18:17 |
|
I have an issue where Linux kills my process when it tries to use over 60% of memory. How do I stop that? I have 128 GB of RAM and the process in question is pg_upgrade sub-process pg_dump.
|
# ? Jun 21, 2022 11:50 |
|
Kivi posted:I have an issue where Linux kills my process when it tries to use over 60% of memory. How do I stop that? I have 128 GB of RAM and the process in question is pg_upgrade sub-process pg_dump. It sounds like it triggers the oom killer, somehow. It should say so in the syslog if that is the case. You can either change the general settings or protect the process with a specific setting. Don't remember how to do so exactly, just google oom killer.
|
# ? Jun 21, 2022 12:01 |
|
Kivi posted:I have an issue where Linux kills my process when it tries to use over 60% of memory. How do I stop that? I have 128 GB of RAM and the process in question is pg_upgrade sub-process pg_dump. I have read the latest Ubuntu has the OOM daemon a little too conservative, killing stuff even when there's enough memory available. Might that be the case? They seem to use systemd-oomd so I'd start there.
|
# ? Jun 21, 2022 12:18 |
|
VictualSquid posted:It sounds like it triggers the oom killer, somehow. It should say so in the syslog if that is the case. You can either change the general settings or protect the process with a specific setting. Don't remember how to do so exactly, just google oom killer. Lifroc posted:I have read the latest Ubuntu has the OOM daemon a little too conservative, killing stuff even when there's enough memory available. Might that be the case?
|
# ? Jun 21, 2022 12:21 |
|
I upgraded my GPU from a 5700xt to a 6900xt and I'm having some weird issues that seem driver related. My displays will randomly freeze, no mouse movement etc, but I can hear things continue in the background. My system will eventually respond after doing ctrl-alt-f2 and I can use the non-gui environment. I know AMD drivers are in the kernel so I'm not sure how to reinstall or what. I updated my system after I installed the card. Any ideas? I'm on Fedora 35 w/ Wayland & sway.
|
# ? Jun 21, 2022 12:59 |
|
|
# ? May 18, 2024 01:03 |
VictualSquid posted:It sounds like it triggers the oom killer, somehow. It should say so in the syslog if that is the case. You can either change the general settings or protect the process with a specific setting. Don't remember how to do so exactly, just google oom killer.
|
|
# ? Jun 21, 2022 14:48 |