/srv/irclogs.ubuntu.com/2022/05/13/#ubuntu.txt

funhouseNot sure if this is the right place to ask this but running virtual box with ubuntu, trying to ssh into it but not working00:03
funhouseI forwarded port 22 from it to 3022 and its still not working00:03
sarnoldwhat error message do you get?00:04
funhousesarnold just cant connect00:06
dilynyou can use -vvv to get more information to see what might actually be happening00:06
sarnoldbe sure to check logs on the server side, too, sometimes additional information is logged there than is returned to the client00:07
leftyfbfunhouse: is the VM using a bridged or NAT'd interface? Can you ping the VM from your host? Can you ping the host from the VM?00:08
=== Bencraft145 is now known as Bencraft14
funhouseum, looks like ssh isnt installed by default in ubuntu?00:11
oerhekscorrect00:12
sarnoldif you mean the server...00:12
sarnold± seeded-in-ubuntu -b openssh-server00:12
sarnoldopenssh-server is seeded in:00:12
sarnold  ubuntu-server: daily-live, daily-preinstalled00:12
funhouseoerheks, ok got it thank you oerheks sarnold and dilyn00:12
dilyn:)00:15
=== esv_ is now known as esv
krowHhello, i'm trying to backup important folders for specific programs such as firefox (extnesions and configurations.. etc ) but i don't know what folders should i actually back up.. im willing to install a new distro so things that's is system based will be generated on new system perhaps i don't wanna back up those? may someone help please?01:01
oerheksbackup your profile?01:02
oerhekshttps://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles01:02
sarnoldkrowH: usually people back up their entire home directory, maybe skipping ~/.cache/01:03
oerheks /.mozilla01:03
oerheksbut i would find out what the new ff 100 gives01:03
krowHi want to back up firefox data yes but also other things, like an appimage configuration files.. but for not all applications i have on system01:05
snappyin ubuntu 22.04 where is php-fpm? When you apt-cache show php-cgi it says you probably want php-fpm if using nginx01:05
oerheksappimage.. interesting01:05
krowHsarnold: is /home will suffice ?01:05
sarnoldkrowH: or /home/krowH, etc, whatever's appropriate01:06
oerheksfor php6 7 8?01:08
krowHok thank you sarnold, one last thing please, i've read on some article someone recommends backing up /var /bin /etc /opt ... and so on... these things won't be important since i'm going fresh install or do i have to back up some of them?01:08
dilynyou would only be interested in backing these up if you had modified something in them, usually01:09
dilynfor instance, custom systemd unit files01:09
dilynsnappy: https://packages.ubuntu.com/search?searchon=contents&keywords=php-fpm&mode=exactfilename&suite=jammy&arch=any ?01:10
sarnoldthere's not a lot of point in backing up /bin -- there might be value in the others. eg, the user cronjobs are stored in /var/spool/cron/crontabs01:10
sarnoldbut a lot of /var/ doesn't need backing up. it's hard to be precise there ;(01:10
dilynotherwise there's a literal package php-fpm01:10
krowHdilyn: nope i haven't modified anything.. i'm pretty new to linux to be honest -- i'm just going to install a new distro but there's some configurations that took long time to set up for some applications and i dont' wanna fo through them again in my new distro that's it01:10
snappydilyn: oh interesting01:11
snappyah i didn't do apt update, that'll explain things01:11
oerheks:-)01:11
dilynkrowH: if by customization you just mean things like editing the settings within applications, you can probably get away with just backing up ~, as it includes ~/.config where most of those things are likely to be kept01:11
oerhekshttps://packages.ubuntu.com/jammy/php-fpm01:11
dilynotherwise as sarnold said, it's hard to know in general; but my rule of thumb has always been "you'd know if you did". for instance, if you setup a mail server you'd probably want to backup some directory in /var...01:12
krowHokay01:13
sarnoldthat's a good rule :)01:13
krowHthank you sarnold and dilyn01:13
krowHalso oerheks :)01:13
oerhekshave fun01:15
=== Scotty_Trees is now known as earl_grey
=== earl_grey is now known as therealharvey
=== therealharvey is now known as Scotty_Trees
de-factoso i tried that weird snap thingy, installed a program and now? how do i start things from that snap?03:26
de-factono launcher in gnome, trying to start it from terminal crashes it03:27
de-facto"illegal instruction (core dumped)"03:28
de-factohow nice and now?03:28
de-factohow get i rid of that crap now?03:29
basenjis000003:36
enigma9o7[m]de-factco, snap offers remove command too.03:36
de-factoyeah i removed it now with snap remove --purge03:38
de-factothanks03:38
madsamDoes anyone use mobile broadband?03:54
arraybolt3madsam: Internally or through a hotspot?03:57
madsamVia a usb modem by AT Commands03:57
arraybolt3madsam: Sorry, I've not done that. Maybe others will know.03:58
madsamarraybolt3: why haven't you?03:58
arraybolt3madsam: I've just USB tethered to a cellphone or used mobile hotspot Wi-Fi.03:59
madsamarraybolt3: it's for lames man03:59
madsamarraybolt3: if you didn't know this, normally you can connect via AT Commands using the LTE modem, so the syntax is like04:03
madsamAT+CGDCONT=1,"IPV6","your-apn-ipv6-here"04:03
=== ubuntu is now known as Guest1473
=== ubuntu is now known as Guest654
=== veegee_ is now known as veegee
=== Mibixy is now known as Mibix
Mibixso i tried to update to ubuntu 22.04 lol look at all these broken packages :o https://paste.ubuntu.com/p/7YgXYqp7z7/05:30
Mibixbut i dont see any with apt or dpkg :/05:32
Mibixnvm found the error in /var/log/dist-upgrade/main.log05:38
=== diskin_ is now known as diskin
Mibixman this update to 22.04 taking so long07:08
Mibixbeen an hour and its only like 1/8th the way installing haha07:08
Guest459The new social network for cupcake https://w.metty.us/invite567407:30
=== Starmina_ is now known as Starmina
arraybolt3Guest459: Is this directly related to Ubuntu support?07:31
arraybolt3Warning, all, this site linked to by Guest459 is not coming up in Google searches. I think this is probably a malicious link.07:33
Guest085Hi, I have a problem with ubuntu becoming unresponsive with some io, like with rsync07:34
Guest085nothing even very heavy07:34
Guest085rsyncing from nvme m.2 to usb nvme m.207:34
Guest085system becomes simply unusable, takes >30 seconds in some cases to see the mouse move and menus to update07:35
Guest085I think in the past I had to use low latency to escape it being unusable?07:35
webchat22Hi, I tried install Ubuntu 22.04 7 times and it doesn't find the boot after restart. I really don't know what to do. There is a single new ssd in my laptop.07:36
arraybolt3Guest085: How much RAM is in your system? This sounds like thrashing, which can be caused by low RAM.07:37
Guest085arraybolt3 8GB07:37
Guest085arraybolt3 it may very well be thrashing, how do I manage it?07:37
Guest085you think kernel is buffering io in ram?07:37
Guest085webchat22   you probably need to try out the grub install option.07:38
Guest459Windows 8.1 is better than your fucking Ubuntu I fucking install all the games on my computer and what the fuck do you want? What the fuck can you do on it bitch fuck you stupid fucking faggot07:38
arraybolt3Guest085: Compress your RAM.07:38
arraybolt3!ops07:38
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant07:38
Guest085Guest459  windows sucks.07:38
arraybolt3Operators: Guest459 is casuing problems. Please remove them from the channel immediately.07:38
Guest085Guest085 also, nvidia just released open source graphics drivers, so linux gaming is about to get a LOT better.07:38
Guest085so you're also an idiot.07:38
webchat22Guest085 like with the boot repair disc07:38
webchat22?07:38
Guest085Guest085 sorry that was for Guest45907:39
Guest459I don't cause trouble and what the fuck do you want to tell me, motherfucker?07:39
Guest085lol07:39
arraybolt3Guest085: To compress RAM, open a terminal with Ctrl+Alt+T.07:39
Guest085arraybolt3 compress???07:39
Unit193I'm in late on it, but yes you can compress ram or swap.  zram, zswap.  Interesting really.07:40
Unit193!info zram-config07:40
arraybolt3Guest085: Yes. You can actually make Ubuntu compress RAM contents rather than swapping them to disk. This makes your system behave like you have more RAM than it does.07:40
ubottuzram-config (0.7build1, jammy): System service to enable zram support. In component universe, is extra. Built by zram-config. Size 4 kB / 18 kB07:40
arraybolt3OK, Guest459 is out. Here's the command sequence for compressing RAM:07:41
arraybolt3sudo su -07:41
arraybolt3modprobe zram07:41
Guest085arraybolt3   how do I simply configure the kernel not to buffer so much io to ram?07:41
Guest085the disk io speed is the issue, I don't need to buffer it much07:41
arraybolt3Guest085: I don't know. Really, with 8 GB of RAM, I doubt this is your RAM's fault.07:42
Guest085Also, how do I decrypt user home directory in ubuntu?07:42
Guest085arraybolt3 the system becomes so unusable I can't even troubleshoot it.07:42
arraybolt3Guest085: Decrypt user home directory? Like from within a live ISO?07:43
Guest085arraybolt3 yes, I have a usb nvme m.2 256GB to throw my home directories on before installing ubuntu's newest lts fresh.07:44
arraybolt3Guest085: This looks like what you're looking for: https://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line07:45
Guest085arraybolt3  yes, I'm familiar with luks, but ubuntu home directory encryption uses some weird standard07:46
arraybolt3Oh, I see, it's eCryptfs.07:48
Guest085it's not in the liveiso apparently07:49
arraybolt3I'm looking for how to deal with it...07:50
arraybolt3Guest085: Bingo. https://askubuntu.com/questions/238047/how-do-i-mount-an-encrypted-home-directory-on-another-ubuntu-machine Looks like it takes one command.07:51
Guest085arraybolt3 that's not available in the liveiso or as an install candidate07:53
arraybolt3It still exists. It's in the package ecryptfs-utils.07:55
Guest085oh wow08:10
Guest085this home directory encryption stuff is bad08:10
arraybolt3What's it doing? Error messages? Can't find where it put the files?08:11
Guest085arraybolt3  it just sucks.08:12
arraybolt3Guest085: Really, encrypting just the home directory is helpful, but it's not really all that secure against someone with the right know-how and some determination (due to the fact that the swapfile still isn't encrypted). If you want to use encryption, maybe try LUKS.08:15
Guest085arraybolt3   my swap file is encrypted in luks yeah08:16
Guest085arraybolt3  the ecryptfs stuff sucks because it's difficult to use and unwrap manually, frankly it's shoddy as hell08:16
Guest085I didn't realize it was doing file encryption08:16
Guest085ls08:17
Guest085I had to do this bs: keyctl link @u @s08:20
Guest085now this works: ecryptfs-recover-private .Private08:20
Guest085take that back, it's not working08:20
alkisgUbuntu was recommending ecryptfs a few years ago, but then they switched to recommending full-disk encryption; so I switched my ecryptfs private folder to the newer and better supported fscrypt08:22
Unit193There's also cryfs/gocryptfs and libpam-mount.  Very handy.08:23
Guest085alkisg  yeah, I'm abandoning ecryptfs and user directory encryption08:24
Guest085it's stupid08:24
Guest085might as well just luks everything08:25
alkisgUser directory or even single directory encryption still has its uses; but if FDE suits you, it's much easier08:31
alkisgE.g. I wouldn't have anyone at work unlock my disk if it rebooted when I'm not there; so FDE is useless to me08:31
samsget weird tinny audio here and there, is there a quick fix for it? have the codecs installed.08:32
vladoskiis there a window manager where I can resize/move my windows in gnome via keyboard shortcuts?08:37
vladoskiI still wanna use Gnome but have that feature08:37
Guest38Hello, I have a question regarding keyboard configuration in ubuntu 22.04. My laptop is a chromebook, which has a bit special layout, for example the F keys are mapped to controlling the audio and similar. How can I convince gnome to use a different keyboard model? xkeyboard-config has support for this model and i have tried setting it both with08:40
Guest38localectl and by editing /etc/default/keyboard, but gnome/ubuntu seems to ignore this08:40
Guest38I did a bit more research, and it seems like gnome does not support configuring different keyboard models if wayland is used :-(08:48
Guest085is there a way to display rsync progress occassionally?08:52
Guest085I care about seeing the distance it's gotten08:52
Guest085but don't want to slow it down for every file08:52
Guest085ubuntu seems to slow down when I'm doing a bunch of disk io09:02
lotuspsychjevladoski: for tweaks in your system, try find dconf-editor values09:07
nemtujaHi Everyone, I tried to install the new lts version the whole hight. I'm getting crazy now. I didn't sleep. After installation there is no grub on the system. I'm alone with this problem. Is new version faulty?09:35
nemtujaHight is night09:35
arraybolt3nemtuja: You did an upgrade, not a fresh install, right?09:37
nemtujaIt is afresh instal. New ssd. Not dual boot09:38
lotuspsychjenemtuja: there are some changes on uefi & biosboot at grub level, see the releasenotes; https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/2466809:38
nemtujaI tried uefi and legacy mode in bios. None of them work. Is it work for everyone?09:42
lotuspsychjenemtuja: sata ssd or nvme? did you disable secureboot?09:44
nemtujaSsd. Secureboot disabled09:44
lotuspsychjenemtuja: ubuntu desktop or another flavour?09:44
nemtujaDesktop gnome09:45
vimartnemtuja: Hi, no it's not faulty09:45
lotuspsychjenemtuja: so at wich point exactly do you get an error? boot issue?09:45
vimartNew version is working very well.09:45
nemtujaYes. After installation boot device not found09:46
vimartI'm running actually new LTS version Kubuntu 22.04 with Xfce upgraded from 21.10 and surprisingly everything went nice and smooth, thanks to Cannonical.09:47
vimartIMHO they have done great job.09:47
vimartHow did you install it nemtuja ?09:48
arraybolt3Are you using the "Erase disk" option, or are you doing manual partitioning?09:48
vimartTry again and choose the option with automatic partitioning whatever it's called.09:49
nemtujaErase disk09:50
nemtujaI use auto09:50
vimartyou had to done something wrong perhaps with boot menu09:50
vimartis it your only OS on disk or are you sharing with another operating system nemtuja ?09:51
arraybolt3vimart: New ssd, not dual boot.09:51
nemtujaThe was no option doing anything with boot menu09:51
arraybolt3nemtuja: What model is your system? By "new SSD", do you mean that you wiped an existing one, or you installed a brand-new one?09:52
vimartI see I got mixed up with nicks09:52
nemtujaAdata su80009:52
nemtujaBrand new09:52
arraybolt3nemtuja: Wow, that's really weird. What manufacturer and model is your system? Something like a Dell Optiplex something-or-other, for instance.09:52
nemtujaHp probook 640 g109:53
arraybolt3Hmm. What error message do you get when the system fails to boot? Is it just "No bootable image found, notebook will be shut down"?09:53
vimartnemtuja: were you doing manual paritioning or left the job to do by installator?09:53
arraybolt3vimart: They told us that they used the "erase disk" option.09:54
vimartok09:54
nemtujaBoot device not found Pkease Install an operating system on your hard disk hard disk 3F009:55
arraybolt3nemtuja: Well, that's very odd, since it sounds like everything should work just fine. My best guess is either you got a bad brand-new SSD (unlikely), or you got a bad ISO download (way more likely), or you're using a bad flash drive (also somewhat likely).09:56
vimartafter erase disk what happened?09:56
arraybolt3nemtuja: Try downloading the Ubuntu 22.04 ISO again, and flashing it to a different flash drive than you've been using. Then try the install again and see if that works. A bad ISO or flash drive can cause all sorts of weird problems.09:56
arraybolt3nemtuja: Wait a minute. When you were messing with UEFI and Secure Boot, did you accidentally disable SATA boot?09:57
arraybolt3nemtuja: If you accidentally told your system to not boot from the internal SSD, that would cause your problem.09:57
nemtujaI use the same iso but tried on different flash drives09:57
arraybolt3nemtuja: Try looking through your BIOS settings and see if you've disabled your ability to boot from a SATA drive.09:58
arraybolt3nemtuja: You might have done this trying to get your system to boot from the USB in the first place, forcing it to not boot from SATA so it would boot from USB. That would cause exactly these symptoms AFAIK.09:58
nemtujaThere are cd-rom boot, usb device boot and upgrade bay hard drive boot checked. No sata option in the list10:00
arraybolt3nemtuja: OK. Put the system in UEFI mode, then press Esc over and over during early bootup, and try to enter a boot menu. Then select "ubuntu" in the menu. Some HP laptops have a problem getting Ubuntu to boot after a fresh install, since they're trying to boot Windows still.10:01
arraybolt3(If you did a BIOS installation, this won't work, but if you did a UEFI installation, then this should do the trick.)10:02
arraybolt3nemtuja: If this works, then I believe I know the last step to getting your system functioning, since I've had exactly this problem on an HP Elitebook.10:02
arraybolt3(Or almost this exact problem, anyway.)10:02
nemtujaThere are twu uefi modes uefi hybrid (with csm) and uefi native (without csm) till this moment it was in legacy mode10:03
arraybolt3nemtuja: Do uefi native (without csm), then install Ubuntu again.10:03
arraybolt3nemtuja: Once the install is done, when the system is first booting, do the same thing you do to get into BIOS setup, but go to the boot menu rather than BIOS setup. Then select "ubuntu". If that works, then I'm almost certain I know what the problem is.10:05
nemtujaInstallation started10:05
nemtujaIt's working10:06
nemtujaI thought when ichoose ubuntu it will start the intaller flash drive but it booted in the fresh system10:06
nemtujaThanks10:07
marcus-dHi there, I have  a question.10:07
arraybolt3nemtuja: Fantastic. OK, so let me find the instructions that got things working automatically for me. It might take me a bit.10:07
marcus-dI'd like to install Ubuntu on a laptop whose BIOS setup panel is locked with a password. Do you think it could be a problem ? I have no idea how secure boot flag and the like are set. I can boot on a flash drive and play with the live system though. Any pointers welcome, thx!10:09
arraybolt3nemtuja: Bah, I can't find it. What you do is, get into BIOS options, and set Customized Boot as the highest priority. Then set Customized Boot to boot up EFI/ubuntu/grubx64.efi. I think that will work - if it doesn't, try setting the customized boot to EFI/ubuntu/shimx64.efi.10:10
loganlee[gnu]i did apt install quake3 and it is stuck trying to download a file from id software's ftp server and failing to connect.... it's been stuck there retrying to connect. how can i quit safely?10:11
arraybolt3marcus-d: If you can boot the live flash drive, you can probably install Ubuntu without problems as long as you don't need any proprietary drivers. If your Wi-Fi is working in the live environment, and you don't need proprietary graphics card stuff, you should be good to go AFAIK.10:11
arraybolt3marcus-d: You might get messed up by Intel RST, but it's likely that Ubuntu will warn you about that and not let you install if that's the case.10:12
marcus-dThanks arraybolt3: wifi works with the live system and I was able to play HD videos smoothly. So I should be OK, that's encouraging.10:13
marcus-dIntel RST: I don't know that beast, I'll check that. Thx.10:13
_maddyI am upgrading xubuntu to 22.04 in terminal usuing 'sudo do-release-upgrade', it hangs forever on 'Waiting for automatic snapd restart'... how to fix without messing up the upgrade?10:14
nemtujaarraybolt3 Thanks I'll have a look at that10:14
loganlee[gnu]it's stuck trying to download a file from id software's ftp server... i want to cancel the installation10:17
loganlee[gnu]ctrl-c does nothing10:19
loganlee[gnu]it's retrying 10th time now10:20
samsxkill it>?10:25
loganlee[gnu]is it safe to killall -9 apt?10:25
samsopen a terminal window type xkill then click on the ftp client window10:25
loganlee[gnu]sams: it's doing it as part of apt install quake310:26
samsoh10:26
samsctrl z might work10:27
loganlee[gnu]but will it break apt?10:29
marcus-dloganlee[gnu]: you could try SIGTERM with htop if you can locate the apt process.10:30
marcus-dloganlee[gnu]: you may want to read this https://askubuntu.com/questions/253925/how-to-safely-abort-apt-get-install before trying "kill -9".10:30
loganlee[gnu]marcus-d: yeh i know the process id10:30
marcus-dloganlee[gnu]: SIGTEM is safe. You may try that. But maybe the process won't be a10:31
marcus-dable to process it.10:31
loganlee[gnu]marcus-d: killed the processes holding the lock files and the main apt process is killed now10:35
loganlee[gnu]the package is marked as installed even though it was interrupted this way10:36
loganlee[gnu]can i safely purge it?10:36
marcus-dloganlee[gnu]: so were you able to kill it with SIGTERM?10:39
marcus-dI don't know about the purge. Why not try to remove it first?10:39
loganlee[gnu]marcus-d: from your link sudo fuser -vki -TERM /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend10:43
loganlee[gnu]i guess this sends SIGTERM10:44
loganlee[gnu]to lock files10:44
loganlee[gnu]omg `sudo dpkg --configure -a` tries to download from ftp again....10:45
marcus-dloganlee[gnu]: so probably the FTP thing happens during configuration. You may stop the process safely as you just did. And instead of running `dpkg --configure` just remove the package with APT. I am not an APT expert but that looks harmless.10:49
nemtujaarraybolt3 Where did you find that HP EFI bios settings?10:55
loganlee[gnu]marcus-d: holy crap i had to do `sudo fuser -v /var/cache/debconf/config.dat` to kill the process on config.dat then i could purge quake3-data. now both quake3 and quake3-data are fully purged10:58
loganlee[gnu]well `sudo fuser -v /var/cache/debconf/config.dat` then kill -9 [process id]10:59
loganlee[gnu]apt was locked on config.dat and preventing me from purging quake3-data11:00
loganlee[gnu]so i had to kill that11:00
loganlee[gnu]i think my system is ok now11:00
loganlee[gnu]apt-wise11:00
marcus-dloganlee[gnu]: glad to head that. Though you won't be able to play quake3 thanks to apt, that's a shame. Good luck.11:02
loganlee[gnu]marcus-d: i could have done `sudo fuser -vki -TERM /var/cache/debconf/config.dat` instead11:04
loganlee[gnu]`11:04
loganlee[gnu]that will send SIGTERM to config.dat11:05
loganlee[gnu]well the process locked on config.dat file11:07
nemtujaarraybolt3 success11:08
nemtuja\EFI\boot\bootx64.efi instead of EFI/boot/bootx64.efi solved the problem11:09
nemtujaso 22.04 is not workin in legacy mode anymore?11:09
loganlee[gnu]apt is pretty stupid.... it keeps trying to download a file from ftp server that doesn't exist and i can't gracefully quit it11:11
loganlee[gnu]i have to do `sudo fuser -vki -TERM /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend  /var/cache/debconf/config.dat` to kill all the locked files then try to purge11:12
BluesKajHi all11:28
loganlee[gnu]hi blu11:37
loganlee[gnu]hi BluesKaj11:38
loganlee[gnu]is there people playing in public servers on quake 3?11:38
loganlee[gnu]that would be an incentive to make this thing work11:40
SteelRosewould a binary compiled on 20.04 run on 18.04?11:47
oerheksSteelRose, sometimes, yes11:47
SteelRoseI guess I better recompile the stuff then...11:49
SteelRosethanks oerheks11:49
BluesKajhi loganlee[gnu]11:53
neurehi12:38
wezhi12:40
bittinhi12:42
wezHow are we all?12:44
bittinalright12:44
wezgreat news12:45
wezHow you tried out 22.04 yet?12:45
Guest459How to register an account here ? https://w.metty.us/invite567413:08
Guest459j13:14
wezWhat happened?13:15
ograporn links13:15
wezI didn't even click on it13:15
weznice catch13:16
ograthat person was nasty before ... but had been qiet for the last few hours13:16
wezwow13:17
ninaHello! My 21.10 refuses to upgrade, help?13:32
ninaUpgrades to the development release are only13:32
ninaavailable from the latest supported release.13:32
ogranina, there are still some open bugs with do-release-upgrade, you need to use the -d option if you want to force it13:33
ogra!ltsupgrade13:33
ubottuRegular upgrades from the last but one LTS release to the latest LTS release, 22.04 "Jammy Jellyfish", are enabled days or weeks after 22.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d13:33
ninaSame result13:35
ograand you did update your system properly to all latest package versions first ?13:36
ograsudo apt update; sudo apt full-upgrade13:37
ogra(make sure to have the -updates and security repos enabled)13:37
ninaAh, just upgrade13:39
ninaBut ye, says that i dont have anything to upgrade13:40
ninaso same result still13:40
ninaill check the repos13:40
ninaAny repos in particular i should look for? They all seem default to me, never changed them13:44
ograwell, then it should work ...13:45
ninaIs there a sources list generator like for debian somewhere?13:47
ogranina, https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668 has the instructions, perhaps they help13:47
ninaThanks! I need to go, in case it doesnt work ill come back13:51
|\nhello, trying to build python 3.10 from source on ubuntu focal vm, whom should i blame for openssl version compat-issues?13:51
|\nshould've been re-phrased probably: which version should i pick to be able to accomplish such a space grade task?14:00
dilynprobably way later...14:08
dilynlike 1.1.1o or something...14:08
|\ndilyn, i mean ubuntu release itself14:19
dilynimpish might have a recent enough openssl, otherwise jammy (as jammy comes with 3.10.4)14:21
dilynso if you want a known-working dependency stack, go with jammy14:21
|\noh looks good! thanks dilyn14:21
dilynnp14:21
DelemasI'm seeing crashes on 20.04 that I'm trying to track down a cause for. One of the things in the logs I'm wondering about is a corrected error for "[Hardware Error]: Unified Memory Controller Ext. Error Code: 49". Anyone know what that is and if that is actually an issue? Searching isn't pulling up much.15:03
mybalzitchwhat kind of processor15:04
DelemasAMD Ryzen 7 5800X 8-Core Processor15:06
jhutchinsDelemas: Did you try just pasting the whole message into a search engine?15:14
DelemasYes multiple search engines and variations on sub strings.15:15
DelemasI did find something on mce: Hardware Error microcode a201016 which suggest it might be some kind of power management issue but that doesn't make sense when the crashes happen during heavy use.15:17
mybalzitchare you using XMP or any kind of overclock?15:17
DelemasI'm an engineer. I deliberately avoid overclocking.15:19
DelemasThe only possibility wrt/ overclocking I'm aware of would be an independent computer store setting that up by default but I doubt that.15:21
mybalzitchwell might'nt hurt to check the bios to make sure XMP is disabled15:22
mybalzitchotherwise could be bad ram or a faulty chip15:22
mybalzitchthe memory controller is on the cpu15:23
mybalzitchor try a bios update15:23
dn_gian5x[m]Hi guys15:23
coz_hey15:23
dn_gian5x[m]I just switched back to Ubuntu from Debian, is there something that I should do as first thing?15:24
coz_dn_gian5x[m], well, first enjoy %) second configure for your work flow and/or fun %)15:26
DelemasI know they updated the BIOS when I bought it like a month ago as the MB didn't support the CPU without it. Once I can reboot and go into the BIOS I'll confirm both XMP and "Global C-State Control" are disabled. Thanks.15:33
mybalzitchDelemas: you can check your bios version with DMIDecode as well. if you can upgrade, put the update file on a usb stick formatted to fat32, and you *should* be able to flash from within the bios, depending on vendor15:43
bancrofthow can I reliably trigger the OOM killer artificially? so I can figure out why it's killing something it should have with the -1000 oom adjust15:45
bancroft*shouldn't15:45
oerheks" tail /dev/zero"  is fast, but first take a read https://askubuntu.com/questions/1188024/how-to-test-oom-killer-from-command-line15:47
=== vlm_ is now known as vlm
=== Starmina_ is now known as Starmina
DelemasThanks yes, latest BIOS confirmed. Manual says "Global C-state Control" is on by default and XMP is disabled by default. I'm hoping one is ON and a turn off will end the crashes.15:55
=== vlm_ is now known as vlm
=== vlm_ is now known as vlm
en11gmaomg! after 3 weeks from initial 04-20-2022 release of 22.04 there is finally a "daily" available... i wonder if anyone will tell us what was going on? i bet something super big.16:12
en11gmai downloading it right now16:13
oerheksas yesterday we had a kernel update, probably16:15
en11gmaoh crap. it was a daily which is kinetic canary. its not ubuntu 22.04 official16:18
en11gmagoogle took me to wrong repo16:18
en11gmaits still 04-19-2022 as the last update16:19
en11gmabut at least there is a "daily" of 05-13-202216:20
oerheksah yes, google16:20
oerheksthey have old cache, that points now to 22.1016:20
leftyfbwhat are we talking about exactly?16:21
oerheksleftyfb, even with bing; when i search ' ubuntu 22.04 daily '  then i get old results, with urls that point now to 22.1016:22
oerhekshttps://cdimage.ubuntu.com/daily-live/current/16:23
en11gmai know. what the heck is going on with that16:23
en11gmasame here16:23
leftyfbwe're complaining about search engine results?16:24
oerheksno, just an old cache from beta daily builds16:24
en11gmai havent got to a 22.04 daily yet. still trying16:24
en11gmaim downloading a 20.04 daily16:24
en11gmaonly 22.10 dailys or 20.04 daily. been like this for a long time16:25
en11gmathe 22.04 final release does not work with my setup while in live usb mode16:26
en11gmai have an nvidia 3060ti and screen is all white so i check for 22.04 daily all the time so i can use ubuntu 22.04 somehow16:26
ograen11gma, use 21.10 and upgrade ?16:34
en11gmacant upgrade with usb "try ubuntu". i mean you can if you make it persistent but when i do that it does something to my windows drive so i dont like to make it persistent16:35
oerheksserver and add a desktop16:35
en11gmaon the ubuntu 20.04 dailys do they add new chipset and gpu's when they come out so it will work when it finishes booting up in the "try ubuntu" mode?16:36
oerheksthose newer GPU' s might need a newer kernel16:37
en11gmaso the dailys provide that when they become available?16:37
en11gmaor is that only in point releases?16:38
ograhwe will be added at point release ... (i forgot if it is .1 or .2)16:38
en11gmaahhh. crap. yep thats a problem for me then because 22.04 was released with a pretty big problem with ppl who own nvidia gpu's while using the "try ubuntu". so i been checking for new 22.04 dailys for new updates that will fix the gpu problem16:40
en11gmaso now im just learning it wont fix it until a new 22.04 point release?16:40
en11gmathat is bad news for alot of ppl with nvidia cards and wanting to try ubuntu16:41
oerhekstried nomodeset?16:41
en11gmais that the same thing as safe graphics mode?16:41
oerheksit is an optio during booting live iso16:41
oerheks!nomodeset16:41
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.16:41
en11gmayea but that is the same thing as "safe graphics mode" option isnt it?16:42
leftyfbno16:42
en11gmaohhh16:42
en11gmano i have not tried that16:42
en11gmai did the safe graphics mode thing that was the same thing16:42
en11gmaok now i just wrote a 20.04 image now i need to write the 22.04 image and try that. thanks16:43
oerhekson the screen try/install, F6 for nomodeset, IIRC16:43
en11gmagonna try that now as i just found a usb stick that already has 22.04 on it16:44
en11gmathanks brb16:44
=== beaver_ is now known as beaver
DelemasThanks people. Both XMP and Global C State options were enabled in the BIOS. One of which was done by a questionable new tech... Once turned off system no longer has errors on boot. Likely fixed but will know in a few days if it doesn't crash.16:58
darksishelloihave a problem with a upgrade in ubuntu 18.0417:13
darksishttps://paste.ubuntu.com/p/NDxz7FnTnT/17:14
enigma9o7[m]`sudo apt --fix-broken install`17:16
enigma9o7[m]If it doesnt solve it, share output.17:16
darksisi do it is not work17:16
enigma9o7[m]seems you dont have deafult bionic python stuff17:17
enigma9o7[m]so its ppa related17:17
darksisi get message error17:17
darksisdpkg-deb: error: paste subprocess was killed by signal (Broken pipe)17:17
oerheksdeadsnakes ppa?17:19
oerhekstime to do a fresh install then17:19
enigma9o7[m]Hmmm well if yer willing to fresh install, may as well start with jammy.17:20
ogradarksis, try ppa-purge to get rid of the PPA17:21
enigma9o7[m]Unless 32-bit I guess.17:21
oerheksogra, i bet he cannot install ppa-purge now..17:21
oerheksseen this many times before17:21
freakyy85I use 22.04 ;D17:21
oerheksppa-purge should be standard.17:21
freakyy85On both of my servers ;D17:21
enigma9o7[m]if not you can easily just dleete the file in /etc/apt/sources.list.d17:22
ograthat wont help17:22
enigma9o7[m]Hmmm thats how I remove ppas....17:22
ograppa-purge cleans up the dependencies ... just remving the sources.list entry will just break it more17:22
enigma9o7[m]oh ok17:22
oerheksdeleting that file is worse, it does not reverse packages, and you get no updates17:22
enigma9o7[m]my bad, not familiar with that app, sounds useful.17:23
ograthe prob here is that there are newer versions of distro packages in the PPA17:23
enigma9o7[m]I've personally always had bad luck when I tried to install newer python version, never works the way I want.17:24
enigma9o7[m]Better to upgrade ubuntu than upgrade python, if you actually need a newer one.17:26
=== duxco is now known as duxsco
=== duxsco is now known as duxsco_
=== duxsco_ is now known as duxsco
Guest89I'm trying to install the latest LTS of ubuntu, but I'm having serious issues.18:02
Guest89When I use rsync for any io at all, ubuntu becomes completely unresponsive.18:02
Guest89top shows gnome-shell riding at 30% cpu, always, which seems insane.18:02
Guest89I'm not sure what to look for next.18:03
armadefuego1@Guest89 are you using 22.04 when running the rsync? ( asking questions that are in my head sfter reading your post18:10
yolocan't believe I'm saying this: after with ubuntu for 14 years I now switch to debian, major reason? the out-of-box installation with ubuntu 22.04 on virtualbox on windows failed again, was never able to get that working with ubuntu 20.04 either due to some cloud-init errors, debian was installed without issues.18:16
yolowas planning to upgrade desktop to 22.04, now it will be debian instead. the virtualbox-oob experience keeps surprising me, it's too essential to forgive18:17
leftyfbyolo: do you have a support question you want help troubleshooting?18:17
armadefuego1@yolo. yikes. I do understand the decision.18:17
yoloi filed a couple in the past, it eventually did not help18:17
leftyfbyolo: ok, feel free to take rants or discussions to #ubuntu-offtopic or #ubuntu-discuss. This channel is for support18:18
armadefuego1Can you come up with an "exit statement"?18:19
leftyfbarmadefuego1: please take it to #ubuntu-offtopic18:19
VykoHey, anyone knows why I cannot make https://yt-dl.org/downloads/latest/youtube-dl readable with a simple text editor? It should be an open-source Python script but it looks like its encoded or obfuscated.18:21
armadefuego1I apologize.  I thought the question was much _on topic_. How were you failed.18:21
yoloarmadefuego1 on most recent windows10, install a standard 22.04 or 20.04 and then boot up(no special customization whatsoever), then it hangs right away. shutdown reboot again, it sometimes even give me a login screen then hangs again. when i tried 20.04 it was stuck at cloud-init or something and did not even finish installation.18:25
yoloit's dead-on-arrival18:26
yolotried on different windows machines with different virtualbox version, the same. i can't believe this was not well tested before release.18:26
armadefuego1Thanks for the feedback.18:26
mintMy external hard drive wont show up as a block device18:28
Guest89armadefuego1 yes, currently running live iso of 22.0418:29
armadefuego1@mint. does it show up as _any_ device?18:29
Guest89gnome shell is sitting at 30% cpu, right off that's bad.18:29
leftyfbmint: what version of Linux Mint are you running?18:29
armadefuego1@Guest89. That is not good, but, maybe one at a time?18:29
mintlive latest18:29
Guest89fair18:30
leftyfb!mint | mint18:30
ubottumint: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)18:30
Guest8922.04 latest LTS liveiso is becoming unresponsive when simply using rsync from nvme m.2 to usb nvme m.218:30
davetoo_Hi, new to ubuntu. I'm having a problem cloning VMs from a template, and wondering if there's a way to set up an initial (first/one-time-only) script/target to rm /etc/machine-id and run systemd-machine-id-setup ?18:30
Guest89How do I even troubleshoot this?18:30
armadefuego1@Guest89 slow rsync? that might me something i can help with.18:31
Guest89davetoo_. What's the vm software?18:31
leftyfbGuest89: cd/usb live performance isn't really something that is guaranteed. It's really meant to install the OS18:31
davetoo_Proxmox18:31
leftyfbGuest89: install ubuntu and you won't have the issue18:31
mintmint is based on ubuntu whatever18:31
Guest89armadefuego1. it's only doing 40MB/s I shouldn't have to slow it.  It's limited by USB.18:31
Guest89Even then, ubuntu should not be bothered by rsync taking 100% of one of the cores/threads.18:31
leftyfbmint: please seek support from linux mint18:31
mintthanks18:32
Guest89leftyfb. why would installing ubuntu change anything?18:32
Guest89the live iso is supposed to be a demo of the OS, it should be the exact kernel loaded.18:32
Guest89why would installing it be different?18:32
leftyfbGuest89: the OS is running from a squashfs filesystem on the same, slow usb device you're trying to perform file transfers on18:32
armadefuego1@Guest89. so then the CPU might be a direct co-relation. And the Running on, essentially, a CD could contribute.18:33
leftyfbGuest89: the live cd/usb isn't meant for performance18:33
Guest89leftyfb. I'm not performing file transfers on the USB stick or in the squashfs.   I'm running rsync between an nvme m2 and a usb nvme m2.   The OS and squashfs should already be loaded into ram.18:34
Guest89leftyfb that makes no sense.18:34
armadefuego1@leftyb. Yes. several factors contribute to the noted effect.18:34
Guest89Like yes, if you run out of ram, it might be slow to LOAD things, but once they're loaded it should have no issue at all using the processor and ram normally to run at full performance.18:34
Guest89armadefuego1. No, running a live iso should not contribute at all.18:35
leftyfbGuest89: it's an ephemeral environment. There's no changes that can be made to fix anything18:35
leftyfbGuest89: that's not true18:35
armadefuego1On one level that is correct. on another it can be caused by internal locks in various portions of the system. In effect serializing a multi-CPU machine.18:36
Guest89leftyfb] That's not how this works.18:36
leftyfbGuest89: if you think that is true, boot it up and then remove the usb, see how well that works out for you18:36
* davetoo_ goes back to searching for systemd initial boot techniques... 18:36
Guest89leftyfb. it was happening with previous ubuntu lts while installed, and I worked around that by installing lowlatency kernel.18:36
Guest89leftyfb.  Running software from USB has nothing to do with it's actual performance while loaded and running.18:37
Guest89stop arguing with me.18:37
leftyfblol18:37
leftyfbGuest89: ok, then remove the usb while it's running18:38
Guest89leftyfb.   You don't seem to understand what you're talking about.18:38
Guest89There are multiple ways that you can load an iso.    You can copy the entire FS into RAM to query, and then you can rip out the USB.   Or you can load things *as needed* from USB into ram.18:39
Guest89Either way, the only performance issue USB should cause is in transfering data to/from the USB stick itself.18:39
Guest89the software isn't going to run slower/faster because you ran it from USB.18:39
Guest89there's something wrong with the software or its configuration.18:40
Guest89There's no swap file, there's not enough ram used to even engage the swap file.18:40
armadefuego1Just as a point to that. the live CD _may_ be looking for additional hardware at an increased rate. On the USB bus. The ISO9660 FS may present a set of locks that delay FS access. And Gnome may be looking for something you don't have.18:42
armadefuego1I don't know any of that for a _fact_18:42
corenullUbuntu won't detect my external hdd18:43
leftyfbcorenull: sorry, we're not playing that gam. Seek support from Linux Mint18:44
corenullWym18:44
corenullI'm in Ubuntu18:45
leftyfbcorenull: please run this and post the output here:   ( cat /etc/os-release ; uname -a ) | nc termbin.com 999918:45
armadefuego1Ok. Did you see the device added in dmsg?18:45
Guest89armadefuego1. None of that matters.  Even if it's encountering locks on the USB device, when rsync runs the processor will be running it's binary instructions at the same speeds.18:46
Guest89and seeing as its a demo ISO, the kernel being used should be the same.18:47
leftyfbcorenull: got that output?18:47
=== diskin_ is now known as diskin
en11gmasafe graphics is the same as nomodeset. it shows it on the grub command line menu where you can edit the startup process18:49
corenullleftyfb you got that output18:53
leftyfbcorenull: please paste the URL here18:53
corenullAfter you18:53
leftyfbcorenull: I'm not the one seeking help18:53
corenullMaybe you need help18:54
armadefuego1I wouldn't mind helping, but i can't see what is on your machine.18:54
leftyfbcorenull: trolling is offtopic here. Please go elsewhere to troll. This is a support channel. If you'd like help, please follow the instructions18:54
corenullGay ass ubuntu18:55
dn_gian5x[m]Hi19:09
dn_gian5x[m]How does ppa repos works?19:09
dn_gian5x[m]When I add them the repos seems to be non existent19:10
=== tuxifreund_ is now known as tuxifreund
GSMarquisWOW.19:21
Guest89I've opened firefox from the usb live iso19:23
Guest89and it's practically unusable.19:23
ChunkyzGuest89, okay? and? what do you need help with?19:24
Guest89ubuntu is lagging slowing to a crawl and being unresponsive when I do any IO at all.19:25
Guest89and I have no idea what I'm supposed to do to figure out why how to fix it19:25
leftyfbinstall it19:25
leftyfbperformance is not to be expected from the live usb19:26
ChunkyzYour PC could also be poo, too. just install it and see how it is after19:27
Guest89Chunkyz. I'm not installing this yet because I need to backup/copy off the storage contents before installing over it19:30
Guest89Chunkyz19:30
Guest89 and it being USB has nothing to fucking do with the kernel/OS environment running now.19:30
leftyfbGuest89: then do your backup, forget about it's performance19:31
leftyfbalso, false19:31
Guest89You don't know what you're talking about.19:31
Guest89and I've made live usb iso images before.19:31
Guest89if it's screwing up, it's because the software has been designed to screw up which is stupid.19:31
leftyfbok, file a bug because you aren't seeing the performance you would like from your usb live environment19:32
leftyfb!bug | Guest8919:32
ubottuGuest89: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.19:32
leftyfbGuest89: there's nothing to be fixed since it's a live, read-only environment19:32
Guest89leftyfb. dude, you don't even know what's wrong, much less able to describe what needs to be fixed.19:46
Guest89also, there's a tmpfs overlay used so I can install things and run things to see if it helps.19:46
Guest89so far I don't have any useful metrics.19:46
ChunkyzGuest89: no need to ping me *twice*19:49
Chunkyzalso, probably a crap HDD or something and you're blaming Ubuntu.19:50
ChunkyzCould also be your USB, but no... it's Ubuntu......19:50
Chunkyzlol19:50
en11gmait dont look like ubuntu 22.04 amd64desktop does not have support for AX201 wireless adapter while using "try ubuntu". is there something i can download to a storage device and install that after im at the desktop in 22.04 amd64 with "try ubuntu" in a live enviroment?20:00
en11gmaor a module i can dl to a storage device and manually load it without restarting?20:01
rastatrying to get my machine to use Wayland, but as I login the only that shows is the Ubuntu logo and nothing happens20:09
rastas/the only/the only thing/20:09
rastathis is a desktop with a nvidia gtx 1080, the nvidia driver is the 51020:10
=== b is now known as Guest9092
Guest9092@find eisenhorn20:18
ravagerasta, on devices with nvidia graphics wayland is disabled atm. the plan is to change it in 22.04.120:19
Guest89ecryptfs is a total hack and should not be built into ubuntu at all.20:20
Guest89I suggest everyone avoid user home directory encryption.20:20
ravagerasta, you can try to install backport-iwlwifi-dkms. your may have to load the module manually after installing it20:21
rastaravage huh? is this for me?20:22
rastawhy would I install an wifi dkms?20:22
ravageoops20:24
ravageno of course not20:24
ravagethat was for en11gma20:24
Guest89`ecryptfs-mount-private .Private`. returns "Encrypted private directory is not setup properly"20:25
Guest89what the hell.20:25
* Guest89 hates this crap software20:25
ravageGuest89, do you have an Ubuntu support question? if not please discuss in #ubuntu-discuss20:27
Guest89Yes.  Why is ubuntu becoming unresponsive and unusable when I use rsync?20:28
leftyfb( while running from a live usb )20:29
Guest89like, fine, I expect those storage devices io to become saturated, and maybe a thread to be used to 100%, but that leave 7 other threads for the Desktop environment to function fine.20:29
Guest89leftyfb. that literally does not matter and if it does the software is built wrong.20:29
Guest89or configured wrong.20:29
leftyfbthat literally does matter20:29
sarnoldGuest89: this may help https://www.brendangregg.com/usemethod.html20:29
ravagei think that question has been answered multiple times. probably not even a live usb problem. try another live linux to compare or install Ubuntu20:29
theballsnatcher6balls20:30
Guest89ravage I can't install ubuntu because I have to copy the drive contents out first.20:30
Guest89ravage and no, the fucking question has not been answered.20:30
theballsnatcher6balls20:30
theballsnatcher6balls20:30
theballsnatcher6balls20:30
theballsnatcher6balls20:30
theballsnatcher6balls20:30
leftyfbGuest89: then copy the data and forget about performance20:30
Guest89is the answer to the question "how do I view metrics that show me why the system is unresponsive". "install ubuntu overwriting all my data" actually an answer?  No the fuck it is not.20:31
leftyfb!language | Guest8920:31
ubottuGuest89: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList20:31
Guest89leftyfb. The last time you said that, I replied the system becomes unusable, slows down, uses power, shuts down, crashes.20:32
Guest89leftyfb. Stop trolling and go away, you're not helping.20:32
leftyfbGuest89: actually, I do have an answer as I've run into a similar issue recently20:32
Guest89You made a suggestion, I explained why you're wrong, and you're continuing to interfere with actual support.  Stop bothering me.20:32
Guest89leftyfb. So you've encountered similar BS before and you didn't mention it for the last hour?20:33
Guest89go away stupid troll.20:33
leftyfbGuest89: rsync is caching the entire filesystem you are backing up and is OOM'ing. rsync smaller sections20:33
Guest89leftyfb. Hey look, that's actually a sane and reasonable suggestion that seems logically sound.     Is there a way I can limit/lower the kernel buffering rsync's file operations into ram?20:33
leftyfbGuest89: just rsync smaller sections20:34
Guest89I don't need the kernel to buffer much rsync stuff, if I could limit that to like 500MB that issue should be solved.20:34
Guest89Guest89  That's ludicrous to manually rsync sections out of thousands.20:34
leftyfbGuest89: for i in `ls /path/to/source/` ; do rsync -av $i/ /path/to/destination/$i/ ;done20:34
Guest89...20:35
Guest89No, I'm not doing that.20:35
Guest89leftyfb. There needs to be a way to measure ram build up / caching by rsync, and then limiting it so it doesn't happen.20:35
ravageyou can just usw cp and run rsync afterwards20:35
Guest89Not just guessing and doing random workarounds hoping something works.20:35
ravage*use20:35
=== dostoevsky1 is now known as dostoevsky
Guest89I think ubuntu is mismanaging interupts or something20:45
=== ssh0732 is now known as ssh073
N360Hello, I have a problem with the network card on Ubuntu. I have a 1000Mbps internet line. On my notebook comes over lan 950Mbps complete. But on my computer only 300-400Mbps arrives, the computer has two network cards, but the power arrives on both cards.20:48
Guest89The question is, how do measure that something is actually wrong?20:49
Guest89rsync seems to be fine for awhile, and progressively gets worse, seemingly confirming possible OOM20:50
Guest89but then OOM logs should be visible20:50
Guest89----20:50
Guest89separate question, what is "Window manager warning overwriting existing binding of keysym"20:50
armadefuego1@Guest89. If you want to investigate the interupt performance there are tools, like sar, iostat.20:58
armadefuego1even _cat /proc/interrupts_21:00
=== pong is now known as beaver
mlaga97Guest89 It's completely locking up during massive file transfers yeah?21:06
Guest89@mal21:07
Guest89@mlag21:07
Guest89omg21:07
Guest89mlaga97. not massive, but many at least it seems reasonable to suspect oom, I need to check21:07
mlaga97You need to set vm.dirty_bytes and vm.dirty_background_bytes to something same using sysctl21:08
mlaga97Let me check my values21:08
mlaga97Try these commands to set them in the live environment:21:10
mlaga97sudo sysctl -w vm.dirty_bytes=21474836521:10
mlaga97sudo sysctl -w vm.dirty_background_bytes = 10737418221:10
mlaga97Guest8921:10
N360Can someone please help me. I am getting very confused.21:12
sealionCan anyone here guide me how to run ubuntu in server with only RAM?21:13
mlaga97Guest89 The issue is basically that those values are normally set as a percentage of system memory, and that leads to stupid numbers on modern systems with modern amounts of memory and result in memory filling up quickly with write cache data and then hitting a wall and stopping *literally everything* until the data is flushed to disk over the small write pipe. Manually setting them to much lower values prevents the problem.21:13
mlaga97N360, what network card in the desktop?21:14
mlaga97sealion, what underlying problem are you trying to solve by doing that21:15
N360Broadcom BCM575121:15
N360and Broadcom BCM5778 intern on Mainboard21:16
sealionI have server(co located) and connected to residential network. I want to run a true "no logs" VPN server. So whenever server start everything is reset. Each server has 128GB RAM21:16
sealionI also want to run tor relay21:17
mlaga97sealion I would probably do a normal install to disk, install all the needed software onto it, then set up fstab to mount / as ro and combine with an overlay mount to ramdisk21:18
mlaga97sealion keeping in mind that, depending on your threat model, that is not sufficiently protected from government agents busting your door down and freezing the ram with an upside-down can of compressed air21:20
sealionmlaga97 How do I combine / with an overlay mount to ramdisk21:20
mlaga97N360, this may be related: https://askubuntu.com/questions/1396344/very-slow-download-speed-on-ubuntu-20-04-with-a-wired-connection21:21
sealionmlaga97 Govt. busting through my door is not issue for me. I am not in USA.21:21
sealionI live in a place where Police is more corrupt than a harddisk attached to a magnet21:22
mlaga97sealion This isn't the only way, but it is a way: https://superuser.com/a/144591721:22
mlaga97And yeah, like I mentioned it definitely depends on your threat model, just be aware that not writing things to disk is a few leaps away from "totally secure"21:23
mlaga97Still an improvement, just want to ensure you know that there are still risks to consider21:23
sealionmlaga97 I will be grateful to you if you could suggest few other methods if you have one21:25
mlaga97Uh, so I don't have any particularly thought-out suggestions, just nitpicks lol21:27
mlaga97The answer uses a bunch of startup scripts, and I feel like it should be doable using nothing other than fstab configuration21:28
mlaga97But I don't actually have any evidence for that claim, just a vague and potentially incorrect memory of it being possible to do each of the components (ramdisk, read-only mount, and overlay mounts) in fstab21:29
mlaga97But I've never actually tried to combine them, so there may be some issue with the integration21:30
sealionmlaga97 OK I will try it21:31
Guest89sealion.  The way linux works is halfway there.  the vmlinuz thing is basically a squashfs or similar that's loaded to ram.   you just need to instruct that another FS is copied to ram, and use that with the kernel21:35
sealionGuest89 Can you point me to any guide on how to do this?21:36
Guest89sealion. this is basically how companies setup kiosks and set top boxes where users aren't supposed to change anything.21:38
Guest89You have a partition that remains unchanged or a read only FS that bots21:38
Guest89and you have something cycle the power every hour21:38
Guest89or daily21:38
mlaga97sealion https://github.com/chesty/overlayroot perhaps21:39
sealionI was thinking of writing a cron job to restart every 6 hours21:39
Guest89sealion.   You need to look at grub scripting and boot settings I think21:39
Guest89or uboot21:39
overclucker add a pir switch and put it in a closet21:40
Guest89mlaga97.  I'm running into another problem making it difficult to test the OOM issue.21:40
Guest89mlaga97. this damn user directory encryption. (ecryptfs) is terrible and now it's not working21:41
Guest89"encrypted private directory is not setup properly" like wut21:41
Guest89it was working last night.21:41
mlaga97overclucker, maybe sit a claymore pointing down onto the server case with a tripwire to the door for good luck21:41
=== dostoevsky6 is now known as dostoevsky
mlaga97Guest89, I'm missing a bit of context, but if you are trying to do an emergency backup I would suggest using ddrescue on the entire disk and sort the "getting usable data" part out later21:43
overcluckermlaga97: thermite would be easier :)21:43
mlaga97overclucker depending on how much of either you might have available I suppose, supply-chain being as it is these days21:44
overcluckermlaga97: just en case they get past the bamboo spike traps21:44
mlaga97Guest89, actually reading back to see what's going on, yes I believe that dd or ddrescue would be much more appropriate tools for what you are trying to do and you will need to use sysctl to set vm.dirty_bytes and vm.dirty_background_bytes in order to avoid the lockup due to the major mismatch in throughput between the source and target devices.21:54
=== dostoevsky2 is now known as dostoevsky
Guest89mlaga97. not emergency backup, just copying files22:08
Guest89for an upgrade22:08
Guest89mlaga97. I'm worried it's not OOM, I would expect to see syslog entries for that.22:16
=== dostoevsky8 is now known as dostoevsky
mlaga97Because it isn't *technically* OOM22:28
mlaga97It's the disk write cache (dirty_bytes) filling up and causing issues. It's a known problem caused by legacy limit allocation algorithms on systems with fairly abundant ram making large transfers with a target disk that has much slower write speeds than the source disk has read speeds.22:31
mlaga97https://bbs.archlinux.org/viewtopic.php?pid=1832171#p183217122:32
mlaga97https://upcommons.upc.edu/bitstream/handle/2117/329616/main.pdf22:33
mlaga97https://archived.forum.manjaro.org/t/decrease-dirty-bytes-for-more-reliable-usb-transfer/6251322:33
mlaga97https://lwn.net/Articles/572911/22:33
mlaga97(link spam will now cease)22:34
mlaga97The last one (the lwn article) describes why the problem still exists 10 years after the issue was identified.22:36
=== dostoevsky2 is now known as dostoevsky
=== dostoevsky3 is now known as dostoevsky
jiffe122.04 looks to install the nvidia driver on setup and I see my gpu in ubuntu-drivers devices, iirc there used to be a command to query info from the gpu such as temperature and load, etc, does that still exist?23:51
ograjiffe1, nvidia-settings ?23:51
ograah, no, "nvidia-smi" ...23:52
jiffe1yup that's what I'm looking for, thanks23:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!