/srv/irclogs.ubuntu.com/2019/06/02/#ubuntu.txt

TJ-kyle__: because when the /init script is running it gets the root device from the root=XXXX and if that doesn't match conf/conf.d/cryptroot you may not get prompted for the LUKS passphrase00:00
tomreynRoadRunner: thank you!00:00
RoadRunnertomreyn: :) what's your gut feeling - how long might it take to get ff working again?00:02
kyle__Sorry, running back and forth (kids have a sleepover)00:02
tomreynRoadRunner: i'm not a developer, can't tell. have you seen this bug report, and tried the workaround discussed there? https://bugzilla.mozilla.org/show_bug.cgi?id=1553422   this may not be the same issue, really.00:03
ubottuMozilla bug 1553422 in XPCOM "After upgrade to Firefox 67 under my Ubuntu 18.04 no more browsing possible" [Normal,Unconfirmed]00:03
RoadRunnertomreyn: I'll check it out, but copying and pasting btw boxes is a pain so takes a while :)00:04
tomreynRoadRunner: basically the workaround discussed there is:    sudo chown -R $USER:USER $HOME/.cache/mozilla00:05
TJ-tomreyn: might be worth using find to see if there are files not owned by $USEr first00:06
tomreynTJ-: yes that'd be better, but i compared to mine and it doesn't seem to be the case.00:06
tomreyn(if you can provide a better command, please do)00:07
TJ-RoadRunner: try "find $HOME -not -user $USER -ls " - if you get hits, those files are suspect00:07
TJ-the only legitimate non $USER files I know of are for vagrant or lxc (unprivleged) boxes/containers00:08
kyle__TJ-: grub's root= should that be the uuid of the physical boot partition, or the encrypted volume?00:10
TJ-kyle__: of the root file-system00:10
RoadRunnerTJ-: I tried your command and got over a screenfull of hits...00:10
TJ-kyle__: I use LVM so I'd have root=/dev/mapper/VG-LV00:11
TJ-RoadRunner: can we get that in a pastebin? " pastebinit <( find $HOME -not -user $USER -ls  ) "00:11
kyle__Hu... grub now thinks /boot is the root then.00:11
TJ-kyle__: separate file-system for /boot/ ?00:12
RoadRunnerpastebinit <( find $HOME -not -user $USER -ls  )00:12
kyle__Yeah.00:12
TJ-kyle__: then its possible the fstab is broken00:13
kyle__I don't know if it's actually always neccesary with an encrypted root, but it's what ubuntu likes to do by defualt00:13
TJ-kyle__: GRUB can use encrypted file-system too00:13
TJ-kyle__: GRUB_CRYPTODISK_ENABLE=y00:13
kyle__Hu.  Never played with that one.00:14
TJ-I've been using that since around 2007/800:14
TJ-the thing is, with no encrpytion of /boot/ the kernel/initrd.img can be compromised to capture the LUKS passphrase00:14
kyle__forceably reinstalled grub as well.  And trying again00:28
* kyle__ crosses ever finger00:28
TJ-did the fstab/UUIDs match for GRUB and crypttab/cryptroot?00:29
kyle__well helejulua00:31
RoadRunnerTJ-: http://paste.ubuntu.com/p/ht2Tr5hF6p/00:31
kyle__After I forcably reinstalled grub yes00:31
kyle__Whew.00:31
TJ-RoadRunner: in theory those shouldn't be hurting anything but it's worth correcting that, with " sudo find $HOME -not -user $USER -execdir chown $USER:$USER {} \; "00:33
RoadRunnertomreyn: not sure if your suggestion "bug.cgi?id=1553422  " is the same thing because there ff didn't open, in my case it opens but can't open any pages00:33
RoadRunnerTJ-: would you mind exlpaining that syntax to me?00:34
eraserpencilhttps://termbin.com/if7a00:35
eraserpencilim not sure how to troubleshoot the error im getting. it seems these are display errors. But i can run the command pretty fine on the terminal00:36
TJ-RoadRunner: the find command?00:38
RoadRunnerTJ-: "chown $USER:$USER {} \; "00:39
TJ-RoadRunner: for each file that is NOT owned by $USER  change owner:group to $USER:$USER. In 'find' the "{}" is replaced by the name of the file that matched00:40
TJ-RoadRunner: so it ends up executing, in the directory where the file resides, "chown $USER:$USER filename"00:41
RoadRunnerTJ-:  thank's :)00:42
RoadRunnerTJ-: it worked! ff is browsing fine now! so what where those nasty files, where did they come from and will I need to do this "cleanup" every time before starting ff in the future?00:48
RoadRunner*what were...00:48
Carlito98890https://bugs.launchpad.net/ubuntu/+source/linux/+bug/183130100:50
ubottuLaunchpad bug 1831301 in linux (Ubuntu) "sound doesn't works in both kernel. no one cards is recognize by system-" [Undecided,Confirmed]00:50
OerHeksCarlito98890, 18.,04 with 5.x kernel, did you install HWE-edge?00:51
Carlito98890oer idk i follow users instruction00:56
sappheirosIs there an easier method to encrypt an external hard drive to be readable on any OS than using tcplay in terminal?00:56
Carlito98890OerHeks: idk i did follow users instruction01:00
=== zbenjamin is now known as Guest75803
=== zbenjamin_ is now known as zbenjamin
ParticleXHey, where is the file that saves the information of the who command stored?01:11
Carlito98890https://bugs.launchpad.net/ubuntu/+source/linux/+bug/183130101:19
ubottuLaunchpad bug 1831301 in linux (Ubuntu) "sound doesn't works in both kernel. no one cards is recognize by system-" [Undecided,Confirmed]01:19
FaTaL_Ggood evening.... I'm really stumped & annoyed with Ubuntu, or I guess..... Grub .... not sure :/01:31
FaTaL_GI've been running a 16.04 machine, and for the most part, its been pretty solid ... for the most part. But I have had a number of issues after doing an apt-get update/upgrade, where grub just boinks itself01:32
FaTaL_GIt doesn't error on the upgrade, but if I reboot.... its hosed. Each time this has happened to me, its been something different01:33
FaTaL_GI'm getting a "incompatible license" error. But I can see all the files. When I try insmod normal, I get the incompatible license error as well01:34
FaTaL_Ganyone willing to point me to a quality or helpful rtfm? Everything Im finding is pretty old, and not applicable to my system (so it seems). Im not dual booting.01:35
FaTaL_GThe advices I'm finding online do not address the issue where, when I type "insmod normal" I again, get the error, incompatible license01:40
FaTaL_GI'm assuming something went wrong with the latest build of the kernel... so I want to revert to a working previous, but no idea how to tell it ... which "normal" is normal01:41
=== blaster is now known as gorpy
guivercFaTaL_G, the answer to this (https://unix.stackexchange.com/questions/74087/grub-incompatible-license-error) provides some clues as to the error message, but I have no experience with the issue so can't advice further osrry01:56
FaTaL_GI found that link too, but kinda glazed over it because he isntalled lilo02:00
FaTaL_Galthough technically, he was having grub issues02:01
FaTaL_Gwhen I try the boot-repair tool, it seems to work, but I get three "W:" warnings?02:14
FaTaL_Gpossible missing firmware for i915 paths 1.) kbl_guc_ver9_14.bin 2.) bxt_guc_ver8_7.bin, both are for module i915. And then /etc/mdadm/mdadm.conf defines no arrays02:16
ApachezI dont get it, latest updates of ubuntu makes cpu cores average at +50C instead of +30C02:18
FaTaL_Greally?02:24
FaTaL_GIs this a measured temp from a tool not controlled by the PC or is this a cpu/mobo sensor?02:25
Apachezsensors02:28
Apachezcoretemp-isa-000002:29
ApachezAdapter: ISA adapter02:29
sappheiros!encrypt02:31
ubottuError: unresolvable <alias> to encrypted02:31
sappheiros!encrypted02:31
FaTaL_GMy guess (and I'm only guessing), is that the 50C temp might be correct. I know many manufacturers have variations in the onbord sensors and how they report - so the devs may have made those adjustments/offsets to account for it with your chipset. I'd at least check in BIOS and see what it is reporting for temp02:32
Apachezthe thing is that these numbers were way lower some updates ago02:34
sappheirosIs there a preferred method for encrypting USB drives to be accessible across OS? VeraCrypt isn't in the muon package manager ...02:39
Apachezthe preferred would be to use something like a datashur drive02:39
Apachezhttps://istorage-uk.com/wp-content/uploads/2018/10/iStorage_product-range_comparison-matrix_digital.pdf02:40
sappheirosApachez: i just want to safeguard others' intellectual property when i copy my music collection to disk.02:40
sappheirosi don't need government spy-level security.02:41
sappheirosi.e. so if someone steals my USB drive, they won't also have others' property copied for them to pirate, etc02:41
FaTaL_GgallI'm saying Apachez, is that the number "some updates ago" were probably flat out wrong02:42
FaTaL_Gglook at bios and see if its reporting more like 30 or 5002:42
Apachezsappheiros: thats how datshur drives works02:43
leftyfbsappheiros: there is no cross-platform encryption method in the official ubuntu repos02:43
Apachezif you dont know the pin the drive will reset after the 10th failed attempt02:43
Apachezor whatever you configured it too02:43
FaTaL_GgI'd check for bios firmware updates too. dont necesarrily run it, but at least look at its changelong02:43
FaTaL_Ggchangelog02:43
Apachezthey also have readonly pins you can set02:43
sappheirosApachez: i think i need 100 GB or more02:43
leftyfbsappheiros: if you're going to do run something crossplatform, I would suggest veracrypt. Though it won't be supported here.02:44
sappheirosgotcha. thank you.02:44
Apachezsappheiros: check the comparision matrix I pasted02:44
Apachezthey exist up to 14TB currently02:44
sappheirosoh wow02:45
sappheirosthat is cool02:45
Thr0rApachez: Wish you would register that as an issue to Ubuntu - this temperature thing. I have recently installed ubuntu studio and xubuntu on two different laptops and the fan on both are going like crazy even if I don't have many apps open. It was not  like that on my win7 install. Replacing Fans are a lot of work on laptops.. You seem to have the skills to register such an issue and give proof.02:48
Apachezat least I dont seem to be alone on this02:49
FaTaL_GgI would think the bios value at idle, and a linux at idle would be enough to point out a disparity02:50
FaTaL_Ggbut I'd speculate amd vs intel chispets of various series may show a delta02:51
EickmeyerThr0r, Apachez: Which version of Ubuntu?02:51
Apachezcurrent02:51
Apachez19.0402:51
Apachezcould of course be due to something in TLP02:51
EickmeyerThr0r: Same?02:51
* Eickmeyer suspects the kernel02:52
Thr0rStudio is 19.04 and xubuntu is 18.04.202:52
* Eickmeyer is the Ubuntu Studio lead02:52
Apachezpreviously when I quit csgo and closed chrome (so only thing actually running in front is the hexchat for irc) the temp went fairly quick down to +30ish02:52
Apacheznow it hovers around +45-50C02:53
Apachezusing passively cooled system so there is no fan throttling since well there are no fans :P02:53
sappheirosis this still the go-to resource? https://help.ubuntu.com/community/FullDiskEncryptionHowto02:53
EickmeyerThr0r: I'd suspect it with the lowlatency kernel (tends to run a bit hotter), but the Xubuntu issue puzzles me.02:53
Apachezusing the regular kernel as far as I know02:53
ApachezLinux nuc 5.0.0-15-generic #16-Ubuntu SMP Mon May 6 17:41:33 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux02:54
EickmeyerIt even may have been a kernel update, even a security fix common to both kernels.02:54
Apachezjun 01 21:31:08 nuc kernel: microcode: microcode updated early to revision 0x25, date = 2019-02-2602:54
Apachezjun 01 21:31:08 nuc kernel: Linux version 5.0.0-15-generic (buildd@lcy01-amd64-025) (gcc version 8.3.0 (Ubuntu 8.3.0-6ubuntu1)) #16-Ubuntu SMP Mon May 6 17:41:33 UTC 2019 (Ubuntu02:54
Apachezjun 01 21:31:08 nuc kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.0.0-15-generic root=UUID=517eb585-b329-4005-8112-3b327018f192 ro quiet02:54
Apachezfirst lines out of journalctl -b02:55
Eickmeyer!paste | Apachez02:55
ubottuApachez: 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.02:55
Eickmeyer!bug | Thr0r, Apachez: I suggest filing a bug against "linux" using this method:02:56
ubottuThr0r, Apachez: I suggest filing a bug against "linux" using this method:: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.02:56
slothso, df -h shows /dev/vda2 which is mounted on / as being 2.5gb all of which is full, however fdisk -l shows /dev/vda2 as being 14gb02:57
slothwhats going on there02:58
Thr0rEickmeyer: I've just been using linux for a couple of weeks and I am not going to report a bug so soon. But still wanted someone to look into it...02:59
EickmeyerThr0r: That's the only way it's going to happen is with a bug report.02:59
Thr0rok02:59
netkam2anyone know an alternative to pressing (up arrow) in irssi to get previous commands?03:01
Carlito98890https://bugs.launchpad.net/ubuntu/+source/linux/+bug/183130103:02
ubottuLaunchpad bug 1831301 in linux (Ubuntu) "sound doesn't works in both kernel. no one cards is recognize by system-" [Undecided,Confirmed]03:02
EickmeyerCarlito98890: Please do not post random bug reports here. The fact that there is a bug report is enough, no need to draw further attention in here.03:04
Carlito98890ok thanks03:04
Thr0rEickmeyer: You seem to have scared everybody off here :) But if this issue with fan/temperature is not fixed in the near future I will try to make a bug report. Only thing is that I am not sure I will be able to provide all info required since I am so new to Linux. I have created enough bug reports in other systems to know that the info they require is huge..03:29
untakenstupidniccan i replace my elementaryOS with a newer Lubuntu but keep my applications?04:09
Bashing-omuntakenstupidnic: see: ` apt show debfoster ` .04:11
untakenstupidnicBashing-om: i am on puppylinux now, can you explain a bit?04:13
Bashing-omuntakenstupidnic: The tool allows one to rcord and reinstall Install only wanted Debian packages04:14
untakenstupidnicwill try it, thanks.04:14
guivercuntakenstupidnic, I don't know elementary & have no experience with it, but you can install using 'something else', selecting your partitions & ensure there is NO tick 'format'. it'll cause your added programs to be noted, system dirs wiped clean, install, then it attempts to re-add back your programs (if available in repos for your new ubuntu) but I have no idea how well this will work with elementary05:14
guivercsorry, I forgot to look at time stamp :(05:15
untakenstupidnicwhy? good advice05:15
=== client3521 is now known as client35
=== himcesjf_ is now known as him-cesjf
rgvonhello! unable to connect my Yu Yuphoria 5101a Android 5 to Kubuntu 18.04. This error comes up - The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/ does not exist.09:12
tomreynrgvon: maybe try asking this in #kubuntu - this seems toi be an error message presented by the kde file browser.09:27
tomreynrgvon: in the end it's an MTP issue, but i don't know how kde uses it.09:28
tomreynoh apparently you asked in #kubuntu, too, ok09:29
Blimpohi all, quick question; why is it that every time i boot and log in to 18.04.02 it wants me to enter my password again like i opened something with admin credentials? is this a known issue?09:54
mousesBlimpo: Not sure I understand - so what you want is to boot without being required to sign in as a user?09:55
Blimpono sorry. so i boot up my computer, ubuntu asks for my credentials and i log in. then once on the desktop a prompt comes up for another password entry, like i were opening synaptic package or something requiring admin rights09:56
tomreynBlimpo: that's not how it should be. normally, you'd log in and there'd be no further password prompts until you manually run a software which requires sudo permissions.10:00
tomreynBlimpo: maybe you have setup applications to auto-start which require such elevated permissions?10:01
tomreyndoes the password prompt say what is being launched or what is being permitted there?10:02
Blimponot sure, I could reboot and see. i used to be really in to ubuntu at like version 14 and things have changed, where do you see auto launch apps at?10:03
tomreynif oyu run the standard gnome(-shell) desktop, then there'll be ~/.config/autostart/10:04
tomreynGnome Tweaks (sudo apt install gnome-tweaks) also lists "Startup Applications" on the GUI.10:05
Blimpohmm yeah no startup applications10:06
Blimpoi'll brb10:06
Blimpook so I mistook it for admin rights, it says a keyring couldn't be unlocked10:09
Blimpoand it only came up when i opened chromium. so I open chromium so fast on boot i assumed it was the system. still not sure about keyring stuff especially when i'm using keypass10:10
mousesBlimpo: lol I had a feeling about this10:13
mouseshere's your issue:10:13
mouseshttps://askubuntu.com/questions/31786/chrome-asks-for-password-to-unlock-keyring-on-startup10:13
mousesalso see:10:13
mouseshttps://ubuntuforums.org/showthread.php?t=237703610:13
akemHey, I have a problem with 18.04, after 1 night of running with few apps like firefox, some streaming and IRC, nearly all my memory is used but i can't see what is using it, any help please https://imgur.com/a/QWH1Ubf10:14
akemI can't find what process is using it, i tried restarting the gnome shell without success (since i had problem with it in last ubuntu version).10:14
lotus|NUCBlimpo tomreyn mouses we should actually make a bug or existing for it, i also has that on chromium10:15
lotus|NUCevery boot10:15
mouseslotus|NUC: it's not really a 'bug'10:15
lotus|NUCmouses: well its surely annoying it doesnt remember10:15
mousesYeah - It's chrome really, I can't say it's the worst decision as a lot of users store many many passwords and full access to many things in the browser10:16
mouseseasy to change it though10:16
mousesakem: I'd fire up htop (sudo apt install htop)10:17
mousesand then click on RAM to sort by it10:17
lotus|NUCmouses: only firefox for me now :p10:18
mouseslotus|NUC: I've been using chrome but with my VPS running pihole, all chrome related password storage features turned off, deploy of bitwarden on VPS to manage all the 2fa and passwords and things10:19
mouseslotus|NUC: that way if someone stole my laptop or something and I was still logged in, they can't really get all my logins :)10:20
Blimposo i mean, if i just have my settings like usual as in chrome doesn't remember passwords and keepass add-on brings them up for me changing to basic *should* be ok?10:20
mousesBlimpo: totally10:20
mouseskeepass is also a fine solution, so changing to basic is fine10:21
Blimposweet10:21
akemmouses, thanks, it looks like gnome-shell is the problem: https://imgur.com/v5OKdLN10:21
akemAny solution with that? i don't know why it's not visible in regular "top"10:22
mousesakem: you got something weird going on there lol10:22
quazimodohola10:22
akemIt's eating up all my memory :(10:22
quazimodowhat's the daemon that throws up the notifications on the top right?10:22
akemI have one gnome extension that change desktop when i scroll on the topbar but that's all, everything else is standard Ubuntu.10:23
anandubajithjoin #archlinux10:23
mousesakem: disable that extension and see if you can reproduce the problem with it disabled, I'd say10:24
akemOkay, well i have disabled the extension, i will reboot and try to use the computer the same way for 1 day...10:30
akemThanks mouses.10:30
PCatineanHey guys, when I do df -h I see /dev/sda having used 75% of the disk space. But when I do ncdu I see only a few GB being used. How do I find out what's occuping space in /dev/sda ?10:34
akemI used the same extension on 17.10 and i didn't have this problem so i think it's something else :/ cause it's the same machine, just upgraded.10:34
PCatineancorrection it's /dev/sda110:35
BluesKajHey folks10:35
akemHi.10:36
akemPCatinean, I think there is a gnome tool for that, displaying what's eating up space but i can't remember the name...10:37
PCatineansda1 is mounted at /10:37
PCatineanakem, I'm on a server unfortunately10:37
PCatineanncdu is really good for CLI but that shows just a few gb in /10:38
akemHa ok. there is "du -sh" but you have to scan files by yourself.10:38
PCatineanah wait......10:39
PCatineanI did not run ncdu as root, that might be a problem lol :)10:39
renn0xtk9I have a programm (tensorflow ) that requires avx instructions however it seems in lscpu that my system does not support those. According to intel , my current processor DOES support these. I n my understanding, the problem is on ubuntu side (my kernel does not support it or somethign)10:44
renn0xtk9anybody has more informations/knowledge and could give a hint how to solve this10:45
akemThat's right now after my reboot, is it normal all theses gnome-shell process? https://imgur.com/a/TT2HOWE10:50
Steven_does anyone know how to do a fully automated install of ubuntu 19.04 desktop?11:02
rorySteven_: you can use Kickstart. Follow the steps here, but replace filenames etc with ubuntu 19.04 http://gyk.lt/ubuntu-16-04-desktop-unattended-installation/11:05
rorySteven_: there's more info on Kickstart file, and another example here https://help.ubuntu.com/lts/installation-guide/i386/ch04s06.html11:05
Steven_rory: I've come across this one and couldn't get it to work11:06
Steven_can you confirm that this is supposed to work? or did you assume I didn't google before asking my question?11:06
roryi don't see why it wouldn't work on 19.04. how far did you get?11:07
Steven_I get the language prompr11:07
Steven_prompt11:07
Steven_so it seems like the kickstart file is plainly ignored11:08
Steven_I suppose I could try again11:08
Steven_maybe I made a typo somewhere11:08
rorydid you select the autoinstall boot menu option you created?11:09
roryalso, check if the path you specified, maybe /cdrom/preseed/ubuntu-server.seed is accessible from the livecd11:10
Steven_rory: no luck11:45
Steven_it's crazy how complicated it is to do this11:47
lotus|NUCSteven_: is it an ubuntu iso you trying to make?11:49
Steven_I'm trying to take an ubuntu desktop iso and make it into a fully automated install cd11:50
Steven_the installer only asks maybe 10 questions11:50
Steven_this should not be this complicated11:50
Steven_is there some way to debug why things are going wrong?11:50
lotus|NUCSteven_: we hear good things of cubic, just keep in mind its an external ppa, not supported here11:50
Steven_what is that?11:51
lotus|NUCSteven_: https://www.techrepublic.com/article/how-to-create-a-custom-ubuntu-iso-with-cubic/11:51
lotus|NUC!ppa | Steven_ see also11:52
ubottuSteven_ see also: A 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-purge11:52
mousesakem: I'm not really sure - kinda hard to say based on that.  Looks normal?  You're looking at a list of threads11:52
Steven_wow, cubic looks even more complicated11:52
mousesakem: https://superuser.com/questions/118086/why-are-there-many-processes-listed-under-the-same-title-in-htop11:52
lotus|NUCakem: what kind of specs you have on gnome3 and wich kernel are you on please?11:54
Steven_cubic would be so much more useful if it was not a GUI app11:55
lotus|NUCjust trying to widen your options Steven_11:56
Steven_thx11:56
Steven_unfortunately, it seems that cubic doesn't do preseeding or kickstart11:57
Steven_so it just rebuilds an ISO, which I have a script for11:57
lotus|NUCoh okay, then proceed with what rory suggested11:58
akemlotus|NUC, stock gnome on ubuntu 18.04.2 (gnome-shell 3.28.3) kernel 4.18.0-20-generic, i have one kernel option "pci=noaer" otherwise i got syslog flooded with some pci messages11:59
lotus|NUCakem: yeah might be usefull to see your whole dmesg12:00
akemlotus|NUC, https://pastebin.com/p3Tum9Bh12:04
lotus|NUCakem: are you on nouveau?12:07
akemlotus|NUC, yes.12:08
lotus|NUCakem: wich card chipset please12:08
TJ-akem: what's the problem?12:09
akemlotus|NUC, 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)12:09
TJ-akem: I notice you've got kernel stack-traces due to the 3-axis accelerometer12:09
akemlotus|NUC, there is also intel on this laptop.12:09
lotus|NUCakem: wich drivers show on ubuntu-drivers list plz?12:09
akemTJ-, memory issue, 3-axis accelerometer? i have no idea what that is but i removed iio-sensor, because it was rotating my screen sometimes and it's a laptop it shouldn't.12:10
BluesKajakem, optimus gpu system ?12:11
akemlotus|NUC, nvidia-driver-39012:11
lotus|NUCakem: i would try the 390, see if it influences your gnome experience12:12
akemBluesKaj, There is both intel and nvidia that's all i know, but i prefer to use Nouveau if i can rather than nvidia drivers.12:12
akemlotus|NUC, you mean install the nvidia drivers?12:13
lotus|NUCakem: for optimus cards its reccomended to install the nvidia drivers yes12:13
game0 guys, I'm trying to modify a script to check yesterday date using variable12:13
akemlotus|NUC, I see, i'll try that then.12:13
game0date = $(date -d "1 day ago" '+%Y-%m-%d')12:13
TJ-akem: have you checked for updated BIOS from HP for that system?12:13
game0grep $date test.log12:13
game0can someone check where I'm wrong in this12:14
akemTJ-, no12:14
TJ-akem: I tried but it wants the serial number in their web-site; I'd suggest doing that first, because I see hints there have been several updates since the F.08 currently installed12:15
TJ-akem: try from https://support.hp.com/gb-en/drivers/laptops12:15
TJ-game0: what's the problem?12:15
game0hi TJ thanks for your responce. I want to modify an available script from date=$(date +"%Y-%m-%d") to date = $(date -d "1 day ago" '+%Y-%m-%d')12:16
TJ-game0: you know that spaces are illegal between variable-name and = symbol? as in it should be: date="$(date -d "1 day ago" '+%Y-%m-%d')"12:16
akemlotus|NUC, i install that: xserver-xorg-video-nvidia-390 - NVIDIA binary Xorg driver ?12:17
akemTJ-, Ok i will have a look12:17
lotus|NUCakem: sudo apt install nvidia-driver-390 should do it all for you12:17
game0thanks TJ, I will test it now12:18
akemlotus|NUC, Ok it works, thanks.12:18
akemThanks TJ- too.12:18
lotus|NUCakem: after install you can switch performance mode/powersaving mode from nvidia-settings12:20
akemIt's installed, i'll reboot now, brb.12:23
akemTJ-, you think i must update the BIOS? / i entered my SN, i see BIOS F.52 Rev.A12:29
akemI'll try just that, cause there are also firmware stuff but it's not clear, about the hard drive etc.12:31
renn0xtk9piip3 is broken on ubtunut  and sudo apt install --reinstall python3-pip wont' fix it any idea ?12:36
renn0xtk9I get that https://bpaste.net/show/a5154921213c12:37
=== zenguy is now known as coffeeguy
akemOk i flashed the last bios [   17.560180] Hardware name: HP HP Pavilion Notebook/820A, BIOS F.52 05/02/2019 and i got nvidia drivers, so i just wait and see now, also my gnome extension is disabled so it's stock ubuntu 18.04 now.12:47
lotuspsychjeakem: great, lets see if you can reproduce now12:48
lotuspsychjeakem: maybe you can install preload too, helps getting things smoother12:49
akemlotuspsychje, what is preload?12:49
lotuspsychje!info preload | akem12:49
ubottuakem: preload (source: preload): adaptive readahead daemon. In component universe, is optional. Version 0.6.4-2build1 (bionic), package size 33 kB, installed size 102 kB12:49
lotuspsychjeakem: its just install & reboot, dont need to config12:50
=== jelly-home is now known as jelly
akemIt's some optimisation daemon hm ok.12:51
QuickXXrenn0xtk9: Maybe this could help: https://stackoverflow.com/questions/49836676/error-after-upgrading-pip-cannot-import-name-main I remember that I had the same problem a while ago but I can't recall what I exactly did to solve it.12:54
pragomerhow can I change the (Kind of purple) background color of ubuntu 18.04 's lockscreen? (the unicolored one)13:22
akempragomer, in settings, background lock screen13:29
akemYou can set another picture.13:30
Steven_looks like I'm going to have to rip apart the ubuntu installer to see how I can automate it13:49
yao_ziyuani'm running ubuntu 18.04.1 LTS on an internal SSD. i also auto-mount an internal mechanical HDD at ubuntu startup. the problem is files removed from this HDD don't go to Trash (they get deleted permanently). how do i enable Trash for this HDD?14:15
yao_ziyuani found an answer with google. add 'uid=1000' to the relevant entry in fstab.14:26
mircea_popescuhi. trying to install 18.04 on entirely new hardware from bootable stick. item boots, lets me select whether i want to try ubuntu or install ; if i choose to install it fiddles a while then dies complaining initramfs couldn't find live filesystem.14:33
mircea_popescuis it the case i can't use the bootable installer to partition and format a new hard drive ?14:34
mircea_popescumeanwhile found workaround : on gigabyte boards, explicitly enabling iommu driver in bios fixes the issue. thx all!14:42
anibicCan anyone tell me the channel to seek help for Qubes OS15:36
jeremy31anibic: /join #qubes15:37
multifractalMy trackpad input keeps randomly freezing up, and the cursor disappears. I am able to use the touchscreen to control things still, but my only solution is to reboot. What might be causing this, and is there somewhere I can find relevant logs?15:37
M_aDanibic: first hit on google when searching for: qubes os irc https://nukama.github.io/community/15:45
felcosup guys, i trying to run the lsi megaraid storage manager on ubuntu16:16
felcoand it asks for the root password, i didn't set the root password and I would better to use that way16:16
felcoanyone knows a way to get rid of the auth?16:17
Eickmeyerfelco: That's not something that is included in the Ubuntu repositories, so you're on your own, no support here. Sorry.16:24
EriC^^felco: usually the docs of the program might say how to go about installing it on ubuntu16:32
felcoyeah sure, what I was hoping is that someone that use the software would be around16:32
felcono worries guys =16:33
felco=]16:33
EriC^^yeah who knows16:33
TJ-felco: does it ask that if you run it using "sudo ..." ?16:42
felcoTJ- Yes, and that is dumb if you ask me16:45
felcoEven if I type my login, which is on sudoers, it still don't give me administrative access16:45
TJ-felco: is the 'program' you're starting actually a shell script? "file $( which <name> )"16:46
felcoTJ- Yes16:46
TJ-felco: if it is a script you should be able to read it, and find out what program it is actually executing16:46
TJ-felco: then execute that program using sudo, or edit the script so it doesn't ask for root password if already UID==016:47
felcoOh, it is running a Java program16:47
TJ-felco: can you pastebin this script?16:47
felcoTJ- There is something you didn't get about this, the program opens up and present you a Login screen, so you may think it uses a local db to auth16:48
felcobut it requires you to type in the root password16:48
TJ-felco: oh! so is it the OS's 'root' user or some internal account?16:48
felcoThe OS root's16:49
felcoWhat amazes me is that it may be hardcoded to require root, because my login is on sudoers16:49
TJ-feoh, so you're talking about the 'client' that connects to the manager backend ?16:51
felcoTJ- Yes, it is pretty much it, there is a backend16:52
multifractalMy trackpad input keeps randomly freezing up, and the cursor disappears. I am able to use the touchscreen to control things still, but my only solution is to reboot. What might be causing this, and is there somewhere I can find relevant logs?16:54
TJ-felco: I'm downloading it to see what its up to :)16:54
lotuspsychjemultifractal: wich ubuntu version/kernel and computer brand is that?16:55
felcoTJ- Nice, thanks for taking the time16:55
TJ-felco: looks like it is all shell-script or Java , nothing architecture-specific17:00
multifractallotuspsychje: dell 9365, ubuntu 16.04, kernel 4.15.0-50-generic17:01
lotuspsychjemultifractal: can you share us your dmesg please?17:01
multifractalhttps://pastebin.com/vzuN2Zmv17:03
felcohow bad is if I set a password for the root user?17:04
ioriafelco, looks like MSM does not accept a regular user account on Ubuntu, that's why it wants root17:04
faLUCEhello. touchpad on my dell inspiron mini is not working properly. More precisely, lubuntu sees the lower part of the touchpad (where there are the two buttons) like the remaining part, so it mixes buttons and mouse movement... how can I fix that?17:05
felcoioria I would say that it doesn`t allow regular users in any flavor, the broadcom article about it even states that you have to setup a password for the root17:06
ioriafelco, yes ... and can't you use alternatives ?17:07
felcoioria there is no GUI alternative, only CLI17:07
ioriaho, yes i see17:07
felcostorcli works great, I may endup using it17:07
ioriafelco, dmraid + Webmin  (bit the last is deprecated on ubuntu)17:09
lotuspsychjemultifractal: from lines 916 things start to go wrong, not sure if its related17:09
felcoioria I will look into it17:09
ioriafelco, http://michal.karzynski.pl/blog/2009/11/18/mdadm-gui-via-webmin/17:09
azxi have installed kde-desktop and it gave me plasma 5.12.717:10
azxhow can i update it to 5.13?17:10
azxi have the latest LTS version of ubuntu17:10
lotuspsychjemultifractal: does your touchpad start going weird after a suspend/wakeup perhaps?17:11
felcoazx You can check at packages.ubuntu the latest version for the your Ubuntu release17:11
multifractallotuspsychje: I don't think so. I've noticed it become inoperative right in the middle of use.17:11
lotuspsychjemultifractal: ok, its weird, both acpi & cpu throttles arise at the same time17:12
multifractalAbout a month ago I had my motherboard replaced by Dell service, because the headphone jack was loose.17:12
lotuspsychjeim not sure what could trigger this, maybe someone else has ideas17:12
multifractalIt never gave this problem before the motherboard swap, although I didn't notice the problem starting to happen right away.17:13
lotuspsychjemultifractal: did you add the acpi_osi=Windows 2015 line yourself?17:13
azxit doesn't look like packages.ubuntu.com has plasma 5.1317:13
felcoazx Is possible that version isn't avaliable yet17:14
multifractallotuspsychje: Maybe, that would have been a long time ago, whilst trying to get it to dual boot Ubuntu and Win10 there were a lot of problems about not detecting the drive by both OS installers.17:14
azxI wanted to enable transparency in konsole, and the article is telling me it is only available on plasma 5.1317:15
azxi could always get a different terminal app, but i have grown to like konsole17:15
azxPlus, plasma 5.13 probably has a lot of other features i would enjoy17:15
felcoazx you may want to check if it is avaliable for Disco Dingo17:16
felcoUbuntu 19.0417:16
TJ-felco: I did a "grep root" in the install directory, it came up with a language file hit with a hint that adding your user to the 'root' *group* may be possible. Not tested that as yet, have to go to dinner17:16
felcoTJ- Nice, let me check this17:16
lotuspsychjemultifractal: for the acpi part, you could check if your bios is up to date17:17
TJ-felco: see also " In Linux, users belonging to the root group can log in. You do not have to be the user root"17:17
lotuspsychjemultifractal: or try one of TJ- 's magic acpi kernel options17:18
multifractallotuspsychje: In the short term, is there any program/command I can run to "restart" the service that runs my mouse/cursor? Rather than the hassle of rebooting? Only logging in and out doesn't seem to fix it.17:18
felcoTJ- no juice, thanks anyway dude, really appreciated17:18
lotuspsychjemultifractal: in my opinion, try to find the root cause of this, or !bug instead of temp fix/workaround17:19
TJ-felco: there's some config (.js ) files that you might be able to edit to allow it, too17:19
multifractalSo there is no workaround? Restarting lightdm didn't restore the cursor.17:20
CoolerZcan anyone confirm if 67 is the latest firefox for ubuntu 18.04?17:20
lotuspsychje!info firefox bionic17:20
TJ-felco: did you add your user to 'root' group, but not make that effective before starting the GUI ?17:20
ubottufirefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 67.0+build2-0ubuntu0.18.04.1 (bionic), package size 49345 kB, installed size 185418 kB17:20
lotuspsychjeCoolerZ: ^17:20
TJ-felco: if you don't want to log-out/log-in, then do "newgrp root <command>"17:21
felcoTJ- I started a new console, did a groups to check if I were in the root group, and started the GUI, no avail17:22
multifractalAfter restarting lightdm the cursor briefly appeared, but still didn't move in response to touchpad inputs. The touchscreen remains operative.17:23
CoolerZI have 66.0.217:24
CoolerZlotuspsychje, ^17:24
CoolerZapt-get upgrade didn't change that17:24
lotuspsychjeCoolerZ: can you pastebin: lsb_release -a && uname -a && apt-cache policy firefox17:25
CoolerZhttps://bpaste.net/raw/c51ad3ff399e17:26
CoolerZlotuspsychje, ^17:27
lotuspsychjeCoolerZ: kernel is not up to date17:27
lotuspsychje!uptodate | CoolerZ17:27
ubottuCoolerZ: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.17:27
CoolerZfull-upgrade?17:28
CoolerZah it's doing that thing again where it says "waiting for headers" for several minutes and then fails17:29
CoolerZ93% [Waiting for headers]17:29
EriC^^CoolerZ: that's probably an internet connectivity problem17:30
CoolerZnope i have gigabit wifi17:30
CoolerZ4k videos load fast17:30
felcoCoolerZ that means nothing17:30
EriC^^intermittent problem maybe17:30
CoolerZfirewall must be blocking something17:30
felcoStill may be a problem with your ISP17:30
felcoOr even the mirror, not likely17:31
CoolerZcan i ping the servers and see? what are the servers it uses?17:31
CoolerZhttps://bpaste.net/raw/a43171ea718817:32
felcoYeah pretty much a connection problem17:33
CoolerZhttps://askubuntu.com/questions/1033906/sudo-apt-get-not-working-in-18-0417:33
CoolerZprobably my college firewall blocking things17:34
felcoIn Gentoo we have a script that tests for the best mirror and setup it17:34
felcoI don't know if Ubuntu have something like it17:34
felcoWould be nice17:34
CoolerZdoesn't matter if they are all blocked17:35
felcoCoolerZ It is not likely to be the case, because those connections are HTTP, so it is likely blocking websites17:36
CoolerZno they block certain ips and domains17:36
felcolike blocking websites17:36
multifractalI tried `sudo modprobe -r psmouse` but that also didn't restore my trackpad17:37
friendlyGoatanyone have experience with KDE Connect? it works and all but whenever i get a text the notifications FLOOD my whole screen and i have no idea how to get it to stop.17:47
friendlyGoatalong with that my other situation is still this https://askubuntu.com/questions/1147801/bios-contains-wgds-but-no-wrds17:47
M_aDmaybe you're better off in #kubuntu or #kde17:48
M_aDwhen it comes to KDE Connect that is. It is KDE software after all17:49
TJ-felco: I can't get the UI to detect the server manager; is there anything special you did?17:55
friendlyGoattrue, thanks.17:59
MarkB2There is an error message showing up during boot on my 18.04 64-bit system: "NVRM: Your system is not currently configured to drive a VGA console".18:00
M_aDfriendlyGoat: what DE do you use anyway?18:00
friendlyGoatXubuntu actually.18:00
MarkB2Some digging produced a note that I need disable "csm".  This is on a non-UEFI motherboard with an older NVidia GT-7800 video card.18:01
MarkB2Could someone advise as to where this "csm" module is located and how to delete or disable it?18:02
MarkB2(Several Google searches produce the advice "turn off csm" but not how it was done).18:03
xamithanHow would we know,  that is something in your motherboard BIOS18:04
TJ-MarkB2: CSM is a UEFI-only legacy support for BIOS mode booting, so it won't have it18:04
MarkB2The motherboard is not a "UEFI" type.  It's older than that.18:04
TJ-MarkB2: CSM == Compatibility Support Module18:04
MarkB2Oh.  Then the error message is ..confusing.  It's complaining because there's no support for something that isn't there?18:06
TJ-MarkB2: the reason is the kernel is being started in a graphical video mode which the nvidia console driver doesn't support. This is likely because, by default, the GRUB boot-loader puts the system into a grpahical mode (to look pretty!) and the Linux kernel inherits that.18:09
TJ-MarkB2: you *may* be able to avoid it by adding to /etc/default/grub "GRUB_GFXPAYLOAD_LINUX=text" and then doing "sudo update-grub" and testing a reboot18:10
MarkB2cd /etc/default/grub18:10
MarkB2I ..don't... believe I just did that. :-)  Sorry.18:10
leonardus:D https://usercontent.irccloud-cdn.com/file/pKYBcVij/IMG_20190602_140901.jpg18:11
MarkB2Well... here goes.  TJ- : I've edited /etc/default/grub, updated, and now about to see what happens.18:15
MarkB2Into the breach, dear friends...18:15
alexandre9099hi, i'm trying to boot an ancient laptop with xubuntu, but i'm getting a kernel panic with "unable to mount root fs on unknown block", how can i try to fix it?18:31
TJ-alexandre9099: drop into the initramfs shell and investigate; that means, at the GRUB boot menu, 'e' diting the default entry and adding "break=premount" to the line beginning "linux ..." and then pressing Ctrl+X to boot with that option18:33
alexandre9099xubuntu seems to be using isolinux though18:34
TJ-alexandre9099: is this the liveISO installer?18:35
alexandre9099i think so, it's the first button which says 32 bit https://xubuntu.org/download18:36
TJ-alexandre9099: ahhh, on, so you can tap a key to edit the kernel command line in the syslinux menus too, but I forget which18:36
alexandre9099i somehow dropped to some boot console, but it seems like it does not have any ls or something similar18:37
alexandre9099i mean, i can just edit the kernel cmdline by moving left or right, i think18:37
alexandre9099what would i edit?18:39
TJ-alexandre9099: here's an example on where to add the value for syslinux: https://help.ubuntu.com/community/BootOptions#Changing_the_CD_Boot_Option_Configuration_Line18:41
alexandre9099hmm i removed silent and splash and now i see "please append a correct "root=" boot option; here are the partitions:" but it only gives me the sr device, not the pendrive itself18:42
TJ-alexandre9099: as it says, press F6 to edit the kernel command line, and add "break=premount"18:42
TJ-alexandre9099: add the optoin *before* the "--"18:43
alexandre9099i'll try18:43
TJ-Are you trying to get it start from a USB? In which case, you may need to enable "USB Legacy" support in the motherboar'ds BIOS setup options18:44
alexandre9099yep, already did that18:45
TJ-alexandre9099: OK, so if you can get it to drop to the initramfs shell we can investigate what devices are recognised18:45
alexandre9099hmm i'm also asking in #xubuntu, i used dd to write the image, might that be the problem?18:46
TJ-alexandre9099: no, that's the way to do it18:48
alexandre9099with break=premount gives the exact same output. about the "add root= boot option"18:48
TJ-alexandre9099: has it dropped to a shell?18:48
alexandre9099nope18:49
alexandre9099it stopped at random: crng init done18:49
alexandre9099after that kernel panic18:49
TJ-alexandre9099: so it's not picking up the break=premount18:49
TJ-alexandre9099: I'll test that download here in a virtual machine, because its years since I used an installer18:50
alexandre9099well, the computer is ancient, so maybe some acpi thingy might be interfering18:51
Thr0ralexandre9099: I used "Rufus" to build a bootable USB to install xubuntu on an old pc. Worked just fine but the install did not discover the OS already installed.. But if you are going to scrap everything on the old pc it should be fine..18:52
TJ-I doubt that; if the USB device is missing it sounds like one of two possibilities - 1 ) the BIOS is faulty and misreports the ID of the boot device to GRUB or 2) the USB device drivers aren't loaded in the early initialramfs and therefore the root file-system cannot be found18:53
* TJ- wrote the syslinux alternate boot-device selector code about 10 years ago18:54
MarkB2TJ- That worked!!  Thank you.18:55
TJ-MarkB2: :)18:55
MarkB2+10 Internetz !18:55
Thr0roh -ok. I'm new to this so, sorry18:56
M_aDalexandre9099: keep in mind that you're cross posting, trying to keep it in one channel would be better18:56
alexandre9099M_aD, yeah, my bad, i first posted #xubuntu, but as it "only" had +-100 users i also posted here :)18:57
TJ-alexandre9099: understood; it's often a wasteland!18:57
alexandre9099*also, if this was like #archlinux i would be dead the second i posted something about a "similar" distro which is based on arch linux :D18:58
TJ-xubuntu is a flavour of ubuntu18:58
TJ-I deploy it on desktops18:59
alexandre9099but still, it's not ubuntu ;)18:59
TJ-we support it here18:59
TJ-!flavours18:59
ubottuRecognized 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-flavours18:59
alexandre9099nice :)18:59
M_aDTJ-: thanks a lot. Good to know :)19:00
TJ-alexandre9099: I'm on a slowish link so it's taking a while to pull in the xubu ISO, but then I'll check it is possible to access the initamfs shell as I described19:00
leonardusjust installed ubuntu and youtube wasn't working. figured i did something wrong with my install or misconfigured ublock/umatrix but turns out youtube is actually down19:00
leonarduswhat the coincidence19:00
TJ-leonardus: so there is some good in the world :)19:01
alexandre9099well, i'm trying to put xubuntu on this just to try something that most likely won't work, but... :D (the laptop has a rj11 port, and i would like to check if i can use that for pstn calls)19:10
TJ-alexandre9099: modem port? generally those require a software modem to run; vert rarely is there full hardware modem built in19:11
TJ-alexandre9099: there is/used to be Linux software modem called "linmodem"19:11
alexandre9099not sure what that is suposed to be, that's why i would like to see19:11
alexandre9099i just know that it has a rj11 port with a phone drawn on side of it :D19:12
ioriaalexandre9099, it's for a dial up modem, i think19:13
TJ-alexandre9099: there's a good overview here: https://help.ubuntu.com/community/Modems19:13
TJ-alexandre9099: I'd expect the "Software Modems" section to apply19:14
TJ-alexandre9099: a popular chipset from Conexant is supported by http://www.linuxant.com/drivers/19:15
alexandre9099hmm i tried to create the usb drive with etcher as sugested on #xubuntu, but nope, same error19:17
alexandre9099i might try multibootusb or something like that, that recreates the bootloader19:18
ioriaalexandre9099, what's your cpu ?19:18
alexandre9099good question... let me see if it says on the bios19:18
ioriaalexandre9099, if it has a dialup modem, it might be a non-pae cpu19:19
alexandre9099non pae?19:20
alexandre9099pentium 419:20
alexandre9099damn this post is fast :D19:20
TJ-alexandre9099: it worked here, with "break=premount" dropping to shell: https://iam.tj/projects/ubuntu/Screenshot_xubuntu_2019-06-02_20:19:31.png19:20
ioriaalexandre9099, pentium 4 is ok19:21
TJ-ioria: it wouldn't boot in that case, kernel complains VERY early on19:21
ioriatrue19:21
alexandre9099oh, the disk still has windows XP, i'll just take a quick look at the device manager :D19:21
alexandre9099a 30GB disk, that's a lot of storage :D19:22
ioriaalexandre9099,  and you cannot boot xubuntu 18.04 ?19:22
alexandre9099nope, the laptop had already installed windows xp (it was "donated" to me with W XP already installed)19:23
ioriaalexandre9099, ok, but dod you get the Main menu at leat ?19:24
ioria*least19:24
alexandre9099you mean that menu where i can choose to boot from hdd, install, boot from live cd, whatever?19:24
ioriayes19:24
alexandre9099yes, i can get into that19:25
ioriaalexandre9099, try live mode19:25
alexandre9099btw, the "modem pci" (as w XP recognizes) has 8086:2446 id19:25
alexandre9099ioria, isn't that the first/default option?19:26
ioriaalexandre9099, i guess19:26
ioriaalexandre9099, it's a AC'97 modem19:26
alexandre9099then it is the option that gives me that error i was talking about19:27
alexandre9099so, what would that mean? supported by linmodem?19:27
ioriaah, ok19:27
ioriai don't know19:27
ioriaalexandre9099, what version of ubuntu ? 18.04 or what ?19:28
TJ-alexandre9099: do you get to this menu? https://iam.tj/projects/ubuntu/Screenshot_xubuntu_2019-06-02_20:27:26.png19:28
alexandre9099TJ-, yes19:28
alexandre909918.0419:28
TJ-alexandre9099: good. The you press F6, and a small popup menu shows up. Press Esc to dismiss that and you can edit the boot command line. At the end of the line backspace to delete the "quiet splash --" and type "break=premount" then press Enter19:29
ioriaalexandre9099, it should work with a P$19:29
ioriaP419:29
TJ-alexandre9099: then it should reach the initramfs shell as shown in my first screenshot earlier19:29
alexandre9099TJ-, i think that's what i did earlier, but i'll try again19:30
ioriaalexandre9099, i can only say a bad iso or a bad media ( unless the mb chipset is a weird one)19:31
alexandre9099what is suposed to be the "right" way to flah the drive?19:31
TJ-alexandre9099: in which case the edited boot options should look like https://iam.tj/projects/ubuntu/Screenshot_xubuntu_2019-06-02_20:30:47.png19:31
TJ-alexandre9099: 'flash' ?19:32
alexandre9099TJ-, yes, write the image to the pendrive19:32
ioriaalexandre9099, what os do you have available atm ?19:32
TJ-alexandre9099: writing the ISO to a USB device just needs "dd if=file.iso of=/dev/sdX" where X is the USB19:32
EriC^^alexandre9099: is the iso checksummed for starters?19:32
TJ-alexandre9099: the fact it is booting means you're written the ISO to the USB correctly19:32
alexandre9099TJ-, ok, so i guess we can cross that, i'll just do the checksum as EriC^^ sugested19:33
ioriaalexandre9099, if windows , try rufus19:33
TJ-alexandre9099: if/once you reach the Busybox initramfs shell you can check for the USb device with "ls -l /sys/block/"19:33
alexandre9099ioria, antergos (on my main laptop) and windows xp on the laptop i'm trying to boot xubuntu on19:33
ioriaalexandre9099, dd sometime requires a sync... winXP not sure can manage rufus19:34
alexandre9099i did sync just in case19:34
alexandre9099where am i suposed to get the checksum?19:35
ioriaalexandre9099, check the media from the Main menu19:35
alexandre9099ok19:35
TJ-alexandre9099: this is what it should look like listing the block devices, here sda is the USB device containing the ISO: https://iam.tj/projects/ubuntu/Screenshot_xubuntu_2019-06-02_20:35:13.png19:36
alexandre9099yeah, problem is that i can't even get there19:36
ioriathere where ?19:37
alexandre9099initramfs shell19:37
ioriaah19:37
TJ-alexandre9099: are you sure about that? in that sometimes kernel messages get written to the boot console after the shell has started, so without pressing Enter to get another shell command-line you can think it hasn't reached the shell19:37
alexandre9099well -_- i clicked on check media for errors and guess what... the same unable to mount fs on unknown-block error19:38
ioriaalexandre9099, tell us more about that pc....19:39
TJ-alexandre9099: right, the problem is likely as I said earlier; the USB device isn't being found19:39
ioriaright19:39
TJ-alexandre9099: could be due to drivers missing19:39
alexandre9099well, it's an airis G730, i think, but almost nothing shows up about that pc19:39
TJ-alexandre9099: could you take a photo of the screen when it 'stops' (when trying to drop to shell) and upload it to imgur or elsewhere?19:40
TJ-!paste19:40
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.19:40
alexandre9099hardware name: Airis G739/G730, BIOS 6.00 12/24/200219:40
alexandre9099ok, let me take a photo19:40
ioriaalexandre9099, you can try a dvd19:41
TJ-alexandre9099: do it after removing the "quiet splash" of course19:41
alexandre9099oh totally forgot about that :D19:41
alexandre9099ioria, i don't have any clean dvds right now (nor a optical drive)19:41
ioriaalexandre9099, a cd rom ?19:42
alexandre9099how would i fit 1.5GB on a cd?19:42
TJ-there aren't any 1.4GB CDs :)19:42
ioriaalexandre9099, you'll use another iso or mini.iso19:42
TJ-alexandre9099: you could install the ISO *TO* the USB you know, and boot it as an installed OS, not as an installer19:43
TJ-alexandre9099: you could do that from your working Linux PC19:43
alexandre9099TJ-, hmm wouldn't that give the same problems assuming it would have the same drivers?19:43
alexandre9099ioria, what mini.iso includes?19:44
ioriaalexandre9099, the kernel, is a net install19:44
alexandre9099but yeah, most likely an optical media would work, cause before the panic it detects the sr device19:44
TJ-alexandre9099: no, it wouldn't19:44
ioriaalexandre9099, but do you have a cdrom drive ?19:45
alexandre9099neither one (nor so i have the media), i could try yo use windows xp though :D19:45
=== Momentum is now known as Momenta
=== Momenta is now known as Momentum
TJ-alexandre9099: part of the current problem is, syslinux loads kernel+initrd from USB using motherboard BIOS functions into memory and passes control to it, at which point the kernel/initrd fail to locate the USB device. A full install using GRUB generally does much better and has more functionality19:46
TJ-alexandre9099: there is a VERY simple test you could do to determine if the system BIOS has the bug I described earlier19:47
alexandre9099imgur.com/a/6WBO8iY19:48
alexandre9099TJ-, what is that test?19:48
TJ-alexandre9099: install my syslinx diagnostic MBR into the USB and tell us what it reports19:49
alexandre9099ok, where would i get that?19:49
TJ-alexandre9099: if you're currently on another Linux PC, and plug the USB into it, and know which device it is (e.g. /dev/sde) you can do: "export DEV=/dev/sde; sudo dd if=$DEV of=mbr-backup.bin bs=512 count=1; wget https://iam.tj/projects/misc/mbr-diag.bin; sudo dd if=mbr-diag.bin of=$DEV bs=512 count=1"19:51
TJ-alexandre9099: this will back-up the current MBR, download and write mine to the USB19:51
TJ-alexandre9099: then boot the problem PC from it and tell us the line it reports19:51
alexandre9099ok, wait a sec ;)19:51
TJ-alexandre9099: the source-code for this diag MBR is at https://iam.tj/projects/misc/mbr-diag.S and it describes what to expect19:51
TJ-alexandre9099: you'll get something like "L D81 C3D9 HFF S3F P1 O00000020 MAA55 E00" which we can decode using the source-code I referred to19:52
alexandre9099let's try to boot it and see if the laptop doesn't catch fire :D19:53
TJ-alexandre9099: I want you to do TWO boots. Record what it shows for the FIRST boot, then reboot whilst holding down the Ctrl key and report what that reports, too19:53
TJ-alexandre9099: these daig codes tell us/me what the BIOS is telling syslinux is the boot device19:53
alexandre9099ok, so first boot gives L D80 C3FF HFF S20 P1 O00000040 M2C32 E0019:54
TJ-alexandre9099: that looks good, the D80 tells us that the BIOS is telling syslinx that the USB is the first 'hdd' (that's the 0x80 code)19:55
alexandre9099the second boot with ctrl gives the same19:55
TJ-alexandre9099: in faulty BIOS that is often some other value, which causes problems19:55
netkam2is remmina pretty much the goto rdp program?19:55
alexandre9099i see19:55
TJ-alexandre9099: OK, so we've proved the PC BIOS is fine. You can put the original MBR back now! Return to the other PC19:55
alexandre9099:D19:56
BruceTheMooseIs anyone available to provide a little guidance why my iptables are not forwarding packets from my tun driver out to the network?19:56
TJ-alexandre9099: and do "sudo if=mbr-backup.bin of=$DEV bs=512 count=1"19:56
TJ-BruceTheMoose: you're trying to do NAT ?19:56
BruceTheMooseYes19:57
TJ-BruceTheMoose: can you "pastebinit <( sudo iptables-dsave )" ?19:57
TJ-BruceTheMoose: can you "pastebinit <( sudo iptables-save )" ?19:57
alexandre9099TJ-, so what you i try to do now?19:58
TJ-alexandre9099: the screenshot photo please19:58
TJ-alexandre9099: there may be clues in the kernel messages at the point it hangs19:59
alexandre9099which one? i already posted one, of the kernel panic19:59
alexandre9099imgur.com/a/6WBO8iY19:59
TJ-alexandre9099: catch the photo BEFORE the panic/stack-trace (which we know about already)19:59
alexandre9099oh, that's not really easy :/ i can try to record a video though :D19:59
TJ-alexandre9099: there's a hint in that photo of "driver: sd" which is the interesting part, to see what is before that20:00
TJ-alexandre9099: I'm guessing the sda1 is the internal disk drive20:01
TJ-alexandre9099: sr0 is the empty CD reader I think20:01
alexandre9099oh, now i understand, that sr most likely is the internal disk, first time i ran it i only saw sr because i tried to hotplug the disk (for some reason the bios wouldn't let me to change the order of the usb drive to boot)20:02
TJ-alexandre9099: we'd expect the USB to show up as an additional SCSI Disk (sd) but it doesn't which supports my hypothesis that this is all due to a missing USB host/mass storage driver20:03
TJ-alexandre9099: and if we could get to the shell we can manually load that20:03
BruceTheMoosehttp://paste.ubuntu.com/p/gTMjmRSX8q/20:09
alexandre9099TJ-, hmm it seems to go too fast to be captured :/20:10
alexandre9099https://queertube.org/videos/watch/a956b4aa-a244-47b6-ade7-5d5dd3122c8320:11
alexandre9099i gotta create a peertube instance on my server ;)20:12
TJ-alexandre9099: is the PC a desktop, or a laptop?20:13
alexandre9099laptop, but the display is broken, so i'm using my desktop display20:13
alexandre9099*kinda broken, the backlight fails like 5 seconds after turning it on20:13
alexandre9099wasn't there some key combination to go up on the console?20:15
Jontaalexandre9099: Ctrl+Alt+F2?20:16
TJ-alexandre9099: got the USB device! 13fe:42??20:16
alexandre9099no idea, let me plug it into my main laptop to check20:17
TJ-alexandre9099: you're not at the point where there are multiple ttys as yet20:17
alexandre9099Jonta, that is to change tty20:17
alexandre9099btw, i got some messages about clocksource20:17
TJ-alexandre9099: so the kernel is finding the USB device, so I'm betting it just isn't loading the usb-storage driver for some reason20:17
subsonicI updated to ubuntu 16.04 but the kernel didn't update.  when I use `apt-get` for anything I get This version of the GNU libc requires kernel version 3.2 or later.  I'm stuck. Any ideas?20:18
alexandre9099TJ-, exactly, that is the right usb device/vendor id20:18
TJ-alexandre9099: can you tell me the full ID so I can check which driver would grab it?20:18
alexandre9099it's the one you posted 13fe:420020:19
jeremy31subsonic can you check your sources.list file?20:19
TJ-oh, it ends 00? that doesn't show on the video20:19
alexandre9099strange that it shows as kingston but is one of those cheapie pen drives20:19
alexandre9099yep, it ends in 0020:19
leonardusMy computer has UEFI and once I installed Ubuntu over my Gentoo installation, I can't boot into Windows from my BIOS's uefi boot selection menu anymore20:20
leonardusAre there any guides on how to fix this?20:20
TJ-alexandre9099: ok, that doesn't match so I suspect it presents as a USB mass storage, or attached storage, Class device20:20
subsonic@ jeremy31 What for?20:20
alexandre9099leonardus, you might have to reinstall grub, boot rescue disk is a nice tool to do that20:20
alexandre9099*boot repair disk20:21
jeremy31subsonic: to see if the repos show xenial20:21
TJ-alexandre9099: I once added code to the initialramfs to make it possible to force loading of a kernel module. I wonder if that is in the the initrd.img here, I'll check. if so we can force loading the module20:21
alexandre9099which module would it be? i recall that to blacklist modules it was modprobe.blacklist, but not sure if that argument is for initramfs20:22
subsonic@ jeremy31 Actually, it shows bionic.  But I know I'm on xenial (the build of bionic failed because of the kernel)20:22
jeremy31subsonic: yikes20:24
alexandre9099TJ-, wouldn't it be just adding the name of the module to the boot options?20:24
subsonicjeremy31: I set the list i should be for xenial in sources.list.  I think it's working now20:29
TJ-alexandre9099: no, unfortunately, it doesn't support doing that. What is supposed to happen is that the udevd rules in lib/udev/rules.d/ should match on the kernel even when the device is detected and load either usb-storage.ko or uas.ko - but isn't20:34
alexandre9099TJ-, so the only solution would be to modify the image20:35
alexandre9099?20:35
leonardusI tried running update-grub and grub-mkconfig but windows still isn't there. it's also not in /boot/efi/EFI20:38
leonardusos-prober also doesn't detect it20:38
alexandre9099leonardus, you might have to boot windows install media and recreate it's bootloader, before check if there are some microcoft files inside /boot20:39
TJ-alexandre9099: possibly unless we can trick one of the options it does accept into running a "modprobe usb-storage"20:41
alexandre9099would trying 19.0 (which should have 5.0 kernel) make any difference?20:41
TJ-alexandre9099: I'm working through the startup shell scripts in case there is something we can overload20:41
TJ-alexandre9099: unlikely, this is about the correct driver not being rcognised as supporting the USB device storage20:42
TJ-alexandre9099: there might be another way; if we can force the USB id ro be associated with the module20:42
alexandre9099hmm, let me try to boot on my main laptop, if the problem is really the usb drive that isn't being recognized it should not boot on my main laptop, right?20:42
alexandre9099TJ-,20:44
TJ-alexandre9099: I *think( I've found a way!20:45
alexandre9099go ahead :)20:45
TJ-alexandre9099: its not the USB device, it's the controller in the PC20:45
TJ-alexandre9099: but try it anyhow20:46
CoffeeCattlehey I've got wifi issues. My TL-WDN4800 wifi card keeps disconnecting every half an hour and I have to keep on turning it on and off again till it connects to the intenet again20:46
alexandre9099TJ-, ok, brb20:46
jeremy31CoffeeCattle: See https://ubuntuforums.org/showthread.php?t=2354328&p=13614520&#post1361452020:46
jeremy31CoffeeCattle: that really sounds like wifi power management20:47
TJ-alexandre9099: the usb-storage module has a 'quirks=' module option which takes a VID:PID:flags string, so we could try adding "usb-storage.quirks=13fe:4200:y"20:47
TJ-alexandre9099: the 'y' flag equates to something harmless: US_FL_ALWAYS_SYNC20:48
TJ-alexandre9099: this may not help if it doesn't trigger the module into loading though20:48
CoffeeCattleokay thank you I've turned off power mangement and will see if that has done the job20:49
alexandre9099TJ-, as expected, it boots just fine on my main laptop, i'll try that20:50
alexandre9099couldn't it be a non complaint acpi implementation?20:50
alexandre9099let's boot with that boot option and see what it gives :D20:52
TJ-alexandre9099: there's another thing we could try - forcing a boot-delay in case it takes a few seconds to prepare the device and find the file-system20:52
TJ-alexandre9099: the option you can try is "rootdelay=10"  (that's 10 seconds)20:53
alexandre9099hmm, thing is that it unpacks the initramfs (at least tries), it just doesn't find where it was unpacked to, at least, from what i understood20:53
alexandre9099exactly same error, i'll give a try at the delay20:53
TJ-alexandre9099: y920:53
alexandre9099y9?20:54
TJ-alexandre9099: you misunderstand...20:54
TJ-alexandre9099: .... initrd is unpacked as a RAM file-system that contains the code required to find the REAL root file-system and mount it20:54
TJ-alexandre9099: the problem is the initrd code isn't loading the correct module(s) to make the file-system on the USB available20:55
alexandre9099oh, i see, so it actually loads the initramfs? if so, why can't i drop to the shell?20:55
TJ-alexandre9099: I'm not sure why it doesn't drop to the shell when you add break=premount but the panic you get happens at the very end of the /init shell script when the root-fs is missing20:55
alexandre9099wouldn't it be possible to break on any other spot before mounting?20:56
TJ-alexandre9099: thats why earlier I wanted to be sure you were removing the "---" from the command line and adding "debug break=premount"20:56
alexandre9099damn... for some reason i read "keep the ---"... i'll try again without that (what is that ---?)20:57
TJ-alexandre9099: there are several points at which we can break, you could do it at the start of /init with "break=top" -- there are statements in /init of the form "maybe_break=XXXX" and that matches on our 'break=XXXX'20:57
alexandre9099ok, so now it stopped a long while after sd[0:0:0] <something>, but then it jumped right into the panic20:58
TJ-alexandre9099: the "---" separates options that should be used NOW from options to be added to the INSTALLED system. We need the options BEFORE "---" or remove it entirely20:58
alexandre9099oh ok, i wrote everything before the ---20:58
TJ-alexandre9099: so it should have worked, but try "break=top"  mabe we'll be luck then20:59
alexandre9099well, the behaviour with the rootdelay was a little bit different, but it still yelded the same error, not sure if i should try with even more delay20:59
jayjoI'm trying to configure an ubuntu instance to acccept a second IP addresses traffic, which it seems to not do automatically. This guide https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ubuntu-secondary-network-interface/ details a method and says this: Ubuntu 18.04 has switched its networking configuration to Netplan. The following example uses the Netplan configuration. Note that Netplan uses21:00
jayjoYAML format ... and shows 51-eth1.yaml. Does the name matter with netplan, are these the two ip addresses to listen on hard coded?21:00
TJ-jayjo: name of file doesn't matter as long as it ends .yaml21:01
alexandre9099TJ-, with break top it gives the same result, although i forgot to remove the silent quiet, i'll try again without those21:01
TJ-alexandre9099: you know when you edit the Boot Options, you are immediately pressing Enter, not returning to the menu first?21:01
alexandre9099yep, i'm clicking enter right after editing the line21:02
TJ-alexandre9099: clicking?21:02
TJ-alexandre9099: pressing the Enter key you mean?21:02
alexandre9099yes :)21:02
alexandre9099it's more like smashing enter, this keyboard is shit :D21:03
TJ-alexandre9099: Good - I've been caught out by folks not doing that and returning to the menu to start it21:03
TJ-alexandre9099: if "break=top" is failing then something very strange is going on since that infers the /init script in the initrd isn't being run21:04
alexandre9099i'm trying again with the splash quiet that i forgot to took21:04
TJ-alexandre9099: but you've proved on the other PC the USB installer boots correctly21:04
alexandre9099i haven't finished the boot, but it gone way past the place it is stuck now21:04
alexandre9099break=top seems to do nothing at all21:05
TJ-alexandre9099: "splash" and "quiet" just get in the way when you need maximum info, that's why I add "debug" as well to get maximum kernel output21:05
TJ-alexandre9099: I wish I could reproduce this, because I cannot think of a way this can fail as you're experiencing, and I've been deep inside Ubuntu boot logic for 15 years!21:05
alexandre9099damn, thats a lot of time :) might there be a way to record the file to somewhere?21:06
TJ-alexandre9099: I'm going to take another look at the video, in case I missed something21:06
alexandre9099i can try to re record it, maybe it can capture some frames that were missing21:06
jayjois there a way to view my current netplan configuration?21:06
TJ-alexandre9099: at that stage of boot, unless the PC has a serial port and you can use a serial console to capture all the messages and to control it too21:06
TJ-jayjo: "cat /etc/netplan/*.yaml"21:07
alexandre9099it has a parallel port21:07
TJ-jayjo: and the files it generates are in /run/systemd/network/21:07
alexandre9099TJ-, or printer port, whatever that is called21:07
TJ-alexandre9099: no use I'm afraid, but if it has parallel I bet it has a 9-pin serial too!21:07
alexandre9099not exposed to the external connections :(21:07
TJ-alexandre9099: is it a 25-pin d-sub with two rows of pins?21:08
alexandre9099yes, 25 pins, it's "vga like"21:08
alexandre9099with two rows21:09
TJ-alexandre9099: is this almost your PC? http://www.airissupport.com/SupportHome2.aspx?Codigo=N73021:09
TJ-alexandre9099: Yay, that's a 25-pin serial port. But I bet you haven't a cable to connect that to the other PC!21:09
alexandre9099TJ-, it is similar-ish (color is not the same and the power buttons are in the middle)21:10
alexandre9099oh, i got a folder on windows xp desktop called drivers or whatever, not sure if that would help21:10
TJ-alexandre9099: from the tech spec it looks like that 25-pin is centronics parellel "Puerto Paralelo (LPT) 25 pines"21:11
TJ-alexandre9099: shame!21:11
alexandre9099so? what would that mean? what voltages should be over there? if 5v i might be able to use my arduino to interface it21:11
leonardusI ran a Windows repair disk and now there's a Microsoft directory inside /boot/efi/EFI21:12
leonardusbut I still can't boot into Windows21:12
leonarduswhen I select it from the UEFI menu it just reloads the menu21:12
TJ-alexandre9099: not usable for a remote console. However, about the modem, from that web-site I grabbed the modem driver package, and looked at the windows .inf file, which shows it is "Modem1 = "Smart Link 56K Modem""21:13
alexandre9099oh damn :(21:13
alexandre9099TJ-, windows told me that it was hsp56 mr21:13
alexandre9099leonardus, try to recreate grub config, now it should detect windows21:14
TJ-alexandre9099: does page 1-8 of the manual match the ports on your PC? http://www.airissupport.com/bdc/Ficheros%20Asociados/PORTATILES/N730/Manual%20de%20Usuario%20(N730).pdf21:14
leonardusI ran update-grub and there's still no entry.21:14
TJ-leonardus: from Linux do "efibootmgr -v"21:15
TJ-leonardus: Windows is started by the mobo firmware, not GRUB, in UEFI mode21:15
leonardusTJ-: https://termbin.com/rqga21:16
alexandre9099TJ-, it has 4 usb ports, seems a little bit "fatter", but overall it seems similar21:17
alexandre9099it has a "firewire" port?21:18
TJ-yeag, IEEE139421:18
TJ-alexandre9099: what is annoying is, in your video, I can see it finds a serial port and sets it up as /dev/ttyS121:19
leonardusTJ-: I can't even start it from the mobo21:19
leonardusit just reloads the boot menu when I try to select it21:19
alexandre9099TJ-, most likely some internal thing, my main laptop also has one of those ttyS1 (up to S4) ports, i think21:20
TJ-alexandre9099: right. I've just had to hack that video web-site to get the direct mp4 URL so I can slow-play it locally21:24
alexandre9099XD i think it has a download button though ;)21:24
TJ-alexandre9099: really? I couldn't see one!21:25
alexandre9099yeah, it's on the three dots besides the share button ;)21:25
TJ-oh how easy to find! I just spotted that now you said it was there somewhere21:26
TJ-I was right-clicking on the video but only getting shared links21:26
alexandre9099:D oh well, now i'm seeing... the goddamn phone recorded that at 15fps... what a potato XD21:26
jackcat /etc/issue21:29
jackUbuntu 18.1021:29
jackis current, right?21:29
TJ-alexandre9099: could you possibly record another video with the boot options I suggested? "debug break=premount" and delete the "quiet splash ---"21:30
alexandre9099sure, wait a sec, btw, would you like the video file itself?21:31
TJ-alexandre9099: sure :)21:31
TJ-alexandre9099: whilst you do that I'll re-investigate mis-using /init options to load the usb-storage.ko module21:32
alexandre9099sure21:32
alexandre9099i'm still trying to understand why this thing is recording at 15fps..21:38
TJ-alexandre9099: I think we can abuse the UNIONFS variable in ./scripts/casper21:39
alexandre9099no idea what that is though :/21:39
alexandre9099you mean it should be possibe to run commands from the boot options?21:40
TJ-alexandre9099: OK, I *think* this will load the driver we want, another boot option! "union=usb-storage"21:40
alexandre9099i'll give it a try21:40
TJ-alexandre9099: the union-fs code reads that and if it doesn't match "DEFAULT" does "modprobe ${UNIONFS}" (and UNIONFS is set from union=)21:41
TJ-alexandre9099: this may break the boot in other ways though :)21:41
TJ-I'll try it here21:41
asmodeushi, I did an "apt-get update" and "apt-get dist-upgrade" on an Ubuntu 16.04 server.  Now, I can no longer mount/access any eCryptfs directories.  What can I do to fix it?21:42
alexandre9099TJ-, nope :( same error21:43
alexandre9099i'll try to upload the video21:44
TJ-alexandre9099: no, union=usb-storage doesn't work here in VM either, darn!21:46
alexandre9099TJ-, just checked the frames, between that clock thing and the kernel panic there doesn't seem to be any difference21:50
alexandre9099either the screen does not update fast enough or the phone camera is terrible21:50
alexandre9099TJ-, https://cloud.alexandrebadalo.tk/index.php/s/ieWak4oiEg3JGoX21:52
TJ-alexandre9099: thanks21:52
alexandre9099this one at least have more framerate :D21:52
TJ-alexandre9099: I've managed to make usb-storage load!21:57
alexandre9099nice, how?21:57
TJ-alexandre9099: not sure this'll help since I'm forcing a different boot script, but its interesting at least.21:57
TJ-alexandre9099: edit boot options (again!), first change "boot=casper" to boot=local" (which is earlier in the line) then replace "quiet splash ---" with "debug rootfstype=usb-storage break=init" and press Enter21:58
alexandre9099that a lot of things :) i'll give it a try21:58
alexandre9099let's see, just hit enter22:00
TJ-alexandre9099: in your last video, I noticed you forgot to add "break=premount" ... without that you'll not get the shell22:00
alexandre9099as it didn't make any difference i haven't included it, but i'll try to record this run22:01
TJ-alexandre9099: it is VITAL if we want to get a shell, that's what causes the script to stop and give a shell22:01
TJ-alexandre9099: in this new test note we're doing "break=init"  because 'init' is the last possible place we can stop the script22:02
alexandre9099new thingies :D "out of memory and no kille processes"22:03
alexandre9099and a giant kernel panic22:03
alexandre9099still no shell, no matter where i click22:03
TJ-alexandre9099: there's something very not correct on that system22:04
makinenhow can I make a bootable usb stick with the ubuntu installer?22:04
OerHeks!usb22:04
ubottuFor information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent22:04
makinenI've got ubuntu-19.04-desktop-amd64.iso but dd'ing it to the usb stick didn't work22:04
alexandre9099TJ-, well, i got some other computer that with just one thread worked ok, with two the screen blacked from nothing (even without doing any kind of load), never understood what it was22:04
alexandre9099i think this computer only has 250mb i think22:05
alexandre9099*no idea why i wrote i think twice22:05
alexandre9099TJ-, so that should have worked, but 250mb is a little too low to start? or would it be related to any other thing?22:12
TJ-alexandre9099: not sure, but execution should definitely stop when adding "break=XXX" (where XXX is top or premount or init)22:16
TJ-alexandre9099: the fact it doesn't suggests initrd script isn't being executed at all22:16
alexandre9099hmm you said that init would be after it finishes, right?22:16
alexandre9099but at least it gives another error now, not sure how relevant that is22:17
TJ-alexandre9099: no, its the last one checked before the /init script tries to switch to the real root-fs and run the real /sbin/init (which is systemd)22:17
alexandre9099so what's the order? top->premount->init?22:18
TJ-alexandre9099: the initrd.img /init shell script has several points where it tests with "maybe_break=XXX" and if XXX matches what is on the commandline it drops to a shell22:18
alexandre9099i see22:18
TJ-alexandre9099: see http://paste.ubuntu.com/p/Cn6JNNJrH9/ for the order22:19
alexandre9099so if it does not break on top, it wouldn't break in any of the following, right?22:19
TJ-alexandre9099: correct, which infers /init isn't being executed at all22:19
TJ-alexandre9099: there's one thing I noticed and pondered; the PC has only a single CPU, but the SMP kernel code is being loaded. I'm wondering if we should disable SMP in case it is causing an issue22:21
alexandre9099hmm, if i keep the quiet splash i recall it saying something like write failed, for the initramfs22:21
alexandre9099no idea about that :/ didn't P4 processors already have HT?22:22
TJ-alexandre9099: try this: "max_cpus=0 debug break=top"22:22
TJ-alexandre9099: that's wrong, hang on22:23
TJ-alexandre9099: try this: "maxcpus=0 debug break=top"22:23
alexandre9099ok, it might take a while, i'm just giving a try at another distro thtat "should" run with under 250mb, brb with xubuntu :D22:24
OerHeksi guess lubuntu 'could'22:27
TJ-alexandre9099: I just reproduced the crash!22:28
TJ-alexandre9099: major progress22:28
alexandre9099nice, how?22:28
TJ-alexandre9099: I set the virtual machine memory to 256MB :)22:29
TJ-alexandre9099: also fails (in a different way) with 384MB22:29
alexandre9099oh, but why?!22:29
alexandre9099damn, i fell so bad for wasting all this time to reach the conclusion that the problem was the lack of ram22:30
TJ-I can get it to drop to the initialramfs shell with 400MB22:30
TJ-alexandre9099: the problem is likely the size of the initrd.img itself, let me check22:31
alexandre9099that explains the write failed, i guess22:31
TJ-alexandre9099: that's it - the compressed initrd is 38MB but expands to 138MB22:31
alexandre9099so, the kernel would need to be recompiled to take less space (removing modules)?22:32
TJ-the vmlinuz compressed kernel is 7.7MB but expands to something like 30MB22:32
alexandre9099can't it just be "uncompressed" and read directly from the live usb?22:33
TJ-alexandre9099: the initrd would need replacing, with one that only has the kernel modules that system requires, and removes loads of the unneeded firmware files too22:33
TJ-alexandre9099: that is what it is doing, into a RAM based image22:33
alexandre9099no i mean, instead of putting it into ram, reading directly from usb and executing whatever is in there22:34
TJ-alexandre9099: what is needed is a remastered ISO with a custom small initrd. I think earlier someone suggested trying the netboot images. I'm not sure how small the initrd.img is with that though, probably the same22:34
TJ-alexandre9099: no, not possible, it's a heavily compressed file.22:34
TJ-alexandre9099: recall earlier I suggested you actually install Xubuntu into the USB on the other PC, instead of trying to run the installer image ISO22:35
alexandre9099hmm for the kernel i recall that there was something about compressing or not, isn't there a thing like that for initramfs?22:35
TJ-alexandre9099: it is compressed, that's the point, and when uncompressed into RAM it uses up too much space22:35
alexandre9099i thought it was compressed to save "disk" space :)22:36
alexandre9099gonna try the mini iso22:36
TJ-alexandre9099: yes, compression is standard, but it is wrapped inside a read-only container, the ISO, so you can't easily alter that without remastering22:37
jackdisco dingo is in #+1, right?22:38
TJ-jack: no22:38
TJ-jack: +1 is eoan22:38
jackhere? cool22:38
jeremy31jack, Mint not working?22:39
jackjeremy31: made me quite unhappy :/22:39
jackcurrent ubuntus are way smoother22:40
jeremy31jack, depends on whether the hardware is supported in the kernel22:40
jacksure22:40
jackmint is cool, no doubt22:40
alexandre9099TJ-, the mini iso seems to be working fine22:41
jackjeremy31: i might give it another chance soon22:44
jeremy31jack, is 19.04 working better?22:44
jackbut let me play with xubuntu for a bit :)22:45
jackjeremy31: dunno, yet...i just leeched 3 19.04 flavors22:45
jackgonna burn+try them one by one22:46
alexandre9099TJ-, sorry for wasting all this time, and thanks a lot for the help22:46
jackcurious which one will make it onto my hd22:48
jackmaybe the MATE variant22:48
TJ-alexandre9099: it's been fun discovering this!22:49
alexandre9099hmm this is taking a looong while to resize the partition, and the disk is just 30GB :D22:53
TJ-alexandre9099: partition resize takes about 0.00000001 seconds ... resizing a file-system within it can take hours :)22:54
alexandre9099that's true :D well, gotta wait, bad thing that i have to keep my main laptop plugged into this steam machine to give it internet (yes, i don't have any more ports on the router and i don't have an external switch, gotta get one)22:55
alexandre9099although if the FSes were smart they would just move the files that are on the beggining to the end or something like that, unless some defragmentation needs to be done22:57
TJ-alexandre9099: thats' exactly what takes the time, having to defrag the free space so all data is at start of FS before shrinking it. This assumes you're leaving the starting sector as it is and not moving it around the disk22:58
cxlPotentially a dumb question: if I am upgrading a piece of software than runs as a service, should I stop the service before running apt update and then start it again, or can I run apt update without stopping and then just restart said service?22:59
alexandre9099yeah, i did accidentally move a 400GB partition on a disk once, damn that took a lot of time, i think it took more than 15h or so22:59
TJ-cxl: the upgrade will handle service stop/start usually23:00
alexandre9099TJ-, ubuntu does that? (stop start service when upgrading)23:00
FaTaL_GIf I run a "speedtest" with the speedtest cml tool, I get results that are not right. It looks like the upload test is capped to 100Mbps. The machine **is the router** and other machines on the network (which use the ubuntu router) get well above the 100Mbps up23:00
TJ-alexandre9099: it's usually part of the dpkg {pre,post}{inst,rm} scripts23:01
FaTaL_Gam I doing something wrong? or is speedtest actually capped?23:01
alexandre9099TJ-, nice, on arch i think that is not usual :)23:01
OerHeksFaTaL_G, stop all other clients to do a proper speedtest23:01
FaTaL_GI did23:02
FaTaL_GI dont do all of those things at the same time ;)23:02
FaTaL_Git seems that the speedtestcml is limiting the upload test23:02
FaTaL_Geither that or the ubunutu box itself is23:03
TJ-FaTaL_G: what is the link speed?23:03
FaTaL_Ggb23:03
FaTaL_Gand im on fios23:03
alexandre9099FaTaL_G, is that simetrical?23:03
TJ-FaTaL_G: the gateway/router is an Ubuntu server?23:03
TJ-FaTaL_G: sounds like a Qos/tc issue23:04
FaTaL_Gyes23:04
FaTaL_Gthe ubunutu server is the router23:04
TJ-FaTaL_G: are there any Tc rules set on it?23:04
FaTaL_Gthe only traffic control I "installed" was iptables rules, and things like snort for inspection and other intrusion, but I didnt knowingly activate any qos23:06
TJ-FaTaL_G: I'd check for rate-limiting entries in the iptables/ip6tables rules23:06
TJ-FaTaL_G: what do the hosts behind this router get in the speedtests?23:07
FaTaL_Gwhen nothing else is sharing, 600-90023:08
TJ-FaTaL_G: could there be some weirdness with NIC offloading ?23:08
FaTaL_GI builtthis box since r6800, 7000 etc, all suck23:08
FaTaL_Gthere shouldnt be. I have a wifi dedicated 4x4mimo card and an intel 4port gigabit adapter23:09
FaTaL_Gplus the 2 onboard intel ones23:10
TJ-FaTaL_G: I'd hope there is offloading, but sometimes it can cause strange issues. Use 'ethtool' to check23:10
TJ-FaTaL_G: is the uplink MTU/MSS the same as the LAN side?23:11
FaTaL_G150023:11
FaTaL_Gwhere does ethtool say it is offloading?23:12
TJ-FaTaL_G: I don't have a system to hand right now where I can check, but it has the -k --show-features options23:13
FaTaL_Gwhats the name of the cml dump tool for pastebin again? (I dont do it often)23:17
TJ-pastebinit ?23:18
FaTaL_Ghttp://paste.ubuntu.com/p/sfcghwXRHx/23:20
FaTaL_Gthere it is ;P23:21
=== Loshki_ is now known as Loshki
FaTaL_Gthats the interface facing forward23:25
BruceTheMooseI’m running Ubuntu 18.04.02 LTS. I'm trying to send output from the TunTap's TUN driver over a wifi link using NAT in the iptables.  I’ve enabled net filter logging and can’t seem to grasp why this is not working.  These are the iptables http://paste.ubuntu.com/p/gTMjmRSX8q/.  This is the trace of a simple "ping -c1 8.8.8.8”  http://paste.ubuntu.com/p/yz4Y79YqM2/ that works (without going through the tun023:26
BruceTheMoosedriver).  Going through the tun interface, "ping -c1 -I tun0 8.8.8.8" I get this trace: http://paste.ubuntu.com/p/svNmN7rXSH/.  Any suggestions what I might be missing?23:26
faLUCEhello. I installed lubuntu 18.10 on an old dell inspiron mini netbook. I have choppy video playback (youtube, vlc etc.). Is there a way to make all work?23:26
OerHeksfaLUCE, mini netbooks .. probably not, if it runs on an atom with a low tech intel gpu23:27
OerHeksgma 450 and such23:27
leftyfbfaLUCE: why would you install 18.10 and not 18.04 or 19.04? 18.10 will be unsupported next month23:28
faLUCEleftyfb: I just installed what the downloading url provided23:28
leftyfbfaLUCE: provided by who?23:28
faLUCEleftyfb: lubuntu website23:29
faLUCEbut there should be a fix for that issue23:29
leftyfbfaLUCE: is it a 32bit netbook?23:29
faLUCEleftyfb: yes23:29
FaTaL_GTJ-, its at 1000MB full duplex all things work fine through it. The iptables do not limit anything speed-wise.... it does log dropped packets over 30/sec.23:30
faLUCEit seems a driver issue23:32
alexandre9099xubuntu or lubuntu? which one is lighter?23:33
OerHeksfaLUCE, not an driver issue, with the current state of kernel patches for meltdown and the lot, it cripples performance .. surely on netbooks23:35
OerHeksso it will not be a youtube racemonster, not even if you download the movie23:36
faLUCEOerHeks: the same problem occours with any player23:36
OerHeksgood luck with that typewriter :-)23:37
faLUCEI'll try linux mint23:38
jcottonOerHeks: the patches shouldn't affect video decoding too much23:39
faLUCEmaybe it can be solved by configuring xorg in some way23:39
=== SysGhost is now known as Sys_Ghost
=== Sys_Ghost is now known as GhostSys

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