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

friendofafriendIt's 18.04.2 LTS.00:00
tomreynhmm, it works for me, i'm also on 18.04.2 with the same shell00:00
tomreynapt install bash<tab><tab>   lists 9 packages00:01
friendofafriendRight, and the same here does absolutely nothing.00:01
ZaZaGXi got nothing too00:02
tomreynfriendofafriend: is it in your ~/.bashrc ?00:02
friendofafriendIs what?00:02
ZaZaGXapt <tab> works00:02
friendofafriendRight, apt and tab works here, also.00:03
friendofafriendBut not for the packages.00:03
friendofafriendI've already done an apt update.00:03
tomreynhttps://paste.ubuntu.com/p/RBK4KHHGHd/00:03
friendofafriendtomreyn: Yeah, same thing.00:04
friendofafriendIs there some cache I could rebuild of packages, maybe?00:04
tomreynapt update should rebuild apt's cache00:04
tomreynif you ran    apt clean    this may explain it.00:05
friendofafriendThat returns nothing.00:05
OerHeksapt install bash[tab][tab] gives me 6 packages, so it works standard00:05
tomreynfriendofafriend: what returns nothing?00:06
friendofafriendapt clean00:06
friendofafriendYes, I'm asking what provides that functionality.00:06
tomreynthat's normal. but i didn't suggest running it00:06
friendofafriend< tomreyn> if you ran    apt clean    this may explain it.00:07
friendofafriendThat looks like a suggestion, to be fair.00:07
tomreyni'm saying if you ran this command recently then this explains why you cannot use bash completion on    apt install00:07
friendofafriendIt's not here or there, I'm just after *what* provides that autocompletion in apt.00:07
OerHeksmaybe true,  run apt update again?00:07
friendofafriendI've run apt update several times.00:08
tomreyni just ran "apt clean" and now havve no output on    apt install bash<tab><tab>00:08
friendofafriendCool, can someone help tomreyn fix that?00:08
tomreynso my theory that you ran 'apt clean' recently, causing bash completion on apt install to fail could be correct.00:09
tomreyn(there could probably be other explanations, too.)00:10
OerHekswhat happens after running apt update again, tomreyn ?00:10
OerHeksresume bash completion?00:10
friendofafriendSo, no, I've only run apt clean after you recommended it.00:10
friendofafriendAnd it wasn't autocompleting package names before.00:11
friendofafriendI've run apt update several times since.00:11
tomreynyes, OerHeks00:11
friendofafriendAnd it's still no dice.  Where is apt getting that list of packages?00:11
tomreynfrom apt repositories00:12
friendofafriendWhat generates it?\00:12
tomreynapt does00:12
friendofafriendWhen?00:13
tomreynwhen you (or an automated process) run(s) "sudo apt update"00:13
tomreyn...then it writes repo / package information into its cache and uses that until another apt update is requested.00:14
friendofafriendAnd this is... pkgcache.bin?00:14
tomreyn...or until "apt clean" is run00:14
de-factoIs there any way to delete/destroy gnomes ability to annoy with "mouse battery empty" popup spam? This is extremely annoying...00:14
tomreynfriendofafriend: /var/lib/apt/00:14
friendofafriendSo, for example.  I run apt-config dump | grep -i pkgcache, I get back Dir::Cache::pkgcache "";00:15
tomreynCool, can someone help friendofafriend fix that?00:15
friendofafriendI look elsewhere, I see others find:  Dir::Cache::pkgcache "pkgcache.bin";00:15
friendofafriendDid apt update correct your issue, tomreyn?00:16
tomreyni had no issue here00:16
friendofafriendWow, Schrödinger's cat in the house.00:17
ZaZaGXi personally think the cat is alive00:17
tomreynde-facto: there's bug 179816600:18
ubottubug 1798166 in linux (Ubuntu) "“Mouse battery low” notification appears even when all notifications disabled" [Undecided,Confirmed] https://launchpad.net/bugs/179816600:18
tomreyn(note also the link to the upstream bug tracker)00:18
de-factotomreyn, yes thats why i need to delete/destroy it, when it shows those messages i loose my mouse focus for a fraction of a second, its seriously harming my workflow00:19
tomreyni did not fully read both bug reports, maybe they discuss workarounds00:20
de-factoi already uninstalled gnome-power-manager but which made it disappear for a few days, but now the popup spam is back (i dont know why)00:21
de-factoi dont need any gnome notifications ever, they are useless to me00:22
friendofafriendde-facto: https://askubuntu.com/questions/909771/disable-all-gnome-notifications-gnome-3-20-400:23
de-factoyeah i dont think gnome would care about its settings there00:24
de-factoi think i have to delete an essential binary to make it go away00:25
de-factoquestion is just which one?00:26
tomreynyou apparently haven't read both bug reports, yet00:26
de-factowhat do you mean?00:29
de-factoI wish i could uninstall upower00:35
de-factomaybe i could make a fake package so gnome thinks its dependencies are satisfied00:35
tomreyni guess you could either mask the upower service or upgrade to a newer ubuntu release which comes with gnome 3.3200:36
tomreyn19.04 comes with gnome-shell 3.3200:37
tomreynthere may also be gnome extensions you can use to filter notifications00:38
de-factoi think the problem may be even deeper since it makes my mouse loose focus for a fraction of a second. i need to destroy what is at the root of this problem, i guess those popups are just the annoying symptoms00:41
OerHeksbattery power .. we did discuss this before00:43
de-factoyes again and again i just cant kill it, it came back from itself00:44
de-factowhen I do some gfx work in gimp the mouse looses the tool for a fraction of a second when that popup occurs, maybe its the mouse hw itself sending an battery event? i dont know how its done behind the scenes...00:50
de-factoi now tried to forbid upower to poll the kernel, silence for now... we will see how long this holds this time00:50
de-factoi am really getting mad about this00:50
=== Oresrian is now known as stwalkerster
sadlalaif i have 2GB ram, then i can’t use ubuntu desktop?01:03
slideSo when I try to run nginx, it reports that port 443 is in use. But as far as I can tell, nothing is listening on that port. netstat -tulnp | grep 443 shows nothing, fuser -k 443/tcp does nothing as well.01:04
=== mnemonic is now known as Guest90115
sysifossHello, I'm using 18.04 and realized that the desktop is starting on tty2. If i switch to tty1 there is also a graphical dekstop. How can I set it to only start one graphical interface?01:08
sysifossOr is this intended behavior?01:08
de-factothere its  back again, dang i will throw this mouse on a wall if this continues01:09
=== zbenjamin is now known as Guest34953
=== zbenjamin_ is now known as zbenjamin
de-factoworst thing is that it always appears in a row, like 3-5 popups and looses of focus01:14
de-factothen silence for a while then popup spam again01:14
=== subopt is now known as _subopt_in_repos
Alericomg - a painless upgrade from 16.x to 18.04... Never had that before :).01:29
tomreynsadlala: you can try ubuntu 18.04 LTS and 19.04 with 2GB RAM, but it most likely will be a bad experience. with 16.04, it should be ok. also with the current releases of several ubuntu !flavors01:30
tomreyn!flavors | sadlala01:30
ubottusadlala: Recognized Ubuntu flavors build on Ubuntu and provide a different user experience out of the box. They are supported both in #ubuntu and in their flavor channel. For a list, see https://www.ubuntu.com/download/ubuntu-flavours01:30
sadlalathanks tomreyn01:30
AlericThanks everyone for the help, especially tomreyn.  Time for me to leave the channel again for now.01:30
tomreynyou're both welcome ;)01:30
Aleric:)01:31
tomreynslide: how about    sudo lsof -i :44301:31
tomreynslide: another explanation for this message *could be* that it fails to bind to this port because it was not started with root permissions (which are required to bind to this port).01:32
slidetomreyn, nothing from lsof01:33
slidetomreyn, hmmm this webserver was running a while ago, and then the host had to restart it and thats when it stopped working I think.01:36
slidePlus, it's the system install nginx package so I would think it would be able to listen.01:36
tomreynsysifoss: yes, it's intended. tty1 isn't a desktop but the graphical login manager.01:36
tomreynsysifoss: it is a side effect of switching to user (not root) owned / initialized X sessions01:37
tomreynslide: what happens when you try to make something else bind to the port? e.g.   sudo nc -lvvp 44301:39
slidetomreyn, that works =\01:39
tomreynso something is wrong with nginx startup apparently. did you check its logs?01:40
tomreynsystemctl status nginx    and read up on the logs which may be mentioned there, too01:40
slidealll i get is "bind() to 0.0.0.0:443 failed (98: Address already in use)"01:41
tomreynmaybe you just have overlapping or conflicting 'listen' directives01:42
slidewhat mechanism does nginx use to be able to bind to low number ports? setcap?01:42
tomreynhttp://nginx.org/en/docs/http/ngx_http_core_module.html#listen01:43
tomreyni assume so, but don't actually know.01:43
tomreynactually it probably has a root owned worker process which spawns children or drops privs after binding to privileged ports, loading ssl keys etc.01:44
tomreyni don't have nginx running here currently01:45
deltabss -tlnp sport = 44301:46
slideok so I moved all sites out of sites-enabled folder except default and it worked.... I then moved them all back and it still worked... so i dont know01:47
sysifosstomreyn, just so I understand, tty1 is only a login screen and then when i login to my user account it starts it up on tty2?01:47
tomreynsysifoss: when you login on tty1 a new desktop session will be started on an unused tty01:50
Mechdaveslide, something else may be bound to that address01:51
tomreynsysifoss: the next lowest which is unused specifically01:51
Mechdaveslide, have a look here --> https://www.digitalocean.com/community/questions/nginx-is-unable-to-bind-to-44301:51
Mechdaveslide, I suggest you look up fuser manual before running it01:52
oceanquakeHi all.  So I have a Ryzen Pro laptop with integrated graphics, and am getting lockups that appear to be coming from AMDGPU driver.  Am running 18.04 with hwe stack.  tomreyn and others have been very helpful, and suggested I try hwe-edge (kernel 5.0 family).  Unfortunately, this made the problem drastically worse and it locks up much more quickly.  I presume there are other fixes, e.g., in the 5.2 tree.  At this point, I'm not sure what to02:08
oceanquakedo.02:08
oceanquakeI can etiher live with 2-3 lockups a day (hwe), or lockups within 10 mins of being in desktop (hwe-edge).  Is there a way to try something newer?  Would it help to report hwe-edge bugs?02:09
oceanquakes/I can either/I get to either/02:10
=== [b0b] is now known as b0b
GroboI just installed lubuntu-core to a minimal system. The background and mouse are black. I can't set a background color for the desktop. What package do I need to add a mouse cursor and allow me to change the desktop color?02:14
k_szeIs there a nice way to set a particular bg colour when I run `less`?02:25
sysifosstomreyn, got it thank you!02:29
TuxBlackEdoHello, i can't boot into any linux based OS, no matter what live USB linux I use I keep getting "BAD RIP VALUE" and "Kernel unable to handle paging request" https://i.imgur.com/O53lXL5.jpg , I have no idea what's going on. I've tried resetting BIOS to defaults, tries CSM compatiability mode, tried launching in UEFI and legacy bios. I haven't gotten02:49
TuxBlackEdo far and i've spent 4 hours on this so I am asking here02:49
ZaZaGXthe imgur pic is loading slowly for me02:51
TuxBlackEdois there a better place to upload a picture02:52
ZaZaGXit must be a great quality one02:52
TuxBlackEdooh i guess its 4032x302402:52
ZaZaGXdid you try using another usb flash drive?02:52
TuxBlackEdono? but ive tried ubuntu 18.04 and 19.0402:53
ZaZaGXi used an old usb flash drive and, it won't boot up02:53
ZaZaGXtry a different one02:53
ZaZaGXwhoa, you got a kernel panic02:54
ZaZaGXthats like the Blue Screen of Death for Windows02:54
TuxBlackEdoyea02:54
ZaZaGXwell, i would use another USB flash drive to diagnose it02:55
TuxBlackEdook ill try that02:57
ZaZaGXis your internet connection good?02:59
TuxBlackEdo?03:00
Bashing-om!md5sum | TuxBlackEdo03:01
ubottuTuxBlackEdo: To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see https://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows03:01
=== _subopt_in_repos is now known as subopt
TuxBlackEdocan anyone help me? i can't get any Linux distro to boot up on my computer (already tried different media/updated my bios/reset my bios to defaults/tries legacy and uefi modes) https://imgur.com/a/0m9oO9D these are 3 pictures, Picture 1) Ubuntu 19.04 live cd 2) Arch Linux (latest) 3) Fedora.... Basically theres something hardware related that's not04:28
TuxBlackEdo letting me boot linux distros, the only OS that works is windows 10... :/04:28
darsHi, I want to fix orientation of some of the images which are rotated 90 degress anticlockwise and want to fix their orientation. Can I do that to many of the images using command in bash?04:40
darsPlease note that all the images are not wrong only some of them have wrong orientation and I want to fix their orientation04:41
EriC^^dars: you could use convert04:46
EriC^^https://askubuntu.com/questions/591733/rotate-images-from-terminal04:47
=== Mechanismus is now known as LabMonkey
Bashing-omHey lotuspsychje - Not a thing to main :(05:06
mahdi_jahi all05:56
mahdi_jahow i can change owner of a folder witch owned by user with root administrator05:56
mahdi_jai use chown -R username but owner of a folder not change05:57
Mechdavemahdi_ja, you might need to use sudo to do that. sudo chown -R username05:59
Bashing-ommahdi_ja: Show us the complete command and the path to the target directory.05:59
Mechdaveas long as you have sudo priveledges05:59
mahdi_jai first use sudo -i06:00
mahdi_jaand then use chown command06:00
mahdi_jasudo chown inanzzz:sftp -R /sftp/mahdi/upload06:01
EriC^^mahdi_ja: what does "ls -ld /sftp/mahdi/upload" give?06:01
MechdaveI would recommend against using sudo -i06:01
mahdi_jasudo chown mahdi:sftp -R /sftp/mahdi/upload06:01
mahdi_jadrwxrwxrwx 1 m1 m106:04
Mechdavewhy are you changing the group to sftp?06:05
mahdi_jaMechdave, i use this tutorial for createing sftp server06:06
mahdi_jaMechdave, http://www.inanzzz.com/index.php/post/ef2z/setting-up-a-sftp-server-and-users-on-ubuntu-16-0406:06
mahdi_jathis tutorial says a  main folder must owned by root06:08
mahdi_jabut i can not change folder owner to root06:08
mahdi_jaand the owner of folder exitst to which user created this06:09
MechdaveOk, so it should be sudo chown -R root:sftp /sftp/mahdi/upload06:09
Mr_CyclopsHello... struggling with an NFS export issue on Ubuntu06:20
Mr_CyclopsI have two directories /abc/m1 and /abc/m206:20
Mr_Cyclopsboth are individual mount points06:20
Mr_Cyclopswhen I export /abc via NFS, contents of m1 and m2 are not visible on the nfs client06:20
Mr_Cyclopsnot sure what I am missing.. plz help, tx06:21
ZaZaGXi don't know whats a nfs06:24
=== cixx_ is now known as cixx
`whoami`Good $time_of_the_day, is there an easy way to list all text-based tools ? -- stuff that run in terminal06:55
`whoami`i mean, search with apt, but only filter stuff that run in console06:56
`whoami`if that makes sense..06:56
ZaZaGXsudo apt-cache seach nameofprogram06:56
ZaZaGXsearch*06:56
ZaZaGXis that what your looking for?06:57
fling`whoami`: no06:57
fling`whoami`: you can script it with ldd06:57
fling`whoami`: grepping out binaries linked with gui libs06:58
fling`whoami`: this will also remove some false negatives :>06:58
flinggood luck!06:58
`whoami`ah, interesting. tyvm, gonna take a look06:58
`whoami`thanks :)06:58
`whoami`fling: but i'll only be able to run ldd against installed stuff, right ?07:01
fling`whoami`: right07:01
`whoami`so it means i might have to install a whole bunch of packages to make the test07:01
`whoami`mhmh07:01
fling`whoami`: or script it with your package manager to check for deps07:01
`whoami`ok. sounds more complicated than what i first thought :)07:02
=== LabMonkey is now known as Mechanismus
=== EriC^ is now known as EriC^^
=== im0nde_ is now known as im0nde
BlushpowderHello there.07:55
the_actorHi07:55
cjokeI installed linux-image and header from github , its nessesary for my soundcard to work propherly. I get this anoying message in boot : vmlinuz-* has invalig signature. Is there an easy solution without turning off secureboot? I run ubuntustudio18.0408:19
Blushpowder@cjoke I don't think there's a way around it.08:27
the_actorhi08:27
BlushpowderWithout secureboot third party repositories are allowed.08:28
BlushpowderWith secureboot you cannot use them because secureboot sees them as threat.08:28
Bashing-omcjoke: See: http://blog.cyphermox.net/2017/08/how-to-sign-things-for-secure-boot.html .08:32
cjokeThanks guys, Ill check it out.08:32
kk89Good morning, I connected to my AVM dsl-router, a USB MFP printer to be able to use it on a remote location. The dsl-router has opened port 9100 for the AppSocket / HP JetDirect service. Then I configured, on an Ubuntu workstation with CUPS installed, a new printer by entering the IP address of the router and its port 9100 and I was able to print c10:01
kk89orrectly. My problem instead concerns the use of the integrated scanner function through the xsane program, I added in the file /etc/sane.d/xerox_mfp.conf the string tcp my-router-ip-address 9100 but it doesn't work10:01
kk89port 9100 in an MFP printer, should it be used only for print function or can it also be used to access the scanner function?10:08
=== jmcgnh_ is now known as jmcgnh
=== Wryhder is now known as Lucas_Gray
bf_I noticed ubuntu 18.04 base installation is a total size of 2 gigabytes. is there a way to reduce it to below 1 gigabyte?10:57
kexbit of an odd one - I have a HP screen and a Ubuntu laptop, when I plug in the screen the laptop recognises it has a monitor plugged in but the screen doesn't, this is over HDMI, anyone seen something like this before?10:58
Cheezkex: unfortunately the only time i have ever seen that, the cause was a dead monitor10:59
Cheezi had to replace it10:59
kexhuh, weird. I just tried the USB C connector on the screen - the screen registers when that is plugged in but the laptop doesn't, doh11:00
ramsub07Hello, I accidentally pressed  ctrl+<somekey> and I am unable to type anything on my terminal. I am inside a screen at the momen11:02
Dk0drclose it and reopen it?11:16
BluesKajHi folks11:21
thsnrramsub07: you probably pressed ctrl+s which causes the terminal to stop updating. press ctrl+q to continue11:33
tomreynbf_: i find 2 GB to already be veryy, very little. maybe you can go even lower with debootstrap and a compressed file system.11:39
tomreynbf_: what makes you want this?11:39
bf_thank you tomreyn, unfortunately I am hitting a hard limit in terms of size due to the rescue system. I am automating the setupof of encrypted hdd with dropbear remote unlocking in the hetzner environment and they don't give me more than 1gb space11:40
bf_*in the rescue system11:40
bf_I have learned that debootstrap is an alternative, but I am also considering switching to arch linux if I have to use debootstrap / remote install anyways11:41
tomreynbf_: i'm not sure what the hard size limit is on this rescue system (i do know hetzners installation service and would always use debootstrap there).11:44
tomreyndebootstrap is not realloy 'remote install', you can do it from the recovery system.11:45
=== morphis0 is now known as morphis
Marenzgreetings12:10
Marenzi am debugging an issue in our project that only happens during the release build for the .deb package. My problem is, I can't find the exact build env. parameters used by looking at the rules file (or any other really). files can be seen here https://github.com/ethereum/solidity/blob/develop/scripts/release_ppa.sh#L15712:12
Marenzbasically, I know the command line causing a compilation error, but I don't know what initial build setup/settings lead to it using those parameters12:13
jujubeeMy user is a member of several groups in /etc/group but when I issue $groups command it only shows the group with my username?  How do I fix this?12:15
jujubeeI need to use minicom which requires membership in dialout and it is there, but not working12:15
tomreynjujubee: did you logout and login since editing the users' groups?12:16
jujubeeyes, several times12:17
tomreynare you using a graphical desktop on this system?12:17
jujubeewhen I log in, the groups shows I am member of dialout but I get an error about no permissions.12:17
noudlei want to run 'apt-get -f autoremove --purge' to get rid of a bunch of unneeded initrd images in /boot/ on my ubuntu 16.04 server, however it throws something like 'Internal Error: Could not find image (/boot/vmlinuz-4.4.0-138-generic)' and so 'linux-image-4.4.0-138-generic' fails and thus the autoremove command fails. any way to fix this?12:17
jujubeeYes using xfce12:17
tomreynthis may be bug 178141812:18
ubottubug 1781418 in kwallet-pam (Ubuntu) "User not being initialized correctly on login" [Undecided,Confirmed] https://launchpad.net/bugs/178141812:18
noudlesame error happens on 'apt-get upgrade'12:19
tomreynjujubee: see also the duplicate report, which describes the situation form a different perspective.12:19
jujubeeThanks tomreyn  reading now...12:20
tomreynnoudle: touch /boot/vmlinuz-4.4.0-138-generic12:20
noudlelol12:21
noudlelet me try12:21
tomreynnoudle: alternatively, if you have enough space available now, apt install --reinstall linux-image-4.4.0-138-generic12:21
tomreynthis would be the better approach12:21
noudlealready did the forst, sec12:22
noudle*first12:22
noudledid work, ty12:22
jujubeetomreyn commenting out in pam.d file worked.  Thanks12:24
tomreynjujubee: which ubuntu version are you running there? maybe you could add yourself to "affects me" on top of the bug report, so it gets a bump in priority.12:27
jujubeetomreyn using xubuntu and I did "affects me".12:28
unimatrix9hi there, does anyone know this :  ( LTS 18.04 ) running a tkinterwindow as root shows the right fonts, running as normal user its ugly ..12:29
unimatrix9or how to get around this problem12:29
tomreynjujubee: which xubuntu version then?12:30
jujubee18.0412:31
tomreynjujubee: okay, and it's fully updated? because there were hopes this might already be fixed12:31
jujubeeyes, fully updated12:33
tomreynthanks12:33
jujubeenp12:33
tomreynMarenz: /join #ubuntu-app-devel   for lack of a more suitable channel, i guess.12:36
Marenzthanks for the hint12:38
unimatrix9when i run python -m tkinter , i get ugly fonts12:55
unimatrix9when running sudo python -m tkinter , the ugly fonts are gone12:55
unimatrix9any one has tips on how to run as normal user and get "good" fonts ?12:56
lawnmowermanhey, i have a question. what are the limitations to linux when it comes to reading ntfs filesystems? i have a 1tb hard drive that is my data drive in a dualboot pc.13:00
lawnmowermani want to use it with linux and winodws13:01
lawnmowermancurrently it is formatted ntfs13:01
BluesKajNTFS will work for both13:02
=== stwalkerster is now known as Oresrian
=== Makaveli is now known as Guest70906
lawnmowermanok thanks, BluesKaj13:04
=== Makaveli is now known as Guest85942
BluesKajjust make sure your sharing oermissions are setup for your user(s)13:05
BluesKajpermissions even13:05
lawnmowermanok, thanks13:09
lawnmowermani can still reformat the drive as i didn't put any important data on it13:14
lawnmowermanwhat filesystem would be better for both operating systems13:14
lawnmowermani think i'd want a journal for safety13:14
SwedeMikelawnmowerman: NTFS is the only journaled filesystem that Windows can read/write out of the box.13:16
dalist22Hello guys13:24
dalist22so I had a question13:25
dalist22is launchpad able to build with python 3 ?13:25
dalist22because I got this error from build log13:25
dalist22dh clean --with python3dh: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module)13:25
tomreyndalist22: /join #launchpad    and   /topic13:26
dalist22okay, thanks13:26
tomreynyou're welcome.13:26
artur1hello13:37
tomreynhi artur113:40
klaus_hi all13:43
tomreynhello klaus_13:44
klaus_my cpu scaling doesn't seem to work anymore after waking up from sleep, i was wondering if this was a known problem and where to start looking to fix this13:44
klaus_hi tomreyn13:45
klaus_i use tlp, my cpu frequency is normaly 2.7ghz (it's a laptop) i scale it to 800mhz usualy. it works fine as long as the computer doesn't go to sleep, then when i wake it up it's always 2.7ghz, no more scaling apparently13:46
TJ-klaus_: ACPI issue most likely; see https://iam.tj/prototype/enhancements/Windows-acpi_osi.html13:47
tomreynklaus_: are you saying that cpu scaling used to work after waking from sleep, but no longer does? if so, which changes have you made which may have caused this to change? and which ubuntu version are oyu on?13:47
klaus_tomreyn: no as far as i can tell, on this install (ubuntu 19.04 disco dingo) it never worked after coming back from sleep13:48
klaus_TJ-: thanks for the link, i'm reading13:49
klaus_tomreyn: i'm just saying it works from initial boot until the first sleep, then after that it doesn't scale no more13:50
tomreynklaus_: thanks for clarifying. also consider a mainboard firmware upgrade. but TJ's great article will probably help you work around it.13:50
klaus_tomreyn: this laptop is a macbookpro (12,1 early 2015) there's no accessible bios or update available of any kind as far as i know13:51
tomreynonly when you run OS X on it bare metal, i guess.13:52
klaus_TJ-: so the fix is having passing an argument to the kernel to make linux to pretend to himself he's "windows 2015" ? :)13:53
TJ-hhhm, not sure if ACPI works the same way on Macs13:53
tomreynbut they will most likely not have improved the firmware to be more compatible to other OS.13:53
klaus_-having13:53
TJ-klaus_: I don't think the strategy will work on a Mac since I doubt, even if it has an ACPI DSDT, it has "Windows" strings in it13:54
klaus_i run it single OS install, just linux13:54
TJ-klaus_: the method relies on the way most (non Apple) PCs hard-code Windows version strings into the ACPI DSDT of the firmware13:55
TJ-klaus_: I doubt Apple does that :)13:55
jameshjacks0njrApple dosent do that sadly13:57
tomreynklaus_: i'd be interested in the output of this, though:   sudo strings -n5 /sys/firmware/acpi/tables/DSDT | sort | uniq -c | sort -nr | nc termbin.com 999913:59
tomreynit may just report an error about /sys/firmware/acpi/tables/DSDT not existing14:00
klaus_TJ-: here's the content of  /sys/firmware/acpi/tables/DSDT https://pastebin.ubuntu.com/p/dZXfxt2WZv/14:01
klaus_tomreyn: i try you suggestion now14:01
klaus_tomreyn: https://termbin.com/qrcv14:02
TJ-klaus_: I think we'd make better progress to look at a kernel log that captures the suspend/resume cycle14:03
klaus_i didn't know about "| nc termbin.com 9999", it's nice14:03
klaus_TJ-: i woke up the computer about an hour ago, if you tell me what to copy/paste, i'll try ?14:04
tomreynklaus_: thanks. so there are "Windows 2009" and "Windows 2012" at least, but keep working with TJ, he knows *a lot* more about ACPI than i do.14:04
TJ-tomreyn: you spotted Windows strings? huh, I must have missed those14:05
klaus_tomreyn: thanks for telling14:05
tomreynTJ-: yes, those two occur twice.14:05
tomreynyou also have "_OSI`" and "\_OSI`"14:06
TJ-tomreyn: well how about that! I wonder why Apple would include those14:07
tomreyni think apple supports or did support multi-booting with windows at some point.14:08
TJ-in which case ... klaus_  it might be worth trying: acpi_osi=! "acpi_osi=Windows 2012" on the kernel command-line, but first lets try to grab a kernel log14:09
klaus_there's this thing called 'boot camp' i never tried it but it's apple offcialy supporting mac user to install natively windows on their mac. apple provide a package with all the necessary drivers14:09
TJ-klaus_: "journalctl -k --since='2 hours ago' | nc termbin.com 9999"14:09
klaus_TJ-: ok i try that14:09
klaus_TJ-: https://termbin.com/fqz014:10
TJ-klaus_: no clues there; try the acpi_osi entries on the kernel command-line14:13
klaus_TJ-: ok, i will do that, update grub, reboot, then go to sleep, wake up, and come back here doing a "journalctl -k --since='2 hours ago' | nc termbin.com 9999" if that's ok ?14:14
tomreyninstead of editing /etc/default/grub and running update-grub you can alternatively set those kernel parameters just for the coming boot from the grub menu. that's if you can get there easily.14:17
tomreyn!kernelparm14:17
ubottuTo add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters14:17
TJ-klaus_: well, yes, but just checking if the governer is letting the CPU 'go slow' would be the best test :)14:17
klaus_TJ-: yes, i check with cat/proc/cpuinfo |grep -i mhz14:18
klaus_if it works it reports 800mhz, if it doesn't then it's 2.7gz14:18
klaus_ghz14:18
klaus_ok here's my grub line: GRUB_CMDLINE_LINUX_DEFAULT="text acpi_osi=! \"acpi_osi=Windows 2012\""14:19
klaus_i update grub and reboot, brb14:20
tomreyndoes "text" interfere with UEFI FB handover sometimes? i thought someone said it could, and thus you should just use "nosplash" and not "quiet" instead.14:22
ralf98hey guys14:24
klausTJ-: no dice ..  https://pastebin.ubuntu.com/p/KQT9ZqF4Zt/14:25
klausand14:25
ralf98wow14:25
klausjournalctl -k --since='30 minutes ago' | nc termbin.com 9999  -->  https://termbin.com/24vo14:25
ralf98this is the first time i have ever seen an active IRC community!14:25
ralf98my email ralfbenedictflores@gmail.com14:26
pragmaticenigma!ot | ralf9814:26
ubotturalf98: #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!14:26
ralf98ph14:26
ralf98oh14:26
ralf98ok14:26
ralf98sry14:26
ralf98d14:27
TJ-klaus: the only thing that *may* be related there are the ACPI errors around "ACPI Error: Method parse/execution failed \_SB.PCI0.WTLT" - not sure what the WTLT is though but it looks to be on the PCI root complex, so possibly won't be related to CPU governer14:28
klausTJ-: ok, thanks for the help anyway14:30
klausdo you think i should try to report a bug somewhere ?14:30
TJ-klaus: what does this report? "grep . /sys/devices/system/cpu/cpufreq/policy*/*governor*"14:31
klausTJ-: https://pastebin.ubuntu.com/p/MqqhRhXkGF/14:32
klausit says powersave but won't apply scaling, somehow14:33
TJ-klaus: how about the actual values: " grep . /sys/devices/system/cpu/cpufreq/policy0/* "14:33
TJ-klaus: scaling_{min,max}_freq should be a big clue14:34
klausTJ-: https://termbin.com/danu14:34
TJ-klaus: so the min/max are identical and the current is above max. Can you get those same reports from a fresh boot to confirm that _max_ should be higher, I'd expect it to be the same as cpuinfo_max_freq14:36
klausyes about the min-max being identical, i think thiis part is from me in tlp14:37
klausi specificaly tells it to stays at minimum (tlp-stat says it's 500mhz so i set that, but in practice it's 800mhz as a result)14:38
klausi've set in tlp: scaling max frq = 500mhz14:39
TJ-klaus:  earlier you showed a pastebin with it reporting 800MHz, was that due to a different TLP settings?14:40
klausso unless i disable tlp, even from a fresh boot, with scaling working, the output of /system/cpu/cpufreq/policy0/* would still be the same about min-max14:40
klausTJ-: no, like i was saying, tlp-stat reports my min freq is 500mhz, so i set that, but i've never seen my cpu at 500mhz, in pratice the minimum is always 800mhz14:41
klaushold on, i show you my tlp-stat output14:42
baakohi guys, what is the quickest way to uninstalled snap packages14:42
klausTJ-: https://termbin.com/wura14:42
klausbaako: snap must have uninstall methods like for apt/dpkg14:44
klausbaako: yes i just looked: snap command support install, list, remove14:44
klausso snap list, to check the package name you want to remove, then : snap remove that_package_name14:45
klausi never use snap by the way.. i'm just saying this because it seems logical to me that way14:46
TJ-klaus: not sure this will help but it seems related (inversely!), comment #9 especially as a workaround there: https://bbs.archlinux.org/viewtopic.php?id=23699714:48
lotuspsychjebaako: sudo snap remove snap-name14:48
klausTJ-: thanks for the link, i read14:48
klausTJ-: i have no idea what PROHOT is and how to do that: disable BD PROCHOT via msr-tools14:51
klausalthough i want to keep system at minimum, not accelerate it, but still it could be worth checking enabling/disabling those stuff to see what happens14:52
TJ-klaus: I don't think it applies in your case directly. That acronym means "Bi-Directional PROCessor HOT"14:54
TJ-klaus: it's a thermal control so hopefully unrelated to your issue14:54
klausTJ-: maybe it gets disabled when i wake up (so i get full speed)?  if so i need to re-enable it (to lower speed again), what do you say ?14:56
klausi'm trying to look about that "enable/disable BD PROCHOT via msr-tools" action i'd like to try but, it seems a bit complicated, it involve memory addresses and values in hexadecimal14:57
TJ-klaus: this seems to be a bug in the intel_pstate driver14:57
TJ-klaus: I'd recommend not messing with the MSR; I highly doubt it will help your situation14:58
klausTJ-: ok then i won't touch it14:58
klaus(thanks for the warning :)14:59
TJ-klaus: I've just looked at all the commits to intel_pstate.c since 5.0 in case there was an obvious bug-fix, but I don't see anything15:03
TJ-klaus: I suggest as a final check to test the latest Ubuntu mainline kernel build to see if that behaves the same way. If it is OK then somewhere in the commit history is a fix.15:04
TJ-!mainline | klaus15:04
ubottuklaus: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds15:04
klausTJ-: good idea, i'm in 5.0, i see here 5.2.4 seems available: https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.2.4/15:07
klausTJ-: or do you think i should try directly 5.3-rc2 ?15:08
klausi'll go 5.3rc2 first :)15:09
TJ-klaus: latest first is always best :)15:10
klausTJ-: yep :)15:12
klaustime to reboot and go *kaBoom* latest kernel15:13
klausTJ-: https://pastebin.ubuntu.com/p/SZS3WS2ctD/15:17
klausat least latest kernel seems to work normaly.. no i try go to sleep15:17
klaus*now15:17
klaussame .. cpu MHz         : 2600.40115:20
klausat least i'm running latest kernel ;)15:20
klausmaybe i should try disabling that kernel argument i added earlier15:21
klausroot@kmbp:~# echo 500000 > /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq15:25
klaus-bash: /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq: Permission denied15:25
TJ-klaus: wrong node, use scaling_max_freq15:26
naccklaus: you can't generally change the max frequency value, it's a read-only file15:27
klausTJ-: https://termbin.com/hc4015:27
naccI believe that file is just telling you what cpuinfo says is the max (hence is readonly)15:27
klausit's the journalct -k15:27
klaus(since=20minutes ago)15:27
klausnacc: ah ok thanks for telling15:28
klausTJ-: root@kmbp:~# echo 500000 > /sys/devices/system/cpu/cpufreq/policy*/scaling_max_freq15:29
klaus-bash: /sys/devices/system/cpu/cpufreq/policy*/scaling_max_freq: ambiguous redirect15:29
klauswhy the * isn't working there ?15:29
jinkBecause more than 1 file matches.15:29
klausif i do one by one manually, i get no error output, but cpufreq stays at 2.7ghz anyway15:30
TJ-klaus: when the PC suspends, and when it resumes, is it only on battery, or on AC ?15:31
dwilson5817is it okay to mount a backup NFS at /mnt/?  the linux system hierarchy says mnt should be used as a temporary mount point but then it says that system software shouldn't depend on it if it is permanent?15:35
naccdwilson5817: you can mount whatever you want wherever you want :)15:35
dwilson5817thanks nacc :)  would it be recommended to do this? might there be somewhere else better suited to mounting it?15:36
TJ-dwilson5817: I generally create mountpoints under /mnt/ as in /mnt/iso /mnt/tmp /mnt/cttv /mnt/some-remote and so on15:36
klausjink: should i do a for loop ? for https://pastebin.ubuntu.com/p/FP3HVS7BPg/15:37
naccdwilson5817: i think /mnt is a fine place to put backups, but like TJ- said, i'd use a subdirectory, well-named15:37
klausTJ-: in this case it was on AC all the time, but tlp profile says to behave like if it was on BAT15:37
klausall settings at minium15:37
dwilson5817thanks guys, yeah I'm using a subdirectory /mnt/backup15:38
TJ-klaus: it would be worth testing if being AC is causing a difference15:38
naccdwilson5817: i think that's totally reasonable15:38
dwilson5817that's awesome thanks nacc just wanted to make sure :P15:39
klausroot@kmbp:~# for x in /sys/devices/system/cpu/cpufreq/policy[0-3]/scaling_max_freq; do echo 500000 > $x; done15:39
klausreports no errors but cpufreq is still max15:39
klausTJ-:  ok i try unplug and do the sleep/wakeup cycle15:39
klaus  TJ- same, cpu MHz  : 2600.556 ...  and policy0/cpuinfo_max_freq:3100000  and policy0/cpuinfo_min_freq:50000015:42
TJ-klaus: must be something to do with how the intel_pstate driver is (not) handling it correctly.15:43
klausTJ-: https://termbin.com/6ogfb  i see those lines:   IRQ xxx: no longer affine to CPUx15:44
TJ-klaus: try booting, and the suspend/resume with these options on the kernel command-line ('debug' is for the kernel - we might get more details): debug systemd.log_level=info15:48
klausTJ-: i will try that (debug systemd.log_level=info) but i try this too:   GRUB_CMDLINE_LINUX_DEFAULT="text acpi_osi=!Darwin"15:53
klausas detailed here: https://forum.manjaro.org/t/runaway-acpi-interrupt-kworker-cpu-hog/8118215:54
klausit might not have anything to do with this problem, but well, i'm trying ..15:54
klausbrb15:54
klausTJ-: i thought i saved your suggestion about systemd debug log kernel parameter, but somehow i didn't15:58
klauscould you paste it me back please so i can try ?15:58
TJ-klaus: try booting, and the suspend/resume with these options on the kernel command-line ('debug' is for the kernel - we might get more details): debug systemd.log_level=info15:58
klausthanks, i try that now  (the !darwin didn't help)15:59
klausTJ-: https://termbin.com/cg2916:03
klaus(power cable unplugged, systemd debug log in kernel parameters, journalctl -k since 15 minutes boot, sleep, wakeup cycle)16:04
klausTJ-: GRUB_CMDLINE_LINUX_DEFAULT="text acpi_osi=!Darwin debug systemd.log_level=info"16:07
klausas soon as i put this computer to sleep it's bye bye cpu scaling ..16:08
TJ-klaus: time to find a relevant bug or create a new one against the intel_pstate driver in-kernel. Take a look at this list, 200759 looks like it could be related.16:10
TJ-https://bugzilla.kernel.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=REJECTED&bug_status=DEFERRED&bug_status=NEEDINFO&bug_status=CLOSED&component=intel_pstate&product=Power%20Management&query_format=advanced16:10
klausi look16:11
TJ-klaus: add pstate debugging (after a fresh boot) then do a suspend/resume cycle and report the kernel log again. To add (dynamic) debugging do: echo 'file intel_pstate.c +p' | sudo dd of=/sys/kernel/debug/dynamic_debug/control16:14
klausTJ-: i did that command you suggested, but i see no file created ?16:18
VBalazshey can i compile source code *(makefile)* on linux to execatuble (.exe file)?16:18
TJ-klaus: no file is created, you're telling the kernel to write additional debug messages to the kernel log16:19
klausah and i should provide those additional debug log with the output of journalctl -k ?16:20
TJ-klaus:  'file intel_pstate.c +p' tells kernel to output debug message from the kernel source-code file intel_pstate.c16:20
TJ-klaus: correct16:20
TJ-klaus: if you do this it'll show you all the messages that will enable: "sudo grep intel_pstate.c  /sys/kernel/debug/dynamic_debug/control "16:20
klausok i try to do that.. i've never reported a bug to the linux kernel directly i hope they take it easy on me if report in wrong area or submit bad or insufficient data ;)16:23
klausok time to reboot, do the cycle and report then, i'll bbiab, thanks again for all the help TJ-16:24
net|codeblocks on ubuntu arm64 crashes on startup16:35
net|tried to use it on jetson nano16:35
lotuspsychje!arm | net|16:36
ubottunet|: 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.16:36
klausTJ-: https://bugzilla.kernel.org/show_bug.cgi?id=20436716:57
ubottubugzilla.kernel.org bug 204367 in intel_pstate "cpu scaling doesn't work anymore after sleep/wakeup cycle" [Normal,New]16:57
klausi hope i submitted that correctly16:58
=== Makaveli is now known as Guest28351
ncuxohello can I receive some information/advice about bridging connections in here or should i search for another channel17:02
sarnoldncuxo: #ubuntu-server is more likely to know about bridges; but there's more active people in here. tough to guess.17:03
=== AvidWolf43_ is now known as AvidWolf43
TJ-klaus: in the attached log, the journalctl towards the end has "kmbp [1415]: Failed to execute /usr/lib/systemd/system-sleep/pre-suspend.sh: Not a directory" ... I wonder if that could be related?17:06
ElliriaWhat are you trying to bridge, ncuxo?17:06
klausah yes it's a script i made: here's the content: https://termbin.com/4q9u17:07
Gargoyletomreyn: Thanks for the PCIe tips. I'll give them a try. It does seem that the problem has gotten much worse with the latest BIOS which is probably changing some things up with support for gen3 ryzen.17:08
klausit's because, the computer won't stay asleep, when i close the lid, it wakeup on his own in a few seconds after entering sleep17:08
sarnoldklaus: try namei -l /sys/bus/usb/devices/1-3/power/wakeup and namei -l /sys/bus/usb/devices/1-5/power/wakeup17:08
TJ-klaus: that script has several syntax errors17:09
klausTJ-: ah it does ?17:09
TJ-klaus: "#!/bin/bash/" -> "#!/bin/bash", and last line is needed: "fi"17:09
tomreynGargoyle: you're welcome. a web search for "1022:1453" also turned up https://bugzilla.redhat.com/show_bug.cgi?id=1616364 and some other potentially useful discussions.17:10
ubottubugzilla.redhat.com bug 1616364 in kernel "PCIe Bus Error: severity=Corrected, type=Data Link Layer, (Transmitter ID)" [Unspecified,New]17:10
TJ-klaus: but the error message looks unrelated to that, seems something is expecting a directory and finding a file maybe?17:10
jayjoI noticed a file system error on a machine of mine, so I restarted it, and then got the error "fsck error on boot: /dev/sda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY". I did, and it has been starting up for about 5 mins now, saying "a start job is running for discard unused blocks". What is this - what actually happened to my machine?17:11
sarnoldTJ-: probably ower/wakeup and namei -l17:11
sarnold                           /sys/bus/usb/devices/1-5/power/wakeup17:11
sarnoldSIGH17:12
sarnold(hilarious timing, exo cet and gabkd lly joined when I was selecting text, and even thought the selection indicator was on the "/sys/bus/usb/devices/1-3/" part, the next line was selected too!)17:13
TJ-klaus: this "/usr/lib/systemd/system-sleep/" is not a valid path, if anything, it should be "/lib/systemd/system-sleep/"17:13
TJ-jayjo: "discard blocks" is an operation on flash devices to release blocks that are no longer required by files17:14
Sven_vBhi! please help me debug one of my xenial notebooks. it recently started to dim the screen or even turn it black, even while VLC is playing. I thought I had solved this long ago, using puppet to manage all the power saving options, but it seems a new mechanism has appeared that I haven't covered yet. what could it be?17:15
Gargoyletomreyn: I must have been really tired and fed up. I didn't even think about googling the actual PCI numbers. I was just confused about why they didn't match "lspci" output! X-)17:15
jayjoTJ-: is something wrong if it's still working at the 10 min range?17:15
TJ-jayjo: it sounds like it17:16
jayjoCan I interrupt it safely to get back to the GRUB menu?17:16
klausTJ-: thanks for correcting my errors in the script, but about the path,17:16
TJ-jayjo: did the 'fsck' you ran manually complete, and then you resumed the system booting?17:16
klausTJ-: there's other systemd file in this path, beside mine, see: https://pastebin.ubuntu.com/p/8GqyDdHFTH/17:16
jayjoall i did in the busybox terminal was run `fsck /dev/sda2` and then hit `a` for always yes. It seemed to go through some unused nodes and said FIXED, and I did `reboot` in that busybox term17:16
TJ-klaus: what ubuntu release is that? on 18.04 "apt-file search /usr/lib/systemd/system-sleep/" returns no results17:18
TJ-jayjo: OK... I think it is safe to do do a restart using the kernel's SysRq mechanism, hold down Alt+Ctrl+SysRq then whilst holding them press, in turn, R E I S U B17:19
TJ-jayjo: it is possible the damage to the root file-system that fsck tried to fix has broken the OS such that required files are missing/corrupted17:20
jayjoTJ-: after interrupting the 'wait' and restarting, it seems to boot fine. Sort of weary of this, but I've restarted now once and done a full power off and on, seems to be ok. Was it something that I did that caused me to need the manual fsck in the first place? Maybe I can avoid it17:22
TJ-jayjo: most often those kind of errors are caused by sudden power loss or unexpected system lock-up17:23
Sven_vBI'm back :) did I miss sth.? the official logs are some hours behind it appears17:24
oceanquakeHi all.  So I have a Ryzen Pro laptop with integrated graphics, and am getting lockups that appear to be coming from AMDGPU driver.  Am running 18.04 with hwe stack.  tomreyn and others have been very helpful, and suggested I try hwe-edge (kernel 5.0 family).  Unfortunately, this made the problem drastically worse and it locks up much more quickly.  I presume there are other fixes, e.g., in the 5.2 tree.  At this point, I'm not sure what to17:25
klausTJ-: it's ubuntu 19.04 and that script is mine17:25
oceanquakedo.  Is there a way to try a newer kernel?  Should I report the problems occurring with the hwe-edge kernel, and if so, would a bugreport to Ubuntu make any difference to AMDGPU devs?17:25
arandomandyHey there. I just mounted a USB drive: sudo mkdir /mnt/usb; sudo mount /dev/sdb1 /mnt/usb/. Though I wanted to delete some of the files on it and I get the following message rm: cannot remove 'Test.class': Permission denied17:25
TJ-klaus: is the script marked as executable as well, couldn't see that in your pastebin17:26
klausTJ-: the path wasn't my doing17:26
klausyes17:26
TJ-klaus: looks like paths have 'moved' around a bit17:26
klaus$ ls -hal /usr/lib/systemd/system-sleep/pre-suspend.sh17:27
klaus-rwxr-xr-x 1 root root 362 juil. 29 19:11 /usr/lib/systemd/system-sleep/pre-suspend.sh17:27
TJ-klaus: I suppose the "not a directory" may actually have been referring to the /bin/bash/ shebang17:27
TJ-klaus: it'd be cool if everything worked fine now that script is fixed and it should actually execute!17:28
oceanquakearandomandy: if the root of your filesystem is owned by root with no write permissions for other users, then you will have to either change the perms or just modify the files as root17:28
oceanquakearandomandy: what is the USB drive's filesystem?17:28
sarnoldoceanquake: I can't promise that a bug report would lead to a fix, but if no one files any bugs, the kernel team won't ever know that there's problems17:28
oceanquakesarnold: Sure, I understand that, but I also don't want to just add a bug to the DB if upstream is not going to do anything about it17:29
TJ-!mainline | oceanquake: you could try the latest 5.3 release candidate17:31
ubottuoceanquake: you could try the latest 5.3 release candidate: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds17:31
arandomandyoceanquake: thanks. i tried modifying the files as root and it worked17:31
sarnoldoceanquake: yeah, makes sense; I know I've seen some bug fixes for ppc64 machines, perhaps only exposed via amdgpu, so it feels like someone cares :)17:31
TJ-oceanquake: also when the lock-ups occur is it the entire PC? I'm wondering if you have a SSH session to the PC when it locks up locally if you can still investigate?17:32
oceanquakesarnold: I guess what I'm trying to poke at is I presume upstream will not really care unless I'm on the latest release, but it's not worked well for me when I've tried to use a kernel that doesn't come from the package repo; for example, I've seen firmware files not all being there.17:32
oceanquakeTJ-: I can use Magic SysRq - is there a way to do something useful from there?  I don't like running sshd as this is my "go everywhere" laptop and I don't want that service running, but I could certainly leave it up for debugging purposes17:34
TJ-oceanquake: I'm thinking for debugging, when you're relatively static, have another PC SSH-ed into with a "journalctl -k -f" running (follows the kernel log) so you might catch reports that never make it to log files for example, and if you're lucky the PC may still remain usable via SSH so you can investigate in-depth17:36
TJ-oceanquake: if you know a later kernel provokes this more frequently, test with that so you don't have to wait so long :)17:36
sysifossHi I'm trying to start a program on boot without dropping into a user desktop. Is this possible with "startx [program]"? I've tried that command on its own from a tty but I just get a black screen I cant interact with. Is this a problem with my program or am i using startx wrong?17:37
oceanquakeTJ-: kern.log (and corresponding journal) show the error message in full and it's preserved thanks to rebooting with magic sysrq - is there any kind of guide to getting more debug details?17:37
TJ-oceanquake: there is the dynamic_debug option if the amdgpu driver uses that17:38
tomreynGargoyle: i'd also hoped companies would do actual pre-release testing against linux, apparently this kepps falling under the table due to "fixed release date".17:39
sarnoldsysifoss: what are you trying to do?17:40
TJ-oceanquake: the kernel log you have may indicate where you could enable dynamic_debug logging within amdgpu. There are rather a LOT of sites, see "sudo grep amdgpu /sys/kernel/debug/dynamic_debug/control"17:42
TJ-oceanquake: if you create a bug report and attach logs then it would be easier for people to help as they have time and you have newer, more targeted, log info17:42
sysifosssarnold, start a unity game when the computer boots. Currently it works fine with desktop icons hidden and "startup applications" setup running the game launcher upon login. Just trying to see if there is a way I can prevent an end user from knocking themselves out of the game by confining them to only running the game with some scheme setup like a daemon or something to check that the game is running in case there is a crash and start17:44
sysifossit back up.17:44
sysifossBasically trying to take control away from an end user as this is meant to be a seamless installation17:45
sarnoldsysifoss: aha; you could try something like putting the game, and only the game, in the ~/.xinitrc file or ~/.xsession file -- so that it would serve as the window manager. if it does, X11 does, and if you configure autologin, it ought to be able to relaunch the game17:46
sysifosssarnold, when you say it ought to be able to relaunch the game do you mean that if it crashes since x11 thinks the game is the window manager it will start it back up?17:49
sarnoldsysifoss: yes; when the last process from ~/.xinitrc dies, X11 stops. so, if you set it to auto-login, it ought to restart once it dies17:53
oceanquakeTJ-: just to confirm, for mainline kernels, I should be downloading the .debs manually - this is not recommended to be done via ppa?17:54
sysifosssarnold, cool thanks I'll give this a shot!17:54
sarnoldsysifoss: cool ;) please do report back how it goes, I've never tried autologin before17:54
klausTJ-: it would have been nice, but no, problem persists.. well it's not the worst, i'll shutdown instead of sleeping18:03
Sven_vBlooks like something messes with the backlight. I installed xbacklight to monitor it, set maximum brightness via keyboard. "xbacklight -get" showed 100.000…. a few moments, later, it got dark and "xbacklight -get" now shows only 11.1111….18:13
Sven_vBwhen I move the mouse it goes back up to 100.000….18:14
TJ-klaus: something you could try, as an experiment, before suspending reset the _max_ from 500 to 3100000 and then on resume set it back to 50018:18
TJ-oceanquake: correct, we have to manually download and install the .deb files18:19
manornkHey, I am using Ubuntu 19.04 and I need to install php5.4, anyone know how I can do this?18:24
MrCrackPotmanornk you shouldnt really be using php5 any more18:27
MrCrackPotits too insecure18:27
sarnoldmanornk: no supported method exists for php 5.4. You can get php 5.5 via https://ubuntu.com/esm . Or you could look to see if someone else maintains an ancient php ppa18:30
MrCrackPotsudo add-apt-repository ppa:ondrej/php18:30
tomreynmanornk: indeed php 5 is not supported on any supported ubuntu release (not counting !ESM here). nor by php.net https://php.net/supported-versions.php18:30
tomreynMrCrackPot: i'd recommend pointing people to the website instead, where ondrej explains the support policy (and asks for donations)18:31
MrCrackPotah that i dont have sorry18:31
sarnoldTIL onrej's got a website for his ppa :)18:31
tomreynmanornk: so if you really really must use PHP 5 on 19.04, your least terrible option is probably https://launchpad.net/~ondrej/+archive/ubuntu/php?field.series_filter=disco18:33
tomreynsee also https://deb.sury.org/18:33
tomreynnot 5.4, though, just 5.618:34
TJ-Sounds like a job for lxd, debootstrap, and old-releases.ubuntu.com18:34
MrCrackPotsounds like the app website etc needs completely redoing18:35
manornkMrCrackPot, sarnold tomreyn  Yes, I know, but my client has it, and he doesn't want to invest in upgrade. Thanks18:50
MrCrackPotid advise him that not investing could potentialy cost him his business and also jail time18:51
MrCrackPothe is knowingly and willingly using insecure software18:51
manornkMrCrackPot, jail? What do you mean? GDPR?18:52
MrCrackPotyou are willingly leaving customer information available on an insecure site18:52
Sven_vBmy backlight problem seems to be about xfce4-power-manager-settings, a recent update might have changed its default settings. I've configured it and will observe.18:52
manornkMrCrackPot, I tried explaining that. I personally tell my clients that I would maintain until Version does not experience EOL, but a company I work for doesn't do the same18:53
MrCrackPotreport18:53
ioriamanornk, can we know why php5.4 it's  so necessary ?18:55
manornkioria, old company app is build in it, and I need to do upgrade on features18:56
ioriamanornk, and cannot be rebuilt with current php ?19:01
manornkioria, it's old code, so it's expensive upgrade. for example mysql_connect and stuff is still used. And it's not really built by any standards. I am not sure even who built it19:01
ioriamanornk, think twice about it, but , in any case, your only option it's from source: https://github.com/php/php-src/tree/PHP-5.419:03
manornkioria, thanks, but saddly I don't make decisions19:04
ioriamanornk, as you wish19:04
TJ-manornk: you can find 5.4.6 and 5.4.9 at http://old-releases.ubuntu.com/ubuntu/pool/main/p/php5/19:07
inf009Hi! I'm new using this channel. I need help regarding dolphin file manager. I want to use gnome terminal as the default terminal, can someone help? I'm using ubuntu 18.04. Thanks.19:12
=== AvidWolf43_ is now known as AvidWolf43
sarnoldwelcome inf009, just hang out for a bit, hopefully someone who knows dolphin will see19:13
=== Daemoen_ is now known as Daemoen
oceanquakeisn't Dolphin from KDE?19:14
oceanquakeinf009: what is the thing you need help with?19:15
OerHeksinf009, dolphin *filemanager*  and gnome *terminal*? not gnome nautilus filemanager?19:16
sarnoldmeh, I'm not too surprised someone would want to pick and choose their tools19:17
sarnoldwhether or not the tools make that easy or even possible is another question :)19:17
OerHeksxdg-mime default nautilus.desktop inode/directory application/x-gnome-saved-search  ## to change to nautilus >> https://sites.google.com/site/installationubuntu/tweaking-ubuntu/change-default-filemanager19:17
oceanquakeagree sarnold, just seemed a little odd for a new user to be mixing and matching DE components19:18
sarnoldoceanquake: it certainly soundsl ike a fast way to use twice as much memory :)19:19
inf009I want to use a more "advance" file manager in ubuntu. I've read dolphin is supposed to be good, so I am trying it out. I've managed to change dolphin to be the default manager, but when browsing to a file location and opening the terminal (Shift + F4) I get an error KDEInit count not launch 'konsole', which I am guessing is the default terminal in KDE.19:19
OerHeksfilemanager <> terminal/konsole... 2different apps19:19
sarnoldOerHeks: I think the filemanager is trying to *launch* a terminal19:20
TJ-^^19:20
inf009I am sorry, the question I wanted to ask is: is there a way to change the default terminal used by dolphin?19:21
TJ-inf009: you want file-manager and a terminal - "mc" (midnight commander) !! or, are you wanting to execute a command ('file') in a terminal shell ?19:21
inf009Or is using dolphin in ubuntu a bad practice?19:23
sarnoldno, it's fine19:24
sarnoldbut as oceanquake suggested, normally people don't try to mix up their desktop environment; folks who use gnome things or use kde things tend to not use tools from the other environment19:24
OerHeksdolphin just pulls in some KDE library's, no problem19:24
oceanquakebut you may get more insight from #kde on how to change what dolphin invokes when you ask it for a "terminal here"19:25
oceanquakeat risk of getting beaten up here, I'm actually on KDE Neon :)19:25
ioriainf009, https://forum.manjaro.org/t/adding-gnome-terminal-open-here-in-terminal-context-menu-in-dolphin-file-manager-in-kde/93392/219:26
inf009I don't really care if it is dolphin or something else, I am lloking for a more feature-rich file manager, what would you recommend for ubuntu?19:27
vijunautilus?19:28
OerHeksnautilus with some extentions like nautilus-admin is great19:28
Aramhi. I am trying to help some other person. I am connected through ssh to a live ubuntu image. can I run the CLI installer through ssh?19:28
AramI know I can run the GUI installer, with X forwarding19:28
Arambut I want the CLI installer19:28
ioriainf009, what features do you need ?19:28
Arambasically what I am asking is: "what is the CLI installer name/binary?"19:29
ioriaAram, ubiquity19:29
sarnoldAram: poke around for a debian-installer kind of name19:29
Aramioria: isn't that the GUI installer?19:29
ioriaAram, sure19:30
Aramcan't run that, need the CLI one.19:30
ioriaAram, oh, you mean plain cli ? nope, i don't think there is one19:30
Aramwell there's one in the server image, for sure.19:30
ioriaAram, with ncurses ?19:31
Aramyes19:31
OerHeksthe mini iso gives a text installer, but has no live option to open ssh-services19:31
DOSfanquestion : I am running into an issue where I am getting an error on boot (Ububtu v16) saying ... cannot find output "VGA-0" .. when I look at xrandr I see the minotor on VGA-1 only .. how can I change the settings to look at the VGA-1 output device only?19:31
DOSfanI have tried doing ... xrandr --addmode VGA-1 1280x1024_60.00 .. but like I said it does not find that device so I cannot add one.19:32
ioriaAram,  subiquity ? not sure19:32
Aramsarnold: debian-installer package contains just documentation, it seems19:33
ioriaprobably19:33
sarnoldAram aww :(19:33
DOSfanopps I ment xrandr --addmode to VGA-0.19:34
DOSfanor perhaps I can just force add this device VGA-0 to where ever it is getting this information on during boot-up.19:34
Aramyeah  this is more complicated than hoped19:36
Aramok, then trying something else then19:38
Aramproblem is she can't disable secure boot because windows enabled fast boot which disabled the F2/whatever EFI prompt, so the EFI screen is not accesible.19:39
Aramand she doesn't have windows anymore to disable this.19:39
Aramcan she boot to EFI directly from within the Live image?19:39
Aramshe has to disable secure boot, because unfortunately there's no open source wifi driver, gaah.19:39
Aramcrap laptop.19:39
leftyfbAram: she can boot a Windows usb and access EFI settings19:41
Aramshe doesn't have a windows usb19:41
leftyfbmake one for her?19:41
Aramwe're 20,000km apart19:42
Aramsystemctl reboot --firmware-setup19:44
Aramperhaps this will work19:44
sarnoldAram: there's links to windows install media at the end of https://rufus.ie/19:46
Aramor perhaps I can use efibootmgr?19:46
Aramsarnold: yeah, but then she will lose access to this live ubuntu image as she only has one USB I think19:46
Aramit's a mess19:46
sarnoldAram: *ugh* :(19:46
AramI think I can use efibootmgr though19:47
Aramyes19:47
AramTimeout: 0 seconds19:47
Arammaybe I can increase it19:47
pragmaticenigmaAram: Until you can get windows to release the fastboot lock, all of this effort will be for not. So flashing the USB with the windows installer to get windows back on the machine, to disable the fastboot, then reimage the drive with Ubuntu live seems like a much faster and more simple approach19:48
sarnoldpragmaticenigma: hey :) last week or so puff wanted to say "thanks" :)19:49
ioriaAram, why don't you use debootstrap if you really want cli-only install ?19:51
pragmaticenigmaioria: the bigger issue is they are trying to remote install for a friend a significant distance away19:52
ioriain see19:52
ioria*I19:52
sarnoldioria: you'd still have the 'efi boot is kinda busted' part of the problem, I think19:52
ioriaok19:53
Arampragmaticenigma: sudo efibootmgr -t 10 && sudo systemctl reboot --firmware-setup worked!19:57
jujubeehow do I call "service htpdate restart" from a cron job?20:01
pragmaticenigmajujubee: Why are you using htpdate instead of ntp?20:05
jujubeepragmaticenigma on a raspberry pi there is no hardware clock.  For a curriculum I use, we need RPIs and sometimes we don't get internet connectivity until it is too late.  I had many headaches setting up ntp.20:07
jujubeePlus, some places block port 12320:08
jujubeebut not port 8020:08
pragmaticenigmajujubee: how do you normally call a restart currently?20:10
jujubeeservice htpdate restart20:10
pragmaticenigmajujubee: start with using "systemctrl" as hopefully htpdate has been updated20:11
apxseemaxHi there20:12
jujubeepragmaticenigma systemctl you mean?20:13
pragmaticenigmajujubee: yes ... curse of always using tab complete in the terminal20:13
thebishophi friends. i have an hp spectre 13" x360 ('gem cut', late 2018 model), running 19.04.  a couple weeks ago, suspend stopped working when i close the lid.  it definitely worked when i first installed.  even doing systemctl suspend turns the screen off for a sec, but then it comes back on, no suspend.  any ideas how i can debug this?20:14
pragmaticenigmaIf htpdate is installed correctly... "systemctl restart htpdate.service" should restart the service form cron20:15
apxseemaxUFW question: (yes I should use iptables, I kinda do not) this: [ 4] 20,21/tcp                  ALLOW IN    192.168.178.0/24, should let me ftp into my machine, but it won't. I am kinda clueless why tho, any hinds into any direction why this might be? (daemon is running, config is setup, I use filezilla, machine is def. reachable)20:16
pragmaticenigmathebishop: checking system logs might be a good place to start... since you're able to replicate it... note the time, then look in the logs for events occuring during that time to see what might have triggered a wakeup20:16
apxseemaxsystemlogs... thats actually a good hint20:16
pragmaticenigmaapxseemax: Does the machine actually have an FTP server installed on it?20:16
apxseemaxpragmaticenigma: yes vsftpd, as written, the daemon is running20:17
jujubeepragmaticenigma systemctl restart htpdate does work.  so do I need quotes around it in a cron? or just */15 * * * * systemctl restart htpdate ?20:18
pragmaticenigmano quotes should be required20:18
pragmaticenigmaapxseemax: without qualification, "daemon is running" could refer to anything. helps to be detailed20:19
pragmaticenigmajujubee: why are you restarting a service every 15 minutes?20:20
jujubeepragmaticenigma thanks.  I think I was resetting the date/time too close to when the cron was supposed to run.  Patience is not one of my virues ;)20:20
jujubeeseems to be working now.20:20
pragmaticenigmajujubee: just for reference though... There is a hardware clock. The Rpi platform does not have a Real Time Clock on board, which means when the unit is powered down it doesn't know what time it is. Once the machine is booted it shouldn't require time adjustments that frequently. It may drift a little, but nothing significant that requires checking every 15 minutes20:21
pragmaticenigmajujubee: If one of your units is drifting that severely, then you have a defective board and it would be a good idea to replace it20:22
apxseemaxpragmaticenigma: [UFW BLOCK] IN=ens192 OUT= MAC=<redacted> SRC=192.168.178.22 DST=192.168.178.34 LEN=44 TOS=0x00 PREC=0x00 TTL=128 ID=226 PROTO=UDP SPT=50854 DPT=8612 LEN=2420:24
apxseemaxlooks like filezilla tries udp20:24
apxseemaxhere I thought ftp is tcp confirmed20:25
apxseemaxnow thats embrassing20:25
pragmaticenigmaapxseemax: It can use both20:25
jujubeeI believe ftp uses UDP for the connection, not the data20:27
pragmaticenigmaapxseemax: I would caution against having those specific ports open though. If you really must use FTP, I would encourage selecting a port higher up. Unless you're on an internal network only, or have gateway firewalls to protect it from the internet20:27
apxseemaxI do have a gateway FW, but I am also restricting the traffic allowed to my private network at home20:28
apxseemaxIts an old vmware HV I am running a small gameserver on20:28
jujubeepragmaticenigma not drifting as far as I know, just don't know when the user will connect to wifi so the time *can be adjusted...20:29
apxseemaxits running on a deny all, only allow policy for now20:29
sarnoldTFTP uses UDP. FTP uses TCP.20:29
jujubeepragmaticenigma I am trying to make this RPi image as idiot proof as possible.  Just plug it in and connect to wifi and go.20:29
pragmaticenigmajujubee: perhaps look into configuring the service instead... cron seems like a taking a bulldozer to move an ant-hill20:30
apxseemaxpragmaticenigma: thats weird, its still blocking the inbound traffic20:30
pragmaticenigmaapxseemax: Don't use FileZilla's quick connect... use the actual connection dialog window to setup the connection. There are more options and it prevents FileZilla from trying it's autonegotiation stuff20:32
thebishoppragmaticenigma, two things i noticed.  #1: my syslog is being flooded with messages like this: "kernel: [  348.902025] hid-sensor-hub 001F:8087:0AC2.0004: hid_field_extract() called with n (192) > 32! (kworker/7:3)"20:33
apxseemaxWill try20:33
thebishop#2 not 100% sure but it looks like networkmanager is causing the wake: https://pastebin.com/8ReQx0kP20:33
jujubeepragmaticenigma do you mean run htpdate on if.up?20:35
pragmaticenigmajujubee: no20:35
pragmaticenigmathebishop: It does appear that something with NetworkManager did trigger a wake... I'm not familiar with kernel messages, though "hid" typically refers to Human Interface Device, i.e. Mouse, Keyboard20:36
thebishopyep20:36
thebishopnot sure if that's connected, i found a couple references to it on the kernel mailing list and not much else20:37
godfuturehi guys, I am fighting with my old Samsung Ativ Book 7 and linux backlight. This notebook has Intel and AMD graphics integrated. The problem? My fn keys change the intel backlight, but nothing happens. Only if I write to acpi_video0 backlight, the screen reacts. How can I redirect my fn keys to acpi_video0 backlight?20:37
pragmaticenigmajujubee: did you configure htpdate to run as a system service?20:37
pragmaticenigmathebishop: I'm not sure what might be the busy body with NetworkManager :-/20:40
thebishoppragmaticenigma, i'm still seeing the issue after service stop network-manager20:41
jujubeepragmaticenigma not sure, someone else installed htpdate I handled other items, but he is not longer working on this with me.20:41
pragmaticenigmajujubee: If you could, I'd suggest reaching out. If not, it would appear that someone created a service for it. I don't have a machine to test with at the moment. Once concern I have is if that is a custom service script, restart might actually create a new process each time20:43
jujubeepragmaticenigma I don't see antyhing in /etc/system.d/system/ for htpdate20:43
pragmaticenigmajujubee: leaving the old one in running20:43
pragmaticenigmajujubee: path should be /etc/systemd/system20:44
jujubeepragmaticenigma nah, only one process running, I checked20:45
jujubeefat fingerd the .  sorry20:45
pragmaticenigmajujubee: I guess if it were me, I'd disable the service, and just have cron call up htpdate directly20:45
pragmaticenigmajujubee: then it can run as often as you need it to, and you can more readily troubleshoot it for errors or hanging processes20:46
apxseemaxpragmaticenigma: Okay I checked but its still blocked20:46
apxseemaxalso checked the fail2ban jail just in case it locked the user for sftp20:47
apxseemaxbut it didn't20:47
jujubeepragmaticenigma what do you think of the first answer to https://unix.stackexchange.com/questions/166473/debian-how-to-run-a-script-on-startup-as-soon-as-there-is-an-internet-connecti20:47
jujubeepragmaticenigma then it only runs on if.up20:47
pragmaticenigmajujubee: that probably is the most appropriate method to do so20:49
pragmaticenigmajujubee: Then you can disable that service, and not worry about the units making extra connections and stuff just to maintain the time20:50
pragmaticenigmaapxseemax: I think the probablem is that FileZilla is trying to connect via SFTP and not FTP20:52
apxseemaxI used the prompt like you said and defined ftp20:52
apxseemaxinstead of sftp20:52
sarnoldftp is terrible20:52
sarnold only use it if you have no choice20:52
jujubeepragmaticenigma turns out there was already a script in if-up.d (what a dolt).  Problem is that it ran when eth0 was up (which is pretty much right away.  I need to wait for wlan0 so I put in an ignore for eth020:53
apxseemaxsarnold: UFW is already setup to accept ssh connections, I am kinda failing to see why it would still block the approach20:54
TJ-jujubee: it sounds like all you need for that (starting htpdate.service after network is online) is an over-ride file (/etc/systemd/systemd/htpdate.service.d/override.conf) with something like "[Unit]",  "Requires=network-online.target", "After=network-online.target"20:54
sarnoldapxseemax: I missed most of the conversation but the one log line I remember was a UDP packet being blocked, not ssh..20:54
jujubeeTJ- I think you are right.  Once the interface comes up, we may still have to use http-auth page but the OS will think the interface is up anyway20:56
apxseemaxI am20:57
apxseemaxsuch20:57
apxseemaxan20:57
apxseemaxidiot20:57
apxseemaxomg20:57
apxseemaxfucked up the to IP20:57
EoflaOE!language20:58
ubottuPlease avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList20:58
apxseemax33 instead of 3420:58
TJ-apxseemax: your "20,21/tcp  ALLOW IN" is wrong; FTP protocol in active mode, for the server, *listens* for incoming connections on port 21 but makes *outgoing* connections *from* port 20 to the ftp client's listening port20:58
apxseemaxsorry20:58
EoflaOEapxseemax: Ok. Make sure you don't swear.20:59
pragmaticenigmaTJ-: Shouldn't there be a pre-made UFW rule for enabling FTP connections?20:59
=== lborda is now known as lborda_afk
apxseemax*should*20:59
pragmaticenigmaSimilar to how one enable SSH ?21:00
TJ-pragmaticenigma: no idea, I don't touch UFW, but IN for both is certainly not correct (though it won't hurt) but if the 20 OUT isn't also specified and the default policy on OUTPUT is DROP... it won't work21:00
TJ-apxseemax: the other option is to have the FTP client switch to PASV mode (passive) where everything is done on the client > server:21 stream21:01
apxseemaxTJ-: So basically I need an outbound ok for the cmdport 2021:01
pragmaticenigmaapxseemax: that is part of it, yes21:01
TJ-apxseemax: well only if all OUTPUT is default DROPed21:01
TJ-apxseemax: I think in most cases OUTPUT is ACCEPT to prevent causing all manner of hassle for local processes making outbound connections21:02
apxseemaxlet me check that real quick, not sure if I am dropping everything w/o allow right now, but I would say no21:02
TJ-apxseemax: try "sudo iptables -nvL OUTPUT" see what the policy for the chain is21:02
TJ-apxseemax: e.g. mine is default ACCEPT: "Chain OUTPUT (policy ACCEPT 949K packets, 80M bytes)"21:03
apxseemaxChain OUTPUT (policy ACCEPT 0 packets, 0 bytes)21:04
apxseemax pkts bytes target     prot opt in     out     source               destination21:04
apxseemax  47M 3119M ufw-before-logging-output  all  --  *      *       0.0.0.0/0            0.0.0.0/021:04
apxseemax  47M 3119M ufw-before-output  all  --  *      *       0.0.0.0/0            0.0.0.0/021:04
apxseemax19682 1271K ufw-after-output  all  --  *      *       0.0.0.0/0            0.0.0.0/021:04
apxseemax19682 1271K ufw-after-logging-output  all  --  *      *       0.0.0.0/0            0.0.0.0/021:04
apxseemax19682 1271K ufw-reject-output  all  --  *      *       0.0.0.0/0            0.0.0.0/021:04
sarnoldwow, drone's nice and quick :)21:04
sarnoldapxseemax: a pastebin site please, the pastebinit tool can make that really easy :D21:04
OerHeks!paste21:04
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.21:04
daxDrone also tells them about pastebins in PM iirc, which is handy21:05
dax(and I think Sigyn yelled at them too, lol)21:05
sarnolddax: oh sweet :)21:05
TJ-dax: it's teaching apxseemax about firewall rules and blocking :D21:05
TJ-apxseemax: it's possible that one of those supplemental ufw chains has a DROP at the end. you'd need to check if UFW has the concept of applying a default policy though21:07
apxseemaxhttps://codeshare.io/GAzqyv21:07
apxseemaxTJ-: posted both outputs into the bin https://codeshare.io/GAzqyv21:10
TJ-apxseemax: didn't you say you've another system doing firewalling upstream of this system? Is that allowing incoming 21 TCP and outgoing 20 TCP ?21:12
apxseemaxTJ-: it does as long as the request come from inside the /24 network the VM is in. Both machines are in the same net.21:13
apxseemaxthats why I whitelisted the /24 of the server21:14
apxseemaxso basicaslly anything 'inside' is cool, but internet is nono21:15
TJ-apxseemax: from the remote FTP client, if you switch it into PASV mode, does it connect and work correctly?21:15
apxseemaxstandyby21:15
apxseemaxTJ-: oh wow... I tried to connect to the wrong IP, interesstingly enough my server reacted to the wrong IP as well, but rejected it, which is now confusing me even more21:19
apxseemaxIf I connect it says no encrypted traffic is supported21:19
apxseemaxwhich is weird21:20
apxseemaxthis is with connection type default tho21:20
apxseemaxpassive is giving me the same message21:21
apxseemaxall on pure ftp that is21:21
apxseemaxhavent tried sftp, but it should work as well due to the openssh rule21:21
jrgSo i did a fresh install of ubuntu. And when i did it i had to disable modereset because it’s an A1022:05
jrgAnd i guess the install reverted to default grub options for boot. And i can’t seem to get a menu. Am i missing something here? Is there a key you press during boot to bring up a way to edit on the fly?22:05
jeremy31jrg, try the left Shift key or ESC early in boot22:09
jrgOk. Actually that was my fault. I’ll just pretend i didn’t do what i just did.22:10
jrgI pulled out the keyboard usb IR instead of the usb drive that i used to install... oops.22:10
jrgAlthough. Now it booted.. and all i see is started gnome display manager and ... no gnome heh. Maybe it’s just taking a minute since i have a platter connected and not an ssd22:11
jrgWeird. Just sitting here. Maybe something to do with it being connected to the hdmi port?22:14
mithrisonhi22:24
mithrisonwhere can I download Ubuntu Server Aeone from?22:24
tomreynmithrison: "Aeone"? do you mean !eoan22:25
mithrisonah yes!22:25
tomreyn!eoan22:26
ubottubuntu 19.10 (Eoan Ermine) will be the 31st release of Ubuntu, scheduled for October 2019 ( https://wiki.ubuntu.com/EoanErmine/ReleaseSchedule ). It will be supported for nine months. Join #ubuntu+1 for support and questions.22:26
mithrisontomreyn can I upgrade a bionic to eoan?22:26
sarnoldserver eoan install images http://cdimage.ubuntu.com/ubuntu-server/daily-live/current/22:26
sarnoldyou can upgrade bionic through cosmic and disco to eoan, yes22:27
OerHeksthat is live, this is the regular http://cdimage.ubuntu.com/ubuntu-server/daily/current/22:27
tomreyn"Join #ubuntu+1 for support and questions."22:27
sarnoldOerHeks: yikes, thanks22:27
OerHeksyou must have a reason to run non LTS22:27
mithrisonI'm on Raspberry pi. any notes on that? sarnold OerHeks22:28
OerHeksthere is a armv8 iso22:28
mithrisonOerHeks ya, bionic has problems with Raspberry pi. the new eoan has full support22:28
* dax throws a U at ubottu22:28
sarnoldmithrison: I used the server image for rpi3 no trouble on my rpi3: https://ubuntu.com/download/iot/raspberry-pi-2-322:28
mithrisonOerHeks is that the one with rpi3 support?22:28
mithrisonhmm interesting22:29
tomreynthanks dax22:29
mithrisonsarnold which version of ubuntu is that?22:30
sarnoldmithrison: that one is bionic22:30
mithrisonsarnold hah so is that a custom kernel and modules for rpi?22:30
OerHeksmithrison, read the whole wiki, you end up with https://wiki.ubuntu.com/ARM/RaspberryPi#Packages with a lot of tips22:31
sarnoldmithrison: probably; there's at least a linux-raspi2 source package http://ports.ubuntu.com/pool/main/l/linux-raspi2/ -- though the 'standard' linux source package also builds arm64 packages http://ports.ubuntu.com/pool/main/l/linux/22:33
mithrisonsarnold what does that mean?22:33
sarnoldmithrison: it means I don't know if the linux-raspi2 kernel packages are intended only for the rpi2 exactly or if they can also do newer rpis; and I don't know if the binary packages built from the linux package are suitable for rpi or only big arm64 hardware22:34
padarchm ... i have a weird issue. When there is much going on (alot of hdd writing/reading) and for example a video or music is playing in the browser, sometimes it stutters or stops for ~1sec. Is there an easy way to fix that? It does not happen on windows (so its not an hdd error)22:46
CodeMouse92padarc: (1) how much RAM does your device have, and (2) are you using swap? (Also, what version are you running)22:47
CodeMouse92*version of Ubuntu22:47
CodeMouse92(3) What is your CPU (speed, cores)?22:48
Sven_vBseems like my power management settings are now fixed. however, each time I reboot, the clock is about 10 minutes late, until I sync it again via ntp. what kind of effect could that be? an empty mainboard battery should set the clock to a fixed time, shouldn't it? and the timezone offsets for my region (CEST) are multiples of one hour, so it shouldn't be that either.22:50
padarcCodeMouse92: i have 8gb ram (most of the time barely 4gb are used), swap is 1gb (didnt change anything, it was created while installing that way). CPU should be more than enough i guess (ryzen 2600)... running on 19.0422:51
padarcCodeMouse92: oh, drive is encrypted (checked it while installing)22:51
* Sven_vB tries whether syncing hwclock might help22:53
jrgYeah i don’t get this. It just stays stuck at starting gnome display manager22:55
jrgAnd it never starts22:55
jrgBut you can tell it’s running because it’s not a normal terminal22:55
Sven_vBjrg, did you verify the boot command line has the options you suspected might have been omitted? also I'd remove quiet and splash.22:58
sarnoldpadarc: when the video or audio skips happen, does anything stand out in top or vmstat 1 ?22:58
Sven_vByay hwclock fixed it. I should probably add that to my ntp sync cronjob.22:59
tomreynjrg: i didn't understand this part:  "i had to disable modereset because it’s an A10". are you certain this is needed?23:03
tomreynjrg: did you try amdgpu.dc=0 instead?23:04
padarcsarnold: ok i googled a little. When i set the priority higher on ksysguard (im on kde atm, but it also happened on the standard desktop) and run "stress-d 1" on the terminal, it never skips except 1time in the beginning while playing videos. Without changing priority audio/video stops every 5sec for 0.5-1sec23:07
sarnoldpadarc: what's stress-d? I don't see it via apt-file search23:08
padarcsarnold: Its "stress" .. the -d option is for "stressing" the hdd23:09
sarnoldah!23:09
padarcsarnold: while running it, it takes up to 25% cpu .. i guess it goes so high because my drive is encrypted23:09
sarnoldpadarc: yes, that's quite likely :) heh23:09
jrgHm. Let me take a look at that. Would that be a kernel option around splash?23:17
jrgI’m still getting hung up at just a blinking cursor at the top left and no gnome. I managed to get it to start once and thought i had changed what i needed but that doesn’t seem to work anymore.23:19
tomreyn!kernelparm | jrg23:21
ubottujrg: To add a one-time or permanent kernel boot parameter see https://wiki.ubuntu.com/Kernel/KernelBootParameters23:21
jrgtomreyn: yeah that’s what i’m doing now23:21
jrgI’m editing grub on boot23:22
jrgTo find out where the problem is.23:22
tomreynokay, just wanted to make sure you know how23:22
tomreynamdgpu.dc=0 is a kernel parameter, yes23:22
tomreynwell one for the module really but you pass it on the "linux" line23:23
jrgI’m trying just ro ACPI=off noapic nomodereset and seeing what happens.23:24
jrgNope. Still just a cursor on top lol23:25
tomreynjrg: when you just boot to multi user mode, can you login and get / post a log?23:32
jrgSeems so. I haven’t tried single user yet.23:32
jrgI managed to get it to run once. Changed the default grub parameters to match what worked the first time. Now I’m stuck at it not working at all heh23:33
tomreynmaybe doa full power off, power on cycle23:34
jrgOh my. Finally got it to get back after disabling almost everything lol23:38
tomreyni don't think "nomodereset" is a valid kernel parameter. there is "nomodeset", disabling kernel mode setting.23:40
tomreynbut i don't think you need this on any amd GPUs23:41
tomreynthe systemd.unit=multi-user.target kernel parameter should boot to non graphical login (multi-user mode)23:43
jrgYeah. Sorry. I meant nomodeset23:44
jrgHm. If this boots now i think i figured it out.23:44
jrgOk. Guess not. It’s so random.23:45
jrgDisabling the load_video option in grub... then waiting for the blinking cursor.... then alt+F2 to swap to a console.. then i get a login.23:46
jrgI’m going to try that with no kernel options.23:46
jrgYup. That did it.23:48
jrgBut i don’t see where you get rid of that in /default/grub23:49
tomreynget rid of what exactly?23:50
tomreynit's /etc/default/grub23:50
jrgForgot the /etc23:53
jrgBut yeah.. seems like it’s the load_video portion that throws it off.23:54
jrgAnd setting grub to console is what fixed it.23:54
jrgSo now i get an ugly large boot... but at least the desktop starts without an issue23:54
jrgLet me go ahead and update it now that i figured it the booting problem. Thanks for the help.23:55
jrgilmanwow that was weird seeing jrg23:56
jrgilmanuh anyways23:56
jrgHaha. Well... small world i suppose.23:57
jrgilmanmy ubuntu desktop shat the bed yesterday, I have the hard drive and I'm on mac os x at the moment, how can I go about mounting a cryptfs drive so i can read the contents in mac os x23:57
jmghi all, suddenly my Xorg isnt starting and dmesg isnt showing anything with edid23:57
jmgit does scroll text before trying to start slim though, so its definately plugged in23:57
sarnoldjrgilman: install ubuntu in a VM, and pass the hard drive through to the VM instance23:59

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