/srv/irclogs.ubuntu.com/2019/07/07/#ubuntu.txt

=== Videonauth_ is now known as Videonauth
CatPasswdI have a retarded problem. Changed the local domain on my dhcp scope on the router, and ubuntu networking is now netnotworking. I'm only here because I have a freenas box with a quasselcore instance.00:08
CatPasswdreverted scope change, went with static ip, and no changes00:08
CatPasswdI can't connect to anything outside my local network00:09
CatPasswdIs there a way in the cli to completely obliterate any network settings and force the setup wizard to fire up to rebuild them from scratch?00:10
august_9000CatPasswd: try asking in ##linux, if there is no responce in #ununtu.00:15
tomreynwhich setup wizard actually? which ubuntu version and variant is being used there?00:17
ExoUNXanyone know what's going on here? - https://news.ycombinator.com/item?id=2036990200:18
tomreyn!discuss | ExoUNX00:18
ubottuExoUNX: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!00:18
CatPasswd18.0400:18
CatPasswdstraight ubuntu desktop. Whatever the default was on the download site00:19
CatPasswdLinux eris 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux00:19
tomreynso a desktop, i assume?00:19
CatPasswdWell yes00:20
tomreynso using network-manager? and you want to remove network manager profiles?00:20
tomreynmaybe you just need to dhclient00:21
CatPasswdchanged to a static IP. That's what I'm doing now00:22
leftyfbCatPasswd: lets try starting with just dhcp00:22
leftyfbCatPasswd: reboot and what happens when it reconnects? do you get an ip? Do you get a default route? Do you get a nameserver?00:23
CatPasswdnameserver is my router IP, in the dhcp scope00:23
CatPasswdAnd yes. I pick up all the settings using dhcp00:24
leftyfbCatPasswd: can you ping the default route?00:24
leftyfbCatPasswd: is the default route the ip of your router?00:24
CatPasswdyes. I can even use the webui to manage the router00:24
CatPasswd192.168.2.100:24
leftyfbCatPasswd: ok, can you ping 1.1.1.1?00:24
CatPasswdyep00:25
leftyfbCatPasswd: ok, can you ping google.com?00:25
CatPasswdthere's something cached somewhere that needs to be scrubbed00:25
CatPasswdno. Can't do a lookup00:25
CatPasswdping: www.google.com: Name or service not known00:26
leftyfbCatPasswd: nc termbin.com 9999 < <(host google.com 1.1.1.1)00:26
CatPasswdnc: getaddrinfo for host "termbin.com" port 9999: Name or service not known00:27
leftyfbCatPasswd:  nmcli device show|egrep -i "domain|dns"00:28
CatPasswdIP4.DNS[1]:                             192.168.2.100:28
leftyfbthat it?00:29
CatPasswdThat's it. Same for everything else that connects on my network00:29
CatPasswdIt's an asus ac88u running entware and pixelsrv-tls00:30
leftyfband everything else on your network is working correctly?00:30
CatPasswdyep00:30
CatPasswdI was just browsing around on my tablet00:31
leftyfbCatPasswd: what nameserver does your tablet have?00:31
CatPasswdIt's assigned by the DHCP scope on the router. 192.168.2.100:31
leftyfbCatPasswd: you confirmed what it's nameserver is as opposed to just assuming which one it got assigned right?00:32
CatPasswdI just rebooted it twice, making sure it was working after the local domain change in the dhcp scope, and after reverting the change.00:32
CatPasswdbut I'll look again00:33
leftyfbCatPasswd: "host google.com 1.1.1.1"   just confirm it can resolve that. Then try "host google.com 192.168.2.1"00:34
CatPasswdYeah, picked up the reverted settings fine00:34
leftyfbCatPasswd: the domain is only for local lookups. Not anything routed over the internet00:34
CatPasswdThat's why this problem has me stumped. Changing that should not have broken the route out00:35
CatPasswdand yeah, it can see google.00:35
CatPasswdgoogle.com has address 172.217.164.14200:35
leftyfbCatPasswd: with both using 1.1.1.1 and 192.168.2.1?00:36
CatPasswdyes00:36
CatPasswdUsing domain server:00:36
CatPasswdName: 192.168.2.100:36
CatPasswdAddress: 192.168.2.1#5300:36
CatPasswdAliases:00:36
CatPasswdgoogle.com has address 172.217.4.4600:36
leftyfbplease use pastebin00:37
leftyfbbut "ping google.com" fails?00:37
CatPasswdI can't...00:37
CatPasswd:)00:37
CatPasswdping: google.com: Name or service not known00:37
CatPasswdMaddening, isn't it00:37
leftyfbCatPasswd: can you take a look at /etc/nsswitch.conf00:38
tomreyn$ echo hello_world | nc 5.39.93.71 999900:38
tomreynhttps://termbin.com/q4te00:38
leftyfbah, good idea tomreyn00:39
CatPasswdI believe the relevant line is this one - hosts:          files [NOTFOUND=return] dns myhostname mdns4_minimal00:39
magic_ninja_workI'm so happy. Turns out this version of ubuntu is amazing for this laptop's battery life.00:39
magic_ninja_workI'm back up to around 6-8 hours.00:40
leftyfbCatPasswd: nc 5.39.93.71 9999 < <(cat /etc/nsswitch.conf ; host google.com 1.1.1.1 ; host google.com ; ping -c1 google.com)00:41
CatPasswdhttps://termbin.com/m92100:41
Bollsaqhowdy00:42
leftyfbCatPasswd: you have to entries for hosts: in your /etc/nsswitch.conf00:43
BollsaqWould adjusting latency in pavucontrol fix audio/video sync issues with webcam recordings? The video is always a fraction of a second behind the audio.00:43
CatPasswdI believe the relevant line is this one - hosts:          files [NOTFOUND=return] dns myhostname mdns4_minimal00:43
leftyfbCatPasswd: sure, you still have 2 hosts: entries at the end of the file00:43
CatPasswdHaven't touched the file, so I assume that's the default setting00:43
CatPasswdThere's only one line in there that starts with hosts:00:44
leftyfboh wait, hold on00:44
leftyfbhosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname00:45
leftyfbthat is my entry00:45
tomreynmine, too00:45
CatPasswdright. I'll swap the order00:46
CatPasswdAnd now I can ping www.google.com00:47
leftyfbeverything work fine now?00:48
CatPasswdBrowser works after a restart too00:48
CatPasswdseems to be00:48
CatPasswdI swear I never messed with the order in that file. No idea how that happened.00:49
tomreynubuntu 18.04 server has:  hosts: files dns00:49
CatPasswdwine apps work. Discord connects.00:50
leftyfbtomreyn: weird thing, those 2 entries I mentioned are on my system00:51
leftyfbhttps://termbin.com/5tlv00:52
tomreynleftyfb: what's weird? that server has something else than desktop (i find this weird), or that CatPasswd had a different order of records than you and me on the desktop?00:52
CatPasswdIt's a pretty fresh install, maybe 2-3 weeks old00:53
leftyfbtomreyn: that my workstation has 2 additional entries for hosts:00:53
CatPasswdAnd I made no custom entries in nsswitch.conf00:53
ExoUNXIs there an official repo for php7.3 in Ubuntu 18.04?00:54
tomreynleftyfb: oh i missed those00:54
tomreynleftyfb: this looks like some automatism placed them there?00:54
tomreynlike, deployment scripts?00:54
tomreynor some software which just wanted to "make sure the system is setup properly"00:55
leftyfbtomreyn: just checked, not the ansible playbook I usually run for work00:55
Bashing-om!info php7 bionic | ExoUNX00:55
ubottuExoUNX: Package php7 does not exist in bionic00:55
leftyfbtomreyn: no biggie, as long as it works for me. At least I know they're there if there's ever any issues I can always start there00:56
ExoUNX!info php7.2 bionic | ExoUNX00:56
ubottuExoUNX: php7.2 (source: php7.2): server-side, HTML-embedded scripting language (metapackage). In component main, is optional. Version 7.2.19-0ubuntu0.18.04.1 (bionic), package size 9 kB, installed size 84 kB00:56
ExoUNX!info php7.3 bionic | ExoUNX00:56
ubottuExoUNX: Package php7.3 does not exist in bionic00:56
magic_ninja_workwhat is the current story with hybrid graphics?01:00
magic_ninja_workI can swap gpus with nvidia-xconfig but it seems like I need to run a new instance of x in order to use the GPU.01:01
tdsCatPasswd: how did you do that install?01:01
Sven_vBwhen I boot xenial on my netbook, the font in the initramfs shell is too tiny to easily read it. is there a kernel option to force a low screen resolution or sth.?01:07
tomreynGRUB_GFXPAYLOAD_LINUX=WxHxB in /etc/default/grub01:13
Sven_vBlooks like even making casper-rw world-writable won't help as long as it's on ext3 or ext4. it works fine on a fat32 partition. I wonder why?01:13
tfgbd_Where do I talk about ARM Ubuntu?01:13
tomreyn#ubuntu-arm01:13
tomreynor here01:14
tfgbd_How do I submit things to the repos?01:14
tomreyntfgbd_: either through debian or https://wiki.ubuntu.com/UbuntuDevelopment01:19
tomreynalso https://wiki.ubuntu.com/ContributeToUbuntu#Maintaining_Ubuntu01:21
tfgbd_I'm not packaging it up.  Someone else can.01:21
magic_ninja_workit probably won't make it in a repo unless enough people find it useful then01:22
tomreyndebain has a concept of "request for packaging" where you open a bug report asking for a software to be maintained by someone01:22
tfgbd_Why can't the developer maintain it?01:23
tomreynyou just said you didn't want to package it01:24
tomreynpackages need to be maintained by someone.01:24
tomreynthere's also !snaps01:24
tomreynand !PPA s01:24
tomreyn!snaps01:24
ubottuSnaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io01:24
tomreyn!ppa01:25
ubottuA Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge01:25
tfgbd_I dunno.  I just want someone to test it first.01:25
tfgbd_The developer got mad that I could even compile it01:25
tfgbd_t?01:25
=== zbenjamin_ is now known as zbenjamin
=== dbasinge is now known as dbasinge_
=== dbasinge_ is now known as dbasinge
Gallomimiaanyone care to remind me how things are done when one has to copy a working install inside some LVM containers?02:23
Gallomimiastarting with my home dir... it's going now02:23
Gallomimiaummm. okay i just remounted my home copy over top of where my home used to be, after renaming the old one02:32
Gallomimiawhat problems am i seeing? reports of hexchat logs being unreadable02:32
Gallomimiai can delete it now right??02:32
Gallomimiayikes no. i mounted it wrong02:35
Gallomimiabah. what a pain. next time log out before twiddling the home dir02:40
tfgbd_What is the "equivelent" to this on Ubuntu?  https://www.xnview.com/en/xnviewpocket.php#downloads02:43
Gallomimiawell i don't know what that does02:44
Gallomimiabut you might as well use gimp02:44
Gallomimiasince it's free and as good as photoshop, mostly02:44
tfgbd_Does it do batch image conversion on my CF card in minutes?02:44
Gallomimiai don't know02:44
Gallomimia!gimp | tfgbd_02:45
ubottutfgbd_: gimp is an advanced image manipulation application for Ubuntu. See http://www.gimp.org for tutorials and more information.02:45
Gallomimiai'm sure it does batch image conversion. i recommend against doing anything on a CF card without copying the data off first02:45
tfgbd_I think you're just thinking of debian02:45
tfgbd_https://www.xnview.com/en/xnviewmp/02:46
tfgbd_https://www.xnview.com/assets/img/screenshots/xnview-win-01.png02:48
Gallomimiaplease stop posting random links and contradicting everything someone says in reply. someone is going to think you're a troll02:48
tfgbd_I just didn't see it02:50
tfgbd_But they don't have rpi02:50
Gallomimiawhat are you even talking about02:50
tfgbd_Raspberry Pi ARM32/6402:52
Gallomimiaoh. you might not want to run gimp on an rPi02:52
tfgbd_Why not?02:53
tfgbd_Doesn't it port right?02:53
Gallomimiai would think it's a little resource heavy02:53
tfgbd_I would think not.02:54
tfgbd_It ran on machines with 256mb and XP, remember02:54
Gallomimiaalright then. give it a go and tell us how it works02:54
tfgbd_I'll try it on my new AARCH64 "development board"02:56
tfgbd_It's just apt-get install gimp2, right02:56
Gallomimiauh, i think so02:56
Gallomimiahow did i even install it :/ i think i used software center02:56
Gallomimiajeeze did that pull a snap?02:57
=== [b0b] is now known as b0b
Gallomimiayes :'(02:57
tfgbd_Not everyone can afford to wait for software center03:01
Gallomimiai rather dislike it myself03:01
Gallomimiabut i do like having a list of stuff to browse rather than having to know the exact spelling and version of a package03:02
Gallomimiai think if i want to copy my bood drive to a new place, i have to boot from a liveUSB03:03
Gallomimiahow does one copy a partition from a bare metal drive into a new LV? dd ??03:04
tfgbd_gparted03:04
Gallomimiai don't think that supports nested luks and LVM containers03:06
magic_ninja_workinsane. After applying a few tweaks I'm looking at 8-10 hours battery life with a 15% degredation in battery capacity from origina.03:20
resixianGallomimia: i usually mount both filesystems and rsync03:48
Gallomimiayikes. lightning. and i'm without a UPS03:52
Gallomimiamaybe it won't be happening tonight03:52
Gallomimiaresixian, that's enough to solidify a full install?03:52
Gallomimialightning in a totally flat area with no proper surge arrest. i feel naked04:08
sudo18Question: I have a ubuntu 18.04 box that i have set up just the way i like it, but i want to make the machine dual boot with windows 7 to run certain games. is there a way to install windows without losing the ubuntu install and have a bootloader where i can choose04:11
sudo18?04:11
mr_louIf I write an ISO file to a USB stick with dd - shouldn't it be readable on a Windows machine too? Not bootable. Just readable. It reads fine on my Ubuntu box, and my Sony Blu-ray player, but not my Windows machine. I suspect something must be wrong with my Windows machine?04:23
mika`is there a cmd that can stat or ls a dir that can grep a list of files not touched in say - years? that can output to a txt file? or, grep it to another cmd that will just del what it got piped?04:24
Ben64mika`: check out what 'find' can do04:28
mika`aye. i just didn't know if there was a good pipe thingy. ( i not a programmer / coder )04:33
Gallomimiasudo18, yes. the ubuntu installer does that just fine. usually you install windows then ubuntu.04:36
Gallomimiamr_lou, windows doesn't have any default way to read ext4 devices. so. no, it shouldn't be readable. yes there's something wrong with the windows machine (its running windows)04:37
tfgbd_There is a driver for ext304:37
mr_louGallomimia, No no, it's not ext4 iso. It's actually an ISO that was made on Windows years ago.04:38
Gallomimiais it installed by default?04:38
tfgbd_Does Wubi still work?04:38
Gallomimiaoh. iso, should be readable. it's readable with the ubuntu machine?04:38
mr_louYes. And my Blu-ray player.04:38
Gallomimiai read the rest.... okay04:38
Gallomimiaiso file, as in cd/dvd format04:38
mr_louYes04:39
mr_louJust a CD ISO written to a USB.04:39
mr_louWindows won't read it.04:39
mr_lou(And if you wanna compete in who mates Windows the most, I will win).04:39
mr_lou*hates04:39
sudo18Gallomimia: i understand what usually is done. i'm asking if there's a way to do it where ubuntu is left alone as the main os and then i can install windows along side it? or do i need to make an image of the ubuntu install as it is now, format and clean install windows, THEN install ubuntu and restore from the image (obviously i'm trying to avoid the latter and just slide windows on in dual04:39
sudo18boot fashion)04:39
Gallomimiaah well. that's probably debatable. i was an apple fanboi for 25 years04:40
mr_louI have never liked Windows ever.04:40
Gallomimiasudo18, you'll have to check on what type of partition style your drive is04:40
magic_ninja_workOn suspend will ubuntu hibernate after a while rather than drain the battery?04:40
Gallomimiai hated it since win3.104:40
mr_louI used Amiga while everyone else embraced Windoze.04:40
lotuspsychje!ot04:40
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!04:40
Gallomimiai don't think a suspended system can spontaneously hibernate04:40
mr_louSo in conclusion, there's no special attribute I neeed to give dd in order for such an iso to work on Windows, right? I thought maybe I had to use a certain blocksize, but it doesn't seem to make any changes.04:42
Gallomimialet me think here.... can windows 7 be installed on a GPT drive? i'm not sure. but once you determine your partition table is compatible with windows, make the partition you want, install windows, come back to ubuntu and then a simple grub-update should do the trick04:42
Gallomimiaif it's not, then yes, you'd have to image your install, reformat the drive, and then do as you wrote sudo1804:43
Gallomimiamr_lou, they don't like us hating on windows in here, or talking about windows-only issues04:44
mr_louWell it's Ubuntu related. I want to be able to write these ISO's on Ubuntu - but they gotta work on Windows. I can understand ext4 and udf iso's not being readable, but not "normal" ISO's.04:45
mr_louSo something must be wrong with this particular windoze machine. Gotta test on other ones.04:46
Gallomimiathat's rather odd if you ask me. especially if it runs on an appliance04:47
Gallomimiahow big would any of you suggest the root fs of a disco-dingo install should be? /home and all other large data filesystems will be separate LV's04:50
Gallomimiamy xerus and trusty tahr volumes are 16gigs but it looks like my disco dingo one is already 16.804:50
Gallomimia8.3 gigs in /var why is this??04:53
lotuspsychjevar= logs04:53
Gallomimia4 gigs of logs is a lot of logs04:54
Gallomimia3.1g in lib/snapd04:54
Gallomimialame.04:54
Gallomimiaany suggestions on how to reduce this?04:55
Gallomimiacd snaps04:56
Gallomimiaoops04:56
Gallomimiaseems to be keeping old versions?04:56
lotuspsychjeGallomimia: uninstall snaps, clear logs, clean system with bleachbit04:57
Gallomimiasome of the software i'd really rather keep, in spite of their handicapped way of managing disk space04:57
lotuspsychjeGallomimia: this isnt the complaints channel04:58
lotuspsychjeGallomimia: keep software = more disk space?04:58
Gallomimiaright. it's the place where you ask how to do things. how do i clean out the old versions without willy-nilly typing sudo rm04:59
lotuspsychjeGallomimia: old versions of what04:59
Gallomimiasnaps04:59
Gallomimiareading this dir shows me there's a duplicate of pretty much everything i have installed05:00
lotuspsychjeGallomimia: there's no such thing as old snap version, you have the snap installed, or not05:00
lotuspsychjeGallomimia: snaps auto update themselfs05:00
Gallomimiahttps://pastebin.com/JGzw25AV05:02
Gallomimiacan they kindly auto remove the old version too?05:02
macroprep_can g++-multilib be installed ontop of gcc-multilib05:05
macroprep_as i get  g++-multilib : Depends: gcc-multilib (>= 4:5.3.1-1ubuntu1) but it is not going to be installed05:06
Gallomimialotuspsychje, its funny how you say the old versions aren't a problem, and yet i'm looking at a list of old versions sitting on my system, and how-to's on this are a popular search on google.05:08
lotuspsychjeGallomimia: what you pasted, is just an installed snap list...05:11
blackflowlotuspsychje: snapd keeps last two versions around tho05:28
blackflow(of each snap installed)05:29
Gallomimiadefault is three, according to what i'm reading05:29
Gallomimiathe minimum is 2 if you change it. i'm still trying to delete the older one.05:29
blackflownot sure you can05:29
Gallomimiathe script to do so is published by a community manager with ubuntu engineering at canonical05:30
Gallomimiawhich i think is telling of how there's still some kinks to be ironed out.05:30
Gallomimiait says on it to "close all snaps" before running. i can't for the life of me figure out how05:30
blackflowGallomimia: with `snap remove <snap> --revision=<revision>`   then?05:31
Gallomimiayeah i'm not doing that 50 times05:31
Gallomimiai have a computer to iterate over repetitive tasks05:31
Gallomimiaseems i didn't need to close any05:32
Gallomimiajust worked fine05:32
blackflowyou don't have to close _all_ the snaps, just the one you're removing old revisions of05:32
blackflowhowever, some you can't, like gnome stuff, unless you go to multi-user.target first05:32
Gallomimiait seems like there's two versions of the gnome-3 and i think it's because of dependencies05:33
Gallomimiawhat's /var/log/journal ??05:35
Gallomimiaseems a bit insane that i have 4 gigs in there05:35
blackflowGallomimia: journald's (configurable) persistent storage05:35
blackflowGallomimia: `man journald.conf` and adjust SystemMaxUse05:35
Gallomimiahah. i know what those words all mean, but... i understand zero more than i did before you wrote that :)05:35
blackflowjournald is the systemd event logger. like syslog but much more advanced, and core component of systemd05:36
blackflowit can store logs just in memory or on disk too (and/or forward it to old rsyslog as well, which is default), and when it's configured to store on disk (default) that's where the database is.05:37
Gallomimialogs are good.05:37
Gallomimiai have to reconsider where i want it put tho.05:37
Gallomimiamaybe i just put all of /var on its own fs05:37
blackflowI use journald only as temporary, in-memory logs, using no more than 100MB, then forwards to rsyslog where I like it for long term archive.05:38
blackflowGallomimia: I'd advise don't redesign the fs layout until you're 100% sure you know what you're doing and what is using the dirs you wanna partition. systemd will have serious issues on boot otherwise.05:39
Gallomimiakeeping it only in memory seems counterproductive to diagnosing crash problems05:39
blackflowGallomimia: depends. with forwarding to syslog, you don't lose anything.05:40
Gallomimiathat's good advice. i suppose some of the log files might not be mounted during boot?05:40
Gallomimiamy goal is to bring the root fs down to fit inside the area i had set aside for various installs. older versions05:41
Gallomimiathere were 2 LV's of 16gig each05:41
blackflowGallomimia: you can adjust how long/much journald keeps around via journald.conf05:42
blackflowinfact, you can adjust its memory use and persistent storage use, separately.05:42
tfgbd_does ubuntu support ARM64?05:43
Gallomimia!arm64 | tfgbd_05:44
Gallomimiaaw i thought it would be that easy05:44
Gallomimia!arm | tfgbd_05:45
ubottutfgbd_: ARM is a specific (RISC) processor architecture used in a variety of applications such as handhelds and networkdevices. For more information see https://wiki.ubuntu.com/ARM . For ARM specific support, stop by the #ubuntu-arm channel.05:45
blackflowtfgbd_: yes, there's aarch64 ISOs to download05:45
blackflow(and ARMv8)05:46
tfgbd_For this?05:49
tfgbd_https://www.amazon.com/Lenovo-12-Inch-Qualcomm-Snapdragon-81F10001US/dp/B07C8BJ1NT05:49
latteiscoffeeIf a system kernal panicked I'd expect to see it in journalctl these days right?05:51
blackflowtfgbd_: apparently there's only the server edition. I don't know if that means there aren't arm64 packages to install for GUI05:52
tfgbd_Does it matter if the kernal panics?  Don05:52
tfgbd_Don't you just have to start a new instance?05:52
blackflowlatteiscoffee: that or through rsyslog'd files, assuming the panic wasn't such that it didn't get logged.05:52
Gallomimiait's usually something you want to figure out why, and avoid in the future05:52
latteiscoffeeblackflow: Odd... got a server that keeps rebooting every 3-4 days and nothing in the logs about it05:53
tfgbd_I need to run some x86 xserver to run the gui on my Ubuntu server on AARCH64 Windows 1005:53
blackflowlatteiscoffee: you can configure kernel to crash dump (there's a package for it iirc) and then inspect the dump with gdb on next boot05:53
blackflowor... not gdb but some dedicated tools. it's been a while since I did that so I forgot the deets.05:54
latteiscoffeeAhhh I will give that a go, cheers!05:54
Gallomimiaat this point, it sounds like you don't even know if its some kind of soft shutdown, a kernel panic, or something goofy with the provider. is it a VM?05:54
blackflowlatteiscoffee: start here: https://help.ubuntu.com/lts/serverguide/kernel-crash-dump.html05:55
latteiscoffeeYeah it's a linode VM, so I'm hesistant to point at hardware05:55
latteiscoffeejust trying to narrow down the cause a bit first05:55
Gallomimiayou're running it on your own hardware?05:55
blackflow_linode_05:55
latteiscoffeeNah, it's running on linode05:55
Gallomimiawow i've been disconnected from the world for too long05:55
blackflowlatteiscoffee: do you know if it's kvm or they still use patched, extrenal-kernel, xen?05:55
blackflowif the latter, you can blame HW just fine :))05:56
zarathustarI've noticed my brightness up/down hotkeys generate button/f20 in acpi_listen, the same as microphone mute (which ubuntu shows visually as well).  Any ideas how I can find the source of the duplicate event?  I've tried playing with debug_level and debug_layer values, but couldn't find anything useful.  Also wasn't sure what to look for in acpidump05:56
zarathustarand acpixtract05:56
latteiscoffeeKVM from last year I believe]05:56
latteiscoffeethis VM has only been up a month or two05:56
latteiscoffeeso it *should* be KVM... but I will double check05:56
blackflowlatteiscoffee: can you inspect the serial console when it crashes?05:57
tfgbd_Does ARM support JVM?05:57
blackflowif there's a panic, the kernel would dump stuff there and you might see the trace05:57
latteiscoffeeYeah it is KVM: systemd[1]: Detected virtualization kvm.05:57
latteiscoffeeAhhhh05:57
latteiscoffeeofc05:57
latteiscoffeewill check, they reboot automatically05:57
blackfloweven through the virtual console, but that only shows last X lines you can't scroll up05:57
latteiscoffeeso I'm unsure if it'll have been wiped by now05:58
blackflowlatteiscoffee: I don't use linode but OVH, and not VMs but dedicated machines. at OVH I can attach serial console over ethernet (there's a java based web thingy they have), and thus keep the full console output logged. if linode offers the same nowadays (because it doesn't mattre if its' VM or baremetal), that's where I'd start.05:59
latteiscoffeeAlright I will stop it rebooting automatically and see if I can catch something... get the dumptools installed as well, cheers guys05:59
tfgbd_Does linode offer ARM?06:00
zarathustarI also grepped the decompiled DSDT and SSDT files and found there are WMI related GUIDs.. I wasn't sure how to debug / capture WMI events though to see if they are responsible for my laptop generating a button/F20 event in acpi_listen :\06:00
latteiscoffeeI didn't see an ARM offering... I used an interesting ARM offering in France when ARM servers were first being released though06:00
latteiscoffeethink they shut down now ... :)06:00
Gallomimiabackflow i'm reading those man pages on the journald.conf. does it accept values with suffixes? like 500M?06:01
tfgbd_When were they first being relased?06:01
Gallomimiait's so verbose and yet doesn't say that06:01
latteiscoffeelike early 2010's? There was a provider that started doing ARM servers when everything else was still on AMD6406:02
latteiscoffeereally cheap too iirc06:02
tfgbd_Why does RAM size say 128 GB for my "ARM Server"06:03
lotuspsychje!ot06:03
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!06:03
Gallomimiayou sure like using that command lotuspsychje06:03
tfgbd_latteiscoffee: lets talk in #ubuntu-arm06:03
Gallomimiaokay i think i'll go to sleep. got my log files tidied up thanks blackflow06:05
chaosfisch trying to get bumblebee working (dell precision 5530, nvidia quadro p1000). currently the gpu runs and then cant be disabled because nvidia_drm cannot be unloaded.06:10
chaosfischI'd assume that my current session uses the card instead of the integrated intel one. Thus, unloading cannot work.06:11
=== rax-Y is now known as rax-
chaosfischare there alternatives to using bumblebee?06:26
lotuspsychjechaosfisch: bumblebee isnt the way to go anymore, for optimus cards its using nvidia-prime now06:26
lotuspsychjechaosfisch: that gets installed togheter with your nvidia driver06:26
chaosfischlotuspsychje ok, will have a loo06:29
lotuspsychjechaosfisch: start with: ubuntu-drivers list to see wich driver is for your card06:29
=== chaosfisch64 is now known as chaosfisch
CatPasswdtds: Off a usb stick. Installed to a small ssd. Accepted the defaults for network setup, which is dhcp. No idea how that all happened.06:40
lotuspsychjemorning cfhowlett06:51
cfhowlettyowza^3 lotuspsychje06:51
cfhowlettHow's the channel behaving today?06:51
lotuspsychjecfhowlett: alot of offtopic this morning and a netsplit after, back to idle now :p06:52
blackflowcalm be4 teh storm :)06:52
cfhowlettI got " you are banned" for the past 3 hours.06:53
lotuspsychjecfhowlett: still fighting with that freenode thing?06:54
cfhowlettI've given up the battle since it's at the #ubuntu channel level, not MY level06:54
chaosfischlotuspsychje installing nvidia-prime lead to crash of gdm :(  removing it again and now it still crashes due to a bug06:54
lotuspsychjechaosfisch: wich driver does ubuntu-drivers list suggest?06:55
chaosfischnvidia-driver-41806:55
lotuspsychjechaosfisch: only that, or more versions?06:55
chaosfisch$ ubuntu-drivers list: nivida-driver-418, nothing else.06:55
lotuspsychjehmm06:55
lotuspsychjechaosfisch: can you pastebin the whole output of your driver install please?06:56
chaosfischthe output of the apt install for the driver?06:56
lotuspsychjeyes06:56
chaosfischlotuspsychje I'll start from scratch with install. the gdm seems to be too broken now06:59
chaosfischshouldnt take more than 5 min anyway06:59
lotuspsychje!nomodeset | chaosfisch to bypass boot problems/graphics07:00
ubottuchaosfisch to bypass boot problems/graphics: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter07:00
chaosfischlotuspsychje alright, cant give you the install output because driver is installed and working after fresh OS install.07:45
lotuspsychjechaosfisch: sounds good, maybe a glitch somewhere..07:45
lotuspsychjechaosfisch: if things are installed correctly, nvidia-settings should leave you the choice now between performance mode and powersaving mode07:46
chaosfischlotuspsychje: the nvidia X server settings?07:47
lotuspsychjechaosfisch: yeah, you should have an icon for it07:47
nikolamI have a problem on 18.10 that local LAN adapters doesn't get static V4 Ip address anymore upon boot07:50
nikolamSo it is connecting of Wifi (it's a desktop) bit none of 2 LAN adapters get their IPs and also machine does not route internet to the rest of the LAN as it used before07:51
chaosfischlotuspsychje seems to work now - running with integrated gpu07:56
lotuspsychje!yay | chaosfisch07:57
ubottuchaosfisch: Glad you made it! :-)07:57
chaosfischnow I can finally get to the more interesting part. gpu passthrough which is trivial now07:58
zarathustarI'm on a Zbook Studio x360 with Intel onboard and Quadro P2000.. just using Nvidia 418 now, with prime-select08:00
zarathustarassuming GPU offloading still isn't a thing yet unless you're using bumblebee08:00
zarathustarRight.  Giving up on my brightness keys now.  Hours wasted for 2 hotkeys is too much08:04
magic_ninja_workzarathustar, first, you tried xev?08:07
zarathustarsame scan codes for brightness up/down as mic mute... also shows as a button/F20 event in acpi_listen08:08
zarathustarthen I got lost in setting debug_layer and debug_level values, couldn't find much (but wasn't sure what to look for), decompiled ACPI tables -- again, wasn't sure what to look for08:09
magic_ninja_workThat is pretty strange08:09
magic_ninja_workHave you tried any different OS to see how it maps?08:10
zarathustarit works on windows, which doesn't really help.. HP laptops have all kinds of ridiculous software (HP Hotkey support, etc)08:10
magic_ninja_workWell, their keyboard just sends a code based on that combination press. To the OS it is supposed to be just a different key.08:11
zarathustarI don't know enough about the architecture behind ACPI, WMI, or general kernel stuff to do more informed troubleshooting.. haven't tried other linux distros08:11
magic_ninja_workAnd you checked your bios settings?08:11
zarathustaryep08:11
magic_ninja_workIt is really strange that your keyboard is sending the wrong code08:12
zarathustarI also tried messing around with acpi_osi values too, thinking that might affect how the button press is generated depending on OS reported to BIOS.. but no go08:13
zarathustaracpi_listen gives me button/f20 00000080 00000000 K for Fn + Brightness Up/Down and Mic Mute08:13
zarathustarI get MSC_SCAN = 81, EV_KEY = code 19 (KEY_F20) in evtest for the keyboard input device.. but I'm assuming ACPI generating the button press somehow :\08:15
zarathustarcode 190*08:15
magic_ninja_workwhat is the code for your mic button08:18
=== jje_ is now known as jje
VoltrixEarly in the morning08:24
zarathustarcode for mic button is also F2008:25
Voltrixoh cool thks08:25
renn0xtk9Just installed ubuntu 1504 server in a Virtualbox when doing apt-get update I got Ign and 404 on all server. Is it a problem  on my side or are the canonical server down due to end of support ? ( I am in a bridged network and I can ping 8.8.8.8)08:49
blackflowrenn0xtk9: 15.04 was EOL'd long time ago08:51
renn0xtk9okay08:51
renn0xtk9did not know they alos put server down08:51
blackflowrenn0xtk9: why would you "just install" 15.04 though and not a newer, supported version?08:51
renn0xtk9I have bought a book about Continuous delivery with a few exercise to be done. They are using 15.04 so i thought i d use the same to have exact same setup08:52
renn0xtk9but will do it with 18.04 then08:52
magic_ninja_workThat is a perfectly acceptable reason, though08:53
blackflowrenn0xtk9: you can use 16.04 if you want to be closer to 15.04 semantics. 18.04 introduces some novel concepts like netplan, systemd-resolved, default snaps, ....08:53
blackflowmagic_ninja_work: it could be, but 15.04 is no longer supported, there's no infra you can install packages from.08:53
blackflowbesides, understanding examples and adjusting them for newer/different environment makes the most out of learning effort.08:54
magic_ninja_workWell, as long as there is a baseline there. Without a package manager, though, the tutorial is pretty useless.08:57
renn0xtk9I will see, I have launche installation of 18.04. I will see if the exercie work or not08:59
=== imsurit_ofc is now known as imsurit
katnip`https://www.debian.org/News/2019/2019070609:05
blackflowkatnip`: yeah, Buster was released yesterday. Not on topic here though ;)09:06
=== imsurit_ofc is now known as imsurit
wasanzyhow do I get load average for the past n days uing sar?10:06
=== gurmble is now known as grumble
fradi need an android emulator. there are several. which one would you recommend?10:59
OerHeksthere is a snap version of android studio10:59
OerHeksand anbox11:00
lotuspsychjefrad: i tested the snap anbox, but that didnt go too smooth, as alternate used androidx86 iso on a virtual machine, much smoother11:01
OerHekstons of other options, https://www.ubuntupit.com/top-android-emulators-for-linux-to-enjoy-android-apps-in-linux/11:02
fradso I have to run a VM11:02
lotuspsychjefrad: depends wich way you choose11:02
fradI know there is a ton of options, but I was hoping you could help me reduce it to 1 or 211:03
OerHeksuse the one you like best11:03
OerHeksoh, that ubuntupit url should be ignored11:06
fradthanks to you two11:19
chietai want to be notified on the desktop in 30 minutes is it possible with cron job?11:29
blackflowchieta: if I'm not mistaken, yes but with user cronjob  (crontab -e). you might need to explicitly export the DISPLAY env var in the crontab.11:49
blackflowchieta: oh, yeah, then use notify-send to produce the notification11:50
raidghostgood afternoon ;)12:29
raidghostis there any tools to calculate duration of a directory of mediafiles? to get some information like Amount of media length (3 days 4 hours) of content12:30
chietablackflow cmiiw how to do it in one time rather than daily scheduled... is it possible in cronjob?12:31
blackflowchieta: no, but for that you can use at(1)12:33
blackflowraidghost: you can use tools like ffmpeg to get duration of media, awk or grep that out from the output for a list, then feed into bc to sum up.12:33
raidghostblackflow: thanks for the info. Just gotta see if it only does files inside a folder. or multi folders12:35
OerHeksraidghost, exiftool -T -Duration * # gives a list, not total sum12:36
raidghostOerHeks: Its the total sum im looking for. The list i dont need :)12:36
leftyfbraidghost: "it" won't traverse directories. You need to script that yourself12:36
raidghostleftyfb: i found a script that does the job for 1 directory with files inside12:37
blackflowraidghost: you can build a list using   ls -1 | xargs -n1 ffmpeg ....       (with proper arguments for ....)12:37
raidghostbut i guess i have to edit the script to make i traverse directories12:37
blackflowraidghost: you can easily turn a list into a sum with bc(1)12:38
OerHeksfind . -iname '*.mp3' -print0 | xargs --null exiftool -n -q -p  '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' | tail -n112:39
OerHeksbut this is mp3 only12:40
blackflow... | paste -s -d + - | bc12:40
raidghostcan i change the .mp3 with something else then?12:40
OerHeksall formats that exiftool supports, sure12:40
OerHeksmp412:40
raidghostOerHeks: https://pastebin.com/k5zQBQpF does it perfect with files inside a directory12:41
raidghostBut i need to figure out how to traverse directories12:41
leftyfbOerHeks: -exec12:41
aienahow does one develop lernel drivers with just the linux-headers package installed in ubuntu?12:53
aiena*kernel12:53
blackflowaiena: your question is too broad and abstract. can you give an example?12:55
aienahmm I think I found it https://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html12:55
aienalets say you have a driver module you want to build12:56
aienafoo.c in your home directory12:56
aienamy question was how to use the linux-headers to build that module with make12:56
aienaso that I dont need to build and maintain an unsupported kernel as well12:57
blackflowaiena: linux-headers only installs /usr/src/...  include files. You #include them in your C code12:57
BlakesSevenHey all. I have an issue that I need some help. I'm trying to move a hard drive from my Debian system to my Ubuntu system. In Debian the drive works just fine. When I move it to Ubuntu the system can't see one of the partitions on the drive. When I run gparted on the Ubuntu system it tells me "the backup GPT partition table is corrupt, but the primary is OK". If I move the hard drive back to the Debian system and run gparted, everything looks OK.12:58
chietathanks for the at command blackflow... it will do the job12:59
aienablackflow: yes that dir structure is wrong12:59
tomreynBlakesSeven: and your question is?13:00
aienablackflow: i mena gcc will not compile the file unless it know where to find what you #include in the code13:00
aienaso what is the correct way to make the makefile for a module?13:00
BlakesSeventomreyn, my question: how do I fix this? It is a problem on one system. It's not a problem on the other.13:00
aienausing ubuntu's supported kernel currently I built my own kernel but that is unsupported i just want to write modules13:01
tomreynBlakesSeven: i'd compare the gparted and kernel versions on those two systems, and maybe come up with clues based on which are older / newer.13:01
tomreynBlakesSeven: i'd also search the web for the error message you get to see on ubuntu, which may help understanding whether this message indicates and actual issue or is rather benign.13:02
tomreynBlakesSeven: yet approaches you can take is to look for related bug reports on launchpad.net/ubuntu and to use a different partitioning utility to validate the gpt13:03
chaosfischwant to use openvpn client. have a .ovpn file with certificate and key. openvpn file.ovpn connects. DNS is not updated. I've added up/down update-resolv-conf. nslookup manually with correct dns ip works.13:04
tomreyn*yet more13:04
chaosfischI was previously running openvpn via the gnome network manager, but this had many problems with certain vpn configurations.13:04
tomreynchaosfisch: read the openvpn manual (or man page) on the --script option13:05
tomreyn...and its security implications, and defaults13:05
blackflowaiena: you instruct it with -I13:06
tomreyn* --script-security13:06
blackflowI mean you add all the dir prefixes where it should look for relative includes.13:06
mikubuntuhi guys, got a couple of problems. since my last update i get an error msg whenever i log in about "missing option size" in cryptsetup" and though i've tried to make sense of the "readme", it's over my head.13:06
chaosfischtomreyn: script-security-level is set to 213:07
chaosfischI can see in the log that the script is called, but my system wide DNS is not changed.13:08
chaosfischah..., and it outputs an error, my bad13:08
tomreynmikubuntu: provide the error message in context13:08
mikubuntutomreyn13:09
tomreynmikubuntu13:09
mikubuntulol13:09
tomreynhighlight me when you have something to tell me13:10
mikubuntuit only comes up  when i'm starting up13:10
mikubuntusorry it was an accident tomreyn, this whole webchat gui has changed since last time i was on13:11
tomreynmikubuntu: then it'll be on your systemd journal, i guess13:11
mikubuntutomreyn how can i pull that13:11
tomreynyou can use a proper irc client and thus choose yourself what it looks like and when it'll (not) change13:11
BlakesSeventomreyn, I appreciate the suggestions. However that takes me down a multi-day road of research. Was hoping for a quicker solution. The ubuntu system is much older. However, I just moved it over to a raspberry pi system with a kernel that's slightly newer than my debian system. It too reports the same problem. I might just recover from backup.13:12
tomreynjournalctl -b | nc termbin.com 9999    would (attempt to, it could be cut off if too long) post the full systemd journal since your last boot (which is obviously shorter if you booted recently) to a web page, for easy sharing.13:12
tomreynmikubuntu: ^13:13
mikubuntutomreyn i logged in the way i've logged in for years, so i didn't change any view settings on this end13:13
mikubuntutomreyn this whole string? journalctl -b | nc termbin.com 999913:14
tomreynBlakesSeven: the warning you quoted is about a *backup* of the partition table being corrupt, it is not about the main partition table being corrupt. you should be able to fix it by just writing it again using the newer software.13:14
tomreynmikubuntu: if you're run this extremely long string you'll get a url which you can post here.13:16
tomreyn* you'll13:16
mikubuntuhttps://termbin.com/uw7k tomreyn13:16
tomreynmikubuntu: there's this message on your log - not the one you talked about here, but maybe that's what you mean?  kernel: Could not find key with description: [830a8bf753856fa2]13:17
aienaBlackDex: can you give an example makefile?13:18
aiena* blackflow ^^13:18
BlakesSeventomreyn, are you suggestion I re-write the backup partition table?13:18
BlakesSeven*suggesting13:19
mikubuntutomreyn that's not exactly the one that shows on startup -- the phrase says that i haven't input "option size" in cryptsetup13:19
tomreynBlakesSeven: after backing up your data, of course. yes.13:20
blackflowaiena: you don't need a whole makefile for example. -I is the param for gcc. so you set up CFLAGS13:20
blackflowaiena: "for an example"13:20
aienaah13:20
aienabut then for each rebuild I need to manually type it in13:20
aienaor dump it in a shell script13:21
tomreynmikubuntu: okay, i guerss it occurs before logging is possible, then. take a photo and upload it if you can. i couldn't find anything on the web for the error message (or warning , or notice) you provided.13:21
mikubuntuthere's a couple other problem s with my display since i upgraded to 19.04, one of which is that screen doesn't look just right, so i wonder if it has comething to do with that cryptsetup13:21
tomreynmikubuntu: you can also show what you have in /etc/crypttab13:21
blackflowaiena: no you can set up CFLAGS in the Makefile. CFLAGS = ....13:22
BlakesSeventomreyn, the problem is a little more complex. The drive is encrypted. The other systems I have can't open that drive. The Debian system can. I assume this has something to do with their problems with the partition table, not the encryption. In the past I've been able to move this drive back and forth between systems, no problems.13:22
tomreynmikubuntu: the encryption option and the screen issue are unlikely to be related.13:22
mikubuntuok lemme see if i saved a phonepic of it in google13:22
aienablackflow: ok I am reading the makefile documentation I know some of it but many of the features are unclear13:23
aienaso the CFLAGS usage isn't clear to me atm13:23
blackflowaiena: maybe there are better examples and ways to instruct gcc for -I via Makefile, I don't know. It's been a while since I wrote those. Maybe a gcc development specific chan would be more helpful13:23
blackflowgcc or automake13:23
tomreynBlakesSeven: maybe the encrpytion you use there is known to be weak so newer versions have decided to drop support for it.13:23
aienais make a gcc project?13:23
blackflowno13:23
blackflowit's a GNU project (GNU/Make is), but so is GCC, so they have the common parent13:24
tomreynBlakesSeven: this is obviously just a theory. backup your data where you can back it up, do a fresh install on a new system, restore your data.13:24
BlakesSevenDebian kernel 4.9.0-8, Pi kernel 4.9.35-v7, Ubuntu 4.4.9-151 - although you highlight a concept I was not aware of, I don't believe that's the case here.13:25
tomreynBlakesSeven: alternatively, spend (possibly a lot) more time on understanding what the root cause is, and how you (maybe!) can fix it without reinstalling and restoring backups.13:25
BlakesSeventomreyn, I whole heartedly agree.13:25
lotuspsychjeBlakesSeven: wich ubuntu version are you on currently with that kernel?13:26
BlakesSevenThat system is 16.0413:26
tomreynBlakesSeven: that's not a kernel available on 16.04, though13:27
mikubuntuanybody able to tell me the url for photobin?13:27
tomreynimgur.com works13:27
mikubuntuk13:27
lotuspsychjeBlakesSeven: we reccomend to test ubuntu issues, on the kernel that comes with it, for your 16.04 currently Version 4.4.0.154.162 (xenial)13:29
mikubuntuhttps://imgur.com/55yA76Z tomreyn13:29
lotuspsychjeBlakesSeven: or !hwe13:30
mikubuntubrb tomreyn13:30
BlakesSeventomreyn, I can take a screenshot if you like, but I'm looking at the results of uname -a and lsb_release -a 4.4.0-151, 16.04  respectively. But it's tangential to the problem as the problem seems to have resolved itself when I moved the drive (USB) from debian back to ubuntu. Now ubuntu is allowing the drive to be opened and is not reporting a partition issue. I'm going to chalk this up to incoming drive failure.13:31
tomreynBlakesSeven: i agree with lotuspsychje - see what happens with a standard ubuntu kernel (and standard ubuntu userspace / installation). if it still happens there, and you can show the partition table as parsed by (ideally) two applications, including the error message you quoted, we can talk more.13:31
tomreynBlakesSeven: it may also be an issue with physically deteriorating storage media. check !smart13:32
tomreynmikubuntu: so did you do as the message says, and did this provide any new insight?13:33
mikubuntutomreyn as i said i looked at the readme and it's way over my head13:34
mikubuntukept hoping it would resolve in a software update, but it hasn't13:35
tomreynmikubuntu: you didn't say that, no.13:35
tomreynlet's concentrate on finding a solution, though13:36
tomreyn!smart | BlakesSeven: oops i forgot to hand you the 'smart' 'factoid':13:37
ubottuBlakesSeven: oops i forgot to hand you the 'smart' 'factoid':: smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools13:37
tomreynmikubuntu: can you show /etc/crypttab ?13:37
mikubuntutomreyn i can if you tell me how .. lol13:38
mikubuntui'm definitely willing, and i have the best intentions13:38
tomreynmikubuntu: sure:   sudo apt update && sudo apt install pastebinit && pastebinit /etc/crypttab13:38
mikubuntuk gimme sec13:39
samba35i have ubuntu 18.04.2 i am not getting login screen windows before login screen screen is flicking with some message13:39
lotuspsychjesamba35: what kind of message do you get?13:40
tomreynmikubuntu: i'm happy to help, please just ask when something is unclear, since (not actually knowing you) it's not easy to tell what you know and what you do not yet know.13:40
samba35i am able to boot to rescue mode but bot nornal mode  how to diagnode this13:40
samba35after cloud-init some message screen is fast blinking13:40
samba35is it possile to check from log ?13:41
tomreyn!server | samba3513:41
ubottusamba35: Ubuntu Server Edition is a release of Ubuntu designed especially for server environments, including a server specific !kernel and no !GUI. The install CD contains many server applications. Current !LTS version is !Bionic (Bionic Beaver 18.04) - More info: http://www.ubuntu.com/products/whatisubuntu/serveredition - Guide: https://help.ubuntu.com/lts/serverguide - Support in #ubuntu-server13:41
mikubuntuis this what you want? http://paste.ubuntu.com/p/jbxMDKxykS/ tomreyn13:41
samba35ok13:42
tomreynmikubuntu: this is what i was hoping to get to see, yes.13:42
tomreynmikubuntu: so you really only have encrypted swap, the rest is plain, right?13:42
mikubuntuno clue tomreyn13:43
tomreynokay. let me read some docs, i'll get back to you in a few minutes.13:44
mikubuntuokey dokes, thx tomreyn13:45
mikubuntubrb in 8 min13:45
tomreynmikubuntu: please also show this when you're back:   cat /proc/swaps | pastebinit13:47
BlakesSeventomreyn, the smart test shows the drive passes. So, IDK.13:51
tomreynBlakesSeven: me neither, it's good you checked, though.13:54
BlakesSevenThe drive is +4 years old, but it is an offline backup of a drive that is online 24/7. So, old, but not used often. It gets placed online a few hours a month. IDK. Maybe I'm just crazy and imagined all this.13:54
mikubuntui back whenever you free tomreyn13:54
tomreynmikubuntu: so i *think* (I had no easy time finding documentation on this, and did not read source code), the "size" option you are indeed missing in your /etc/crypttab is about the encryption key size. it probably defaults to 256 bits, though should (ideally) be 512 bits for aes-xts-plain64.13:57
mikubuntuok if you say so .. lol tomreyn13:58
tomreynmikubuntu: so you should edit /etc/crypttab and append, without adding extra blank spaces, to the end, this: ,size=51213:58
BlakesSeventomreyn, I appreciate your help with this, btw. Thank you very much.13:58
tomreynBlakesSeven: you're welcome ;)13:59
BlakesSevenAnd lotuspsychje, thank you too.13:59
mikubuntuso lemme see if i can do that -- is that using geddit or similar? or in the term?13:59
mikubuntudo i include the comma? ,size=512 ? tomreyn14:00
tomreynmikubuntu: you can use gedit if that's easiest for you. type this in a terminal:  gedit admin:///etc/crypttab14:01
tomreynmikubuntu: yes, you include the comma, also anything behind the comma.14:01
mikubuntuok lemme try tomreyn14:01
tomreynmikubuntu: when you're done,    pastebinit /etc/crypttab14:02
tomreynthat's after saving and closing gedit14:02
mikubuntuhmmmm, could not open the file, unable to handle "admin" locations tomreyn14:03
tomreynmikubuntu: which ubuntu version do you run again?14:04
mikubuntu1904, is it possible i needed to do sudo geddit?14:04
tomreynmikubuntu: should not be, no. are you using xorg or xwayland?14:05
mikubuntuoh, it's lubuntu 1904 so whatever it uses i guess tomreyn14:06
tomreynoh *l*ubuntu, i see.14:06
tomreynmikubuntu: are you comfortable with any CLI editors?14:06
mikubuntuwhoooOOO000OOOooops14:07
tomreyn?14:07
mikubuntuummm, not familiar with CLI tomreyn14:07
tomreynokay, let's use nano:   sudo nano /etc/crypttab14:08
mikubuntuok gimme sec tomreyn14:08
tomreynthen edit the file as discussed, then press ctrl-x and save it under the suggested file name14:08
aienaI have a doubt. If you copy a file into a folder which is a symbolic link. Where does the file actually go? To the realpath of the directory or it ignores the fact that the dest dir is a symb link?14:08
tomreynmikubuntu: and finally   pastebinit /etc/crypttab14:09
* tomreyn back in 5 minutes14:09
TJ-aiena: symbolic links are just sign-posts to somewhere else; they take you there14:10
aienae.g. '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is a symbolic link to '/usr/lib/modules/5.0.0-aiena/kernel/drivers/usb`. If I copy a file into '/lib/modules/5.0.0-aiena/kernel/drivers/usb/' is it stored in "/lib/..." or "/use/lib/..."?14:11
mikubuntutomreyn can't figure out how to enter edit mode in nano14:11
aiena*/usr14:11
TJ-aiena: Ubuntu doesn't install kernel modules to /usr/lib/, only /lib/modules/$VERSION/...14:13
aienabut lib/modules is a symlink14:13
jeremy31aiena: almost sounds like Arch14:13
mikubuntuit currently reads: ryptswap1 UUID=abd1a15c-8906-464c-9713-2d9fbb2101fa /dev/urandom swap,offset=1024,cipher=aes-xts-plain64 and you just want me to add the ,size=512 with no space after plain64 tomreyn14:14
TJ-aiena: not on Ubuntu: "drwxr-xr-x 19 root root 4096 Jul  1 06:59 /lib/modules"14:14
aienaTJ-: are you sure? see https://paste.ubuntu.com/p/VRPSpsfZsM/14:16
aienaTJ-: sorry https://paste.ubuntu.com/p/H9NXCN2Ww2/14:17
aienathe last line output was missing14:17
mikubuntutomreyn at any rate i can't seem to figure out how to append to the file14:18
chaosfischmy openvpn server does not send a complete list of routes, thus dns is failing (the dns server is in a subset which is not routed by the vpn link). how can I add client side routes to the .ovpn config file?14:18
aienabuild points to where the linux-headers package installs stuff and the other dirs point to other places14:18
aienaI am guessing the correct way is to use /lib/modules14:19
aienabut I cannot find official docs on it14:19
tomreynmikubuntu: okay, if editing the file is difficult, i will instead provide a command which will do it for you. just quit the editor using ctrl-x, choosing *not* to save.14:22
TJ-aiena: you're pointing to the *header* files, not the kernel modules14:22
TJ-aiena: all kernel headers and DKMS packages are in /usr/src/*14:22
TJ-aiena: each /lib/modules/$VERSION/build is a symlink to the matching headers under /usr/src/14:23
edsonHello14:23
mikubuntunothing happens when i do control x tomreyn14:23
tomreynmikubuntu: what are oyu seeing there now?14:23
tomreynare you in the nano editor?14:24
mikubuntuyes in the nano editor, just that string ending in plain6414:24
cGIfl300Hello, I use ubuntu 18, I had my battery level in the xfce bar, now it is diseabled I cannot found the way to make it avaible again. Any idea?14:25
tomreynmikubuntu: press ctrl, hold it down, then tap x, then release ctrl.14:25
cGIfl300(burning the planet should bee too long)14:25
tomreynmikubuntu: what happens when you do this?14:25
aienaTJ-: the second one is modules14:25
mikubuntulemme try tomreyn14:25
aienaI think I understood readlink -f wrong though14:25
=== msalvatore_ is now known as msalvatore
aienaactually no because the second line say that the linix drivers are installed in /usr/lib/modules/ TJ- if I understood correctly?14:26
TJ-aiena: *BUT* you built a custom kernel, so it's up to you where the modules get written to, this isn't an Ubuntu kernel image or headers package14:26
aienaTJ-: this one is the standard ubuntu kernel14:27
aienamy custom kernel is called 5.0.00-aiena14:27
aienanote the 5.0.0.20-generic in the name14:27
mikubuntunothing happens when i hold ctrl down, tap x, and release ctrl tomreyn14:27
aiena*5.0.0-aiena14:27
tomreynmikubuntu: interesting, you must have some unusual keyboard configurations.14:28
aiena*5.0.0-20-generic14:28
mikubuntunothing i've ever changed tomreyn14:29
aienaTJ-: so this is an ubuntu kernel14:29
aienaunder official package management from the canonical repo14:29
cGIfl300(and I see you are talking about kernel, ubuntu does not supports wifi cards installed on actual hp laptops, such as rtl8723de. You must download it and compile it using dkms, but for that you need internet...) :)14:29
TJ-aiena: ahh sorry, I missed that... not sure how I got confused!14:29
tomreynmikubuntu: open another terminal window and enter this:   sudo pgrep nano | xarg sudo ps | pastebinit14:29
omega_doomhello14:30
lotuspsychjecGIfl300: you could try in #xubuntu perhaps14:31
cGIfl300lol, why not, nothing to loose14:31
aienaTJ-: I think for /lib/modules/drivers/* is the correct place though if I want to automate driver installation in my makefile. But I wanted to understand why those hierarchies are there.14:31
omega_doomHow can i download a package with all its dependencies from a specific repo?14:32
tomreynmikubuntu: are you working on it, yet?14:34
mikubuntutomreyn https://pastebin.ubuntu.com/p/59C4hCF5ZF/14:34
TJ-aiena: what does this report? "apt-cache policy linux-modules-5.0.0-20-generic"14:34
tomreynmikubuntu: sorry, my bad, i had a typo there. run this:    sudo pgrep nano | xargs sudo ps | pastebinit14:35
* Indo365 14:35
mikubuntuk lemme try14:35
aienaTJ-: https://paste.ubuntu.com/p/VkfTNd52N5/14:35
Indo365dcc send aiena virtex38.txt14:36
aienaIndo365: you missed the /14:36
mikubuntusomething went wrong there i think tomreyn :: sudo pgrep nano | xargs sudo ps | pastebinit[sudo] password for mikubuntu: /usr/bin/pastebinit:42: DeprecationWarning: dist() and linux_distribution() functions are deprecated in Python 3.5  release = platform.linux_distribution()[0].lower()14:37
mikubuntudidn't really prompt me for password tomreyn14:37
pragmaticenigmamikubuntu: If you have entered your sudo password within a recent amount of time, the session will not re-request the password14:39
mikubuntupragmaticenigma that must be what happened then -- so is that the expected output tomreyn?14:40
tomreynmikubuntu: okay. just reboot, after reboot, run this:  sudo sed -i 's/$/,size=512/' /etc/crypttab && sudo update-initramfs14:40
aienaTJ-: thanks for teaching me the apt-cache policy command14:41
tomreynmikubuntu: then reboot again, then the message on the boot screen should be gone.14:41
mikubuntuok tomreyn i'm going to email that to my inbox so i won't lose it .. lol14:42
tomreynwhatever helps!14:42
cGIfl300that were just a power managment service crash, nothing to do with x y or z buntu ;)14:43
TJ-aiena: I've a 19.04 system here with 5.0.0-20-generic and those are NOT symlinks, they are directories14:46
u0_a135hi14:47
aienaTJ-: did you try with the "readlink -f" command14:47
aienawhat does readlink -f say on your system?14:47
aienaTJ-: what does `readlink -f /lib/modules/$(uname -r)/modules/build` say on your system?14:48
aienaactually scrap that wrong command wait14:49
aienaTJ-: try this `readlink -f /lib/modules/$(uname -r)/build` what does it say on your system?14:50
mikubuntutomreyn https://pastebin.ubuntu.com/p/qDg9F5HmTM/14:50
omega_doomHello. Where can i find Ubuntu 18.04.2 LTS packages repo?14:51
aienaTJ-: ah its a Linus thing14:52
tomreynmikubuntu: okay, now:  pastebinit /etc/crypttab14:52
lotuspsychjeomega_doom: what are you looking for14:52
mikubuntutomreyn, but i didn't execute any option -- no matter?14:54
tomreynmikubuntu: yes, ignore the output. i noticed there was an issue.14:55
tomreyn(i had provided another imperfect command line, but we'll rectify this now.)14:56
mikubuntuhttp://paste.ubuntu.com/p/fjs2CcBgFZ/ this what you're looking for tomreyn14:56
tomreynmikubuntu: right. now:    sudo update-initramfs -k all -u14:58
mikubuntuoh, look tomreyn, the size=512 automagically appeared .. lol14:58
tomreynmikubuntu: not entirely automatically. please tell me whether     sudo update-initramfs -k all -u     returned any wrnings or errors. you can copy and paste its output to the !pastebin if needed15:00
tomreyn!pastebin | mikubuntu15:00
ubottumikubuntu: 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.15:00
mikubuntutomreyn, still generating output, but so far: update-initramfs: Generating /boot/initrd.img-5.0.0-20-genericcryptsetup: WARNING: Resume target cryptswap1 uses a key file15:01
mikubuntuwhoops sorry15:02
mikubuntutomreyn https://pastebin.ubuntu.com/p/gWgydssmgT/15:03
TJ-aiena:  ./build/ is always a sym-link to the *headers* as in => /usr/src/linux-headers-$VERSION15:04
tomreynmikubuntu: reboot now, the warning message during boot should now be gone.15:04
mikubuntuk thx lemme try tomreyn15:05
aienayes it seems link ./linux is also a symlink I was wondering why absolute paths aren't used15:05
aienaI guess this is to provide a common interface while letting the distro choose wherever it wants to place the stuff15:06
TJ-aiena: ha, I've solved it! It seems in 19.04 /lib became a symlink to /usr/lib which in previous versions it wasn't15:08
aienainteresting so previously ubuntu built kernels slightly differently15:09
aienanow it seems to follow the mainline kernel way more closely15:10
aienaor maybe it got changed in the mainline kernel15:10
u0_a135ji15:11
u0_a135ja15:11
u0_a135jao15:11
lotuspsychjeu0_a135: can we help you?15:12
aienaTJ-: anyway now that I've figured out how to build custom modules without a custom kernel I'll just remove my kernel.15:17
TJ-aiena: I've not found a changelog entry describing when/how that change was added15:18
aienaare you sure in older distros it was not a symlink?15:19
aienaI actually have an ubuntu 15 vm let me boot it and check15:19
aienaI am curious now15:19
aienaits a lubuntu one but for this it shouldn't matter I think15:19
TJ-aiena: on 18.04 here, "ls -ld /lib15:20
TJ-drwxr-xr-x 27 root root 4096 Apr 15 15:11 /l15:20
TJ-aiena: hmmph, incomplete copy but you get the idea15:21
aienaTJ-: yes15:21
aienabut does -ld display symlinks?15:21
aienanever used the d flag15:21
aienaTJ-: the -ld is confusing15:22
TJ-aiena: it's -l -d15:22
aienayes still its confusing let me show you why15:23
aienaTJ-: see https://paste.ubuntu.com/p/ymywPCjprH/15:23
aienaI think -l -d isn't a good command for symlinks15:23
aienaTJ-: yep `man ls` say -d stands for "directory"15:24
aienabut it behaves oddly sometimes resolving symlinks15:24
aienaits ls being funny or something15:25
aienaTJ-: technically readlink and the ls -l -d command should have given the same output15:25
aienaI think ls is a linux utility but readlink is for coreutils so Linux has masked this symlink out cleverly15:26
TJ-aiena: no, -d means it doesn't list the *content* of the path you give, it reports *that* path. On 19.04 I see "ls -ld /lib" => 'lrwxrwxrwx ... /lib -> usr/lib"15:26
aienaTJ-: did you look carefully at my pastebin15:27
aienaalso `man ls` says `-d, --directory`15:27
TJ-aiena: what are you expecting me to see?15:27
aienaand `-l     use a long listing format`15:27
aienaTJ-: the ls command does not show /lib/modules as being a symlink but readlink does15:28
aienain both commands I used /lib/modules15:29
aienaif your /lib indicated a symlink with ls15:29
aienawhy didnt /lib/modules?15:29
raverIsn't there -f for symlimks?15:30
aienaraver hmm -f is there but because we want the canonical path15:30
TJ-aiena: that's because "/lib/modules" is NOT a symlink!15:30
aienaTJ-: but readlink -f confirms it is15:31
TJ-aiena: aiena  "/lib" is a symlink,15:31
TJ-aiena: no, it does not15:31
raverThen use basename15:31
aienasee hte pastebin carefully15:31
raverOr dirname15:31
raverCommand15:31
TJ-aiena: no, read the man-page15:31
aienawhic15:31
TJ-aiena: "readlink -f" *follows* all symlinks15:31
aienawhich of ls or readlink?15:31
raver... Or find15:31
aienaTJ-: yes so try using "readlink -f" on a file in tyour home directory15:32
aienait will follow it to the same path because those areusually not symlinks15:32
exellhow can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it15:32
aienaln command is rarely used in the home directory TJ-15:32
TJ-aiena: 'ls -ld /lib/modules" follows the symlink /lib -> /usr/lib/ and shows "/lib/modules" , "readlink -f reads /lib -> /usr/lib ->/ /usr/lib/modules15:33
mikubuntudon't know if anyone can tell what i'm talking about, but my display seems to be off -- can you see how my bottom panel looks in this pic -- https://imgur.com/A6qO7SU15:33
aienaTJ-: you arent making sense one sec15:34
mikubuntuand see how the resolution of my tabs don't look right either? https://imgur.com/a/xuJVOQA15:34
aienaTJ-: see https://paste.ubuntu.com/p/9JJTcjbmx3/ and contrast it with https://paste.ubuntu.com/p/ymywPCjprH/15:34
aienain the first one ls and readlink give the same output15:35
aienaremember /lib and /lib/modules are totally different dirs15:35
aienain /lib's case both readlink -f and ls give the same o/p but why not for /lib/modules?15:35
TJ-aiena: I don't see a prooblem there15:36
tomreynmikubuntu: so i assume the boot screen warning is gone?15:36
TJ-aiena: I already explained!15:36
aienaok now I understood you15:37
TJ-aiena: "/lib" is a sym-link, so whenever accessing something under that symlink the path can appear to be under /lib/ ... but readlink is there specifically to determine what the real path is, after resolving all symlinks15:38
MRD365hi15:38
aienaTJ-: so ls -ld wont resolve all symlinks15:38
mikubuntutomreyn yes i thought i had told you but of course i was logged out after the last reboot -- i was hoping that whatever we did would fix my screen resolution/display problem but i guess totally unrelated15:39
TJ-aiena: it depends on whether you ask it to look at "/lib" or "/lib/" - there is a subtle but important difference15:41
tomreynmikubuntu: yes, totally unrelated. how long have you been using ubuntu on a regular basis, if i may ask?15:42
exellhow can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it15:42
aienaTJ-: Cannot find the subtle difference https://paste.ubuntu.com/p/HjPk6mbZtf/15:43
aienawhat am I missing15:43
mikubuntu7.04 tomreyn15:43
TJ-aiena: you're not looking at the entry I mentioned "/lib" or "/lib/" not "/lib/modules"15:43
aienaI never knew ls could show symlinks15:44
aienaTJ-: hmm got you15:44
tomreynmikubuntu: hmm, then i highly recommend you familiarize yourself a bit more with the !terminal and common commands there (such as the simple editors) - this will make it a lot easier for you and anyone assisting you in getting faster and easier results.15:44
tomreyn!terminal | mikubuntu15:44
ubottumikubuntu: The linux terminal or command-line interface is very powerful. In Unity or GNOME, search the dash for "terminal" and press ENTER. Other desktops: Applications -> System Tools -> Terminal (MATE), K-menu -> System -> Konsole (KDE), or Menu -> Accessories -> LXTerminal (LXDE). Guide: https://help.ubuntu.com/community/UsingTheTerminal15:44
TJ-aiena: once you look *below* /lib/ at some child entry that's just the same as doing either "ls -l /lib/modules /usr/lib/modules"15:44
aienanods15:44
tomreynmikubuntu: i know it's a steep learning curve initially, but you also get fast and great results.15:45
aienaTJ-: so ls wont follow symlinks like readlink would15:46
aienaso you would never know something was a symlink unless you specifically pointed ls at it15:46
TJ-aiena: yes, it follows them else it wouldn't work, but it doesn't report entries as being at the resolved target, it reports them as *under* the symlink15:47
aienaah that is a good explanation15:47
TJ-aiena: the entire point of *symbolic* links is to be able to give an alternate name to something else15:47
aienanods15:48
aienathanks15:48
TJ-aiena: most of the devtmps (/dev/) is made up of symlinks, see e.g. "ls -l /dev/disk/by-*/*"15:48
aienaTJ-: but those symlinks are special in the sense the files are all virtual there is nothing stored on disk for those15:49
TJ-aiena: also many of the nodes in sysfs are sym-links too, e.g. "ls -l /sys/class/input/"15:49
TJ-aiena: they're all file-systems15:49
aienaTJ-: but /sys and /dev are created dynamically by the kernel or do they occupy disk space?15:51
mikubuntutomreyn i'm afraid it's hard to teach an old dog new tricks -- usually when i need help it's because something has gone wrong with an update or similar, and it's always something different, and usually i can go very long periods without needing any support at all -- so by the time i do have to come back, i've unfortunately forgotten most of what i15:51
mikubuntulearned the year before. i only wish that computers would have been so ubiquitous in my youth that i would have learned all the stuff under the hood.a15:51
magic_ninja_workso what happens when you put ubuntu to sleep. I used like 13% battery over-night15:51
TJ-aiena: it makes no difference; they're all file-systems15:52
magic_ninja_workIs there something that can hibernate the machine or such after a certain time?15:52
aienaok15:52
TJ-magic_ninja_work: most desktop enviroments have power-management settings that control suspend/hibernate timeouts etc15:53
TJ-aiena: if you want to understand the VFS see http://www.tldp.org/LDP/khg/HyperNews/get/fs/vfstour.html15:56
aienaTJ-: interesting so there is a filesystem for even section in an elf linux binary15:57
aienaTJ-: is there a userspace app to tell which files are open on the system15:59
aienabecause there is file_table.c    VFSg    Dynamically-extensible list of open files on the system.15:59
aienaah lsof without args16:00
aienaso lsof uses file_table?16:00
AnastasiusHi.16:01
=== Sven_vB_ is now known as Sven_vB
AnastasiusI have some important questions about the Bible here for you here today. Is it true that Jesus was resurrected on a Sunday?16:02
magic_ninja_workTJ-, thanks I'll look into it16:03
Sven_vBI heard I can check whether a disk is flash memory/SSD using /sys/block/sd*/queue/rotational . in my case it shows "1" for sdb, which is the USB thumb drive from which I booted the bionic live session. why? I sure hope it doesn't rotate.16:03
exellhow can anyone tell me how to take ownership of a drive. its an internal secondary drive that I can see but cannot create new files or add anything to but I can read from it16:03
AnastasiusI never read about it much, I was too busy ripping pages out to roll joints with. Joints are better if they're written in the blood of Christ.16:03
=== beaver is now known as evilnewbie
AnastasiusUbuntu is not doing, Allah is doing.16:05
Sven_vBAnastasius, try #bible16:06
AnastasiusSven_vB: Well I'm not sure about #bible, but I know I have a friend in #jesus.16:07
aienalol do you have an Ububtu question?16:07
aienaUbuntu16:07
AnastasiusI actually do. How does it still exist when the IRC help channels are full of fascists?16:08
tomreyn!ops | Anastasius16:08
ubottuAnastasius: Help! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax16:08
Sven_vBexell, I assume you managed to mount the drive, right? How did you do that?16:08
aienaexell: you most likely mounted the drive as root and never gave your user permission to use the files16:10
Sven_vBexell, could you paste the (hopefully just one) line of "mount"'s output that describes the drive?16:10
exell@sven_vb it was automatically mounted by the os16:11
TJ-Sven_vB: double-check /dev/sdb is the USB device :) "ls -l /sys/block/sdb" and the sym-linked path includes USB device nodes16:11
aienayou have 2 options 1) write as root -dangerous 2) change ownership of all files to an unpreviledged user 3) I think factl's would work too but not tested16:11
exell@Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)16:12
Sven_vBexell, the "ro" in (…) means it's mounted read-only.16:13
Sven_vBI wonder about the fuseblk16:13
aienaalso the user_id=0 means as root16:13
TJ-exell:  is that an NTFS ?16:13
aienaexell: is this on a thumb drive or external hard drive?16:13
exellI've tried chown -R16:13
exellIts in internal seconard ssd drive16:13
aienaexell: you need to remount the drive16:14
Sven_vBexell, when the entire file system is write-protected, you can't even change owner or modes.16:14
aienaexell:  try this16:14
aiena`umount /dev/sda && mount /dev/sda /mnt`16:15
aienathis will remount the drive in the mnt directory16:15
aienathen tell us the output of ount for /dev/sda2 again16:15
exell@Tj- yes ntfs16:15
TJ-exell: the /media/$USER/ path tells us it is automounted by udisks, and it uses a user-space file-system driver via FUSE, so I'm guessing its NTFS and the NTFS fuse driver has refused to mount it read-write, or the FS's unclean bit is set16:15
aienaTJ-: that is a good guess16:16
aienaexell: was windows running on this ssd before?16:16
TJ-exell: you could try "sudo mount -o remount,rw /dev/sda2"16:16
aienausually ntfs file systems are in a dirty state when windows wasnt shutdown properly16:16
exellumount /dev/sda && mount /dev/sda /mnt16:17
aienaexell: oops16:17
exellumount: /dev/sda: not mounted.16:17
aienathat will give an error16:17
exellmeant to draw an arrow there16:17
Sven_vBTJ-, double-checked. "cat /sys/block/sdb/device/model" -> "USB DISK Pro" and "mount | grep cdrom" -> "/dev/sdb3 on /cdrom type vfat …"16:17
ioriaSven_vB, https://unix.stackexchange.com/questions/439109/set-usb-flash-drive-as-non-rotational-drive16:18
aienaexell: the command is 'umount /dev/sda2 && mount /dev/sda2 /mnt`16:18
aienathen do an ls /mnt16:18
aienato confirm that the drive mounted right to /mnt16:18
exell@aiena no, windows wasnt running but it was originally mounted from windows16:18
aienaif it mounted right we proceed16:18
Sven_vBioria, thanks!16:18
ioriaok16:18
exell@arena umount: /dev/sda2: not mounted.16:19
aienastrange16:19
aienaexell: can you please pastebin the output of lsblk?16:19
aiena!paste16:20
ubottuFor 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.16:20
exellaiena https://pastebin.com/twTg9d3A16:21
aienahmm ok so technically /dev/nvme0n1p4 is your ssd not sda2 like I originally thought16:22
aienaexell: are you on a live linux distro?16:22
exellaiena... my primary is the nvme ssd with multiple partitions. my secondary is an ssd with 1x partition (and a wierd 500mb) I am running a fully installed linux16:23
tomreynbut not ubuntu?16:24
aienaexell: can you paste the output of lsblk -f16:24
aienait should show the fstype for all mounted drives16:25
exellexell@exell-MS-7A63:/mnt$ uname -a16:25
exellLinux exell-MS-7A63 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux16:25
aienaexell: also the 500MB weird partition is most likely an efi partition the /dev/sda1 one16:26
MRD365dcc chat aiena16:26
exellaiena https://pastebin.com/6SsYYusc16:26
tomreyn!pm | MRD36516:26
ubottuMRD365: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice.16:26
aienaMRD365: why are you DCCng me?16:27
exellaiena.. was that anymore useful?16:28
aienait was very useful just give me a sec16:28
aienalets check the ntfs fs for that it should be unmounted so `umount /dev/nvme0n1p4`16:29
exellwould it be easier if I just wipe it and convert it to ext4?16:29
aienalsblk should show that it's now unounted16:29
aienaexell: do you need the data?16:30
aienaext4 is a better fs for linux but if you need the data backup and then wipe16:30
aienantfs is pretty stable on linux too at least I have hads no issue with it16:30
aienaI use ntfs as a fs to share windows and linux files16:30
aienadump anything I want on it which I want accesible by both side of my dual boot16:31
exellI use it for sharing between windows and linux partition but I very very rarely use windows16:31
aienathen you could shrink it if you want and keep it16:31
aienaanyway lets get back to what we wanted to do earlier16:31
exellit is full, I can store to external drive and wipe to ext416:32
aienayes that is an option too16:32
aienadid you unmount it?16:32
aienaumount /dev/nvme0n1p416:33
exellaiena... partition 4 is my windows mount its the ssd └─sda2      ntfs                     D21232041231EDDB thats the issue16:33
aienaexell: I got an idea16:33
aienais this a dual boot system16:33
exellyeah. from nvme16:34
aienathat defintely explain the 500mb partition16:34
aienathat 500mb partition is the efi partition of your windows bootloader16:34
aienayour BIOS must be a UEFI bios and your most likely runnig win7 or 1016:35
TJ-exell: you should do an file-system check of /dev/sda216:35
aienaTJ-: lets confirm if the ntfs partition is dirty on the nvme in the first place16:36
TJ-exell: see "man ntfsfix"16:36
aienaexell: did you unmount /dev/nvme0n1p4?16:36
TJ-aiena: why are you on about the nvme? exell's issue is with /dev/sda216:36
aienaTJ-: aj I am sorry good catch16:37
aienaexell: just run 'ntfsck /dev/sda2'16:37
aienawhat is the output?16:37
aienaif its not installed ubuntu will tell you what to install to get the command16:37
exellthe disk contains an unclena file system (0,0). refused to mount - FAILED16:38
exellbut its mounted, and I can see all the files and open them. I just cant write to the disc16:38
aienawait16:38
aienayour lsblk output shows that /dev/sda2 is unmounted16:39
aienaso is the nvme ntfs partition the one you are having issues with?16:39
aienais sda2 also complaining about being dirty?16:39
robertparkerxI'm on a cli only vSphere VM and I am getting `kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)`16:40
robertparkerxI tried to access grub menu by holding shift but did not work16:40
TJ-aiena: from earlier ... "/media/exell/D21232041231EDDB"16:40
aienaTJ-: https://pastebin.com/6SsYYusc is from later and he says its still mounted16:41
TJ-robertparkerx: to get to GRUB try *tapping* Esc key ... especially if its a UEFI boot because shift key doesn't work with UEFI16:41
aienaso I have to confirm as I am unclear myself16:41
exelli'll be right back.. going to reboot the system16:41
=== kostkon_ is now known as kostkon
TJ-aiena: no, that's not it, look at the pseudo-UUID, the problem read-only mount is D21232041231EDDB16:41
aienaTJ-: Yes there it was /dev/sda216:42
TJ-from earlier: 17:12 <exell> @Sven_vB /dev/sda2 on /media/exell/D21232041231EDDB type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)16:42
aienabut later on post lsblk output he said 'but its mounted, and I can see all the files and open them. I just cant write to the disc'16:42
robertparkerxTJ-, I wasn't able to get ESC to work either16:42
robertparkerxTJ-, it's still on the same screen16:42
aienain that lsblk output /dev/sda2 is not mounted16:42
aienaso he should see nothing TJ-16:43
aienahe never mentioned remounting it again TJ-16:43
aienaso the D21232041231EDDB doesnt exist inthe lsblk output so thats why I had my doubts16:44
TJ-robertparkerx: hmmm, without gaining access to GRUB menu there's not a lot you can do since diagnosis will require forcing a drop to the initramfs shell16:44
magic_ninja_workwill removing a kernel module for a device cause the device to power down?16:44
aienamagic_ninja_work: usually no. How did you remove it and what is the module?16:45
robertparkerxI got it!16:45
aienaactually magic_ninja_work removing a driver may cause a device to stop being understood by the system e.g. a wifi dongle may stop working if its driver is removed16:46
magic_ninja_workaiena, well, powertop is reporting it using 5-6W of power, but I'm not using the interface.16:46
magic_ninja_workI unloaded the module, and was just wondering if that would stop whatever is going on there.16:47
aienahmm the device must be still drawing power from the system16:48
robertparkerxI'm in emergency mode now, I was able to access grub and boot from an ealier kernel. How would I restart or complete the do-dist-upgrade process ?16:48
magic_ninja_workRight, but I've nothing plugged into that port. I mean, I can manually load the module. I hardly ever use it.16:48
magic_ninja_workrobertparkerx, you shouldn't be doing dist-upgrade from emergency mode. You need to get your errors repaired first. Why are you in emergency mode?16:49
robertparkerxmagic_ninja_work, I didn16:49
robertparkerxmagic_ninja_work, I didn't realize I was going into emergency mode. I just chose an earlier kernel to boot.16:49
TJ-robertparkerx: check "mount | grep '/ ' " check if / is mounted rw or ro (read-write or read-only)16:49
TJ-robertparkerx: I'm presuming you selected one of the "Recovery" options in the Advanced sub-menu16:50
aienamagic_ninja_work: what is the it here?16:50
magic_ninja_workaiena, my ethernet port (RJ-45)16:50
aienafor an ethernet port unloading/loading the driver will most likely make no difference16:51
TJ-magic_ninja_work: is it connected via USB or on PCI?16:51
aienaunloading the driver may make the networking stack fail to read the internet packets from the card16:51
aienabut the card will still draw power16:51
magic_ninja_workIt is a laptop16:52
aienaso this port is inside the laptop right16:52
magic_ninja_workso PCI16:52
aienathen it will draw power irrespective16:52
aienait may be directly builtin to the motherboard too16:53
TJ-magic_ninja_work: does it have a cable connected to a switch?16:53
magic_ninja_workno16:54
magic_ninja_workIt isn't connected16:54
magic_ninja_workaiena, no it is a card.16:54
magic_ninja_workwait, the ethernet port is SoC16:54
magic_ninja_workSorry :(16:54
TJ-magic_ninja_work: whar make/model of device is that, RasPi ?16:56
magic_ninja_workthis isn't on a pi16:56
magic_ninja_workits an inspiron 755916:56
Blankspacehi16:58
TJ-magic_ninja_work: 7559 is a System on Chip?16:58
Blankspacei am getting this error make: *** No rule to make target 'config'.  Stop.16:58
magic_ninja_work7559 ethernet port is built into the motherboard, yes16:58
Blankspacewhen i type make config16:58
magic_ninja_workThe NIC isn't separate.16:58
Blankspacewhat could be the reason?16:58
magic_ninja_workBlankspace, your soure code doesn't require make config to be run16:59
TJ-magic_ninja_work: it'll be on PCI, do "lspci -nn -d ::0200" to list it16:59
aienamagic_ninja_work: in almost all laptops i've opened the enthernet port is on the mobo, only the wifi card is a PCI card16:59
aienaethernet16:59
TJ-aiena: they're all on PCI/PICe17:00
aienaTJ-: hmm true17:00
TJ-aiena: the only difference is whether there are connectors for removable devices or soldered on17:00
aienayes correct17:01
aienaif they are removable you can prevent them drawing power I think17:01
aienacan you preven them if their integrated into the motherboard?17:02
magic_ninja_workthere seems to be some confusion here. The ethernet port is built in and wifi is a card.17:03
Blankspaceand this make: *** No rule to make target 'install'.  Stop.17:03
Blankspacehow do i install then17:03
TJ-magic_ninja_work: makes no difference as to which bus the devices are on; on a PC they'll be on the PCI bus / PCIe complex17:04
TJ-Blankspace: you'd have to ask the people that provided that source package17:06
robertparkerxI don't know why I am going into emergency mode. I have selected an earlier kernel because of my error.17:06
robertparkerxkernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)17:06
aienaBlankspace: if you let us know what you are trying to compile maybe we can help17:06
Blankspacei downloaded irc bot17:07
Blankspaceam i trying to install17:07
BlankspaceI am*17:07
magic_ninja_workThen you need to consult whoever made the bot as to why it won't compile.17:07
aienaok which irc bot does it have a github page?17:07
Blankspacebut don't know how to do.17:07
Blankspaceeggdrop irc bot tar file.17:08
aienaBlankspace: sisnce this is not an Ubuntu question maybe you can PM me but I need atleast the link to the tar file17:08
robertparkerxAnyone know how I can recover from trying to upgrade to 16.04 from 14.04 and it was interupted. Now I am getting a kernel panic. I am able to access grub menu now after powering down the VM.17:11
tomreynrobertparkerx: this message states that the root file system this boot configuration is set to boot from could not be found / used.17:11
robertparkerxtomreyn, can I roll back what I did earlier in the week and try again?17:13
tomreyni don't know your roll back / recovery / backup restoration options. by default, there are none, until you created them.17:14
sarcastico!part17:14
tomreynsarcastico: it's: /part17:14
aienarobertparkerx: the best way is to boot into a live distro recover your files and reinstall the OS17:15
mdemoare rules for apparmor packaged with apparmor or packaged with individual applications?17:15
tomreynmdemo: both, but for what you must mean asking this question, the latter.17:15
mdemohrmm, ok17:16
mdemothanks17:16
robertparkerxtomreyn, can I repair what was not finished?17:16
tomreynrobertparkerx: i don't know, lack details. normally the best time to recover a failed release upgrade is *before* you reboot. you may be able to chroot into the existing on-disk installation from a 16.04 live iso and complete the upgrade from there. the much easier option is a reinstall, though.17:17
tomreynthat is, unless oyu did it before17:18
magic_ninja_workWell, I'll leave the power thing for now. I'm still getting okay battery life.17:18
magic_ninja_workI'll move on to the suspend issue and start looking for a solution to that. Then on to hybrid graphics. Gotta get this figured out by monday. Need my laptop.17:18
magic_ninja_workGotta say though, for getting drenched with 50-60 gallons of water when a 6" main water line burst, it is still going strong.17:19
tomreynmikubuntu: i see how this makes is feel a lot harder to 'dig under the hood'. i don't think it really is, if you have a bit of determination. but without motivation, it's certainly hard (and i understand the lack for motivation if you're not convinced you can gather something that lasts)..17:20
sarcastico/join #BRLINK17:22
tomreynsarcastico: do you need any assistence there?17:23
tomreynrobertparkerx: you say this is a vmware vsphere VM you did the upgrade on. i'm not very much into vmware but i suspect it provides a snapshotting feature and you probably created a snapshot before you started the upgrade?17:24
robertparkerxI didn't have access to it before :(17:25
robertparkerxThey're on vacation so it cannot be restored yet17:25
robertparkerxI was told to try and do it myself17:25
tomreynhmm, i guess we can summarize it as: you tried, it failed. ;-)17:26
tomreynyou can access the data is needed, but if there's a chance to restore a snapshot or backups easily, that's probably the right time to do so.17:26
robertparkerxWell it was interupted is why it failed17:26
tomreyn*iF needed17:27
robertparkerxThey were doing hardware upgrades17:27
robertparkerxIt happened to go down17:27
tomreynoh so you actually have a good explanation, cool.17:27
tomreyni mean it'll be easy to explain why things failed then.17:27
robertparkerxI don't know why I cannot get it to boot into normal mode with the older kernel17:27
aienarobertparkerx: lots of things can go wrong during a dist upgrade17:28
aienaI had dist upgraded before my ubuntu was broken in som many subtle ways I just started fresh again17:28
aiena*so17:29
TJ-robertparkerx: because some userspace packages haven't upgraded that are relied on17:30
tomreynrobertparkerx: the most common reason release upgrades fail is really packages (or, worse, different package versions for packages also available in ubuntu) from 3rd party repositories, since this means an untested upgrade path. (second most often is maybe very uncommon but invasive configurations, i'd say.)17:36
aienarobertparkerx: either way usually dist-upgrades are never clean its usually better to do a fresh install because you tend to inevitably run it problems somewhere in the middle17:44
sixie6eaiena agreed17:48
TJ-d-r-u's are fine as long as you prepare and don't treat it like "apt upgrade"17:49
tomreynyes, they almost always work fine if you clean up beforehand.17:50
tomreynunfortunately there's not enough guidance on that.17:50
TJ-tomreyn: I wasn't think so much about beforehand, but more about handling config file changes/diffs as they are reported, and taking time to investigate each thoroughly17:52
tomreynlet's move to #ubuntu-discuss17:53
TJ-tomreyn: I would always suggest taking a file-system snapshot before starting too17:53
magic_ninja_workcan someone ping me17:56
magic_ninja_workI want to try new theme17:56
lotuspsychjemagic_ninja_work:17:56
luna_magic_ninja_work:17:56
magic_ninja_workkk, loosk good, thanks guys17:56
luna_no17:56
luna_np17:56
magic_ninja_workWhy anyone would put dark blue and deep maroon on black I'll never know.17:56
magic_ninja_workOkay, last thing I need to deal with is graphics switching.17:57
magic_ninja_workI run some intensive apps in a VM and need it to use the dedicated GPU.17:57
lotuspsychjemagic_ninja_work: please focus on ubuntu issues here17:57
magic_ninja_workI don't game or anything on this computer, so integrated graphics should be fine for most use-case.17:57
lotuspsychje!discuss | magic_ninja_work if you like17:57
ubottumagic_ninja_work if you like: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!17:57
magic_ninja_worklotuspsychje, is GPU switching not a part of ubuntu?17:58
magic_ninja_workdoes that not concern the OS?17:58
lotuspsychjemagic_ninja_work: lets discuss it in #ubuntu-discuss17:58
robertparkerxCan I complete do-dist-upgrade from emergency mode?18:08
cyberpolicetomreyn: I think my hung Ubuntu 19.04 live iso session that was holding my badblocks operation up was because of out of memory situation when I had loaded anydesk on gui along with a lot of tabs on Firefox (irc chat windows + pi-hole query logs)18:08
robertparkerxI was able to do dpkg and it successfully repaired all packages except mysql-5.718:08
cyberpolicetomreyn: though I did get to the logon prompt on tty3 it timed out within 60 seconds after entering the username. I couldn't send the blank password to login within 60 seconds18:09
cyberpoliceSo I had to kill the session and hope for no data loss18:10
=== LabMonkey is now known as Mechanismus
tomreyncyberpolice: live iso generally consumes a good amount of ram, since anything that's written to disk (e.g. apt installations, updates) is actually stored in ram. and once ram runs full, there's no storage left, and allt he kernel can then do is to try to re-stabilize - which is difficult, if there are any new write requests (and there will be, if just logs).18:18
cyberpoliceThis is why I was having that mega lag  switching tty's then isn't it18:19
robertparkerxtomreyn, I'm showing 16.04 was installed completely.18:19
cyberpoliceI couldn't get to a tty to kill off Firefox18:19
tomreyncyberpolice: most likely, yes18:21
tomreynrobertparkerx: congratulations.18:21
robertparkerxtomreyn, I'm just having the problem with the kernel and it not booting into emergency mode18:22
cyberpoliceNext time I'll be mindful of this!18:22
tomreynjust like yama!18:23
tomreynrobertparkerx: i'm not certain you did, but in case you completed the installation from emergency mode (against what was stated here should be done), there's a high chance that this made things worse, effectively unrecoverable now.18:28
robertparkerxI didn't18:29
Gallomimiabooted from a liveUSB. can't seem to get LVM to do its thing. and i've no idea how to proceed. any advice?18:29
tomreynphew :)18:29
Gallomimiai installed mdadm, started my raid, unlocked my LUKS container... usually all the LV's just populate after that18:29
tomreynrobertparkerx: so it booted up fully and then you ran dpkg --configure -a or something?18:30
robertparkerxI was in emergency mode and ran that18:30
robertparkerxonly error was mysql server18:30
=== BrianG61UK_ is now known as BrianG61UK
robertparkerxI am trying to fix that now18:30
Gallomimiaalso a liveUSB with no irc client to come in here seems silly. but i guess saves on space18:30
tomreynrobertparkerx: well running   dpkg --configure -a   in recovery while not all file systems are mounted in the right places basically would have caused problems :-/18:32
CatPasswdGallomimia: https://mibbit.com/18:32
tomreynalso https://webchat.freenode.net18:33
Gallomimiatrue. and i guess if i'm connecting to the internet to get on IRC, i can download whatever irc client i want18:33
Gallomimianot important... how do i get LVM to start doing its thing? it usually does it with no prompting from me18:33
magic_ninja_workWhat do you mean "get lvm to do its thing"18:34
tomreynlvchange -a y VGNAME18:34
Gallomimiai mean, as soon as i unlock the luks container it's in, it usually populates with all the LV's and lets me mount them manually from Disks18:35
Gallomimiabut not today. and i don't know why18:35
tomreynmaybe also lvmdiskscan / pvscan18:35
Gallomimiavolume group not found....18:36
tomreyndoes pvs show the PV(s), yet?18:36
Gallomimiaempty output18:36
Gallomimialvmdiskscan does show a pv where i expect it18:36
tomreynpvs still empty?18:37
Gallomimiaits at /dev/mapper/hydra FYI18:37
Gallomimiabut pvs gives no output18:37
tomreynhmm, i had this before, but forgot what it was18:37
tomreynudev or something18:37
Gallomimiai can probably say the same18:37
Gallomimiaoh... yeah that seems familiar18:37
magic_ninja_workOh, what was it? vgchange?18:37
Gallomimiaat this point i'd like to mention that this setup runs extremely well, encrypted and raided. it just fails very very badly18:38
Gallomimiaudev sounds right. it's been years18:38
magic_ninja_workI went through this once. I didn't have luks, though. You may have to manually expose the lvms.18:38
aienaany encrypted system can fail pretty badly and lvm on multiple disks can be a real challenge when one drive goes down18:39
Gallomimiasomeone from this channel suggested this setup. i've learned a lot by doing this, but spent a fortune in headache medicine18:39
magic_ninja_workIt was like "apt install lvm2" , then vgchange to actually expose the lvm.18:39
Gallomimiathat command gives "already latest version"18:39
aienaGallomimia: I avoid lvm but some people love it18:39
aienato each his own18:39
GallomimiaLVM is actually really useful. but usually much later when you start to run into issues18:40
aienaubuntu server likes to default to LVM18:40
aienaGallomimia: how so?18:40
Gallomimiaas an example, when i upgraded from 14.04 to 16.04mate all i did was create a new LV called xerus and install there18:40
Gallomimiakept all my old stuff set up the same18:40
aienaahso its not an upgrade per se18:41
Gallomimiadoing things like backups, reinstalls, yeah18:41
aienaits a fresh install so you got a triple boot18:41
Gallomimiaright18:41
aienaor dual boot18:41
Gallomimiaprevious experience has steered me away from doing a release upgrade18:42
aienahaha18:42
aienaI've given up on it18:42
lotuspsychjecan you guys focus on actual support now18:42
aienathe amount I mod my distro during its lifetime a fresh install is good18:42
aienalotuspsychje: there isnt a support question so we are not troubling anyone18:43
Gallomimiayeah. the discussion police are here to stop us from bonding.18:43
Gallomimiayes there are support questions18:43
magic_ninja_workGallomimia, I was on an ubuntu live cd yesterday and I had to install the lvm2 package on the live cd. I suspect this may be a part of your problem. Just something to keep in mind. So you install the lvm2 package, do vgscan, then vgchange -ay and that should expose the volumes for you.18:43
Gallomimiai did try that. it said it was installed. i figured it would be missing as well. mdadm was missing18:44
magic_ninja_workAnd you did the vgscan and vgchange -ay ?18:44
Gallomimiavgchange -ay gives no output18:44
magic_ninja_workdid you run as sudo?18:45
Gallomimiavgscan then vgchange -ay similar no results18:45
Gallomimiayes of course18:45
magic_ninja_workNow try fdisk -l and see if they show up18:45
Gallomimiano :/18:45
magic_ninja_workWell, sorry, I tried :(18:46
Gallomimiayes thanks18:46
Gallomimiastrange this18:46
=== nshire is now known as r0za
GallomimiaDisks app and gparted both see the PV and report it is a PV for LVM218:46
magic_ninja_workProbably has to do with luks18:46
Gallomimialike i said, usually when i unlock the luks drive it just magically works18:47
=== r0za is now known as nshire
magic_ninja_workBut you are on live so it doesn't work for some reason?18:47
Gallomimiamy standard setup has the luks drive unlocked during boot18:47
Gallomimiabut for now i have ubuntu 19.04 installed on a separate, bare metal drive, and unlock it after logging in18:48
Gallomimiathis is what i'm trying to fix. put the root fs on a new LV. put the home folder in the home LV. put the /boot folder on an unencrypted section of the main drive18:48
Gallomimiafigured i would need to do it from a liveUSB or risk the wrath. even copying my home dir caused weird errors because files, like hexchat logs, were open18:49
Gallomimiamagic_ninja_work it usually opens fine on a liveUSB. i've managed to mount my steam LV and play games while booted from a USB18:50
Gallomimiai wonder... if i install ubuntu on another USB stick. an actual install, not the live image18:50
magic_ninja_workI thought the purpose of LVM was to avoid having a ton of partitions.18:50
magic_ninja_workI'm just going to say, that if you are going to have that many separate LVM's, you should probably just use normal partitions.18:50
Gallomimiaeventually i want to use dm-cache to map in some SSD's and make it go hyperspeed18:51
magic_ninja_workThat makes sense.18:51
Gallomimiathat notion has gotten really complicated since i first had the idea given to me. LVM has implemented it, some kernel module as well, and device-mapper18:52
robertparkerxwhat can I do to fix the emergency mode error from an earlier kernel and the kernel panic error from the newwer kernel from emergency mode?18:52
TJ-The purpose of LVM is to enabled many, flexible, block devices18:52
robertparkerxI was upgrading from 14.04 to 16.04 and the upgrade was interuppted18:53
Gallomimiaoh no!18:53
TJ-robertparkerx: did you see my earlier question as to whether, in old kernel/emergency mode, the root file-system is read-only or read-write ?18:53
robertparkerxOh no18:53
robertparkerxI didn't18:53
robertparkerxHow do I check ?18:54
TJ-robertparkerx: well, the reason for checking is, if the root file-system is read-write you should be able to use tools to recover the situation18:54
TJ-robertparkerx: "mount | grep '/ ' "18:54
robertparkerxgive me a second this system is swedish layout and I don't have that keyboard18:54
TJ-robertparkerx: eeek!18:55
nshirewhat would a local user be called in ubuntu? i.e. when there are failed login attempts coming from the keyboard, not coming in over ssh18:55
TJ-nshire: console? tty?18:55
nshireill just try it right now and look at auth.log18:58
robertparkerxTJ-, I cannot find | kkey  :s18:59
nshirepam_unix(gdm-password:auth): authentication failure18:59
TJ-robertparkerx: hmmm, ok, use your eyes to find the / dir in "mount" output then19:03
akem__Hey, so i got this Acer laptop up all day, and now when i checked it, the Wifi was disconnected and wouldn't display any network to connect on, i tried turnning wifi off/on, no changes, so i had to reboot and it's back to normal, this is Ubuntu 18.04 and Wifi is 02:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31) - could it be some bugged powersaving settings or something?19:05
Sven_vBhow to determine the proper device type for smartctl, or how can I get health data otherwise? using bionic. "smartctl 6.6 2016-05-31 r4324 […] /dev/mmcblk1: Unable to detect device type¶ Please specify device type with the -d option."19:06
lotuspsychjeakem__: system up to date?19:07
Sven_vBI tried device types "ata" and "scsi", both were incompatible.19:07
TJ-Sven_vB: most MMC devices don't support SMART19:08
TJ-akem__: I've seen that and usually unloading/reloading the kernel module works around it... not sure if it is a power-management issue or something else though19:08
Sven_vBthen how can I get a health report for /dev/mmcblk1?19:09
TJ-Sven_vB: possibly you cannot. What is attached to it, an SD/MMC flash device?19:09
akem__lotuspsychje, freshly installed.19:10
Sven_vBTJ-, it should be a SSD19:10
akem__TJ-, I see, i'll try that next time, thanks.19:10
TJ-Sven_vB: that doesn't sound right to me... do you mean an EMMC device?19:10
Sven_vBTJ-, I'm not sure. I'll see if udisks can tell me the manufacturer and model19:11
TJ-Sven_vB: should be able to get that from sysfs too with "grep . /sys/block/mmcblk*/device/{vendor,model}"19:12
Sven_vBTJ-, "No such file or directory" for both19:13
Sven_vBudisks doesn't know either19:13
TJ-Sven_vB: hmmmph, not helping us is it?19:13
Sven_vBI could boot windows and ask it19:13
TJ-Sven_vB: I *think* one of the 9 laptops here has a real MMC let me search19:13
akem__TJ-, that's strange though because that chip is contained into some dells' Ubuntu certified systems.19:14
robertparkerxTJ-, /dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)19:14
TJ-robertparkerx: so it is read-write ("rw") so you might be able to make progress. Try "apt -f install"19:15
TJ-akem__: never a total guarantee, could be a side effect of - for example - laptop pwoer-saving measures19:15
TJ-ls /sys/block/19:16
TJ-oops!19:16
akem__TJ-, I see.19:16
Sven_vBTJ-, /sys/block/mmcblk1/device/name says "CWBC3R", and Samsung has an SSD with that product name.19:16
robertparkerxTJ-, there were error19:16
robertparkerxTJ-, https://d.pr/i/ev0yav19:20
TJ-Sven_vB: that sounds about correct then... but I don't know how you'll get health data on that19:21
TJ-robertparkerx: ok, that makes sense, mysql upgrade got interrupted I'd guess. Let me see if I can figure out how to safely fix that19:22
robertparkerxTJ-, I tried to backup all my.cnf19:23
ioriaif you have backups, you can purge and reinstall19:24
robertparkerxI tried to purge from apt I think19:24
TJ-robertparkerx: the ".../etc/my.cnf ...already managed by .." suggests the update-alternatives for that has been moved19:24
ioriaand ?19:24
robertparkerxTJ- I backed up those19:25
robertparkerxioria, It didn't seem to makke a difference19:26
TJ-robertparkerx: you changed/added an update-alternatives entry "my.cnf.bak" ?19:26
robertparkerxYes19:26
TJ-robertparkerx: OK, so you'd have to undo that then because that is preventing mysql's replacement being completed19:27
robertparkerxI backed up the my.cnf19:27
robertparkerxAh okay19:28
robertparkerxTJ-, try again now?19:30
robertparkerxI changed it back19:30
GallomimiaFound label on /dev/mapper/hydra, sector 1, type=LVM2 00119:31
Gallomimia  Found text metadata area: offset=4096, size=104448019:31
Gallomimia.... what does that even mean?19:32
robertparkerxTJ-, I got this now https://d.pr/i/oV2V4J19:36
ioriarobertparkerx, we go the hard way ?   sudo mv /var/lib/dpkg/info/mysql* /tmp19:38
Gallomimiauh, don't you want to add a trailing slash to that command?19:39
ioriarobertparkerx, then apt purge mysql-server mysql-server-5.719:40
TJ-robertparkerx: you can narrow it down by checking the script that is being executed by dpkg19:40
TJ-robertparkerx: or you can delete the packages and reinstall... but if there's an existing mysql config there make sure its backed up somewhere safe19:40
robertparkerxI backed up all my.cnf19:44
GallomimiaWHOA. what did i do? suddenly the magic of LVM is happening19:44
Gallomimiathe "activate" command in gparted made everything light up19:44
TJ-Gallomimia: thats the same as what on boot "vgchange -ay" does19:45
TJ-Gallomimia: activates all LVs in discovered VGs19:45
Gallomimiayeah and i either didn't see it before or it wasn't available19:45
TJ-Gallomimia: if you're working with encrypted devices and they weren't unlocked before gparted started, I could imagine it not adding the activate option to menus19:46
robertparkerxioria, I purged them19:46
Gallomimiahafta go do some RL stuff. hopefully nothing blows up by the time i get back19:47
ioriarobertparkerx, and ? what about --fix nw ?19:47
ioria*now19:47
robertparkerx?19:47
Blue0TechI am installing Ubuntu 18.04 lts on Windows 8.1 Toshiba with i3, model from 2012, from USB through USB 3.0 port. How long will the installation take?19:47
=== im0nde_ is now known as im0nde
ioriarobertparkerx, apt -f install19:48
robertparkerxioria, https://d.pr/i/3ZZdSJ19:48
Blue0Techmemoserv19:48
ioriarobertparkerx, it'ok (apart some ppa in /etc/sources.list.d)19:49
Blue0Techsorry was supposed to put the second msg in status tab19:49
robertparkerxI need mysql server back though19:49
ioriarobertparkerx, i suggest you remove that19:50
ioriarobertparkerx, reinstall19:50
robertparkerxsudo apt install mysql-server ?19:50
lotuspsychjeBlue0Tech: are you going to dualboot?19:50
ioriarobertparkerx, yes, please read above19:50
Blue0Techyes, I am19:51
lotuspsychje!dualboot | Blue0Tech19:51
ubottuBlue0Tech: Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot19:51
robertparkerxioria, I still get error https://d.pr/i/QeNKjT19:51
ioriarobertparkerx, no idea then, sy19:52
Blue0Techthank you for instructions,19:52
TJ-robertparkerx: collect some helpful info: "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7"19:52
lotuspsychjeBlue0Tech: the install speed depends on several things, like harddisk/ssd and partition preparation, etc19:54
Blue0TechOK19:54
robertparkerxTJ-, https://d.pr/i/x135CD19:56
lotuspsychjerobertparkerx: you recall what kind of ppa's you added to system?19:56
TJ-robertparkerx: grrr, you got caught by the same issue with my.cnf.bak again!19:57
robertparkerxI didn't add any. tomreyn helped me upgrade the sourcelist19:57
robertparkerxI think they were from the default list19:57
lotuspsychjesources.list.d gives invalid filename there19:57
robertparkerxYes its the backup19:57
TJ-lotuspsychje: that's irrelevant; it's just reporting the ignored file19:58
robertparkerxTJ-, I removed the my.cnf.bak -- https://d.pr/i/BcT5fX20:05
WoCAnyone here able to use OpenCL on their AMD GPU/APU ?20:05
Blue0Techthanks lotuspsychje20:06
lotuspsychjeBlue0Tech: did you work it out?20:07
Blue0Techi am finding the model and specs online20:07
WoClotuspsychje: any insight on that ?20:09
Blue0TechI know that it has a 1TB HDD, 8GB RAM, 8 cores and an i3 processor, it is x6420:10
lotuspsychjeWoC: patient a bit, volunteers might have ideas, im off for today20:10
Blue0TechA toshiba that came with Windows 8 (now 8.1)20:10
Blue0Techk thnx20:11
magic_ninja_workis it strange that the hibernate package was not included in my install?20:13
TJ-robertparkerx: so, there's some updates to tables being attempted, and they're failing in the run_init_sql() function of /var/lib/dpkg/info/mysql-server-5.7.postinst shell script20:15
TJ-robertparkerx: this is the script: https://git.launchpad.net/ubuntu/+source/mysql-5.7/tree/debian/mysql-server-5.7.postinst?h=ubuntu/xenial20:16
TJ-robertparkerx: and that is being called from line 27320:17
Blue0TechWill be back later20:20
Blue0TechWill be back later20:20
TJ-robertparkerx: and, from the comments in the code leading up to line 273, it seems to be caused by a 'pugin' already installed20:20
TJ-robertparkerx: what does "dpkg -S /usr/lib/mysql/plugin/auth_socket.so" report ?20:23
robertparkerxTJ-, https://d.pr/i/vHeepj20:25
TJ-robertparkerx: From the code comments I think the installed database files already have that plugin listed as installed, so when it tries to " INSTALL PLUGIN auth_socket SONAME 'auth_socket.so'; " it fails20:27
robertparkerxTJ-, can I clear it?20:29
robertparkerxNot the database but maybe those tables?20:29
TJ-robertparkerx: I'm working on a ...workaround20:30
TJ-robertparkerx: try this to uninstall the plugin before it is installed again.  sed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst20:35
TJ-robertparkerx: make sure you've cleared that my.cnf.bak issue again, then rerun "export DEBIAN_SCRIPT_DEBUG=1; dpkg --configure mysql-server-5.7"20:36
robertparkerxI'm trying to find single quotes on this swedish server20:37
robertparkerxlol20:37
WoCheh20:37
TJ-robertparkerx: press and hold Ctrl + Shift + U, release U (keep holding Ctrl + Shift) then press 1 then B then release keys (this is how to enter UTF-8 hex codes)20:41
TJ-robertparkerx: 0x1B = 27 = apostrophe '20:42
robertparkerxI'm sorry. I found the single quote but cannot find forward slash. This VM doesn't allow me to copy&paste and doesn't seem like I can use hex codes.20:52
sephermacronix 20:53
TJ-robertparkerx: you certainly seem to be hobbled!20:53
TJ-robertparkerx: strange that you cannot copy/paste though20:53
TJ-robertparkerx: what kind of interface are you using to get to the VM console?20:54
robertparkerxweb brrowser, vSphere20:54
TJ-oh... not touched that but seems weird if it cannot paste20:54
TJ-robertparkerx: according to this it is possible to enable copy/paste https://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.server_configclassic.doc_41/esx_server_config/security_deployments_and_recommendations/t_enable_copy_and_paste_operations_between_the_guest_operating_system_and_remote_console.html20:55
robertparkerxI tried to configurate it but I don't see where I enable or set20:55
robertparkerxwait I'll show you20:55
robertparkerxhttps://d.pr/i/qphJMI20:56
robertparkerxIt says you CAN modify or add but I don't see where20:56
TJ-robertparkerx: have you tried to get the network up manually so you can ssh in?20:57
robertparkerxI will have to remove mysql like I did before20:58
robertparkerxI think20:58
robertparkerxI think it will boot in default mode if I remove it20:58
robertparkerxRight now emergency is all I can get into20:58
TJ-robertparkerx: you can use the ip tools to manually add an IP address, so if the ssh server is working, you can access it from the host or elsewhere21:01
robertparkerxLike the IP its assigned?21:01
TJ-robertparkerx: yes, if you know the subnet it is supposed to be in, or the usual IPv4 address it gets, you possibly can do "DEV=eth0; IP4=192.168.3.5; ip link set $DEV up; ip add add $IP4/24 dev $DEV" where you set those variables appropriately for your network21:04
robertparkerxTJ-, even with MySQL purge it still boots into emergency mode21:08
TJ-robertparkerx: mysql isn't causing the boot issue21:08
TJ-robertparkerx: those are both symptoms of an incomplete distribution-upgrade21:08
TJ-robertparkerx: sorry, release-upgrade21:08
robertparkerxHow can I fix it?21:09
TJ-robertparkerx: work through each issue. If you've removed/purged mysql-server-5.7 then redo the "apt -f install" to fix further issues21:09
TJ-robertparkerx: repeat, fixing each issue you find, until that command returns without reporting problems21:10
robertparkerxIt seems like there is nothing more to upgrade21:10
robertparkerxTJ-, https://d.pr/i/NKs35321:10
TJ-robertparkerx: so now you would ensure that the latest kernel is configured fully with "update-initramfs -u -k all" and "update-grub"21:13
robertparkerxI did that.21:14
TJ-robertparkerx: in which case, there's a good chance it should boot correctly21:16
robertparkerxThis time it boot from the newest kernel but still in `emergency mode`21:18
TJ-robertparkerx: have you set it to boot in that mode? check "cat /proc/cmdline"21:19
robertparkerxBOOT_IMAGE=?boot?vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro21:21
robertparkerxBOOT_IMAGE=/boot/vmlinuz-4.4.0-154-generic root=UUID=427d8165-124f-42b0-bcc5-8d95dea0d302 ro21:21
TJ-robertparkerx: so nothing there, so some systemd service must be failing causing it to drop to emergency mode. It should report why it is dropping into emergency mode21:22
robertparkerxTJ-, this is all that failed https://d.pr/i/xrt5MB21:23
TJ-robertparkerx: errr, that's a pretty major 'all' "/var/log/" failed to mount21:24
TJ-robertparkerx: use the command it suggests to check the status and last meesages from it21:24
TJ-robertparkerx: "systemctl status var-log.mount"21:25
robertparkerxTJ-, https://d.pr/i/ZnthAr21:27
robertparkerxBTW thank you21:27
Givit2meHello21:29
robertparkerxhttps://d.pr/i/Xk9Anh21:29
Givit2me[Eli], Drone21:31
TJ-robertparkerx: so there is your error. /var/log is a sym-link, which is not allowed21:33
TJ-robertparkerx: so I'm assuming 2 problems there 1) there's a separate file-system for logs that is set to mount at /var/log/ and yet  /var/log/ itself is a symlink not a directory21:34
TJ-robertparkerx: I cannot begin to imagine what is going on there for that to be a symlink *and* there is a separate file-system21:34
robertparkerxTJ-, is there an easy way to restore it?21:43
TJ-robertparkerx: not knowing why it is like that, I cannot say21:44
TJ-robertparkerx: check where the sym-link points to21:44
robertparkerx. /mnt/sdb1/log21:44
TJ-robertparkerx: that's such a weird configuration, not clear what it is trying to achieve21:45
TJ-robertparkerx: but, that's the core of your problems so if you solve that the emergency console shouldn't be triggered21:46
robertparkerxWhat can I do after to fix the mysql issue? SSH into the console and issue those commands you told me arlier?21:48
robertparkerx-- to remove the plugin21:48
robertparkerxsed -i '/auth_socket.so/i\\techo "UNINSTALL PLUGIN auth_socket;" >> "$initfile" ' /var/lib/dpkg/info/mysql-server-5.7.postinst21:48
TJ-robertparkerx: yes21:53
robertparkerxThank you so much TJ-21:56
robertparkerxTJ-, should I do this before I install mysql-server ?22:12
usneyI can't seem to mount my smart phone like I use to be able to.22:21
Givit2meHi22:22
TJ-robertparkerx: that depends! the file won't exist if mysql-server-5.7 has been purged/removed. The other workaround I forgot to mention is, that code only kicks in if there is currently no password set for the mysql root user, so if you set one, that code won't be run22:23
Blue0Techi am back22:37
SvetaHi Blue0Tech22:39
SvetaAre you looking for help?22:40
Blue0Techyes22:43
Blue0TechI am installing ubuntu 18.04 lts22:44
Blue0Techon x6422:44
Blue0Techtoshiba, originally running windows 8.122:44
SvetaOkay. How is the install?22:45
Blue0Techsorry, windows 8 updated to 8.122:45
Blue0Techthe install, how long will it take?22:45
Blue0Tech8GB RAM, 1TB HDD22:46
Blue0Tech8GB RAM, 1TB HDD22:46
Blue0Techi3 processor22:46
Blue0Techi3 processor22:46
SvetaDepends on your disk size. And also on your Internet speed, if you're not using an install dvd.22:46
SvetaFor it it was less than half an hour, but I have a slow Internet link.22:47
Blue0Techi am installing with disk image on 1TB USB connected with USB 3.022:47
SvetaHow is it going so far? And what does it say?22:47
Blue0TechOK, the slow speed must be bcos of old PC22:47
Blue0Techi will see22:48
robertparkerxI have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore it back to normal.22:48
Blue0Techit still shows beaver background like it has for past 3 hrs, but is responsive22:50
Blue0Techi selected install ubuntu, and i wish to select dual boot, but that option hasn't come yet22:51
SvetaBlue0Tech, does it tell you what it is doing?22:58
Blue0Techno23:00
robertparkerxI have this error that is causing ubuntu 16.04 to boot into emergency mode https://d.pr/i/driC4f . I am wondering how I can remove the symlink and restore /var/log back to default.23:11
Svetarobertparkerx: do you know what caused this?23:15
robertparkerxsveta, I was upgrading ubuntu from 14.04 to 16.04. It was interuppted. I've since been trying to fix my way back. This is one of the last error on the list.23:29
robertparkerxSveta ^23:31
Svetarobertparkerx: where does it link to?23:31
robertparkerx. /mnt/sdb1/log23:32
Svetarobertparkerx: /var/log -> /mnt/sdb1/log ?23:33
robertparkerxI think yes23:34
Svetacan you please check? take a look at 'ls -la /var/log'23:34
Svetaor 'ls -lad /var/log'23:34
robertparkerxThat's right23:35
Svetaif it is indeed a symlink, I guess the correct command for removing the symlink is "unlink /var/log"23:35
robertparkerxand it will go back to default/normal ?23:35
Svetaafter you unlink it, /var/log will no longer exist, but  /mnt/sdb1/log  will23:36
rfm_robertparkerx, I think you'd be better off keeping the symlink and removing the /var/log entry from /etc/fstab.23:36
robertparkerxrfm_, how do I do that?23:37
rfm_robertparkerx, I'm speculating that since one of the things that changed between 14.04 and 16.04 was systemd, what was happening before was the mount was failing but it didn't stop the boot.   So not doing the mount will get you closest to what whas happening before.23:39
rfm_robertparkerx, edit /etc/fstab (sith sudo and your favorite text editor) find the line for /var/log, delete it.23:40
rfm_robertparkerx, it is possible you won't need sudo since "emergency mode" is probably a root shwll (single user mode)23:41
robertparkerxOkkay it was a long line but I removed it23:42
robertparkerxOkay that is fixed but it still boots into emergency mode23:44
robertparkerxThe only error is this https://d.pr/i/W5zohx23:44
BiessieSup gang23:46
robertparkerxThis is the output of command it says : https://d.pr/i/Glgwho23:46
=== rfm_ is now known as rfm
BiessieIs it normal for upgrading distro version for it to not update the initramfs and cause kernel panics? first time ever doing it and couldnt figure it out for a while lol. had to reboot in a different kernel version and then update it23:47
robertparkerxBiessie, I had too also23:48
robertparkerxto*23:48
Gallomimiai am afraid i don't know, because i never upgrade a distro. clean install only23:48
Biessierobertparkerx : wonder what causes that23:48
Biessiei do get this now though -https://pastebin.com/jpr52wzt23:50
rfmrobertparkerx, so it probably renamed the network interfaces (to the new location-dependent names.)  Use command "ip link"  which will list the (new) interface names.  (ignore the "lo" line, that's loopback.)  It will be something like "eno1" or "enp8s2" (the numbers might differ)     Edit /etc/network/interfaces and change "eth1" to the new name.  (it will probably appear twice)23:52
filifunkyhello23:52
filifunkyI just bought a memory card reader23:52
Gallomimiacool23:53
filifunkywhen I plug it in...I hear a sound but I can't seem to find it (it has a card in there)23:53
Gallomimiamaybe you could see it in the Disks app?23:53
filifunkyanyone else have the same problem or know what to do?23:53
filifunkyGallomimia, I'll check23:53
Biessieshould i just run sudo apt-get remove cryptsetup-initramfs ?23:53
Gallomimiait should mount on its own inside /media/yourusername/23:53
robertparkerxrfm, I got this https://d.pr/i/QF78Sy23:54
robertparkerxso eth023:54
Gallomimiabiessie that's a mostly useless warning23:54
Gallomimiait's really meant to alert you incase you installed crypto and thought you were using it, but something's not set up right23:54
Biessieahh okay23:55
Gallomimiayou don't NEED to remove the package. you probably can, unless you're using an encyrpted root fs23:55
Gallomimiaas an example i see it quite a lot, but that's because i need to get it set up right23:56
Gallomimiawhich i'm trying to do right now23:56
robertparkerxrfm, this is what I find in /etc/network/interfaces https://d.pr/i/gCIRDN23:56
robertparkerxrfm, do I just remove eth1 ?23:57
rfmrobertparkerx, is this a virtual machine?  It looks like it used to have a second network interface which has disappeared.23:57
robertparkerxYes23:57
Gallomimiafilifunky, where did you go?23:59
rfmrobertparkerx, so how did the second network interface disappear?  a ubuntu upgrade wouldn't (couldn't) do that.23:59
robertparkerxI don't kknow. I didn't do anything else but that.23:59

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