/srv/irclogs.ubuntu.com/2021/08/17/#ubuntu.txt

Guest7is multipass basically ubuntu's version of docker?00:46
noarbis there a way to view my local machine's /var/mail/<user> in thunderbirD? I tried adding "other account" and it says the spool file can't be found.00:56
tomreynGuest7: there's docker(.io) in ubuntu, too01:01
noarbI only have a few messages at /var/mail/root. I use thunderbird for regular internet email, but I was hoping to just have a local account side by side those accounts, too01:02
Guest7i see but it seems like they are pretty much the same?01:03
leftyfbnoarb: make an alias for root pointing email to your user01:03
leftyfbGuest7: what are you trying to accomplish?01:03
noarbleftyfb: do you mean at the MTA or MUA level?01:09
noarbis it just permissions with thunderbird and root?01:09
leftyfbnoarb: https://askubuntu.com/a/199453/115131101:10
noarbthanks for the link, I was using that answer in my earlier attempts. I'll try adjusting some fields to see if I can get it to work. Now I'm getting spool file can't be found from my regular user, and the only local mail on the system is roots01:12
noarbI'm not even interested in sending from this account right now, I would just like to see messages in my regular workflow when they appear01:12
Guest7i am just trying to understand what it is01:18
Guest7another question i have is where is the DNS configuration located on ubuntu? I don01:19
Guest7't see /etc/bind01:19
leftyfbGuest7: multipass is used to spin up vm's, typically kvm vm's, but it does support other hypervisors, and utilize cloud-init to customize their network and such01:20
Guest7so it is an actual virtual machine but happens to work with k8s?01:21
leftyfbGuest7: as for DNS, ubuntu does not need a DNS server by default. If you're referring to the client resolver, it uses systemd-resolved for a client resolver01:21
Guest7what directory is that in?01:22
tomreynhttps://github.com/canonical/multipass01:22
leftyfbGuest7: multipass is not a VM, it's a tool used to orchestrate spinning up VM's across many hypervisors01:22
pycuriousis there a way to record the terminal output in an animation of the bootup process of ubuntu?01:22
pycuriouspreferably including the bios screen?01:22
leftyfbGuest7: back to DNS, what are you looking to configure exactly? Which nameserver is configured? You typically set that either via your DHCP server (router) or if you want to hard code it, use your network settings01:23
tomreynpycurious: run it in a vm, use your preferred video capture software01:23
=== M4he is now known as mahe
Guest7i just want to know where dns config is stored, the file and the directory where it is01:24
leftyfbpycurious: including the BIOS screen, no, not on bare metal. Not unless you use something out of band like pikvm01:24
leftyfbGuest7: systemd-resolve --status , you can add |grep "DNS Servers" to get a list of configured nameservers from you network setting01:26
Guest7yes but in which file and directory can i configure all of that stuff?01:26
leftyfbGuest7: you configure your nameserver in /etc/netplan/*.cfg01:27
Guest7ok let me check it out01:27
leftyfbGuest7: unless you are on a desktop, then you use the built in GUI network manager01:27
Guest7the only file i have in there is 01-network-manager-all.yml01:28
leftyfbGuest7: use the built in network manager01:28
Guest7and unfortunately i am not on an ubuntu OS with a GUI01:28
leftyfbGuest7: please past the out of this here:   cat /etc/os-release | nc termbin.com 999901:29
Guest7https://termbin.com/2xbo01:30
tomreyn!20.10 | Guest701:30
ubottuGuest7: Ubuntu 20.10 (Groovy Gorilla) was the 33rd release of Ubuntu, support ended July 22nd, 2021. See !eol and https://lists.ubuntu.com/archives/ubuntu-announce/2021-June/000269.html01:30
leftyfbGuest7: why do you have a 01-network-manager-all.yml if you're not running a GUI?01:31
Guest7nothing it is blank01:31
leftyfbGuest7: that file is only created when you have ubuntu desktop installed01:32
Guest7interetsing01:32
leftyfbGuest7: either way, you'll need to upgrade, your release is unsupported01:32
leftyfbGuest7: and your network settings should then be in /etc/netplan.01:33
Guest7yes you seem to be rightr01:35
pycurioustomreyn: thanks01:44
Guest7thank you for the answers but i have another question01:46
Guest7is it possible to trigger a kernel panic on purpose?01:46
Guest7if so, why would you do it?01:46
leftyfbGuest7: why would you want to do such a thing?01:46
leftyfbGuest7: this is more a google question. I see no reason anyone here would help to accomplish such a thing01:47
Guest7just wondering for educational purposes01:47
genii-coreGuest7: https://unix.stackexchange.com/questions/66197/how-to-cause-kernel-panic-with-a-single-command01:48
Guest7wow that is wild01:49
genii-coreNow you can check if all 3 lights on your keyboard blink on and off repeatedly01:50
Guest7the reason why you would want to do it is to capture a core dump?01:52
leftyfbGuest7: the core dump is only used to troubleshoot the issue that caused the kernel panic, which you never want to happen01:53
SnoopJI think it's perhaps being too general to say this kind of troubleshooting is the only use of having a core dump in-hand.01:53
SnoopJbut I can't really think of what others there might be other than "I need to look at a core dump from this kernel right now" ?01:54
leftyfbSnoopJ: there's other, less crashy ways to get all the same information from your system for other purposes01:54
SnoopJleftyfb, "the same information" being a core dump?01:54
genii-coreI guess you could use it as some sort of state capture mechanism01:54
leftyfball of that information should be in lsof and /proc/01:55
SnoopJwhat if the information you want is the literal layout01:55
leftyfblayout?01:55
SnoopJof kernel memory01:56
SnoopJI mean, I get what you're saying, if you want [some particular information] then there is probably a better way to get it than crashing your system...01:57
leftyfbGuest7: there's no reason for you to purposely generate a kernel panic. If, some day you become a kernel developer, then you'll already know how to do such a thing if you have to01:57
Guest7gotcha makes sense01:57
xblike never say 'allegiance' again.04:26
xbHeron Stiff.04:27
tomreynxb: this is the third time in a few days that you're posting off-topic here. please stop.04:32
xbtomreyn: my apologies04:33
xbmy desktop files have disappeared. when i upgraded from Ubuntu 18.04 to UB 20. Any advice?04:52
matsamanxb: what's in ~/Desktop/ ?04:56
tomreynyou may not have apt:gnome-shell-extension-desktop-icons installed04:56
=== bigpod9 is now known as bigpod
tomreyni'm assuming "UB 20" stands for "Ubuntu 20.04 LTS"?04:57
tomreynxb: ^04:58
xbyes. yes it does. I'm trying the gnome desktop shell install now04:58
xbthank you Mr. TomReyn that was the correct diagnosis.05:37
tomreynyou're welcome05:39
* TJ- shares a spoonful of porridge with tomreyn as a reward :)05:46
tomreynTJ-: Yum! Err, I mean, APT!06:03
* TJ- awards tomreyn the comedy crown06:04
guiverc:)06:25
=== kn1003855702625 is now known as kn100
funabash1Hi where can i find the dhcp client config ?08:58
alkisgfunabash1: by default ubuntu uses network-manager; what are you using?09:01
funabash1alkisg: its by default i have  a fresh installation. but i want to add some lines in dhcp config. cant find it09:09
funabash1alkisg: to be more specific i want to add dhcp options09:09
alkisgfunabash1: network-manager has it own internal dhcp client implementation09:12
alkisgIt doesn't use isc-dhcp unless you specify it in its configuration file09:12
alkisgIts full documentation is at https://developer-old.gnome.org/NetworkManager/stable/NetworkManager.conf.html09:13
Guest11Can someone please point me on how to create a dkms .deb package in ubuntu?09:23
alkisgGuest11: run `apt source rtl8812au-dkms` and then study! Or download it from https://packages.ubuntu.com/impish/rtl8812au-dkms09:26
=== EriC^^_ is now known as EriC^^
=== EriC^ is now known as EriC^^
ice99!paste10:02
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.10:02
ice99!pasteinit10:03
ice99!pastebinit10:03
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit10:03
RazvaHey! How can I set Chrome to use the middle click? On Windows I was closing tabs when clicking on them and scrolling up/down when keeping it pressed.11:23
matsamanRazva: with a mouse?11:24
RazvaG50211:24
RazvaI already installed Piper11:24
matsamanso yes a mouse11:24
Razvathe button is mapped as "middle click"11:24
RazvaYes, with a Mouse.11:25
matsamanmiddle mouse button click?11:25
Razvayup11:25
matsamanit didn't just work without piper?11:25
lotuspsychjechrome is not really a supported app, test on chromium browser instead11:26
Razvanope, fresh install11:26
Razvaok let me try that as well11:26
Guest11Can someone please point me list of commands need to run for creating a dkms .deb package in ubuntu?11:26
Razvanope, chromium does the same11:26
Razvafirefox does the same11:27
Razvasolved11:27
Razvasomehow Piper unmapped the button11:27
* Razva facepalms11:27
RazvaOk, next issue (with any browser) would be the fact that in Windows I was pressing middle click and scrolling down faster. Any way to do the same on Ubuntu?11:29
lotuspsychjeGuest11: alkisg already pointed you to a solution11:30
matsamanRazva: so it's doing middle click scrolling, but not as fast?11:31
Razvait's not doing any scrolling11:31
Guest11lotuspsychje: Sorry I lost the n/w connection.. I might have missed it.. Could you please point me again..11:31
lotuspsychjeGuest11: <alkisg> Guest11: run `apt source rtl8812au-dkms` and then study! Or download it from https://packages.ubuntu.com/impish/rtl8812au-dkms11:32
RazvaI press it and move the mouse up/down but nothing is happening11:32
Guest11lotuspsychje: Thanks11:32
matsamanRazva: in Firefox?11:33
RazvaFirefox and Chromium11:33
matsamanRazva: hrmm, maybe this: https://askubuntu.com/questions/28150/chrome-chromium-middle-mouse-button-for-scroll-linux-mac#answer-86817311:35
RazvaThe Device ID would be 2? https://paste.debian.net/1207984/11:38
Razvahttps://www.irccloud.com/pastebin/7yo4o7rK/11:40
matsamanRazva: hrmm, think I'd try 9 first11:41
RazvaYEEEEE11:42
matsamanthat a good or bad yee?11:42
Razvaa good one11:44
matsamancoo11:44
RazvaI'm noting this down as I have a feeling it'll be necessary for any DE and/or distro11:45
matsamancould be11:46
matsamanI don't remember ever having a problem doing that, "autoscrolling", as it's called, but11:46
matsamanI've been using laptops a lot for the past handful of years11:46
matsamanand Firefox, occasionally chromium, not really chrome11:46
ripperhi everybody11:47
ripperi have a problem by connection thorw wireguard on my system11:49
ripperwhen i try to connect by this sudo systemctl start wg-quick@London11:49
ripperi get errors11:50
ripperi use lubuntu 20.411:51
rippererror:   Job for wg-quick@London.service failed because the control process exited with error code.11:52
ripperSee "systemctl status wg-quick@London.service" and "journalctl -xe" for details.11:52
ripperby using this command journalctl -xe11:53
ripperthe resualts are :11:53
ripperexcuse me11:55
ripperby using this command : systemctl status wg-quick@London.service11:56
raphahi all12:03
raphaout of around a dozen ubuntu server VMs, i have a single one that doesn't honor external (ACPI from virt-manager) requests to shut down and power off. what might be the reason for that?12:04
TurboTechWow just found out that Tradingview and Think or Swim were available in the Software Repos.12:05
matsamanfinally you can exploit the workers on Linux, too =)12:06
xbmy apologies again that was a line from way way back.12:06
ripperhttps://pastebin.com/m13eyRwD12:07
ripperwhat should i do to solve it? please help me12:08
ripperlooks the problem is in resolvconf12:09
raphaperhaps ask in #wireguard?12:13
ripperok12:13
ripperbut it think the problem comes with my operating system not the wireguard protocol12:13
BluesKajHi folks12:14
ripperhi12:14
raphawell what does `ip a` say?12:19
raphaand does wireguard even have a tun interface, like openvpn?12:19
ripperrapha:  don't know12:24
ripperi have no idea about it12:24
=== Guest42 is now known as ufk
ripperi think doesn't have because i sat it up like a service12:25
ripperi used to work12:25
ripperit used to work*12:25
ripperbut nowadays it doesn't connect12:26
ripperi just control it by these commands12:27
rippersudo systemctl start wg-quick@London12:27
rippersudo systemctl stop wg-quick@London12:27
rippernothing is changed on my network manager12:28
raphawhat's also strange is that the if should be named "tun.London". i for one have never seen such a thing, but happy to receive some edification here.12:28
ripperiwhere is the strange?12:29
rippertun.london ?12:30
ripperfriends i have problem by connecting to wireguard protocol12:31
ripperby using this command :   sudo systemctl start wg-quick@London12:31
ripperi get errors12:31
ripperhttps://pastebin.com/m13eyRwD12:32
ripperMay you help me please?12:32
BluesKajripper, join #wireguard chat, you might receive answers there much sooner than here12:45
ripperBluesKaj: ok12:47
=== hugotty` is now known as hugotty
wrench_84Hello all =)12:59
matsamanhi12:59
matsaman612:59
wrench_84I have unexpected error when run sudo apt-key add - like gpg: symbol lookup error: gpg: undefined symbol: sqlite3_errstr. Do you know something about it ? libsqlite3-dev and sqlite3 already installed13:01
=== humberto1 is now known as humbertowoody
wrench_84ah yes, ubuntu 20.0413:02
goddardhow can i install nvidia drivers only for compute and not anything else?13:11
goddardmy main GPU is AMD13:11
goddardmy other GPUs are only for compute13:11
goddardand its Nvidia13:11
=== Janvitus_ is now known as Janvitus
Guest97my partitions don't accept edit13:24
goddardhey13:24
Guest97what should i do please13:24
goddardGuest97: use the disks program and change mount options13:25
goddardthat is the easiest way13:25
Guest97they're all unmounted by default.. but when i click them they immediately mounted13:25
Guest97but i can't edit or rename ot delete files within13:26
goddardSo use the disks program13:26
goddardthen edit the mount options13:26
zteamHi again, I have a problem with Ubuntu 21.04 which occured after a (partially) failed update from Ubuntu 20.10, after running for over 8 hours Gnome-shell starts to consume more than 50% of one of my cpu cores, how can I find out what is causing this?13:27
goddarduse htop to find the program with the most CPU usage13:28
zteamgoddard, thanks, but the program is gnome-shell itself (according to Gnome System Monitor)13:29
goddardzteam: try to reinstall gnome shell13:29
Guest97i don't know how to do that with my partition program i dont' see options13:32
goddardits in the hamburger menu13:32
goddardwhen you click on the drive13:32
goddardit should be in the window toolbar13:32
goddardat the top13:32
goddardon the right hand side13:33
Guest97KDE partition manager13:33
goddardnah gnome disks13:33
goddarddont know about kde partition manager13:33
zteamgoddard, I tried to reconfigure it with dpkg now, hopefully that settles things down a bit13:44
zteamGuest97, are you sure you have the necesseary permsissions to modify the files ?13:46
Guest97zteam i'm note sure, but each file owner details show my username13:47
zteamGuest97, right click the file or folder you are trying to modify and check whetever you have permssion to read and write to it13:49
Guest97zteam: owner can view and modify13:50
Guest11I created a simple .deb package as per https://ubuntuforums.org/showthread.php?t=910717 .. I need to print some text as a banner while installing the newly created .deb package, does DEBIAN/control supports this?13:51
zteamGuest97, Does it show that? (even if it's rare you can actually own files without having write permissions for it)13:52
leftyfbGuest11: try #ubuntu-devel13:52
Guest97zteam: yes i right clicked properties: (user- group- other) under permession > Can View & Modify13:54
Guest97all files withing that partition says so13:54
zteamGuest97, then you need to to alter the mount settings for that partition go to Disks Utitlty -> Select your  Disk -> and partition and click on wheel meny-> and select "edit mount settings"13:58
Guest97there's faded (grayed out) menu option (Edit mount point) when i right click on the partition on KDE Manager -13:59
Guest97should i unmount it first?13:59
Guest97or it's not the option we want14:00
zteamGuest97, it sounds like the right option... Did KDE Parition Manager ask you for any password then you started it?14:01
Guest97yes14:01
Guest97it asked for my username password14:01
zteamGuest97, okey, I have never used that tool myself, but it sounds like you need to unmount the partition first14:02
Guest97unmounted14:03
Guest97btw it's ntfs if that'sof any importance14:03
Guest97i clicked edit mount point14:04
=== genii-core is now known as genii
Guest97in the options there's " read only" which is unchecked by default14:04
goddardrun ntfs fix14:04
goddardntfsfix is the command14:05
Guest97will it harm my files?14:05
goddardno14:05
goddardjust fixes ntfs drives that weren't shut down cleanly by windows14:05
Guest97should i do this with the partitions mounted or unmounted?14:06
goddardit will tell you14:06
Guest97ok14:06
emisHELO14:06
zteamGuest97, No it wont't it it will only do a basic check to make sure the NTFS-filesystem is correct :-)14:07
Guest97https://pastebin.com/Q3z5EV6b14:08
goddardyou gotta tell it which drive14:08
goddardlsblk14:08
goddardshows your drives14:08
goddardit will be /dev/sda or something like that14:08
goddardunless it is nvme14:09
Guest97https://pastebin.com/Kpd4HXEy14:11
Guest97i tried chkdsk as it says14:11
zteamGuest97, as goddard says you need to tell it the device name (you can probably view this very easyily from Kde Partion Manager14:11
Guest97command not found.14:11
zteamGuest97, There is no Linux version of CheckDisk available, so if it wants you to run CheckDisk it means the Windows version from inside Windows14:12
Guest97i have no windows :x14:13
zteamGuest97, try sudo ntsfix -d /dev/sda314:15
Guest97https://pastebin.com/fENiMqWQ14:18
goddardit looks like it worked14:18
goddardsee if you can use it14:18
Guest97i tried to edit and delete a file.. nothing happened14:18
goddardsomething always happens14:20
Guest97T-T14:21
zteamGuest97, ntfsfix can only do basic checking of a NTFS-volume the only way to work around that is either to 1. get an installation media with windows and run chkdsk /p C: (assuming that is the right letter) or 2. Copy all your files to anotther partition and to recreate the parition that you can't modify the files on14:21
Guest97there's no easy ways to do fixes on linux14:22
goddardntfsfix has always worked for me14:23
goddardthe gnome disks to set mount options14:23
Guest97my system also crashed about 5 times in 2 days.. usually when i try to logout from my user or customizing my UI14:23
zteamGuest97, however I'm confused, ntfsfix is clearly telling you to the filesystem is dirty becuase windows didn't shutdown properly, so the question is what happened to your Windows partition?14:23
Guest97i'm starting to think that something went wrong when i installed kubuntu14:23
goddardand if you dont have windows installed you should just make the disk an ext4 drive any way14:23
goddardntfs always causes problems in my experience14:23
zteamgoddard, this is a good point if he doesn't intend to use that files on Windows in the future14:24
Guest97i couldn't change the partition extension because it'll make me lose the files14:24
goddardGuest97: ya you gotta move them some place else temporarily14:25
goddardusb 3 drive maybe14:25
Guest97so they'll remain only readable until i do move them somewhere else?14:25
Guest97even with the free space on the partitions?14:25
goddardif you can read them now then yeah14:26
Guest97i can red them but i can't modify them14:26
goddardits your computer and nothing will happen unless you do it14:26
BluesKajgoddard, "always" is too absolute, i use NTFS on my outboard media drive without any issues14:26
goddardBluesKaj: ok14:27
goddardin my experience it is best to do things the Linux way when you move out of Windows land14:27
Guest97is my sudo permssions different from root permssions?14:28
Guest97i want to try something14:28
goddardkind of but not really it depends14:29
goddardlook at the man page for -i14:29
goddardit details some differences14:29
zteamGuest97 sudo just means "perform this command only as root"14:29
Guest97ok i've (rootfs) folder which is owned by root ok?14:30
Guest97inside rootfs foler there's media folder14:30
SnoopJ(or some other user, if you specify -u)14:30
Guest97media folder has my username inside14:30
Guest97inside my username there's my 2 partitions14:30
Guest97mounted14:30
Guest97and their owner is me14:30
zteamGuest97, yes, (make sure these has read and write permissions as well14:31
Guest97media?14:31
zteamGuest97, the folders inside media14:32
Guest97my username folder is owned by root not my username14:32
Guest97media folder is owned by root too14:32
Guest97group root14:33
zteamGuest97, does other has read and write permissions there ?14:33
Guest97all options in permissions are grayed out14:34
Guest97for my username folder14:34
zteamsudo chmoud o+rwx /media/directory14:36
zteamGuest97, sudo chmod o+rwx /media/directory14:36
zteamGuest97, (replace directory with name of the folder inside media)14:37
ivaatapt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7EA0A9C3F273FCD8 results to gpg: keyserver receive failed: Server indicated a failure14:37
zteamivaat, try "sudo apt clean" && apt update14:38
Guest97still can't modify14:38
ivaatzteam: yea the apt update is part of script already14:39
ivaatand how this should help... did not help14:40
zteamGuest97, nope, Linux is not very happy to touch any NTFS-volume if it finds any defect14:41
Guest97can i run the chkdsk utility from inside linux?14:41
Guest97it it will help?14:42
zteamivaat, cleanings apts cache can actually help,since the key can be retrived from a possible corrupt cache (and no I can't now what's inside your scripts)14:43
ivaati am trying to retrive key from keyserver.. not cache14:43
ivaat"Server indicated a failure"14:44
zteamivaat, missed that part sorry14:46
ivaatnp14:46
zteamGuest97, get a usb-drive with Windows-instalation-ISO you can grab that directly from Microsoft, CheckDisk can only be run from Windows there is no way around that14:48
Guest97that or an external hard drive... ?14:49
Guest97those only 2 methods14:49
zteamGuest97, storing the files tempoarirly on another drive and formating the faulty NTFS-filesystem obviosly works as well yes.14:51
Guest97ok i will try with my usb drive first with windows 1014:51
Guest97i mean windows 714:51
zteamGuest97, either should be fine, from there just go to the recovery command prompt and run chkdsk /p C:14:52
Guest97do you know to burn a windows 7 iso file in linux?14:53
zteamGuest97, Try this, the instructions are for Windows 10, but it possibly works for Windows 7 as well https://www.omgubuntu.co.uk/2017/06/create-bootable-windows-10-usb-ubuntu14:59
Guest97ok thank you14:59
Guest97i will try now14:59
goddardwhats the default gnome shell font used?15:02
zteamGuest97, No problem :-)15:02
tarzeau_goddard: cantarell?15:04
Mekaneck Cantarell15:04
goddardit appears the AMD open driver has font rendering issues in gnome shell at high refresh rates15:04
goddardmakes it look all blurry and "rainbowy".. yes that is a technical term15:05
tarzeau_the AMD open driver doesn't know a thing about fonts15:05
goddardknowing a thing about a thing doesn't mean it can't effect a thing15:05
tarzeau_so it must be whatever software gui toolkit or font toolkit renders them15:05
tarzeau_easy to find out, so if it's gtk font rendering cause you trouble. try with qt applications if it's the same effect. and can you provide screenshots of the font renderings?15:06
MekaneckGuest97: you know Windows 7 isn't supported anymore....15:07
cbreakburning CDs? :O15:08
Guest97Mekaneck, yes but i'm not installing it.. i will burn it to usb for the sole pupose of running chkdsk command15:09
ivaatanyone can hit how i can get fsck.mode=skip into this solution: https://help.ubuntu.com/community/LiveCDCustomization15:10
Mekanecknot getting it on how you would do that since windows doesn't do live sessions Guest97... anyway, we're offtopic here15:10
Guest97i can't do live sessions like linux??15:12
Mekaneckwith windows? No15:12
Guest97do i have to install it alongside ubuntu for this to work??15:12
goddardGuest97: everything I have told you should of already be a solution15:12
ivaathint*15:13
MekaneckGuest97: this is not a windows support channel so15:13
Guest97goddard: i will try this from recovery windows 7 to run cmd15:13
goddardif your drive is failing then you might need custom software to salvage your data15:13
goddardyou shouldn't need windows but if thats what you wanna do15:13
Guest97zteam so far told me i have 2 options, this or buy a new DIsk and move data to it..15:14
=== Guest24 is now known as kulukuy
goddardyour problem is how your drive is mounted15:17
goddardntfsfix should solve the issue15:17
zteamgoddard, he can't fix an NTFS-drive with serious corruption from Windows, there is no Linux equivalent to CheckDisk ntfsfix is not a full-blown replacement for CheckDisk that'15:18
Guest97i ran ntfsfix command and that's what returned15:18
Guest97Mounting volume... OK15:18
Guest97Processing of $MFT and $MFTMirr completed successfully.15:18
Guest97Checking the alternate boot sector... OK15:18
Guest97NTFS volume version is 3.1.15:18
Guest97NTFS partition /dev/sda3 was processed successfully.15:18
goddardyeah15:18
goddardhow is the drive mounted?15:18
goddardfstab15:19
zteamgoddard, that's why I told him to grab a Windows iso15:19
zteamGuest97, just for curiousity you can try to run sudo dmesg -wH15:22
superbootI am getting started with containers using systemd-nspawn. I'm working on getting private networking setup. Most guides use sytemd.networkd for this. Ubuntu Server comes with Netplan. What is ubuntu community's recommended configuration (arrangement)?15:23
Guest97no specifc partition?15:23
zteamGuest97, from terminal, and then to mount the ntfs volume again, this should show any complains Ubuntu has about the NTFS-volume (it can't fix anything, but it let us see, if Ubuntu has any complains about the fileystem15:25
Guest97where i can see if there's a problem in the output?15:26
superbootMy main goal is to have a clone of the running system started up in a container, but with a new static IP address.15:26
zteamGuest97, it will print all errors in the same window as you enter the command :-)15:26
Guest97there's hella a looot of lines15:27
Guest97colored15:27
Guest97so much lines to check15:27
zteamGuest97, right.... we could make that easier....15:28
zteamguest press ctrl+c instead run sudo dmesg -wH | grep /dev/sda315:29
=== thegodsquirrel is now known as THEGODSQUIRREL
Guest97with sda3 mounted?15:29
zteamGuest97, unmount and run the command again then remount15:30
Guest97konsole freezes?15:31
Guest97type Xrtil +C?15:32
zteamGuest97, opens a new console then, and run sudo dmesg -wH | grep /dev/sda3 from there instead15:33
Guest97how long should the command take?15:34
Guest97cursor just sticks to the left of the console15:35
Guest97with no output15:35
zteamGuest97, even after you mount the faulty drive? :-O15:35
Guest97i haven't mounted the drive yet...15:36
Guest97it's still unounted15:36
Guest97it's a partition*15:36
Guest97i mounted15:37
Guest97and rand the command...15:37
Guest97still the same15:37
zteamGuest97, dmesg runs until we cancel it, it just prints events from the systemlog, the idea is to see any errors happening, it only shows events made after the dmesg is ran not before15:38
zteamGuest97, did you run the command after you mounted the drive, if that's the case it cant see it ? :-)15:41
Guest97should i unmount again? rune the command and then remount?15:41
zteamGuest97, unmount the drive, run the command let it run in the background, and mount the drive, hopefully it will show you something useful15:42
zteam:-)15:42
Guest97null15:43
Guest97:(15:43
Guest97btw usb is ready15:43
zteamGuest97,weird... we can try sudo dmesg -wH | grep mount15:44
Guest97ok there's output15:45
zteamGuest97, paste it on pastebin please15:45
Guest97ok15:45
Guest97https://privatebin.net/?819da867102e3a92#6kMbZjjvpvfkTD49tYuhD2z99NKABhNyoiPqQy7EL5q715:47
zteamGuest97, really weird, it shows no complains about the filesystem... I would still just boot up Windows install and run CheckDisk from that...15:53
Guest97zteam ok i will boot into the usb now15:53
Guest97brb15:54
zteamGuest97, yes go ahead :-)15:54
=== humberto1 is now known as humbertowoody
=== diskin is now known as Guest9075
=== diskin_ is now known as diskin
ivaatanyone can hit how i can get fsck.mode=skip into this solution: https://help.ubuntu.com/community/LiveCDCustomization16:12
pycodei accidentally closed the chat last time, i asked what virtualization system i should use to run windows 10 "without pain" (<--- asking too much?) :D16:20
pycodei need to run few platforms that require win16:20
pycodei tried with wine but i had some problems16:20
pycodewhat tool can i use? virtualbox?16:20
tomreyn!irclogs16:21
ubottuOfficial channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/16:21
pycodeomg i think is better to ask the quesiton again.. :D many many many logs16:22
pycode:D16:22
SnoopJyou could use virtualbox for that sure16:22
tomreynvirt-manager or gnome-boxes or virtualbox (upstream packages, not those in ubuntu)16:22
pycodefound16:23
pycodevirt-manager16:23
pycodehttps://irclogs.ubuntu.com/2021/08/14/%23ubuntu.txt16:23
pycoderavage told me to use that tool16:24
Guest528zteam16:24
pycodei cant find gnome-boxes16:25
pycodeon software manager16:25
tomreynpycode: virt-manager isn't the greatest user interface, but it does get updated, and builds a proper KVM instance. virtualbox has a more intuitive user interface but fewer options and is from oracle. gnome-boxes has a nice user interface and does kvm as well, but with fewer options and i'm not sure it will get updates (a gnome project)16:26
tomreynthe apt package gnome-boxes is present on all supported ubuntu releases in the universe section16:27
pycodeboxes Updated16:27
pycodeJune 7, 202116:27
tomreyn!universe16:27
ubottuThe packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.16:27
tomreynyes, gnome-boxes actually does seem to get pretty regular updates upstream16:28
pycodei will go with it but...one more question, what happen if i install win 10, i suppose i have to buy a license, and i do not know how they can work on a virtual system. i mean, if i remove it and install again i need to buy another key?16:29
tomreynpycode: you may imagine that we don't do windows licensing consultation on #ubuntu as a standard service16:30
zteamGuest528, yes, I'm here again :-)16:30
pycodeahaha :) tomreyn yes i can understand16:30
pycodeahahah16:30
Guest528zteam: thank you sir! it worked! i just ran chkdsk on bot partitions and it solved the problem.. <316:31
Guest528thank you16:31
tomreynivaat: you'd need to integrate it with both syslinux (gfxboot) and grub by editing their respective configuration files.16:32
tomreynivaat: this guide is old, though, i'm not even sure it's still current16:32
tomreyngive it a try, though16:32
ivaattomreyn: but with 20.04 there seems not to be grub.cfg under extracted iso16:32
zteamGuest528, Told you ;-) ntfsfix can fix small issues, but it was never meant to be a full replacement to CheckDisk :-)16:33
tomreynivaat: hmm, i woudn't know why that is16:33
Guest528zteam: yes thank you.. windows indeed has some powerful tools..16:34
TJ-ivaat: are you extracting the el-torito boot images?16:34
ravageI just said that i use virt-manager :D16:36
zteamGuest528, well, Windows has the most powerful tools for managing its own filesystem ;-) Linux has powerul-tools for almost all common filesystems except NTFS :D16:36
ivaatTJ-: el-torito? i have done "Extract the CD .iso contents" and "Extract the Desktop system" according to https://help.ubuntu.com/community/LiveCDCustomization16:37
zteamWell time to eat :-)16:37
TJ-ivaat: GRUB is the EFI boot loader. There's an EFI-SP stored as an El-torito header16:37
Guest528bon appetite and thank you very much for your time zteam16:37
ivaatTJ-: so i should do the EFI part of instructions as well?16:38
enyczteam: interestingly, linux 5.15 or so will have paragon NTFS driver included, much faster and better aiui16:40
TJ-ivaat: looking at that guide, and the section on re-assembling, the "sudo mkisofs ..." command isn't including an EFI-SP bootloader in the el-torito section, so would only boot in BIOS mode16:41
zteamenyc, isn't that the driver they already use in Linux kernel?, it would be awesome if Paragon did provide there own version of CheckDisk for us as well :D16:44
enyczteam: no,   ntfs-3g  is different project entirely16:45
HighAdConsultanHey, does anyone know how to limit cpu usage of a process to 75%? in ubuntu vps16:47
TJ-!info dumpet | ivaat you can use this tool to extract the El-Torito headers16:47
ubottuivaat you can use this tool to extract the El-Torito headers: dumpet (2.1-12build1, hirsute): dump information about bootable CDs and other similar formats. In component universe, is optional. Built by dumpet. Size 12 kB / 43 kB16:47
ivaatTJ-: alright i will try16:47
zteamenyc, that much I actually knew... but ntfs-3g was orginally a fuse-driver, I thought the kernel already did use something different than NTFS-3G :D16:49
siwicaIt seems Ubuntu is switching Kernels quite16:50
TJ-ivaat: "dumpedt --dumpdisks --iso file.iso" will create file.iso.0, file.iso.1 - check their sizes. Larger will be the EFI-SP vfat file-system. Then do e.g. "sudo losetup --find --show file.iso.1" and with the resulting loopdev, "sudo mkdir /mnt/efisp;  mount /dev/loopX /mnt/efisp; find /mnt/efisp"16:50
TJ-ivaat: typo!! dumpedt == dumpet16:50
siwicaIt seems Ubuntu is switching Kernels on 20.04. quite often. I had 5.11 installed, then Ubuntu downgraded me to 5.4, now back to 5.11. I think I was also on 5.8 for some time... Why is this?16:51
=== TiZ3 is now known as TiZ
enycsiwica: it depends on the ubuntu release/version16:58
enycsiwica: they maintain a 5.4LTS kernel16:58
enycsiwica: there is also a "hwe" hardware-enablement kernel series too16:58
enycsiwica: the HWe series changed from 5.8 to 5.11 etc  Ithink16:59
siwicaenyc: I am just on the normal 20.04 LTS version. And I don't understand why my kernel versions jump so much. Especially why they occasionally get downgraded by a lot.17:22
siwicaHow do I know if I am on the hwe series? Is ubuntu performing some sort of hardware check and put me on this series if I am on otherwise unsupported hw?17:24
rbasaksiwica: HWE series is automatic from the 20.04.2 installer IIRC.17:25
rbasakIf you use the original 20.04(.0) installer you won't be on it.17:25
rbasakThere are metapackages that identify what you're on.17:25
siwicaOk, apparently I am on "Ubuntu 20.04.2 LTS" according to /etc/lsb-release17:26
rbasakhttps://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack17:26
rbasakThat doesn't tell you what installer you used17:26
siwicaThanks. I will have a read!17:26
ioriasiwica, cat /var/log/installer/media-info17:26
rbasakLook for "hwe" in your installed package list.17:27
rbasakI'm going from that wiki doc17:27
siwicaioria: "Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)"17:27
rbasaksiwica: you might also be interested in https://wiki.ubuntu.com/Kernel/StableReleaseCadence17:28
rbasakKernel fixes are so frequent that they are released on a schedule instead of ad-hoc like most other fixes17:28
siwicarbasak: Thank you, I will have a look.17:29
siwicaWhat bothers me is that, some kernel updates seem to require me to manually re-install all nvidia-related stuff.17:30
siwicaOtherwise I would not really care all that much.17:30
rbasakI don't have much experience of that side of things (I don't own their hardware).17:30
tomreynhow did you install "all nvidia-stuff" initially?17:31
siwicarbasak: Probably for the best (when it comes to drivers...) :)17:31
rbasakYeah that's why I prefer hardware that has in-tree drivers :)17:31
siwicatomreyn: I think I used that ubuntu tool that's dedicated for installing 3rd party drivers. Forgot its name though.17:31
tomreynsiwica: if you'd liek to read yet more - i tried to sum up HWE vs GA vs LTSE at https://gist.github.com/tomreyn/8d7675840d7bc7389b32e4d8887ca44917:32
tomreynokay, i had expected the ubuntu-drivers utility to handle those kernel changes automatically17:32
siwicatomreyn: Alright, I'll also add that to my reading list. :) Thanks!17:33
siwicatomreyn: Seems not to always work for me. I find myself doing "sudo apt purge nvidia-*" every two months or so.17:34
rbasaktomreyn: nice writeup! Fancy integrating that into wiki.ubuntu.com? It is a wiki - feel free to edit. You shouldn't feel blocked by "offical-ness".17:35
tomreynrbasak: i was under the impression that the wiki is being deprecated.17:41
tomreynand i've not yet fully convinced myself that community. is the place to put things. i won't mind putting a copy to one of the two17:41
=== bigpod9 is now known as bigpod
tomreynsiwica: hmm, maybe file a bug on this, if you can recreate the situation. i don't think this is how it's meant to be. but then, yes, nvidia drivers...17:42
siwicatomreyn: I'll pay somewhat closer attention the next time this happens. I've somehow accepted that's the way it sometimes is, but it surely is not ideal.17:44
=== Ali-Karam__ is now known as Ali-Karam
siwicaIf I upgrade the kernel but the nvidia drivers don't update accordingly I sometimes end up in situations where I see the login-screen but cant move the mouse pointer. Then only removing xorg.conf and manually re-installing the nvidia stuff seems to work.17:45
tomreynsiwica: The X team may not even be aware this happens, so a bug report will be useful, I think, also if they are aware.17:46
siwica*If Ubuntu upgrades the kernel17:46
TJ-siwica: nvidia drivers not "updating" translates to "dkms build of nvidia module source failing"... you can easily check for that situation BEFORE rebooting with "dkms status"17:46
TJ-siwica: for each kernel version it should report the module as 'installed'17:47
siwicaI actually just got put on 5.11 again (was on 5.4) before and did not reboot yet. So it might aswell happen today :)17:48
TJ-siwica: check what "dkms status" reports then :)17:49
siwicaIt only mentions v4l2loopback (for all recent kernel versions including the new one) right now.17:50
TJ-tomreyn: nvidia still does use dkms doesn't it? I cannot think how else it would manage it17:51
UserUShow in the hell do you enable dhcp on ubuntu-server17:51
TJ-siwica: check the directories where the module sources are put "ls -latr /usr/src/"17:51
tomreynTJ-: i think so. but i don't use it either17:51
UserUSevery guide says install dhcp but how can you without internet17:51
TJ-UserUS: with the systemd.network file's [Network] DHCP=yes17:51
TJ-UserUS: or if you're using netplan (/etc/netplan/*.yaml) then adding its dhcp: ... directive17:52
UserUSunder netplan it has one labeled "installation" with literally nothing in it17:52
UserUSyou have anything on the systemd one?17:52
noarbis it possible to direct GRUB to prefer one monitor over the other in a dual monitor setup? Currently it displays on a second, rotated monitor17:53
TJ-UserUS: -server uses systemd-networkd which expects configuration files in /etc/systemd/network/  --- or runtime-only configs (as generated by netplan) in /run/systemd/network/17:53
TJ-UserUS: see https://netplan.io/examples/17:54
UserUSneither of those exist17:54
UserUSactually the network folder one exists but has nothing in it17:55
TJ-UserUS: right, that is expected if you've not created them!17:56
alzghI'm on Ubuntu focal. There are some commands which don't have manuals, but are standard, AFAIK. Like `shopt` . How can I install their mans, if there is any?17:57
TJ-I don't like netplan getting in the way so I remove it and write the static configs to /etc/systemd/network/17:57
siwicaUserUS: Can't you just configure a static IP/Gateway/... if internet access is the problem?17:57
TJ-alzgh: that's a shell-built-in. See "man bash"17:57
siwicaat least temporarily17:57
TJ-alzgh: or do "help shopt"17:58
alzghgot it, thanks TJ-17:58
TJ-UserUS: the first basic DHCP example at netplan.io should get you started17:58
UserUSthis is the stupidest shit that it doesn't come with dhcp. I would but nothing's setup right to even add a static to it, it doesn't have any files required17:59
TJ-UserUS: As I said, it DOES have DHCP client waiting, but you've got to configure it.17:59
UserUSIt does not, it uses files to do so which are not present17:59
TJ-UserUS: it's a server - you, as the admin, are expected to /configure/ it18:00
UserUSyeah no, no admin thinks having to manually configure something is above and behond18:00
UserUSthe fact it asks about it during setup and that doesn't even work but just messes up the config is even better18:01
TJ-UserUS: which installer image did you use? because it should have written a netplan yaml file. It sounds like something broke. or cloud-init is broken18:01
UserUSthe one from their website18:02
UserUSI added it and dhcp4 is set to tru but it doesn't grab one18:03
TJ-UserUS: did you apply the netplan config?  is there a DHCPv4 server on the link it is connected to?18:04
UserUSI did but it did nothing18:04
UserUSYes18:04
TJ-UserUS: check if netplan actually generated the systemd-networkd config: "ls -latr /run/systemd/network/" - you should see a .network file there18:05
TJ-UserUS: if you see a file there, do "cat /run/systemd/network/<filename>" and pastebin the content so we can check it looks correct18:06
TJ-UserUS: oh, and first, ensure the networkd service is running! "systemctl status systemd-networkd"18:06
siwicaTJ-: /usr/src includes a directory `nvidia-470.57.02`. This however was not updated when I just updated from 5.4 to 5.1118:07
TJ-siwica: that won't update, but it is what dkms uses to build the nvidia module18:07
TJ-siwica: try this: "sudo dkms install nvidia/470.57.02"18:08
TJ-siwica: oh and that directory does include source files and a dkms.conf doesn't it!?18:08
siwicaTJ-: I haven't rebooted after the kernel update yet.  The graphic card works without `dkms status` mentioning antything about nvidia though.18:09
siwicaTJ-: It includes source files but NO dkms.conf18:09
TJ-siwica: which suggests it is using the nouveau module. Try this to check which module: "lspci -nnk -d ::0300"18:10
siwicaTJ-: I explicitely disabled the nouveau module18:10
siwicanvidia stuff is working (otherwise `nvidia-smi` does not show anything, etc.)18:11
TJ-siwica: well not sure where the existing module is being found then18:11
siwicayeah, me neither.18:11
TJ-siwica: "modinfo nvidia | head" will show the path18:11
UserUSTJ: it's only got 5 lines, the name, under network dhcp=ipv4, link localaddressing ipv4 and route metric=100 and usemtu=true18:12
TJ-UserUS: good, so it was created, so we know netplan did its job. Is the systemd-networkd service running?18:12
UserUSyes18:13
TJ-UserUS: then DHPC server isn't giving out a lease it seems18:13
TJ-UserUS: we could enable debug-level logging and then restart networkd and see what it logs - that would reveal what networkd is seeing/nnot seeing18:14
* enyc meows18:14
lotuspsychjesiwica TJ- could have been recent 470 bugs issue aswell, we noticed a few passby of those in -announce18:15
TJ-UserUS: are you able to run a tcpdump on the DHCP server to see if it is receiving a DHCP solict from this system?18:15
TJ-UserUS: I'm also wondering if this system has an Intel I219-V Ethernet device? If so, there are known long-standing problems with thpose whereby the power-saving disables the transmit side but not the receive!18:17
TJ-UserUS: use " lspci -nn -d ::0200" to check the device18:17
TJ-lotuspsychje: I'm so glad I know longer allow nvidia devices!18:18
lotuspsychje:p18:18
lotuspsychjesiwica: i saw something like bug #1938821 passby18:20
ubottuBug 1938821 in nvidia-graphics-drivers-470 (Ubuntu) "nvidia-kernel-source-470 470.57.02-0ubuntu0.20.04.1: nvidia kernel module failed to build" [Undecided, Confirmed] https://launchpad.net/bugs/193882118:20
UserUSTJ: this is VM in a VCD envrionment, so there's a DHCP server and it doesn't have lscpi18:20
TJ-UserUS: what is 'VCD' ?18:21
TJ-UserUS: is it a cloud image you installed, or a full ubuntu-server install from an ISO?18:22
TJ-UserUS: well, as you have control of the DHCP server, check if it is receiving the DHCP SOLICIT from the VM guest18:23
hajonnes@Ubuntu 20.04. how do I find out what's the name of the .desktop file that is associated with the terminal? i.e. gnome terminal.18:24
tarzeau_hajonnes: dpkg -L gnome-terminal | grep desktop ?18:25
tarzeau_hajonnes: also works the other way around dpkg -S /some/file18:26
hajonnesThanks a lot!! :)18:27
hajonnestarzeau_, ^18:27
hajonnestarzeau_, btw how can I figure out that the terminal is called gnome-terminal. In the about section of the menu it just said "Gnome Terminal".18:29
hajonnesI think I will use this for other apps and would like a general approach.18:29
tarzeau_hajonnes: if you look into the desktop file it becomes clear18:31
tarzeau_hajonnes: if you want to try a different terminal, try cool-retro-term for example18:32
tarzeau_what is also nice, using your own font, mono fonts work all well for terminals18:32
hajonnestarzeau_ Thanks for the suggestions. :)18:44
shinobiI just noticed that if i boot my machine (20.04) and don't log in I don't establish a wifi connection. It's only when I login that it happens. Is that a feature?18:54
SnoopJshinobi, I believe the typical configuration pathway will store that information per-user, so yes I believe that's expected behavior18:55
tarzeau_turning on autologin would fix it?18:56
rud0lfshinobi: if you want to change it, Edit Wi-Fi Network in Network Manager, and check on the first tab "All users can connect to this network"18:56
SnoopJfor a generous value of "fix"18:56
shinobiSnoop: Thanks, Do you know if I can set that behavior up on boot? My machine is basically a workstation/server.18:56
SnoopJshinobi, see rud0lf's remark18:56
tarzeau_shinobi: i've got the same setup, and i'm loosing internet if the wifi signal drops (due power outage). am i alone?18:57
shinobiSnoopJ, rud0lf: Thanks!18:57
tarzeau_and should i not be alone, is there a software watchdog checking internet and rebooting if gone? something small for cron @reboot poor mans version?18:57
shinobitarzeau: Do you just have ... for an indicator?18:58
tarzeau_shinobi: no idea, it's 1200 km far18:58
shinobitarzeau: I'm not understanding you. Are you at the machine?18:58
tarzeau_shinobi: no, the machine is far away, and i can't check what's on the screen right now18:59
shinobitarzeau: I just solved a similar issue. The signal would get weak, or the router would try and switch to another band and network manager would get stuck. The router would also deauth the PC from time to time causing the same ... network prompt.19:00
tarzeau_shinobi: how was your fix?19:00
shinobiThe solution was to have my modem/router just be a modem and upgrade my router. That solved all my issues. (Except for this on one boot.)19:00
shinobiNow I'm pulling 100Mbs over wifi down to my basement. :)19:01
shinobi(I only have 100Mbs service)19:01
tarzeau_well i've got an instrument taking measures, and it's too far for cable (another building), so i'm trying with wifi, which is nuts19:02
tarzeau_works two weeks, and then gone, until reboot19:03
shinobitarzeau: Do you have wifi in each building?19:03
tarzeau_one apple airport on 2nd floor, works fairly well on about 900m219:06
shinobishinobi: Because if you don't already have it. You could just get an access point that may have more range to hit the other wifi and penty of range to hit the wnic of the device taking readings.19:06
shinobiTarzeau: ^^19:09
shinobiTarzeau: I don't know how well Apply and linux play together.19:10
shinobiRud0lf: Do you know what the expected behavior is if I have both my 2.4 and 5 networks set to "available to other users"? Does it connect to the best network at boot? Does it connect to the last one? Both are set to auto connect.19:12
rud0lfi think you can set priority19:12
rud0lfnot sure if -1 is stronger or weaker than 1 tho19:12
=== polymorp- is now known as polymorphic
ceibalhola19:23
ceibal???19:24
ceibalhay alguien aca?19:24
leftyfb!es | ceibal19:24
ubottuceibal: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro.19:24
ceibalthanks19:25
ensHi. I'm having an issue with 20.04 where it seems that there is a failure when trying to use bluetooth firmware. I'm trying to fix the bluetooth support. I'm on a HP ZBook 15 G3.19:39
enshere is the dmesg log: https://paste.ubuntu.com/p/FkHSD8qPTV/19:39
ens"Bluetooth: hci0: Failed to send firmware data (-38)"19:39
ioriaens apt-cache policy  linux-firmware | nc termbin.com 999919:42
ensioria: https://termbin.com/owx619:43
ioriaens sudo apt update && sudo apt full-upgrade19:43
TJ-ens: show us "ls -l /sys/class/bluetooth/"19:45
ensTJ-: lrwxrwxrwx 1 root root 0 Aug 17 20:33 hci0 -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/bluetooth/hci019:47
ensioria: i guess i'll give it a reboot and see if it takes the new firmware19:47
ioriayep19:47
TJ-ens: thanks, that confirms we're dealing with a USB BT module. You don't need to reboot19:47
iorianew kernel, he got 2519:48
iorianow 27, i assume19:48
TJ-ens: "sudo systemctl stop bluetooth; sudo modprobe -r btusb; sudo modprobe btusb; sudo systemctl start bluetooth" is a way to reload after adding firmware19:48
ensah, too late. already did the deed. thanks for the info though.19:49
TJ-ioria: ens  those ACPI errors (WMI) don't look great19:50
ioriai know19:50
=== Droid is now known as Mekaneck
enswell seems to be no change since the reboot.19:51
ensyeah the ACPI stuff seems to flash up early in the boot process. perhaps i need to do a bios update?19:52
ensi have it in dual boot config so i can use hp's tool.19:53
TJ-ens: there's a VERY recent firmware update May 2021 for your PC19:54
TJ-ens: https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-zbook-15-g3-mobile-workstation/8693763/swItemId/ob-273500-119:54
TJ-ens: WOW, the changelog for that firmware is massive19:56
TJ-ens: there are also a lot of sub-device firmware updates https://support.hp.com/wps/portal/pps/Home/SWDSelfServiceStep/!ut/p/z1/jZDLDoJADEW_hq298o670SgOvqKJgrMxqAgoMmZAvt_XykTRJl20OecmLQkKSRRRnSVRlckiyu_zWtibCTh038PIXfkWGGNTY8AXbeig4An0PDY0nTHgzc0uuDOZjfoL1wC3Sfzj40sx_Oc3AKI5PiDxRJou-JXhk0hyuX29ixVbw01IqPgQq1i1ruq-TqvqUnY0aNhfd6dHJ7K1k2cNn5RUlhWF7yRdzstliKOV12N2AxpR74A!/#panel-1019:58
ensah nice20:02
ensthanks for that. i'll go get the new firmware installed then and give it a shot.20:03
ensand so it seems that although the bios update was applied - the dmesg output still contains a littany of acpi complaints and the bluetooth does not work. hrm. i might have to get a cheap usb dongle for it perhaps.20:27
TJ-ens: Have you done a cold power off and restart?20:28
TJ-ens: sometimes warm reboots do not reset hardware correctly (ACPI's role)20:29
TJ-ens: especially you it dual-boots with Windows20:29
TJ-errr you == if20:29
ensi'll give that a shot too.20:29
ensTJ-: i think my next question should probably be for a recommendation of a good compatible cheap usb dongle. haha.20:40
TJ-ens: I think there will be a solution - just need a little more evidence. Firstly, enable kernel debug at start up. Do you know how to edit the GRUB menu entry at boot time, for a one-time change of the kernel command-line?20:41
ensyeah i can do that20:41
TJ-ens: OK, boot to GRUB menu, higlight the default entry, press 'e' to edit it. Navigate to the line starting "linux ..." and remove "quiet" and "splash" replace with "debug systemd.log_level=info nosplash" and press Ctrl+X to boot with those changes. Once booted "pastebinit <( journactl -k )" will show us the kernel log20:43
ensah nice yes. i see there's a lot more info here. https://paste.ubuntu.com/p/q76pk2mVyS/20:48
TJ-line 1030 "Bluetooth: hci0: Found device firmware: intel/ibt-11-5.sfi"20:50
TJ-ens: let's ensure the firmware file is not corrupt. "dpkg -S intel/ibt-11-5.sfi" then "if dpkg --verify linux-firmware; then echo 'All OK'; fi "20:52
TJ-ens: that error number -38 doesn't make too much sense, unless this is a udev issue. "#define ENOSYS          38      /* Invalid system call number */"20:53
ensit echoed All OK20:54
TJ-ens: you can find that with "grep 38 /usr/include/asm-generic/errno.h"20:54
TJ-ens: so let's check the udevd log20:55
TJ-ens: "pastebinit <( journalctl -u systemd-udevd -b 0 )"20:55
ensinteresting stuff. learning a lot about how to inspect these internals.20:55
enshttps://paste.ubuntu.com/p/wWwJkrbTzZ/20:57
goddarddid prime-run get replaced with something else or do I have to install some other package?20:58
TJ-ens: I've found similar reports, and one solution reported is to unload and reload the module,as I  suggested earlier, so lets try that21:00
TJ-ens: "sudo systemctl stop bluetooth; sudo modprobe -r btusb; sudo modprobe btusb; sudo systemctl start bluetooth"21:01
ensyeah it appears to be 'on' now and the log says it has loaded the firmware.21:03
tomreyngoddard: https://answers.launchpad.net/ubuntu/+source/nvidia-prime/+question/69277521:04
ensi was able to pair it with my bluetooth headset and play some audio through it.21:05
ensthanks TJ- i think i owe you the drink price equivalent of a cheap bluetooth usb dongle at least!21:05
SnoopJThe contents of arch's prime-run are basically exactly what's given in that launchpad thread in an executable script, with "$@" trailing the vars.21:05
SnoopJdoesn't look like Ubuntu ever shipped something like that21:06
TJ-ens: so it is a race condition. do you want to figure out a solution to slow it down?21:06
ensTJ-: that would be educational. i'm up for it.21:07
TJ-ens: I'm going to check the kernel source for the exact cause of -38 ... be a few minutes21:08
HighAdConsultanHi! how to limit cpu usage of a process?21:10
TJ-ens: this is the function where that error originates. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/btintel.c#n93521:11
ensbtintel_download_firmware_payload in btintel.c21:12
TJ-ens: the function btintel_secure_send() https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/bluetooth/btintel.c#n27321:12
tomreynHighAdConsultan: please do not cross post21:12
ensTJ-: i guess it is not a matter of recompiling the kernel with some sort of sleep() in there?21:16
TJ-ens  that leads back to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/hci_request.c#n12821:17
ensTJ-: do you think it's a good idea if i check out the source and try to trace back the function calls?21:20
TJ-ens: I'm looking for the source of that -38 because that should give a clue as to the real cause.I tend to think it is a race between the host chipset (the Intel wifi 8260) and the Bluetooth chipset - they are joined together physically21:23
TJ-ens: found it ... its the default when no other error matches, Grrrr!  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/bluetooth/lib.c#n13221:25
xMopxOn this page, https://ubuntu.com/security/CVE-2021-3487, what does "Needed" mean?21:27
ubottuThere's a flaw in the BFD library of binutils in versions before 2.36. An attacker who supplies a crafted file to an application linked with BFD, and using the DWARF functionality, could cause an impact to system availability by way of excessive memory consumption. <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3487>21:27
TJ-ens: there are only two lines with -bt_to_errno() in net/bluetooth/hci_request.c21:28
TJ-ens: lines 155 and 24221:29
ensjust checking them now21:29
tomreynxMopx: https://git.launchpad.net/ubuntu-cve-tracker/tree/README#n31521:30
TJ-ens: and those are working on the variable 'err' (errorno) that in both cases is set just above by "err = wait_event_interruptible_timeout"21:30
xMopxtomreyn: thanks! howd you find that?21:30
tomreynxMopx: there is also #ubuntu-security21:30
tomreynxMopx: i was previously told about its exitence21:31
TJ-ens: so, either the timeout is too low, ir the device isn't ready at this point (maybe due to the iwlwifi device not having set things up on the USB interface fully at that point)21:31
xMopxhah, alright21:31
TJ-ens: so I think the solution is to delay loading of the btusb module for a second or two21:32
ensTJ-: so the device is reporting it's ready for the next bit of processing when it's not. i see.21:33
ensand then the code tries to load the firmware and gets this issue21:33
TJ-ens: looks that way. I have a delay solution for you21:34
ensTJ-: the suggestion i see is to use a systemd definition to load it after the fs gets mounted or such21:34
TJ-ens: " echo "install btusb /usr/bin/sleep 2; /usr/sbin/modprobe --ignore-install btusb" | sudo tee -a /etc/modprobe.d/btusb.conf "21:36
TJ-ens: see "man modprobe.d" for how 'install' works to execute a command in this way21:36
ensah nice so whenever modprobe tries to install btusb it will instead run that sequence. (just read the manual)21:41
ensthat's handy.21:41
TJ-ens: now you just need to do a reboot test21:43
enswell, seems to be working 100% now.21:44
ensthanks for the tour!21:44
TJ-ens: the reboot worked?21:45
ensyep. it's all chugging along fine now21:45
TJ-fantastic. We'd best remember this one for any others with the same race condition21:45
TJ-tomreyn: ^^^21:45
tomreynTJ-: hmm?21:46
TJ-remember this race condition solution for bluetooth firmware failure loading21:47
TJ-it's a hard one to diagnose, but a simple solution21:47
tomreynoh, thanks. i can try, but bug reports usually work better21:48
TJ-tomreyn: that's next :)21:48
tomreyn:)21:48
TJ-Bug #194033221:54
ubottuBug 1940332 in linux (Ubuntu) "hci0: Failed to send firmware data (-38)" [Undecided, New] https://launchpad.net/bugs/194033221:54
tomreynthanks21:56
ensreally appreciate all the help TJ- .22:00
=== jwisbell35 is now known as Kathadris
goddardtomreyn: what is this about?22:08
tomreyngoddard: what do you mean?22:14
tomreyngoddard: oh you're referring to https://answers.launchpad.net/ubuntu/+source/nvidia-prime/+question/692775 - it explains how you could create your own "prime-run" since this does not exist on Ubuntu22:16
tomreynalso alternatives22:16
goddardi gotcha22:33
goddardthanks22:33
goddardokay the prime_run thing did nothing22:38
goddardbut just seting it to on-demand while the AMD card being the default video output card works22:39
goddardeven though xorg is forced22:39
goddardstill i can live with this22:39
goddardhopefully it is stable though22:40
goddarda lot of the details are wrong i think though22:40
goddardso odd how this works22:41
cuchyBuenas alguien en la sala que hable español ?22:44
ice9is it safe to apply this https://forum.manjaro.org/t/howto-use-wayland-with-propietary-nvidia-drivers/36130 in ubuntu and will it work?22:44
SnoopJ!es | cuchy22:44
ubottucuchy: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro.22:44
cuchyok SnoopJ22:45
SnoopJlo siento :/22:45
=== pasiz0 is now known as pasiz

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