=== PowerTower_121 is now known as PowerTower_120 [00:14] !wsl [00:14] Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide [00:17] ddelony: ? [00:19] ? [00:19] anyone remember me coming in to ask how to fix chromium closing after click to open? [00:20] nope [00:20] why? [00:20] i thought someone might be interested how it was fixed [00:20] guess not, sorry for the bother [00:23] Greenfrog, feel free to post this, or better, on askubuntu [00:23] !paste [00:23] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [00:24] i'm not asking its fixed [00:24] but i guess this is not the norm here [00:25] never mind then later === zorael is now known as zorael^ [00:27] I was sudoer, suddenly got this: user1 is not in the sudoers file. This incident will be reported. < What can be the reason? I worl alone [00:28] my first guess is that you, as user1, tried to sudo but weren't in sudoers === zorael^ is now known as zorael [00:33] Intelo: the last time I saw someone get this message by surprise, they had used usermod(8) directly to add their user to a new group rather than adduser(8), and had managed to remove their group membership that allowed them to use sudo [00:34] Intelo: though it's possible you're logged in to another machine :) [00:34] When you don't add the -a for append, it wipes out your membership in all other groups except the one you just added it to [00:46] Sold my MacBook for financial reasons, got me a cheapo laptop, and I am pleased with how Ubuntu is running on the machine. Any devs that may be present, top job. [00:48] aw yeh [00:50] AdorableGNU: nice to see that [00:52] matsaman: so I've ditched the AppleGNU name. This is my original anyway. haha [00:59] AdorableGNU: it's a lot of money to spend for a particular visual appearance [01:00] and I include apple M1 in that; there will be half-price non-apple hardware with the same performance on the market [01:10] Does anyone know how to `startx` from ssh such that it uses TTY1 and displays on the monitor? [01:10] i.e. I want to start X and not have to plug a keyboard on it. [01:10] ldiamond: DISPLAY=:0 [01:10] oh sorry [01:10] ldiamond: no that's what you want [01:11] ldiamond: I mean, startx should just work, IIRC [01:11] but if you wanted to run something from commandline in the running X, DISPLAY=:0 [01:11] yea that "sort of" works. [01:11] It doesn't error out, but it doesn't display anything on the screen [01:11] I think you also need to export the display [01:12] it starts an x server, but I still only see the TTY1 prompt on the monitor [01:12] I didnt try exporting [01:12] if you export you don't have to prepend to every command [01:12] and I mean [01:12] there's the issue of backgrounding [01:12] you might want, like, DISPLAY=:0 nohup foo & [01:12] ldiamond: you may need to add chvt(1) to switch to the right virtual terminal [01:13] parse_vt_settings: Cannot open /dev/tty0 (Permission denied) [01:14] might require root [01:14] don't think you should need it, though [01:14] chvt, that is [01:14] when you start X it should take care of that [01:15] `chvt 1` -> Couldn't get a file descriptor referring to the console [01:16] I tried with `sudo`, but startx still didn't work [01:20] startx isn't usually run as root, IIRC [01:21] been a while since I've not used a DM [01:26] and if you're logged in via ssh, the terminal in question isn't a vt, so the 'usual' vt switching may not work quite right either [01:26] it might be easier to just configure the system to bring up X at boot === guiverc is now known as guiverc_focal [02:25] trying to migrate a wordpress site from one VPS to another (ubuntu 20.04) and set up the new apache install. what would cause an apachectl reload to fail, but configtest gives 'Syntax OK' and apachectl restart updates the changes? the error log doesnt appear to have anything relevant (#httpd seems dead) [02:30] Nelluk, you could try #ubuntu-server [02:30] thanks === zbenjamin_ is now known as zbenjamin [03:04] waveform: you about my man? [03:35] Oh well, I wanted to properly `startx` remotely, turns out my supermicro mb has a web based interface where I can type, that'll do it. [03:35] not ideal but w/e for now [03:36] lol [03:36] nice though :) === gabkdlly_ is now known as gabkdlly [07:28] greetings, please. can someone tell me an "easy" way to upgrade from 19.10 to 20.04? My machine reached end of life during the lockdown. [07:30] !eol | isomari [07:30] isomari: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [07:54] morning everyone [08:06] If I have encrypted OS partition, will doing this be ok and will not damage anything? I think no because the encrypted partition is not ext4. But its some encrypted formate. Tune2fs -c 5 -i 10 /dev/sda [08:12] heyall! been a LONG time since I've messed with any intel devices and i definitely remember there being intel desktop ISOs for installation.... those don't seem to exist anymore.... is the installer unified now? [08:21] Good morning all [08:34] (Sterist) heyall! been a LONG time since I've messed with any intel devices and i definitely remember there being intel desktop ISOs for installation.... those don't seem to exist anymore.... is the installer unified now? [08:40] Sterist: do you mean intel graphics installer or? [08:42] If I have encrypted OS partition, will doing this be ok and will not damage anything? I think no because the encrypted partition is not ext4. But its some encrypted formate. Tune2fs -c 5 -i 10 /dev/sda [08:43] the OS installer image [09:52] Hello, can I add my username to /etc/sudoers in ubuntu 18? [09:53] like amos ALL=(ALL:ALL) NOPASSWD: ALL [09:53] does it work? It seems no here. Do I need to configure other stuff? like PAM? [09:55] Hey all! Is there anyone here that could help me understand some awk issued? I have a somewhat complicated line that works fine locally, but when run on a server ( where I can only push to and trigger build with gitlab ) i get "awk: line 1: syntax error at or near ," which is not super helpful xD If someone wanna look at it, how do you prefer I show the command? Pastebin maybe? [09:57] amosbird: it should work [09:57] amosbird: what does 'sudo -l' give you? [10:03] EriC^^: http://oracle.wentropy.com/6b1cb2d7de8ca0f5 [10:03] amosbird: you're logged in as root it seems [10:04] hmm, veryok [10:06] how can I save current iptables rule on ubuntu 18? [10:06] save and reload it on next boto [10:06] boot [10:16] amosbird: try installing the iptables-persistent package [10:48] I am having problem deleting directory in Ubuntu-mate [10:48] what is threadpool, how does it impact the QPS? [10:49] when I issue a ls -l I get the following output "drwxrwxrwx 0 username username 512 Dec 10 23:45 mydirectory" === akem__ is now known as SubZero === SubZero is now known as Subzyro [10:57] I have 20.04. Wifi performance deteriorates when I close the lid of the laptop. This happens only in Ubuntu and not in the dual boot Windows 10. What are the things I can do? Thanks. [11:09] spicywall: have you disabled wifi power management? [11:09] jeremy31 yes, I have. That was the first fix I did. [11:10] spicywall: changed the network manager conf file? [11:11] What change in the network manager file? [11:13] This command keeps Network Manager from enabling power management> sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf [11:16] hello need help with a directory that I am have problems deleting on linux. I issue the the command "rm -rf mydirectory" get no error but directory still there [11:21] Guys, is there a way to determine which core and thread are a "pair"? I need this in order to set taskset cpuset properly. The processor is TR 3960x with 8 CCDs each with 3 cores/threads. lscpu reports: On-line CPU(s) list: 0-47; Thread(s) per core: 2; Core(s) per socket: 24; Socket(s): 1; NUMA node(s): 1 [11:35] Can anyone tell me why whoopsie keeps filling the syslog with lines like these, https://pastebin.com/0eZ76N9e and hogs the processor? The log seems to say that whoopsie skips something(reporting?), but it keeps retrying immediately afterwards.. [11:37] Slartibart, well, something seems to dies/exit-nonzero/crash in a loop on your system [11:37] *die [11:38] ogra: Yes, exactly! But why? And what? And how to find out what the problem is? [11:38] heh, good question ... [11:39] what you see is only the processing of the existing reports it seems [11:40] so it might not actually die *right now* anymore [11:41] Slartibart, you should have /var/log/apport.log ... that might have some details [11:42] ogra: How do you mean? The CPU usage seems to have a definitive opinion on the matter, that it's running(and keeps dying) [11:43] Right, checking apport.log right away, good idea :) [11:43] nah, the cpu usage just tells you whoppsie tries to analyze a report (core file) [11:43] that doesnt mean that report is current [11:45] question; why does "apt install chromium-browser" give version 85 via snap but "sudo snap install chromium" gives version 87?! [11:47] Deano59, i doubt it does ... teh deb just calls "snap install chromium" so you will get 87 either way ... [11:48] ogra: doubt it? I've seen it happen several times, try it yourself. "doubt" it... haha. [11:48] ogra: Ah, ok, I misunderstood you then. apport.log is all error lines :-p. But only 5 of them.. sigh.. SessionManager doesn't seem related to whoopsie either. [11:51] Deano59, there is no 85 in the snap store anymore ... so you will definitely have 87 installed after you install the deb [11:51] Slartibart, sounds like gnome-shell ... do you have a crashing/misbehaving extension (or had one that filled whoopsies cache with reports) [11:53] So .... what am I supposed to put in sources.list for my 19.04 install, whatever I seem to put results in erros fetching packages .... [11:53] ogra: can you not, please. if you try it yourself, you'll see. [11:53] "deb [trusted=yes] http://old-releases.ubuntu.com/ubuntu/ eoan main restricted" is what I'm trying now but to no avail ... [11:54] tnt: EOL. [11:54] Deano59, i cant because i have never installed the deb ... but this is how snaps work ... snap install will only get you whats available [11:54] Deano59: I know and ? [11:54] Packages still exist .. [11:55] then ogra you can't help, simple. I asked a simple question *why* the versions are different, I honestly don't care *what* you say because I've seen it happen several times. [11:55] Deano59, check "snap info chromium" ... there is an "Installed:" line [11:55] ogra: /care - "apt install chromium-browser" has a different version than "snap install chromium" simples...... [11:56] Deano59, the versions differ because the deb doesnt get updated every time the snap does ... its a mistake that the deb has a chromium version string in the first place [11:56] I thought you said "doubt it" ? :D [11:56] but also not a major one, since it is after all just cosmetic [11:56] ... [11:56] i said i doubt you ghet an old version 🙂 [11:57] because with snaps you cant really [11:57] IT IS v85 vs snap install is V87 [11:57] sigh. [11:57] Deano59: probably because snaps get newer version where apt doesn't [11:57] whatever the debs version is doesnt matter [11:57] ogra: bye. [11:57] thanks Maik :) [11:57] yw [11:58] thats what i said (a few times), thanks Maik [11:58] lol [11:58] no ogra you said you "doubt" it happened when it HAPPENED several times. [11:59] ogra: if you can't help, don't know what you're on about... be quiet and make us all happy! [11:59] Deano59, ok, let me rephrase "i doubt you got an old chromium when using the deb because it will just call snap install and there is no 85 in the snap store, so you will get the latest chromium whatever the deb has for a version" [11:59] sigh, you're wrong. [12:00] note that i have just discussed that with our chromium maintainer, he will perhaps simply change the deb versuion to something like 1-ubuntu1 [12:00] ... [12:00] Deano59: he basically told the same: "the versions differ because the deb doesnt get updated every time the snap does ..." [12:00] :) [12:00] we do that for other transitional deb->snap packages too [12:01] Deano59, feelk free to drop by in #snappy ... [12:01] Maik: but he called me a liar and said "doubt it" lol [12:01] geez [12:01] i didnt call you a liar [12:01] will read the back log when my brain has awoken [12:01] "ogra | Deano59, i doubt it does ... teh deb just calls "snap install chromium" so you will get 87 either way ..." [12:01] i tried to explain to you that the deb version doesnt matter here 🙂 [12:01] yea [12:01] ^ [12:01] Deano59: I'm following what's on https://help.ubuntu.com/community/EOLUpgrades but I can't install what I need for any kind of upgrade if I can't do apt-get update witout errorr. .. [12:02] thats exactly what i said ... where am i calling you a liar [12:02] "i doubt it does ..." [12:02] you are getting the chromium 87 package no matter what the deb version is [12:02] sigh, go away. [12:02] yes, i doubt the deb installs 85 [12:03] again, TRY it before saying useless crap. [12:03] because that is not how we designed the snap store [12:03] ^ [12:03] I'll show you... [12:04] please see https://snapcraft.io/chromium ... the deb simply calls "snap install chromium" there is no magic in it ... by default it installs from the "latest/stable" cheannel [12:05] there is no 85 anywhere in the snap store anymore, the only version you can get is 87 from stable, 88 from beta or 89 from edge [12:05] ogra: https://paste.ubuntu.com/p/nPPjjkNFMk/ [12:05] ==> Installing the chromium snap [12:05] chromium 87.0.4280.88 from Canonical✓ installed [12:06] "Unpacking chromium-browser (1:85.0.4183.83-0ubuntu2) ..." [12:06] yes, that just unpacks the script that calls snap install [12:07] Deano59: Did you check the version inside chromium after installing it and running it? [12:07] and as i said before, it is unfortunate that the deb uses a chromium version at all ... but irrelevant for what you get actually installed [12:08] the deb should just use "1-ubuntu1" or whatever ... so people do not get confused ... [12:09] 'Morning all [12:09] (instead of "$chromium_version-0ubuntu1") [12:09] after all it is purely cosmetic though [12:09] I'm not awake, leave me alone. :D [12:10] * ogra hugh_marera Deano59 [12:10] GAH! [12:10] * ogra hugs Deano59 [12:10] lol [12:10] (i'm obviously not awake either) [12:11] I need more coffee === Subzyro is now known as akem === vlm_ is now known as vlm [12:31] Well at least I'm not alone https://ubuntuforums.org/showthread.php?t=2455026&p=14006248#post14006248 suggesting someone screwed up somewhere ... [12:40] tnt: why even bother with a unsupported, not updated, EOL version? [12:40] i never got it why people do this [12:44] Maik: (1) to upgrade I actually need to apt-get (2) There is not enough free space on the root drive for an upgrade, most likely it would brick the system (3) There are tons of custom compiled apps, all of them would need rebuilding for upgrade and I don't have time to deal with that right now. I don't need any new version of any software on that machine, I just need it to boot. [12:46] you should have stuck with a LTS imo [12:47] Well, I would have expect 19.04 the LTS that existed when I installed it, didn't boot on Ryzen 7 / Zen 2 ... [12:49] 19.04 is not a LTS, 18.04 and 20.04 are [12:49] Err, sorry typo. [12:49] But anyway, 19.10 was the only one to boot on that CPU. [12:49] oh, ok. Can happen. :) [12:50] that sounds like a faulty statement a non lts version alone runs on a system [12:50] then 20.04 LTS should work too. I'd backup everything you have, whenever you have the time and clean install 20.04. [12:52] Maik: That's the plan, but I don't have time to do that right now. I need that machine up. It also hw upgrade coming, all will be done at once to minimize down time, but ... hw isn't available yet so ... [12:53] But at this very moment, it looks like somewthing went wrong when ubuntu transitioned 19.10 from archive to old-release and some files that should be there aren't there .. [12:53] .and that's my immediate issue. [12:58] did tls 1.2 disappear from nginx after last openssl update? [12:58] two days ago [12:58] or is it just me [13:05] I built some virtual machine images on Ubuntu 18.04 and I tried copying the images to an Ubuntu 16.04 host. The XML configuration didn't work, so I added the images via virtmanager GUI. I'm using a bridge (br0) for the networking, but when I try to connect to the VM remotely, I get "no route to host." Anyone have any ideas? [13:06] The networking for a virtual machine that was built on the Ubuntu 16.04 host still works. [13:07] To complicate matters, I'm running virtmanager remotely on an Ubuntu 20.04 laptop. === dan is now known as Guest1267 === Guest1267 is now known as dan01 [13:19] * Dyrcona suspects it has something to do with libvirt networking and/or arp. [14:04] i got an ubuntu account and got livepatching working,how is it with esm,can i have it for free on 18.04 one server? [14:06] vlm: https://ubuntu.com/security/esm [14:07] leftyfb, thanks i already read it though,it only lists esm for ubuntu 14.04 when i log in so i guess its not for 18.04 then? [14:09] vlm: 14.04 is the only release under ESM. The rest are still under the normal LTS support. [14:09] leftyfb, oh i see,so i might get esm on 18.04 when its end of 5 years? [14:09] Could someone please guide if this is an irrecoverable error and if i should reinstall the OS from scratch? [14:09] http://prntscr.com/w0klyn [14:09] vlm: correct [14:10] thats good news! [14:10] Guddu: try running an fsck on the filesystem booted to a live cd/usb. If that doesn't fix it, then it's possible you have bad storage hardware that should be replaced. [14:11] Thanks leftyfb [14:16] Maik: is the snap bug in 20.04.1? [14:21] hey i just want to verify that I cannot update an Ubuntu Live USB to persistent while it's running. Thanks. [14:21] I already asked at ##linux and was told no, but I figured I'd try to get a second opinion [14:21] Muimi: good question [14:22] Muimi: I don't think you can, unless there's a partition already created [14:22] Muimi: there is absolutely nothing in the world stopping you putting in a second USB stick and setting that up as overlayfs to persist onto though [14:23] Muimi: the important question then becomes, how big is your beard? ;-) [14:23] i have another usb somewhere... [14:23] yeah, seems like a lot of work for just a few changes [14:24] maybe after some rest. :P I'll figure it out and let you know [14:39] This problem keeps happening if I let my PC unattended long enough for the monitor to turn off: https://paste.ubuntu.com/p/5bW5gXgZBJ/ Afterwards the monitor won't wake up and an rsync job I had left running seems to have hung. However, I still have ssh access. What's going on? Definitely didn't run out of ram. [14:52] So, I fixed my virtual machine network issues from 2 hours ago: The interface name changed inside the VMs, so netplan wasn't working. [15:11] Building a new PC. Radeon RX 5700, or GeForce RTX 2060? [15:18] Whats the difference between AMDGPU, Radeon and (new) MESA drivers in the context of RX6000 series GPUs ? Should it work out of the box? [15:18] g3poandlsl: I have 2080Ti and just bought RX6800 f*ck nvidia [15:20] JayDoubleu, this will be the first time I've ever used and AMD card on Linux. I've heard of compatibility issues many years back. Is this still an issue? [15:20] g3poandlsl: well I actually was researching that very recently before purchase. Aparently the new AMD GPUs work like a dream on linux [15:21] i remember the fglrx pain back in the days which drove me to nvidia but seems like now its a good time to go back to amd/ati [15:21] beside drivers, RX5700 seems to be just slightly better https://www.gpucheck.com/compare/amd-radeon-rx-5700-vs-nvidia-geforce-rtx-2060/intel-core-i7-8700k-3-70ghz-vs-intel-core-i7-8700k-3-70ghz/ [15:22] nice. I'm not a big fan of the NVidia proprietary driver lacking KMS [15:22] This article actually made me decide: https://www.phoronix.com/scan.php?page=article&item=rx6800-more-performance&num=1 [15:23] JayDoubleu, thanks for the info [15:24] Can i install a C compiler gcc on ubuntu core? [15:24] Gudddu: of course you can. ubuntu core is just slimmed down [15:25] JayDoubleu, Thanks. So Ubuntu Core does not use apt-get is the error that i get. [15:26] Gudddu: ahh I see, got it confused with ubuntu server [15:29] Gudddu: perhaps worth looking at this : https://github.com/snapcore/classic-snap [15:30] JayDoubleu, Sweet. Trying it out now. [16:04] hi, i'm installing hplip 3.20.11 in Ubuntu 20.04 fully updated. the install is asking, "would you like to have this installer install the hplip specific policy/profile yes no or quit? there is no info on google search or the install notes, what is this? [16:06] HP printer driver [16:06] policy/profile is hp printer driver? [16:07] well, no but hplip is [16:07] right, it comes to the question i asked what is the specific policy/profile? [16:07] do i need it or not? [16:08] if you already have hplip settings in a previous OS then it will ask that if you want that profile [16:08] i can find NO information about what this is [16:09] ok got it [16:10] thank you [16:10] right [16:13] y [16:20] The policy/profile in the HPLIP installer refers to SELinux/Apparmor policy/profile. [16:20] :q [16:39] I read that a regression that makes my system unusable should be fixed by upgrading my gpu driver from nvidia 450 packaged with ubuntu to nvidia 455+ from their website. Anything I should know/do before removing the apt-installed version and trying to install it on my own to make it go smoothly? [17:02] hello - I'm having a strange issue with my laptop, ubuntu and a HDMI KVM switch. Whenever I switch away from my laptop (so effectively remove the HDMI) my laptop goes into a suspend mode/shutsdown the LAN interface [17:03] I'm not sure how to stop this happening. [17:13] Maik: where can I find info (sorry if you've linked it before) about the SNAP bug you were on about? :) [17:13] snap bug? [17:16] Why do I always have to killall snap store and restart [17:28] Hey. How can i set the UID/GID of the mount point of an ext4 filesystem? cause uid=xxx,gid=yyy don't work with ext4; all the things i tried it always change the mount point to root:root? [17:30] akem: mount it and sudo chown to the right uid/gid afterwards [17:31] akem: ext4 stores uid/gid in the inodes of the filesystem and has no way to override it with mount options [17:32] seere, Cool it worked, thanks. :) [17:33] akem: you have to do this only once, as uid/gid are stored in the filesystem. [17:34] seere, Yep, it's because it was an NTFS FS so i had to use that, i changed it to ext4, didn't think about changing it and it would keep it after unmounting. [17:52] has anyone here installed Ubuntu 20.10 in Virtualbox ? I'm trying for the 3rd time now but the installer gets stuck about 1/3 of the way through === ijohnson is now known as ijohnson|lunch [17:56] devslash: stuck? Doing what? [17:56] stuck installing [17:56] i redownloaded the iso [17:57] and I started over [17:57] stuck how? [17:57] did you checksum the image? [17:58] the iso has a bug thats causing the installer to crash [17:58] Probably a quick question; How come whenever I format a MicroSD card as exfat in Ubuntu, android devices see it as corrupt, and re-format it as exfat? [17:59] RJ45: FAT32 [17:59] devslash: well is it crashing or stuck [17:59] (partition table and unalocated partition created in Gparted, and mkfs.exfat ) [18:00] RJ45: because exfat isn't very well supported except in various specific ways [18:00] Maik: nope, exfat, both times it gets formatted [18:00] matsaman, I just ran the installed for the 3rd time and this time it crashes [18:00] if you want to use it on Android, let Android format it [18:00] this is from an iso for 20.10 [18:00] devslash: so sometimes it crashes and sometimes just stuck? [18:00] yes [18:00] is there any mkfs voodoo I can do to make it recognised by an android device from the get-go? [18:01] im downloading 20.04 LTS to see if it has the same issue [18:01] RJ45: pretty sure to let it work on on android devices you need to format it in FAT16 or 32 [18:01] devslash: be sure to do the checksum, too [18:01] RJ45: if you want to use it on Android, let Android format it [18:01] use Disks to format the sd card [18:02] or what matsaman said [18:02] Maik: when it gets re-formatted by the android device, it gets re-formatted at exfat [18:02] not fat32 [18:02] android is no-longer limited to fat32, that's half a decade ago [18:02] ok then [18:02] matsaman, im on windows. i dunno how to check it on windows [18:03] my dad is tech illiterate, has a new phone, wants an sd card with music on it, he lives farrr away [18:03] RJ45: the fact remains that the only format that is certain (mostly) to work with Android is what _Android itself_ formats as [18:03] would be super cool if I could just , load it with stuff and it "just work" [18:03] RJ45: you don't have an android device to format with? [18:04] matsaman: that's not really the point, there *should* be a way to make it work [18:05] if it can be figured out, that would make future formatting 110% more convenient [18:05] devslash: https://superuser.com/questions/245775/is-there-a-built-in-checksum-utility-on-windows-7#898377 [18:05] ubuntu can only turn off display < 15min or never? [18:06] RJ45: I agree, but that's not your problem at this moment [18:06] conr: hrmm? [18:06] I'd argue it's everyone's problem [18:06] conr: seems like it [18:07] consistency between devices of which supposedly support the same partition type is very important [18:07] Hello when I turn on youtube on fresh installation my sound just turns off 5 seconds into watching a youtube video? [18:07] exfat should = exfat [18:07] matsaman: Settings > Power > Blank Screen > 1-15mins, Never [18:07] why does my sound just turn off randomly? [18:08] thats rough [18:08] RJ45: 'supposedly' is your issue [18:08] exfat is theoretically well supported across devices, but in practice not really [18:08] the end [18:09] should probably thank your lucky stars you're not dealing with an iPhone [18:09] well when I format as exfat in Ubuntu, ubuntu sees is but android does not, but when I format as exfat in android, both ubuntu and android see it, so CLEARLY the issue is with how mkfs is formatting exfat [18:09] or perhaps a user error I am not seeing? [18:10] you could look at it as that being the issue [18:10] but in reality the issue is the reverse [18:10] Android is less tolerant and GNU/Linux is more tolerant [18:10] GNU/Linux sees any old exfat and says "ok" [18:10] Android only wants a particular exfat [18:10] or it craps out [18:10] so again, if you want support from a less tolerant thing, you need to allow that thing to have its way [18:11] that said, yes, there is probably some magical way to call mkfs on Ubuntu that will allow Android to not complain [18:11] there must be a way to make mkfs.exfat format in a perticular way that android would like.. is there a modifier I can experiment with? [18:11] _but_ if you have an Android device, the _fastest_ solution is to just let Android format it [18:11] I don't want the fastest solution, I want the purest autistic solution [18:12] I don't think autists want a solution that only works for one case [18:13] how would you format exfat from Windows for Android? From macOS for Android? [18:13] the one solution that works every time is using Android for the format [18:13] is there any particular nuance with mkfs.exfat of which could possibly be why android doesn't like the default way it formats? [18:13] yes of course [18:14] is there something I could add to the mkfs.exfat command? [18:15] maybe it's something about -s sectors-per-cluster [18:15] probably [18:15] my internet is apparently clogged and only IRC is working [18:15] I would search for 'how format exfat for android from linux' [18:15] tried searching that [18:16] literally that same phrase too, which is funny [18:16] try "from linux" then [18:19] I bet formatting exfat on windows would work with android [18:19] is this really the solution 'just let the proprietary thing do it' [18:19] ¬_¬ [18:20] that's the nature of proprietary things [18:20] both 20.04 and 20.10 crash in virtualbox [18:20] just format the card on a android device and done [18:20] geez [18:20] what am I gonna do, format my dad's android SD card with ext4 ?? [18:20] RJ45: do you have an android device or not? [18:21] if you have one, let it format the thing, and if you really want to you can examine _how_ it formatted it, and then duplicate it, pointlessly, with Ubuntu's own mkfs [18:21] I have an android device, but what if the way MY android device does it in a way my long distance dad's android device doesn't like?? [18:21] this isn't about Ubuntu anymore, take it to discuss or offtopic [18:21] devslash: entirely possible; or your VM extensions could be broken [18:21] RJ45: then nothing is going to help you [18:21] what extensions ? [18:22] devslash: your hardware and firmware level VM support [18:22] it's like, a 3 hour journey I don't wanna have-to take 2 times, once to format with his device, and again to give it him back with music on it. [18:22] take the music with you on a laptop? [18:23] just for that?? [18:23] RJ45: but again, better to take it to -discuss or -offtopic [18:23] installation of fakecam fails on my 18.04... https://snapcraft.io/install/fakecam/ubuntu Any suggestions? [18:24] sometimes I wonder why I even switched to a linux desktop environment 10 years ago [18:24] this isn't a Ubuntu support question anymore imo [18:24] RJ45: why not? :P [18:24] life used-to be fun [18:24] ( ._.) [18:24] haha [18:26] gebbione: what exactly fails? did you "sudo snap install fakecam" what errors do you get? more info would be helpful === Gokturk-Away is now known as Gokturk [18:28] pavlos, i know i was trying to paste it using termbin but fails [18:28] RJ45: this is Android's problem, not GNU/Linux's [18:28] Android's, and your own idea that exfat is properly supported by all things the same way -- it isn't [18:29] pavlos, https://paste.ubuntu.com/p/QXksddhjMS/ [18:33] gebbione: can you do a clean update/upgrade? seems your system has issues with /var/cache/fontconfig/ [18:35] i tried apt clean / update and it is only asking to upgrade vivaldi [18:35] should i sun upgrade too? [18:35] will it install ubuntu 20? [18:35] gebbione: no, an update/upgrade will stay at 18.04 [18:36] sed /sun/run/ [18:36] upgrade bumps my nvidia drivers to a later version but this usually causes me problems [18:37] someone please humour me and look at this [18:37] https://pastebin.com/raw/QyTSzEDk [18:37] so i ll show you what i get prompted with [18:37] these are the outputs of fdisk from both formatting exfat in linux, and formatting with an android tablet [18:37] how can I replicate what the android tablet did, with mkfs ? [18:38] by examining what it makes [18:38] yes but I don't know how to reproduce it with mkfs [18:38] https://paste.ubuntu.com/p/SqWggHHtWc/ [18:39] i dont see what would make a difference in the upgrade [18:39] it asks to remove some packages and upgrade vivaldi [18:39] gebbione: you could upgrade vivaldi, no harm. You can run autoremove to clean up your system. I do not see upgrading nvidia [18:40] gparted and mkfs.exfat by default made Id: 83 Type: Linux [18:41] android craplet made Id: 7 Type: HPFS/NTFS/exFAT [18:41] what do I add to mkfs to make it ID 7 and type HPFS/NTFS/exFAT [18:42] (assuming 'id' is even something that's relevant?) [18:42] RJ45: probably your exfat progs comes with something with 'tune' in its name [18:43] pavlos, whats next after the upgrade? [18:43] gebbione: so and update/upgrade/autoremove is clean now. Try the snap install again [18:43] an* not and [18:44] RJ45: if you're on Ubuntu 20 you can probably install exfatprogs and dpkg -L exfatprogs | grep -i bin | grep -i tune [18:44] RJ45: otherwise see what exfat-utils has (dpkg -L exfat-utils | grep -i bin) [18:45] same error [18:46] gebbione: going to try on a vm ... [18:47] thank you [18:49] matlock: mkfs.exfat doesn't have that, but fdisk did have that [18:50] Is it a concern installing Visual Studio Code as a deb from microsoft? I am hesitant, to say the least, about running microsoft scripts as root. [18:51] thanks to your subtle hint, I figured out that setting tune 7 in fdisk after using mkfs.exfat results in an exfat what will work with android devices YAY! [18:51] kaleb: I wouldn't do it even if it weren't a security or privacy concern [18:51] kaleb: upstream bins usually suck [18:52] you'd also probably be opting into features that aren't necessarily available in the 100% open source builds [18:52] I feel like an experienced linux user here coulda just told me that.. [18:52] christ [18:52] matsaman: I hear you. But I am installing Unity3d just for fun on an old macbook pro that I installed Ubuntu on. I think VScode, which everyone seems to be using these days is a better match with Unity3d than my own Emacs. [18:52] kaleb: dunno why you'd think that [18:52] if you can use emacs, then you decide your own fate [18:53] there are two parts of free software, and they're both important [18:54] matsaman: Well, I was under the impression that the sync between Unity and VScode was quite good. I don't even think there is any between Emacs and Unity. But I can be mistaken [18:54] one is the license, and the other is the build and how it comes to be [18:54] take mysql for example, which was free software, but entirely dependent on a for-profit company [18:54] oracle bought it and it's now dead [18:54] Well, MariaDb still lives on [18:54] so anybody who dedicated time learning mysql wasted their time, and has to relearn other things [18:55] yup, that's a success story, but it's also a story of failure [18:55] matsaman: Nah, it isn't that bad. SQL is SQL. It is not a waste [18:55] yes and operating systems are operating systems [18:55] kaleb, not all SQLs are created equally [18:55] There seem to be a strong push for PostGreSQL now though within the dev community [18:55] anyway, my comment on upstream bins stands, IMO [18:55] kaleb: so you're making a 3d game? [18:56] g3poandlsl: That is very true. I abhor that some things are undefined when doing complex MySQL queries and not being focused. [18:56] well postgresql has been the best big sql system for a long, long time [18:56] since before mysql died [18:56] don't get me wrong, it's still a crufty old POS [18:56] matsaman: No, professionally I am doing a 2D game. But I am not allowed to talk about it. But this is just for private fun. [18:57] you might take a peek at godot, it has an IDE even [18:57] and for 2d in particular, I have heard people find godot superior [18:57] something about unity's 2d engine being faked from their 3d engine, vs godot's being dedicated for 2d and 3d respectively [18:58] I have to use Unity, for some special needs the game has. So I figured I better stay within that privatly as well as to maximize my proficency [18:58] if you can't find a .deb of vscode built by a Debian or Ubuntu package maintainer, IMO that says a lot about the code or build quality or lack thereof for vscode [18:58] cool [18:59] gnome shell crash a lot.... and I have like 2 extension enabled (default ones) [18:59] I am just very bothered by the idea of running stuff, as root, that has been touched by Microsoft. I am not an extremist, I am just bothered by it. And the darn snaps are slow as crap for some reason so I don't want to use those at all [19:00] kaleb, Stallman is you? [19:01] dob1: No, I am not Stallman [19:01] kaleb, if you extract the .deb file, you can inspect the pre/post install scripts to see what they do [19:01] kaleb, there are several non-free repository added to ubuntu, have you disabled them too? [19:02] I had to do that to repackage vscode internally for my org. Had to remove the automatic adding of the microsoft repo [19:02] g3poandlsl: That is true. Still, doesn't matter. Even the code within the editor can steal anything my user has access to or put stuff somewhere. In the end, the private user is still where the interesting stuff is. [19:03] dob1: No, I was under the impression I enabled all repos. But I have not used the snaps. I use the regular apt to install stuff. [19:03] dob1: Ah, I see, you are refering to me already being compromised. And yes, most likely. Allthough I have hardly installed anything more than default apps from Ubuntu. [19:04] I assume Ubuntu Server relies on snaps just as much as workstation Ubuntu does? [19:04] Why are the snaps so horrendously slow? To start up say brave it takes several seconds, while the deb fires up instantaneous [19:05] kaleb, if you think in this way imho ubuntu is not the right distribution, go for debian with no non-free repositories in your source list [19:06] dob1: I normally only use debian. I thought I would try this popular distro. But you are most likely right. But when using debian I always end up prostituting myself. I start at stable, then when I want something I put new stuff bit by bit until I eventually am running unstable and being ownd as !"#¤. [19:07] I hate having to choose between integrity and features :-( [19:07] Just like in life... [19:08] kaleb, go for a rolling one then if you want updated sofware [19:08] arch / gentoo maybe [19:10] the snap is an upstream POS probably [19:10] and also they will always necessarily have more overhead [19:11] dob1: That would probably be the best way. I have been using Apple for the last couple of years and the datatheft is making me sick. I hate seeing their stealing little thief fingers in everything. I got so fed up I was checking out the librem 5 phone yesterday. I looked at the librem because that is the only phone where the radio does not share the memory with the smartphone OS. Realizing that every password, every encryption you have [19:11] ever used on the phone has been available to the phonecompany and their third party employers made me loose hope for humanity. [19:13] I just think I have to let go and let big tech rape me. That way I at least get some features thrown on the floor next to me when they are done for the moment. [19:14] such a weird thing for an emacs user to say [19:14] kaleb, I suggest a system76 laptop too then :) [19:14] dob1: Way ahead of you. Looked at buying one of them as well [19:14] I'm gonna wait for system78 [19:14] dob1: They ship from the US though. I live in Sweden. Not a big problem per se [19:15] matsaman: Why would it be weird for an Emacs user to say that? [19:19] kaleb, librem 5... I just saw the page, very high price for a device that has an os that I don't know but for sure can't compete with all the apps that compatibles with the other mobile os [19:19] It will be a good device but dependes what you can do with it... this is the doubt [19:21] dob1: The librem phone is almost more like a puny pc with phone functionality. There are no apps as it is neither running iOS nor Android. It has like a handful applications like. So it would be to give up every smartphone functionality there is. And that would suck. I guess I could just as well get a nokia 3310 and go old school. [19:21] some chromebooks you can put GNU/Linux on [19:21] those are probably the most affordable laptops you can get that are 100% supported by Linux [19:23] kaleb, there will be the options to use the web app version for the most famous app for sure [19:23] I have missed Linux so much, but at the same time, a person can be very effective when running a Mac. A mac is almost like a linux distribution where the power management works :-D [19:24] dob1: huh, I did not think of that. But you are right. It is running a full browser. Hmm. Still pricey though for what you get. [19:24] kaleb, it's written "Bridge the gap with native and HTML5 apps" [19:24] dob1: haha true [19:24] kaleb: certainly more Unixy than Windows [19:24] still feel like my hands are tied on macOS, though [19:24] a lot of stuff I prefer is second-class there [19:25] and every update is a proprietary black box pain in the butt [19:25] matsaman: Yeah, funny thing is though. I kind of just applied for a job working with .net lol [19:27] matsaman: Yes, there are many things that annoy me to no end with macs. Over priced, performance sucks ass, new firmware updates will lower cpu speed, every image you put on it will be analyzed with your own hardware and the info will be sent to apple. [19:27] all the signed driver nonsense [19:27] Still, I think every PC I ever owned has had massive problems with compability and stuff [19:28] all the package managers are 3rd party [19:28] never have any problems with GNU/Linux [19:28] matsaman: Oh that's right, I forgot about that. I killed one of my linux installs by trying to get nvidia drivers workin a couple of years ago. Did not appreciate that one bit. [19:28] isn't macOS based off of unix? [19:29] can't say I've had much reason to deal with nvidia's proprietary nonsense since nouveau hit the scene [19:29] conr: yes [19:29] and so are systems you'd find really foreign and awful, like AIX [19:29] other* systems [19:30] 'better than Windows' isn't saying much [19:30] conr: Well, Unix is not really defined but you can have access to a lot of linux software on a mac. [19:30] Unix is defined =P [19:30] people like to mix it up with UNIX trademark certification, though [19:30] matsaman: UNIX is ;) Unix isn't [19:30] both are, and thank you for proving my point [19:30] matsaman: true. haha. yes [19:31] Unix predates the UNIX trademark nonsense [19:31] i love my mac AND my linux box [19:31] matsaman: It has just taken the form of this mythical creature. Pure old Unix sux as compared to modern linux [19:31] boom [19:31] it's a contentious issue, but not at all a complicated definition in reality [19:33] Just realized that every time I start up IRC I end up sharing thoughts with people a lot smarter than the people I normally communicate with. That is why I never start it during work hours anymore. It is really hard breaking away from interesting discussions. [19:35] I just got a new ssd and used fdisk and mkfs.ext4 to format it. When I try to mount, I get "mounted filesystem with ordered data mode. Opts: (null)" - I've googled around but couldn't really find what the issue is. Anyone have any experience with this? [19:35] kaleb: yup [19:35] text is a great way to suck up info [19:35] very addictive [19:35] And way way faster than video [19:36] luke: what is the actual problem? Can you not use the FS? [19:36] kaleb: way [19:36] I get very annoyed when the only info I can find is on youtube and not in written form [19:36] yup, hate that [19:36] so inefficient [19:36] matsaman: won't mount. No error when attempting to mount. That's the dmesg output [19:36] the average youtube video is equivalent to about two lines of condensed text [19:36] Ha so true [19:37] Content doesn't start until 3 min in and could have been 2 lines of text [19:38] gebbione: fakecam installed w/o issues on a 18.04, see https://imgur.com/a/VTSq2Qq [19:39] luke: hrmmm [19:39] matsaman: yes, and when youtube started forcing creators to use 10 minute videos I got so frustrated. Now the people are sitting making videos 10 minutes long that can be said in 2 minutes or less. They even sit there and read articles, commenting them. This made me move away from youtube even more. [19:39] luke: tune2fs -O ^huge_file /dev/whatevs ? [19:39] kaleb: didn't know that happened, but honestly I bet most people were already making videos much longer than necessary [19:39] that's the entertainment/journalism game [19:40] keep people engaged, rather than get a message across succinctly [19:40] more time for ads that way [19:40] just depends on what audience you want; enlightened people who value their time, or sheep [19:40] matsaman: well, there was a very significant drop in quality after that as everyone watered down their content. Youtube used to be snappier. Now it is just sloooow and highly censored. [19:41] yeah and they're constantly pushing subscriptions now [19:42] I wouldn't mind so much if creators with good content would move to better platforms. But no, they stay, because there is a possibility that Youtube will not steal your promised money in the future. But, it doesn't matter, eventually no one will get paid. Except the actors of course. [19:43] I'll spend my money on condensed texts instead [19:43] matsaman: I wonder if it's because of the drive type: A55 M.2 SSD [19:43] luke, I'm reading you to need to specify that a journal is created for ext4 [19:44] although that should happen by default [19:44] the defualt might be to not create one [19:44] compdoc: huh can you end me that doc? I've never had to specify journal creation with mkfs.ext4 before? [19:44] it should be to create one, but no harm checking [19:44] compdoc: yeah that sounds reasonable but I'm not sure why I've never hit this before [19:44] Oh snap. Wife just came with beer and chees doodles. I can not type with beer infused greesed up fingers. Thanks for the help chaps and have a jolly good day. May your internet be fast and may the memes be hilarious :-) [19:44] luke: you try that huge_file toggle? [19:45] read the bottom of this page: https://superuser.com/questions/855547/mounted-filesystem-without-journal-opts-null-while-mounting-ext4-fs [19:45] kaleb: may your wife remain as she is [19:45] matsaman: no what's that do? [19:45] luke: disable huge_file support [19:45] Huh I'll try that [19:46] luke: you could also check what options this fs was created with - tune2fs -l [19:46] Yeah it was created with has_journal and huge_file [19:46] has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum [19:47] Not sure why the default ext4 fs opts wouldn't work [19:47] anybody use x11vnc and connect to it before logging in to the gdm3 screen? i can't seem to get it work before login. [19:47] I always use gparted [19:48] I used fdisk for this - maybe that was the problem [19:48] I usually use parted too [19:48] luke: but fdisk and mkfs are different steps? [19:48] yeah [19:49] I ran fdisk to set up the partition table and mkfs.ext4 to create the filesystem in the partition [19:51] Friendly suggestion if there are any devs in here. In the Canadian English version, it should be spelled "Favourites", rather than "Favorites". This is nitpicky, I know, and probably not a priority. [19:52] luke: couldn't see why journal could trip up particular hardware, but I can imagine huge files might [19:52] anyway it's a simple thing to try [19:53] Yeah I'm trying to reformat with parted [19:53] We'll see [19:53] luke: not quite sure if this Opts:(null) really indicates an error - what excatly are yout doing to ount the FS? [19:54] popey: I miss you if you are here, Mr. Pope. I remember the Mumble days with you. [19:54] "Warning: You requested a partition from 512B to 512GB (sectors 1..1000215215). The closest location we can manage is 512B to 999kB (sectors 1..1952)." That's suspicious\ [19:55] seere: so mount: "sudo mount /dev/sda1 /media/mountpoint" === NickBusey9 is now known as NickBusey [19:56] Ok I think the issue was the MSDOS partition table type... guess it couldn't make an FS that big or something? [19:56] luke: and after that - how to you test it isn't actually mounted? What does "cat /proc/mount" say? [19:56] seere: not in there nor in the output of "$ mount" which just lists them all [19:58] luke: could you provide the full dmesg output after mounting the FS? [19:58] "[ 5118.794965] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)" [19:59] luke: this dosn't indicate an error. [19:59] luke: according to this it is mounted. [19:59] That's the only output I have to go on though when it fails to mount [19:59] Yeah it's not mounted though [20:02] luke: can you unmount and retry that? And provide the last few lines of dmesg and the contents of /proc/mounts afterwards? === ijohnson|lunch is now known as ijohnson [20:03] Yeah I've retried that ten times. Same thing. I repartitioned with parted instead of fdisk and I think it was having issues with the msdos partition table. GPT seems to have resolved the errors. Hold tight to see if it mounts [20:03] pavlos, not sure why it happens but it does not make sense that the installation fails because it cannot clean a cache directory :) [20:04] dont know :/ dinner time [20:05] Ok now I'm getting a new error when trying to mount: "wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error." - googling now [20:06] I think success! [20:08] luke: this means you tried tou mount the wrong FS type or didn't create one with mkfs [20:08] No never mind - still not in /proc/mount or "mount" output [20:08] seere: yeah I did create one with mkfs.ext4 - not sure why this isn't working [20:08] gebbione: try this (after dinner), sudo apt-get install --reinstall --purge fontconfig-config [20:09] Is anyone using Polari as their IRC client? If you've used it, how do I go about revealing the entire topic at the top of the window? [20:09] nvmd [20:09] Just gotta hover [20:10] luke: what does lsblk say about your block devices? [20:11] seere: seems normal? [20:11] `─sda1 8:1 0 476.9G 0 part` [20:13] luke: so you did "mkfs -t ext4 /dev/sda1" without errors? [20:13] yeah [20:13] Well mkfs.ext4 but I think it's the same thing [20:15] Partitioning with this in parted: "mkpart primary ext4 65535s 100%", then run "mkfs.ext4" on it with no errors [20:15] Then try to mount, no errors just that dmesg output. Then it's not mounted and doesn't show up in /proc/mount and says it's not mounted when trying to umount [20:16] luke: so you exactly typed "mkfs.ext4 /dev/sda1"? [20:17] seere: yeah with sudo [20:17] seere: try again adding -v and provide the output [20:17] ok [20:18] https://pastebin.com/W9EeJMff [20:20] luke: whats your local time, because "/dev/sda1 contains a ext4 file system; last mounted on Fri Dec 11 14:14:36 2020" [20:20] Thu Nov 12 14:58:33 UTC 2020 [20:20] Anyone know if there's a way to tell imagemagick the format of an input file that does not have an extension? [20:20] I'm also going to look for a channel for imagemagick now... [20:21] luke: according to this the filesyset was mounted... [20:21] Well I'm able to run the mount command over and over again without it saying it's already mounted and if I try to umount, says it's not mounted [20:22] I wonder if that just gets initialized to when the filesystem was created? [20:22] mustmodify: ##imagemagick exits [20:22] *exists [20:23] great thanks. [20:23] Hopefully they will know. [20:23] luke: now please paste the output of "tune2fs -l /dev/sda1" [20:24] https://pastebin.com/0cAbaEyU [20:25] luke: whats yout local time? [20:26] 14:25 right now [20:26] luke: do you have more than one system? [20:26] More than one computer? yeah [20:28] luke: sure you check the right one? According to your last paste the filesystem just created *was* actually mounted like 3 minutes later. [20:28] Haha yeah [20:28] Every time I run mount it updates that timestamp [20:28] But I can confirm it's not mounting [20:29] luke: it *was* mounted at "Last mount time: Fri Dec 11 14:21:33 2020". What are you doing? [20:30] Again, it updates that timestamp every time I run mount but it's not actually mounting [20:30] I think you can read that field as "last time mount was run" [20:30] luke: "RAID stripe width: 8191" - How is raid a factor in this ? [20:30] Hmm shouldnt be a factor [20:31] https://www.amazon.com/gp/product/B07FPKTBTH/ref=ppx_od_dt_b_asin_title_s00?ie=UTF8&psc=1 here is the exact SSD [20:31] It's not RAIDed [20:31] luke: no, not "as mount was run" but "as the filesystem was really mounted" [20:31] What's your point? That the disk is actually mounted? [20:32] luke: it at least was at "Fri Dec 11 14:21:33 2020" [20:32] Maybe mount is succeeding for a split second then somehow the disk is immediately anointing [20:32] seere: yeah that's right when I ran the command last [20:33] unmounting* [20:33] luke: this timestamp is recorded in the superblock of the filesystem [20:33] Interesting [20:33] Then that must mean it's mounting then immediately unmounting [20:34] luke: this is one possible explanation. [20:34] One thing is for sure, mount does not see the disk as mounted right after I run mount [20:36] luke: when you check mount problems, you should always check /proc/mounts rather than the output of "mount". Because just calling "mount" just checks something like a recoded cache in /etc/mtab, which could be broken (example: read-only /) [20:37] s/recoded/recorded/ [20:37] seere: /proc/mount does not see it as mounted either [20:37] But point taken [20:38] luke: luke could you please provide a full view of /proc/mounts and lsblk? [20:38] Sure - one min [20:39] https://pastebin.com/bMuTWPDn [20:41] This is the output immediately after successfully running `sudo mount /dev/sda1 /media/external` [20:41] luke: sudo lsblk -fs [20:42] https://pastebin.com/MnpJybdK [20:42] luke: does it show the mountpoint? [20:42] luke: and maybe the last 100 lines of dmesg? [20:43] Dmesg output: https://pastebin.com/LkZrpfc8 [20:43] You can tell from the timestamps where I plugged in the disk (usb) at the top and started formatting it [20:46] luke: and if you check the timestamp again with tune2fs -l /dev/sda1? Is it updated? [20:46] Last mount time: Fri Dec 11 14:38:17 2020 [20:46] yeah [20:47] luke: weird - something is unmounting it... [20:47] Is there some kind of umount audit log somewhere? [20:47] It appears to me that the filesystem length is longer than the partition length and thus it's getting kicked back out? Was this a case of a DD'd filesystem or partition change. Like did you shrink the partition table and filesystem but get them wrong? [20:48] luke: could you please unplug, mount and provide dmesg again? [20:48] [ 7486.586057] EXT4-fs (sda1): bad geometry: block count 125018706 exceeds size of device (125016204 blocks) [20:48] Razathorn: those were fdisk experiments with block offsets. That's not the current problem [20:48] Those were triggered directly by me [20:48] seere: yeah one sec [20:49] Oh [20:50] Unfortunately ;) [20:51] Is this a spinning disk and what are you plugging it into? The reason I ask is I had similar results plugging a spinning usb external disk into a raspberry pi where it would work for a moment and then draw enough power that it was essentially unplugged and gone. [20:51] ssd [20:51] to catch up, this is an M.2 drive plugged in USB, formatted ext4, that the system does not mount? [20:51] Swing and a miss [20:51] pavlos: thanks :) [20:51] Razathorn: usually dmesg will print a voltage error if the drive doesn't have enough power in my experience [20:52] Mine didn't but it did note the device disconnect for sure though. [20:52] Here is re-plugging it in : https://pastebin.com/rJXzik3F [20:52] `[ 9876.874395] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK` [20:53] have we tried reading 100MB from the front of the disk with DD to /dev/null to see if it gives an io error? [20:53] No - good thinking - I'll try that now [20:53] Razathorn: from the disk or partition? [20:54] luke: first- check last mount time form superblock, try to mount it again. Check /proc/mounts and last mount time from superblock again. [20:54] Last mount time: Fri Dec 11 14:38:17 2020 [20:55] Mount, then Last mount time: Fri Dec 11 14:55:03 2020 [20:55] No record in /proc/mounts [20:56] Razathorn: sudo dd if=/dev/sda1 of=/dev/null bs=100MB count=1 --- succeeds [20:56] luke: something is unmounting it, as the timestamps update correctly (assuming your local time is around 14:55 now) [20:57] seere: yes that's correct [20:58] luke: you have something very strange in your system, but your filesystem on /dev/sda1 is fine. [20:58] would a reboot help clean up the system? [20:59] I can reboot real quick [20:59] luke: maybe, or try it on another system as it's pluggable. [21:00] ok [21:00] Razathorn: just to be clear, this is an RPi4 running with PoE. I was running a platter external USB disk before. Now I'm trying this SSD [21:00] Hello, I am having a wireless problem on CentOS which after talking with #centos and #linux led me here. What is the recommended hypervisor for Ubuntu? [21:01] Oh. shit. Rebooting work?! wtf [21:01] Its mounted [21:01] tasaif: kvm, what else? [21:02] luke: thsi was a really quick reboot ;) [21:02] seere: pavlos Razathorn thank you all for your help [21:02] pi4 is fast ! [21:02] Haha yeah [21:02] The rpi4 is pretty fast with the USB/ETH busses split out [21:02] can anyone corroborate seere? [21:02] well, umount it, do something else, remount it. make sure all works [21:03] pavlos: good call [21:03] umount then mount succeeds [21:03] Wow I'm stumped [21:03] I'm actually on plasma on a pi4 right now ;) [21:03] write some bytes in there, red them [21:04] read* [21:04] I think I'd improperly formatted it with fdisk the first go around. Then I fixed it with parted but some other state was already persisting improperly and was cleared by reboot [21:05] All my read and write tests are working now [21:05] Again thank you all so much for your help! [21:05] I switch back and fourth between raspberrypi os (debian) and ubuntu desktop 20.10 (for squishing bugs) by swapping storage. [21:05] luke: I'm not satisfied not finding the actual reason, but at least it it working now. [21:05] Haha me either [21:06] s/it it/it is/ [21:06] something was cached preventing mount [21:06] Razathorn: this is what I'm doing https://youtu.be/Q1btyPoL0GI [21:06] The real reason was clearly kernel bug ;) When in doubt, shift the blame from userland! [21:06] hahaha [21:06] I'm sure this was something I did [21:06] upon reboot, cache was cleared, mount succeeded [21:07] I defined an invalid partition size with fdisk originally. I've never used fdisk much before so somehow I messed it up. Then with parted I fixed it but something was stuck in the disks cache (we saw those errors when unplugging/plugging it in about the cache) [21:07] Ahh man that won't work with my case! but yeah nicer than having a thing sticking right out the side of the pi for sure. [21:07] I think it was the disk cache that was persisting the error [21:07] Razathorn: I 3d print my cases [21:07] pavlos: yes, something around the inside kernel block device ("partition") cache. Just wondering why it was mountet - it is carved into the superblock timestamps it actually was mounting... [21:07] you can wipe the M.2, remove partition, then format it as ntfs, see if you can mount. Then reformat as ext4, do the same [21:07] Razathorn: https://www.thingiverse.com/thing:4078710 [21:09] Ok I'm going to take a break. Thanks again all. Couldn't have done it without you. Should have just power cycled like a windows user and saved us all a lot of time ;) [21:09] luke: I was about to be a jerk and ask if you turned it off and back on again too. [21:09] Lol [21:09] pavlos: did ask and was right [21:09] This is the one true error we ever found: `[ 9876.874395] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK` [21:10] pavlos ftw [21:10] a collective effort ... [21:10] next time i Would have tried "blockdev --rereadpt" or kpartx first. Didn't suggest that as parted should trigger this nowadays. [21:11] seere: yeah but the partition table should be re-read when the device comes in. It was unplugged and plugged back in a few times. [21:11] luke: I have a lingering bad feeling about that device honestly. [21:12] but if rebooting the pi fixed it, that doesn't check out at all! [21:12] I have everything backed up so I'm not concerned - this wouldn't be my first disk failure if that's where it's headed ;) [21:12] Razathorn: yes, that's the strange part. Thatswhy I asked luke tu unplug it. [21:12] Unplugging did provide the cache sync error [21:13] See ya all later [21:43] seere: is there any chance that systemd was umounting the filesystem? [21:47] systemd create services for mount points in fstab, I already had problems where I umounted, changed the partition and could not mount again without the "daemon-reload", and obviously restarting would fix in this case, just my point, but I got only the final of luke conversation === denningsrogue6 is now known as denningsrogue [22:19] Anybody know why there's a newer version of the kernel when I do apt-cahe search, than what I am running? I've never messed around with the kernel before, so kind of curious what's going on here. [22:21] mikeliss: what ubuntu version and what kernel is being shown? [22:21] 20.04 and 5.4.0-56 [22:22] jeremy31: I need 5.7 for a new headset and 5.8 shows up in apt cache, so I'm surprised it isn't installed. [22:23] you have the option to stay witht eh 5.4 GA kernel, which stays on this version during all of the support period of this ubuntu release, or you could switch to !LTSE [22:23] !LTSE [22:23] The Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack [22:23] mikeliss: 5.8 is in the repos and you could likely manually install but some dkms packages might not be updated like ones used for Nvidia graphics and Broadcom wifi [22:25] Wow, hadn't seen the enablement stack thing before. [22:26] Wow, that's cool! [22:26] SOLD. [22:29] tomreyn: Hrm, the command in the wiki reports that there's no xserver-xorg-hwe-20.04 package, and looking with apt-cache doesn't find it either. :/ [22:31] And strangely, installing linux-generic-hwe-20.04 didn't install a new kernel. [22:31] mikeliss: yes, you'Re right, i guess there's none yet for xorg [22:32] Sigh. Weird/not weird. [22:32] and linux-generic-hwe-20.04 still points to 5.4, but there is also linux-generic-hwe-20.04-edge, which points to 5.8 [22:32] Ah ha. [22:33] so that's "early testing" of what will be linux-generic-hwe-20.04 at some point. but should be stable. [22:33] Well...that sounds scary. [22:33] not really, it's the kernel that ubuntu 20.10 uses [22:33] So why isn't it released? [22:33] mikeliss: the kernel is stable [22:33] ubuntu focal. we were all told to upgrade from 5.4.0-54-generic to 5.4.0-56-generic, due to several bugs https://9to5linux.com/canonical-releases-major-ubuntu-kernel-updates-to-address-14-vulnerabilities [22:34] but 5.4.0-56-generic has vanished into thin air without explanation. what exactly is going on? [22:34] Right, but 5.8 is considered fine for 20.10 but "edge" for 20.04. Weird. [22:35] mikeliss: the 5.8 kernel package is in main, so you can rely on it getting full security support. it may get less bug fixing than the 5.4 kernel, so maybe on a server which needs the highest possible stability you would not want that. [22:35] Welp, here we go. [22:35] the 5.4 kernel is not exactly doing well on bug fixes ... [22:35] Onwards to edge. I guess if things get nasty I can revert. [22:36] it's entirely normal that there are security updates for kernel images. [22:37] (and you'd want it that way) [22:37] how on earth is it possible that a kernel just vanishes, after being promoted by canonical themselves as being a vital upgrade? [22:38] i think there was a major bug with one patchset cuasing RAID-10 data loss [22:38] when combined with trim / discard [22:38] i am talking about focal 5.4.0-56-generic not the 5.8 kernel [22:39] me, too [22:39] ok then. where is the notification? and what do people do who have already upgraded? do they stay with the badness, or revert to other badness? [22:39] ohcanada: It may have been removed because of bugs [22:40] seems to me promoting an urgent upgrade and then disappearing it, without any explanation is a sign of utter stupidity [22:41] see bug 1907262 [22:41] bug 1907262 in linux (Ubuntu) "raid10: discard leads to corrupted file system" [Undecided,Confirmed] https://launchpad.net/bugs/1907262 [22:42] such happens very rarely, but errors are possivle where humans are involved. [22:42] so better to revert, or to stay? [22:43] you can probably get 5.4.0-58.64 from your mirrors now, or from -proposed [22:43] ohcanada: It depends on if that kernel is causing issues [22:44] i don't want proposed. and i don't want an inconsistent package set [22:44] on the other hand i don't want the old bugs either [22:45] ohcanada: reboot, use Grub Advanced Options to boot into an older kernel, then remove the 5.4.0-56 [22:45] now that those vulnerabilities have been disclosed, any systems going back to the old kernel would be vulnerable [22:46] this is a total mess [22:54] what i did was manually revert. and to be honest, i feel like manually reverting to fedora. later guys === disillusion is now known as Nov1-Vaccine [23:09] exit [23:10] exit === Nov1-Vaccine is now known as disillusion [23:13] I have an ubuntu 18.04 LTS virtual machine that frequently stalls while shutting down. In the console, I see, "[ ] A stop job is running for PostgreSQL Cluster 10-main (26s / 1h)". Is there any way for me to interact with the computer at this point to figure out why it is waiting for the PostgreSQL Cluster? [23:41] Hi I have a question about dual booting Ubuntu with Windows 10. I isntalled Win10 first then installed Ubuntu. After installation of Ubuntu, by default laptop boots into Win10. If I want to boot into Ubuntu, I have to halt laptop startup by pressing Esc to go itno Efi boot settings and select Ubuntu's EFI bootload. Then it goes to the Ubuntu grub menu script. Is this is how dual booting suppose [23:41] to work? Is it psosible to get some sort of menu option everytime laptop boots to allow me to select which OS to boot into [23:43] Zythyr: Is it HP? [23:43] jeremy31 yes [23:44] Zythyr: you might have to go into BIOS setting and find the setting where the OS boot loader option is to set ubuntu as default