/srv/irclogs.ubuntu.com/2021/07/04/#ubuntu.txt

IRCMonkeyOh O.K.00:00
Theteanyone know by chance which version of gcc is default on 21.04?00:00
Theteis it 9 or 10?00:00
IRCMonkeyRight now the store made 2 partitions: OS partition with 200 GB & 265 GB for my files, I'm not happy with this, I'd like one large partition.00:00
tomreynThete: 1000:01
Thetety00:01
jackehow is ubuntu latest vs LTS? do you experience stability issues?00:02
tomreynTheyou can check this for yourself on https://packages.ubuntu.com or with rmadison / dak ls00:02
Bashing-omIRCMonkey: My system as an example of a tight working install: https://termbin.com/sp48 .00:02
tomreynThete: ^00:02
ezzieyguywufis there a flag for `apt get` that will auto-select `yes`?00:03
ezzieyguywufah, -y00:03
ezzieyguywufnvm00:03
IRCMonkeyBack -looking-00:03
tomreynThete: https://people.canonical.com/~ubuntu-archive/madison.cgi00:04
TheteI saw that, but for some reason my system was using gcc-9 by default00:04
Theteso I'm guessing I messed something up00:04
Bashing-omIRCMonkey: My partitions named: https://termbin.com/0ykq00:04
Thetewhich is why I was confused00:04
=== Buggys- is now known as Buggys
tomreynhttps://people.canonical.com/~ubuntu-archive/madison.cgi?package=gcc&s=hirsute says 10.3.000:05
IRCMonkeyOh c0000:05
IRCMonkey@ Bashing-om00:05
IRCMonkeyI named my C:\ "Op Systems" & D:\ "Data"00:08
Bashing-omIRCMonkey: My booted system's disk usage: https://termbin.com/jc42 . As you can see the operating system does not need much room.00:09
IRCMonkeyBrilliant !00:10
Bashing-omIRCMonkey: Ouch - in linux a space is seeen as a file delimiter - you will have a learning curve to deal with any spaces.00:10
IRCMonkeyDo I select "Third-party" drivers during install for it to automatically detect & install Intel HD Graphics\ WiFi or will I have to provide the driver with the disk for it ?00:11
jackeyup00:12
tomreynIRCMonkey: you need neither00:12
Bashing-omIRCMonkey: Neither - Intell drivers are in the kernel :)00:12
IRCMonkeyFile names cannot have spaces ??00:12
IRCMonkeyOh good00:13
jackeIf you dont need them they wontbe installed00:13
jackenever have spaces in file names!!!!00:13
IRCMonkeyOMG !00:13
IRCMonkeyBut I want my screen resolution to be 1366x76800:13
IRCMonkeyWhat do I do with all my files in my USB sticks with spaces ?00:14
Guest39I installed Ubuntu 20.4 hoping for a miracle and no... Same issue on first boot. I'm gonna give up for today, I'll try again tomorrow.00:14
Guest39Thanks everyone for your help.00:14
jackeB4 you install any linux...run a live version to see if everything works...then install...00:15
Guest39The live install works perfectly fine00:15
leftyfbjacke: that doesn't always give you a good idea of how well it's going to run00:15
Guest39this is a video card issue00:15
Bashing-omIRCMonkey: Spaces: not what I implied - just that a space in a fike name takes extra care to cope with. Op Systems straight up will be seen as 2 files: "Op" and "Systems" also linux is case sensitive - op and Op are seen as 2 different files.00:16
jackethen you can make the install work just as well00:16
Guest39I think..00:16
tomreynGuest39: :-/ sorry we couldn't help. one more thing that may be the diffference between live and install may be microcode updates.00:16
IRCMonkeyOhhh O.K.00:16
IRCMonkeyNo I don't plan on naming my drives or anything.00:16
leftyfbtomreyn: and hwe kernel and no running from squashfs and video drivers, etc00:16
IRCMonkeyBut filenames can contain spaces amirite ?00:16
Guest39jacke Probably yeah but I've been trying for the last ~6 hours with the help of people here and nothing worked so far so I'm done for the day :)00:17
tomreynleftyfb: 21.04 has no hwe kernel by default00:17
leftyfbtomreyn: "<Guest39> I installed Ubuntu 20.4 hoping for a miracle and no"00:17
tomreynGuest39: similar to "nomodeset" you can use "dis_ucode_ldr" to override the microcode loading00:17
tomreynleftyfb: yes, but it was all about 21.04 before this.00:17
leftyfbok, yeah, just joining now00:18
Bashing-omIRCMonkey: Yes file names "can" contain spaces but in use these spaces will have to be escaped so the system sees them as one file. A pain sometimes to keep track of.00:18
Guest39tomreyn No worries, really appreciate your inputs. Alright last test and I'm done for today ^^00:18
tomreynGuest39: you're welcome00:19
IRCMonkeyOh O.K.00:20
tomreynGuest39: yet another suggestion: this computer is old enough that it was probably shipped (and primarily tested) with classic bios booting by default. you could try switching to that (but need to reinstall then).00:20
Guest39The first install was with the BIOS option enable in BIOS. But I guess I also need to change the way I create my booting drive right?00:23
tomreynif you make the bios boot in 'legacy' bios mode (rather than UEFI), then do a standard installation, you'll be set00:24
tomreynbut i'm not sure i got the question right00:24
Guest39Right now I'm using ventoy for my bootable drive using GPT partition. Do I need to create a more "old school" installation drive in addition to enabling Legacy BIOS?00:26
oerheksventoy ... never heard of that before00:28
tomreyni don't know for sure whether ventoy will be bale to boot in both uefi and bios mode, and whether it will be able to boot the ubuntu installer in either mode.00:28
tomreynbale -> able00:28
Guest39I've got tons of usb drive I can just create another one the old school way00:29
oerheksSecure Boot was supported from Ventoy 1.0.07, but the solution is not perfect enough. So from ventoy 1.0.09, an option for secure boot is added in Ventoy2Disk.exe/Ventoy2Disk.sh and default is disabled. So by default, you need to disabled secure boot in BIOS before boot Ventoy in UEFI mode.00:29
oerhekshmmm, questionable tool it is..00:29
oerhekshttps://www.ventoy.net/en/doc_secure.html00:29
Bashing-omGuest39: Tje mode that you boot the installer in is the mode that will be used to install; Bios or UEFI.00:30
oerheksuse mkusb, rufus ..00:30
jackeGPT for UEFI boot in bios00:30
jacketurn off secure boot00:30
oerhekssecureboot is not a problem, fastboot is.00:31
Guest39I've used rufus before. Ventoy is more convenient, I can just drop a collection of ISOs on a key and install whatever I need00:31
Guest39secureboot is disabled. Fastboot is enable, I'm not sure how that could cause the issue I'm seeing00:31
jackesecureboot can be aproblemif he's booting an unsigned kernel00:31
oerheksGuest39, interesting, but you are here for hours now..00:31
oerheksomg .. fastboot enabled..00:32
oerhekstake some time to read the UEFI manual00:33
oerheks!uefi00:33
ubottuUEFI is a specification that defines a software interface between an operating system and platform firmware. It is meant as a replacement for the BIOS. For information on how to set up and install Ubuntu and its derivatives on UEFI machines please read https://help.ubuntu.com/community/UEFI00:33
Guest39It just says to disable it without any explanation why. I just disabled it and no change.00:35
oerhekswe don't know either about that tool, it is not in our recommended list00:36
oerhekshttps://ubuntu.com/tutorials/create-a-usb-stick-on-windows00:37
Guest39tomreyn dis_ucode_ldr didn't help :(00:38
tomreynGuest39: a pity. :-/ have a good night, more luck tomorrow!00:39
Guest39oerheks I mean at this point I'm willing to try anything but I don't see how just changing the tool I use to setup my install drive going to change anything. It works perfectly fine on live image, issue appears after install.00:39
Guest39tomreyn Thanks again, see you00:40
IRCMonkeyO.K. that'll be all thanks Bashing-om, tomreyn & jushur for answering my woes.00:40
oerheksGuest39, good, try rufus and let us know.00:45
me_this is my first time using an irc00:48
* jacke slaps myself with a trout..00:49
* jacke slaps himself with a trout..00:49
me_/etc/apt/trusted.gpg00:50
jackeme_: Hi!00:50
jackeme_: dont paste things that can be used against you here!00:51
jacke...even just a path00:51
me_ok00:51
niksenyou have the right to remain pasteless00:56
jackeYou have the right to remain pasteless. Anything you paste can be used against you in court. You have the right to talk to a linux user for advice before we ask you any questions. You have the right to have a linux user with you during questioning. If you cannot afford a  inux user, one will be appointed for you before any questioning if you wish. If you decide to answer questions now without a linux user present, you have the right to stop answering alt any01:01
jacketime.01:01
leftyfbjacke: please take it to #ubuntu-offtopic. This is a support channel01:08
=== blackest_mamba_ is now known as blackest_mamba
Guest39oerheks Just used the ubuntu recommended way to create a install stick using Startup Disk Creator on Ubuntu (don't have access to a windows machine right now) and same issue..01:22
maxhI have several unity-scope packages preventing me from upgrading gir1.2-unity. I can safely remove them, right?01:26
guivercGuest39, did you validate your ISO?  https://tutorials.ubuntu.com/tutorial/tutorial-how-to-verify-ubuntu#001:27
Bashing-ommaxh: If ' apt show <package_name> ' shows as "optional"; then yes can safely be removed.01:32
Guest39guiverc just did all good01:34
guivercI'd assume bad write to media then.. I find about 5-8% of writes are bad (usb-flash-media is made to cost and not quality), so I'd try booting it on other box; if it doesn't complete media validation there - likely a bad write.01:36
guivercGuest39, ^01:36
Guest39guiverc Thanks for your input but this not my issue at all. I'm created 2 different install drive with 2 different method, the issue is the same. Live image is all good. Installed ubuntu "works" I just have display issue probably because of the Nvidia card.01:40
Guest39In any case I said I would stop troubleshooting for tonight, Just wanted to confirm that my way to create bootable drive had no issue..01:41
guivercI didn't see your prior posts, your message I did see mentioned "used the ubuntu recommended way to create a install stick using Startup Disk Creator on Ubuntu... same issue" so my comment was based on that.01:41
Guest39got it my bad if I sounded snapy01:43
guivercnot a problem Guest3901:43
=== jacke is now known as Guest4766
=== M4he is now known as mahe
SupremeKaiHello! I've used "sudo dpkg --verify" to check if everything is fine and I got this output: https://paste.ubuntu.com/p/XTcNP2FNSC/ - what does this mean? those files were changed?02:03
SupremeKaias far as I know, dpkg --verify verifies the installed apps and other stuff right?02:03
=== cacti is now known as ice
=== jacke is now known as Guest4478
=== Guest4478 is now known as jacke
nsguestI just discovered focuswriter, and it looks great, but I want a dead simple kid friendly write words over scanned background page for a kid with disgraphia. Focuswriter doesn't seem to do any sort of background image on the page (just around it) over02:58
nsguestAny suggestions?02:59
=== jacke is now known as Guest688
=== bahamat_ is now known as bahamat
=== Abrax is now known as |_
=== |_ is now known as |__
=== |__ is now known as ||_
=== ||_ is now known as |__
=== Abrax is now known as ___
=== ___ is now known as group
=== group is now known as ___
=== ___ is now known as __
IRCMonkeyShould I get Ubuntu Long-term-support or the latest one ?04:47
IRCMonkeyItching to try out the latest version […]04:47
lotuspsychjethe users choice IRCMonkey04:48
lotuspsychjefeel free to start a topic in #ubuntu-discuss04:48
IRCMonkeyAlright, I'll go with the latest version —even my IRC client's beta build. :D04:49
krytariklotuspsychje: Isn't that on-topic for here though?04:50
Mekaneckit is on topic imo04:51
Mekaneckit's a question about Ubuntu04:51
lotuspsychjei never said its offtopic, im suggesting he can discuss it further04:52
Mekanecknot needed in discuss :)04:52
MekaneckIRCMonkey: long term support versus 9 month support, choose wisely04:53
IRCMonkeyAlright thanks, I will !04:53
=== EriC^^_ is now known as EriC^^
bomzh1018I want to open a terminal on startup, run a command in it, and then keep it open07:15
bomzh1018how can I do that?07:15
bomzh1018if I put `mate-terminal -x COMMAND` in "startup applications", will it stay open after running that command?07:18
alkisgmate-terminal --tab -e "command1" --tab -e "command2" --tab &07:20
alkisgThat one opens 2 commands in two tabs, and a third tab with the prompt07:20
alkisgIf you want just one, it's just one -e07:20
bomzh1018thanks alkisg!07:22
bomzh1018BRB, testing07:23
bomzh1018okay, I'm halfway there07:30
bomzh1018I rebooted, the terminal with the result of the command (less) was opened, but the issue is, when I exit less, the terminal closes, and I'd like it to remain open - is there a way to do this?07:30
alkisgbomzh1018: that would mean that you'd run bash, not a command07:30
alkisgSo: mate-terminal -e "bash -c 'command'"07:30
alkisgWait07:31
alkisgmate-terminal -e "bash -c 'less /etc/adduser.conf && exec bash'"07:32
alkisgThis works, but it would be simpler to do it via a bash script, like mate-terminal my-session07:32
alkisgThen my-session would run less and then it would exec bash07:32
bomzh1018do I need to explicitly add `exec bash` to this new script?07:34
alkisgYes, to specify that you want to read the user's stdin from that point on07:34
bomzh1018thanks, trying...07:36
bomzh1018not quite. Now I got a terminal, but it was empty, with no less output07:41
bomzh1018what I added to "Startup applications" was the following:07:41
bomzh1018mate-terminal ~/Estate/record_time.sh07:41
bomzh1018and record_time.sh is https://paste.ubuntu.com/p/sgTRRVZcpB/07:41
oerheksuse full path07:42
bomzh1018BRB, trying07:43
bomzh1018nope, the same, empty terminal07:46
alkisgbomzh1018: you forgot the -e, `mate-terminal -e ...`07:46
alkisgAlso did you chmod +x the shell script?07:46
alkisgYou don't need to logout to test07:46
alkisgJust run the command in a terminal07:46
bomzh10181) got it07:48
bomzh10182) yes, I set a+x07:48
bomzh10183) works now in terminal, need to reboot to see if it works in real situation, BRB07:48
alkisgbomzh1018: sudo systemctl restart lightdm07:49
alkisgA faster test than reboot07:50
bomzh1018YES! Now it works exactly as I want it to. Thanks a lot, guys!07:51
oerhekshave fun!07:51
shibbolethsarnold, oerheks, remember me? https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/184889208:55
ubottuLaunchpad bug 1848892 in grub2 (Debian) "'error: Unknown TPM error.' after upgrading to grub 2.04" [Unknown, Confirmed]08:55
shibbolethyeah, rmmod tpm works, the system now boots with recent/updated grub2. funny thing is, i have two identical boxes, neither have a tpm and only one is affected by this issue...08:56
shibbolethalso, not an issue on grub2 2.02-2ubuntu8.21 (but on every following update)08:58
oerheksshibboleth, file a bugreport?09:02
oerheks!bug09:02
ubottuIf 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.09:02
shibbolethit's the same as they existing one09:02
shibbolethalso, same as https://bugzilla.redhat.com/show_bug.cgi?id=183314809:02
ubottubugzilla.redhat.com bug 1833148 in Fedora "DNF update which includes grub2-efi leads to a system with unbootable kernel entries including the recovery kernels" [High, Closed: Duplicate]09:02
shibbolethhttps://bugzilla.redhat.com/show_bug.cgi?id=177961109:02
ubottubugzilla.redhat.com bug 1779611 in Fedora "System fails to boot after upgrade to grub2-efi-x64-1:2.02-103.fc31.x86_64" [High, Closed: Errata]09:02
oerheksor confirm that one. comment #3 said 2.04-1ubuntu12.1 fixed it.09:04
shibbolethyeah, it did not09:05
shibbolethat least not on 1804, the thread is by a user on 190409:05
eFfeMHi, In my log (20.04) I see messages about gltlab-runsvdir.service being unable to start as there is no runsvdir-start file09:35
eFfeMactually I do not recall installing anything gitlab related. How do I get rid of this?09:35
eFfeMthe only thing I have in /opt/gitlab/embedded/bin is a symlink prometheus linking to itself; not even sure what that is (or how I got /opt/gitlab in the first place)09:37
TJ-eFfeM: by installing something from outside the Ubuntu archives09:38
eFfeMTJ-: hmm, yes, but what (and how to find out what it is)09:39
TJ-eFfeM: only you can know that!09:39
eFfeMactually this system is updated over and over again from 12.04 or so09:39
eFfeMso it carries a lot of history :-)09:40
TJ-/opt/ is for optional non-distro packages09:40
alkisgWhat's the output of `dpkg -S /opt` ?09:40
TJ-eFfeM: maybe the timestamps on those directories will give you a clue?09:40
oerheksprogs in /opt/ probably never updated09:40
eFfeMTJ-:  output is09:41
eFfeMsignal-desktop, skypeforlinux, wine-stable-amd64, wine-stable-i386:i386, wine-stable, youtube-to-mp3, google-chrome-stable, net.downloadhelper.coapp, gitlab-ee, jd-gui, google-earth-stable: /opt09:41
eFfeMguess gitlab-ee is the bad guy, timestamp is from 201809:41
shibbolethand here are a bunch of others: https://bugs.launchpad.net/snapd/+bug/187854109:55
ubottuLaunchpad bug 1878541 in grub2 (Ubuntu Groovy) "Grub fails to load kernel from squashfs if mem < 1500mb" [High, Fix Released]09:55
shibbolethhttps://bugs.launchpad.net/ubuntu/+source/grub2/+bug/184889209:56
ubottuLaunchpad bug 1848892 in grub2 (Debian) "'error: Unknown TPM error.' after upgrading to grub 2.04" [Unknown, Confirmed]09:56
shibbolethalso affects debian. confirmed and unassigned since last year09:56
TJ-shibboleth: what architecture is the UEFI on your system? The only significant recent change that is in grub-2.04 is to add support for 32-bit UEFI09:59
shibbolethx86, haswell09:59
TJ-shibboleth: that is, enable tpm module on 32-bit firmwares09:59
shibbolethhttps://lists.gnu.org/archive/html/grub-devel/2019-10/msg00104.html10:00
shibbolethMathieu Trudel-Lapierre wouldn't happen to work at canonical/ubuntu?10:01
TJ-shibboleth: I'm aware of that10:01
shibbolethsince i have two identical boxes and only one is affected it is likely i might be able to help narrow down the exact cause10:01
LutinPeople here running succesfully docker swarm on 21.04 ? I'm having swarm connection issues and I would like to know it's it's distro related10:04
TJ-shibboleth: at what point does the boot fail? before the linux kernel is loaded into memory, or after?10:06
shibbolethbios post->grub menu->black screen+cpu freeze after selecting/timing out10:07
shibbolethwhen menu -> c -> set debug=all -> esc -> select it freezes during.... disk/efi/efidisk.c reading 0x40 sector from sector... something10:09
shibbolethdue to OOM if i've understood the threads10:10
TJ-shibboleth: have you tested using one of the Advanced sub-menu options where they write "Loading kernel..." "Loading initrd..." so you know which stage it reached?10:11
TJ-shibboleth: I do a lot of hacking on GRUB so may be able to narrow this down10:11
shibboleththe boxes are identical. call the alice and bob. bob always fails to boot with grub > grub2 2.02-2ubuntu8.2. i can take the drive from alice, also fails in bob. drive from bob works fine in alice10:11
shibbolethTJ-, please xplain the adv submenu stuff?10:12
shibbolethi was hit by this issue in after an apt-get upgrade eraly/mid May. only thing that worked was to replace the .efi binaries in /boot/efi/... with the ones from  grub2 2.02-2ubuntu8.2. issue persist on all of the... four grub2 updates released since10:14
TJ-shibboleth: if you can access the GRUB menu (tapping Esc key as GRUB starts) or set the config to show it by default (/etc/default/grub "GRUB_TIMEOUT_STYLE="menu"  "10:14
TJ-shibboleth: then the Advanced sub-menu lists Recovery boot options, and they report what stage the file loading has got to.10:15
shibbolethyeah, one sec10:15
TJ-Therefore, if using one of those you don't see "Loading Linux..." we know it is happening before or during that stage. By adding your own "echo 'Reached stage X' " in front of each line in a menuentry block, you can identify exactly where GRUB is getting to10:15
shibbolethok, in advanced. do in just select the recovery option or do i add any flags?10:16
TJ-shibboleth: initially I'd add a line just before the 'linux ...' line saying "echo 'About to load Linux...' " then Ctrl+X to boot with that, and see what you get10:16
shibboleththere already is an echo "Loading $linuxkernelversion"10:17
shibbolethand a sep one for init10:18
shibbolethrd10:18
TJ-shibboleth: oh yeah, of course!10:18
TJ-shibboleth: ok, so just boot with that entry (I was thinking of the opposite of what I do when there are initrd.img problems and I add a line /after/ the intrd ... line to ensure it was loaded into memory10:18
shibbolethok, loading linux $version, loading initial ramdisk -> freeze10:19
TJ-shibboleth: great... so now try again with my initrd process - add a line after "initrd ..." with "echo 'Loaded initrd, handing over to kernel now...' "10:20
shibbolethdoesn't echo what i added after initrd10:23
TJ-shibboleth: good - so we know it fails during loading of the initrd10:23
shibbolethwell, yeah. since the kernel is signed it would be bizarre otherwise :)10:24
TJ-shibboleth: can you tell me how large the initrd.img file is "ls -l /boot/initrd.img*"10:24
TJ-shibboleth: did you see the message written by this line? grub_error (GRUB_ERR_OUT_OF_MEMORY, "cannot allocate pages");10:28
shibbolethno, and now it froze doing ls -al (hd0,gpt2)/*10:29
TJ-shibboleth: so EFI didn't run out of memory. Secondly, can you put GRUB into debug mode and tell if/what this line reports as values " grub_dprintf ("linux", "[addr=0x%lx, size=0x%lx]\n", " - this is just before it calls the EFI loader for the initrd.img10:30
shibbolethok, froze a second time doing ls -al (hd0,gpt2)/*10:32
shibbolethten, the third time i did rmmod tpm, ls -al (hd0,gpt2)/*10:32
shibbolethnow it lists and doesn't freeze10:32
shibbolethinitrd: 5998515110:33
shibbolethunlikely to be the initrd itself since i actually get a cpu stall doing ls -al from grub shell  without rrmod ttpm10:34
TJ-shibboleth: OK, just checking, since I hit a size-related bug recently10:35
shibbolethwithout rmmod tpm it freezes after listing half the files/folders in /boot10:35
shibbolethcuts at x86_64-efi10:36
TJ-shibboleth: ok, you need to add "debug=linux" to the grub environment. You should be able to do that by, at the grub menu, pressing 'c' to get to the command-line, then typing "set debug=linux" then press 'Esc' to return to the menu, then go to the Advanced sub-menu and boot one of those entries again10:36
TJ-shibboleth: If I've got the correct you should get debug messages only related to loading Linux10:36
TJ-shibboleth: and bonus points for taking a photo of the resulting messages and uploading it for me!10:37
shibbolethyeah, nothing. freezes after loading linux $version, loading initrd10:37
shibbolethi tried adding debug=chain,secureboot,lb10:38
shibbolethand i got secureboot 0, setupmode 0 then freeze10:38
TJ-hmmm, then I think you will need to add the line "debug=linux" to the menuentry block itself in the Advanced menu. (press 'e' to edit the block as before, put that as the first line, then press Ctrl+X)10:38
TJ-shibboleth: do you have GRUB set to boot in graphical or text mode? text mode might help here10:39
shibbolethtext10:39
TJ-good10:40
shibbolethis it possible to pipe the output from debug=all/debug=linux to a file?10:40
shibboleththen i could just pull the drive and upload10:40
TJ-add the 'linux' debug condition and try again10:40
TJ-shibboleth: no10:40
TJ-shibboleth: 'all' slows things down and is generally not a good thing - changes behaviour such as trying to catch race conditions10:41
TJ-shibboleth: you're seeing "setupmode 0" so that shows debug=secureboot is working at least10:42
shibbolethi'm downing a sandwich, brb10:43
TJ-I'm chasing flying ants!10:43
=== jpe__ is now known as sharperguy
shibbolethok, i'm back. trying menu -> c -> set debug=linux -> esc ->boot menuitem first10:48
shibbolethloader/i386/linux.c:669 trying linuxefi, loader/i386/linux.c:682 handing off to linuxefi -> freeze10:51
shibbolethset debug=linux doesn't produce any extra output when booting the recovery option, but produces the above for the "default" option10:52
shibbolethTJ-, but, eh... seriously. the grub binary completely *borks* doing a simple ls -al without rmmod tpm? what in the name of a lot that is holy?10:54
shibbolethit's not the file system of /boot. i've done fsck and it works totally fine in alice10:55
TJ-shibboleth: makes sense... GRUB asks EFI to read the file-system... which will contain files not signed10:55
TJ-and TPM tries to 'measure' (verify) file(s) and fails10:56
shibbolethwell, these are consumer asus mobos with no tpm10:57
TJ-shibboleth: doesn't surprise me. Code originally added by mathew garret :)10:57
shibbolethdunno what that means :)10:58
shibbolethwell, the name doesn't ring abell10:58
TJ-shibboleth: long history :)11:00
TJ-shibboleth: anyhow, try adding "debug=tpm..." to your list of debug conditions; let's see what the module /thinks/ it has found. I've just spotted a potential bug in handling of grub_tpm_handle_find11:00
shibbolethand what between 2.02-2ubuntu8.21 and 2.02-2ubuntu8.23 can have caused this? also, mind verifying that 8.23 hit main repos early/mid may?11:01
shibbolethok, trying debug=tpm11:01
shibbolethmenu -> c -> set debug=tpm -> esc ->boot menuitem -> black screen/freeze11:03
shibbolethno output11:03
shibbolethset debug=linux,tpm?11:03
TJ-shibboleth: mix in all the other you were using, just in case - it'd be good to know the entire debug= isn't being ignored11:03
TJ-shibboleth: and always use the Advanced sub-menu options so we should at least get those "Loading ..." messages11:04
shibbolethyeah, using any of the advanced options i only get loading linuxversion, loading initrd even if i added set debug=foo11:06
shibbolethset debug=chain,linux,tpm,secureboot and booting "default" i get  trying linuxefi, secureboot0, setupmode0, handing off to linuxefi ->freeze11:06
TJ-shibboleth: you see "efi" just after "handing off to linux" ?11:09
shibbolethloader/i386/linux.c:669 trying linuxefi, loader/i386/linux.c:682 handing off to linuxefi -> freeze11:09
TJ-or is "efi" part of your added message11:09
TJ-ahhh, that one11:09
TJ-shibboleth: AHA! "i386"11:09
shibbolethok, lemme try the same on alice and see if it dosn't say i38611:10
shibbolethsays i386 on alice as well11:11
shibbolethbut it proceeds after those two lines11:11
TJ-shibboleth: in my source for 2.02 there is no "trying"11:11
shibbolethwell, right now bob is on bionic grub2 latest, 2.04 something. otherwise there'd be no point in debuggin, eh?11:12
shibbolethhow would that work? me: boots fine, you: ok11:13
TJ-none of those strings exist in upstream GRUB11:13
shibboleththere even are line numbers, 669 and 68211:14
shibbolethi doubt we're talking gremlins11:14
TJ-aha, Ubuntu patch  debian/patches/0076-ubuntu-Make-the-linux-command-in-EFI-grub-always-try.patch11:15
TJ-118 line patch, too, and invasive for the 'linux' command11:16
TJ-the critical part based on our experiments so far is " initrdefi_cmd = grub_command_find ("initrdefi");" in grub-core/loader/i386/linux.c::grub_cmd_linux()11:25
TJ-shibboleth: right, another debug condition to add: "linuxefi" so we can monitor grub_cmd_initrd()11:27
shibbolethok, that produced some more text, one moment11:29
shibbolethset debug=linux,chain,tpm,secureboot,linuxefi: loader/i386/linux.c:669 trying linuxefi, kern/efi/sb.c:46: secureboot: 0, kern/efi/sb.c:54: setupmode: 0, then several lines of loader/i386/efi/linux.c, then loader/i386/linux.c:682 handing off to linuxefi -> freeze11:32
shibbolethit's like fifteen lines, anything specific too look for or you need it all?11:32
shibbolethTJ-, ping11:44
TJ-shibboleth: sorry, attacking ants again!11:50
TJ-shibboleth: uf the last line i the 'handing off to linuxefi' I presume you're not now seeing the "Loading linux ..." echoed?11:50
shibbolethok, something funky. on alice (the one that doesn't freeze), grub menu -> c -> ls -al (hd0,gpt2)/* also cuts at x86_64-efi but it doesn't freeze, returns to grub cmd. doesn't list the kernel, initramfs11:51
shibbolethlemme retry after rmmod tpm11:51
shibbolethnah, doesn't list kernel, initrd11:52
shibbolethTJ-, see pm11:52
shibbolethwhereas on bob (the one that does freeze) it freezes after listing x86_64-efi, lists all (including kernel, initrd) after rmmod tpm11:53
shibbolethdunno if that matters at all, but... funky?11:56
shibbolethno, nothing after  loader/i386/linux.c:682 handing off to linuxefi11:57
tomreyni'm not sure that grub's "ls" understands "-al"12:04
shibbolethset debug=linux,chain,tpm,secureboot,linuxefi <--- add initrdefi?12:04
shibbolethwell, it does on bob12:04
tomreynyes it does, i just tested as well12:06
shibboleth+initrdefi, same output as without12:06
TJ-shibboleth: no "initrdefi" - that is a command name. "linuxefi" is the condition12:06
TJ-shibboleth: at this stage I'd suggest building and testing without the debian/ubuntu patches since I've a strong feeling the interference that several of the Ubuntu patches is doing into this very area is the cause12:07
TJ-shibboleth: some of those patches are copied from RedHat too12:07
shibbolethok, lemme read up on deps/procedure12:08
shibbolethbut seriously, why doesn grub-efi on alice list vmlinuz, initrd?12:09
shibbolethwhereas bob freezes unless rmmod tpm, lists vmlinuz, initrd after rmmod tom12:09
shibboleththis is like... imagine looking at a petri dish of bacteria in a microscope and seeing 300 hamsters doing the macarena12:10
TJ-shibboleth: interacting in slightly different ways with the firmware12:10
shibbolethwell, does ls -al (hd0,foo)/* list vmlinuz, initrd on bionic at your end?12:13
shibbolethalso, which repo should i clone?12:15
TJ-shibboleth: I don't use bionic, and don't have hardware free to test on12:15
TJ-shibboleth: I'd use the Ubuntu package source but remove the patches (they're applied using quilt so easy to reset the Quilt stack to no patches)12:16
TJ-shibboleth: it's a right mess; 238 patches!12:18
shibbolethhttp://archive.ubuntu.com/ubuntu/pool/main/g/grub2-unsigned/grub2-unsigned_2.04.orig.tar.xz ?12:18
TJ-shibboleth: "sudo apt-get build-dep grub2" and "apt-get source grub2" then "cd grub2-unsigned-2.04" then "export QUILT_PATCHES=debian/patches" ... then "quilt applied" will list all applied patches12:19
TJ-at that point you can test removing all patches with "quilt pop -a"12:20
TJ-shibboleth: no guarantee the package will build cleanly though12:20
shibbolethisn't  the point not to apply the patches?12:23
TJ-yes, that is what we're doing12:24
TJ-strangely I cannot get the build-dep's installed on 20.04!12:24
TJ-shibboleth: when extracting the Debianised sources the patches are already applied, so we have to use 'quilt pop -a' to unapply them12:25
shibbolethgit clone -b ubuntu/bionic-updates https://git.launchpad.net/~usd-import-team/ubuntu/+source/grub2-unsigned12:35
TJ-shibboleth: solved that (custom kernels here) . Doing a teset build without patches12:35
shibboleththis will clone the sources for current bionic grub2 without patches12:35
shibboleth2.04-1ubuntu44.1.2 (patches unapplied)12:35
shibbolethTJ-, hit a snag, pardon?12:40
TJ-shibboleth:  you hit a snag?12:47
shibbolethhaven't built grub before, trying trying to find out how to get the raw .efi binary12:47
shibbolethtj: ok13:02
shibbolethi've built this: git clone -b ubuntu/bionic-updates https://git.launchpad.net/~usd-import-team/ubuntu/+source/grub2-unsign13:02
shibbolethshould be what we're looking for, eh?13:02
TJ-shibboleth: doesn't that contain the ubuntu patches?13:03
shibbolethno, they're not applied13:03
shibbolethhttps://code.launchpad.net/~usd-import-team/ubuntu/+source/grub2-unsigned/+git/grub2-unsigned13:03
shibbolethapplied/ubuntu/bionic-updates 2021-06-07 13:04
shibboleth2.04-1ubuntu44.1.2 (patches applied)13:04
shibbolethubuntu/bionic-updates 2021-06-07 13:04
shibboleth2.04-1ubuntu44.1.2 (patches unapplied)13:04
goddardon my laptop it displays 3 power modes, but my desktop only shows 2.13:04
shibbolethi've got the .efi binary, i should replace grubx64.efi on bobs /boot/efi/etc?13:05
TJ-shibboleth: what command did you use to build it though? usually the tooling applies the patches automatically when doing the build13:05
TJ-shibboleth: in theory yes but you'll also need to matching modules installing13:06
shibboleth /configure --prefix=/foo/grub2 --with-platform=efi13:06
TJ-unless you built with all modules built-in13:06
aienais there a way to get the latest virtualbox on ubuntu without using oracle repositories?13:15
aienaor the deb13:15
tomreynyou could build it from source13:15
aienahmm so all those options will be unsupported either way13:16
aienaexcept for the repo version13:16
aienaubuntu13:16
tomreyncanonical would not support any of them, i guess. in ubuntu's repositories, virtualbox will be in universe13:17
aienaok13:18
tomreyni'm not sure what oracle offers supprot for13:18
aienaI don't think they'd care I actually prefer KVM but I am tryingo out genymotion for android and it prefers vvirtualbox13:18
tomreynif you want vitualbox working on ubuntu, in my experience your best option is to use oracles' apt repositories on an Ubuntu LTS release13:19
aienaI am on 20.04.2 LTS focal13:20
aienatomreyn: do you know if there is a way to find out and uninstall packages from a user added repor in apt source and then remove that line?13:25
aienaO had added a collabora repo which I no longer want but dnt want stray packages from it on my system in case they are still there13:25
Habbieaiena, apt-forktracer can be useful13:26
Habbieand aptitude search '~i(!~ODebian)'13:27
Habbiei got that one from https://www.debian.org/releases/buster/amd64/release-notes/ch-upgrading.en.html13:27
Habbiebut it should work on Ubuntu, perhaps replace the name, of course :)13:27
rapid16I'm trying to work with a project that requires PHP 8, but it seems Ubuntu only has 7.5.x13:30
tomreynaiena: apt list --installed | grep ',local\]$'13:30
rapid16I'm using Focal Fossa, should I just grab PHP binaries and over-ride symlinks?13:30
tomreynaiena: run the above after deactivating those 3rd party apt repositories + sudo apt update13:31
aienatomreyn: so a local package is one which is not linked to any repo anymore? like a mnually installed .deb etc.13:32
tomreynyes, aiena13:32
aienathanks13:32
tomreynmore precisely, a package version not provided by any of your currentlöy active (and known, to apt's cache) apt repositories13:33
aienawill it work is package foo was from another repo but had the same name in the official ubuntu repos too13:34
tomreynif the version differs to those available in ubuntu, then it's still a "local" / "foreign" version and will be listed by either this or apt-forktracer.13:35
tomreyni would not recommend aptitude these days, but YMMV.13:35
tomreynyet another approach is apt-show-versions as discussed at https://github.com/tomreyn/scripts#foreign_packages13:36
ApostleInTriumphHello. how do I rename all files in my directory that ends with .obj.npz to .npz ?13:39
alkisgApostleInTriumph:  for f in *.obj.npz; do echo mv "$f" "${f%.obj.npz}.npz"; done13:41
alkisgIf this shows the correct thing, then remove the "echo" so that it does the actual mv13:41
TJ-ApostleInTriumph: the Perl 'rename' tool is the best option, with something like "rename --nono 's/.obj//' *.npz"13:42
ApostleInTriumphalkisg thanks!13:42
ApostleInTriumphTJ- thanks for your reply too. seems more easier13:43
ApostleInTriumphand what is s/ in the command?13:43
tomreynthe initiator of a so-called "regular expression"13:44
TJ-ApostleInTriumph: rename takes a Perl regular expression13:44
ApostleInTriumphThanks!13:45
TJ-ApostleInTriumph: just be aware both these methods don't rename .something.obj.npz files (dot-files) - you'd need to set a shell opt to get those too (I often need to do this with build product)13:45
=== sid__ is now known as MrSid
MrSidhello. i am having a problem with editing the network-config file. i have had it working in the past and i remember to get it working the indentation has to be just right... but this time i just can't get it right. if anyone has some advice i would be very appreciative to know it13:54
MrSidfor installing to raspberry pi 313:54
ducasseMrSid: please don't crosspost, your wasting people's time14:06
ducasse*you're14:06
MrSidok . sorry . getting used to the rules14:07
=== sid__ is now known as MrSid
BluesKajHi all14:14
MrSidhello14:14
Guest67how to avoid summary of directories listing and directory names?14:37
Guest67trying to compose ls command to list all files recursively and sorted by modification time, without interruptions by these pseudo directories . and .. and summaries14:39
Guest67i have ls -lRrt1 what is missing?14:40
Guest67looks like -1 is irrelevant, also -l can be replaced with -g for less noise14:47
Guest67sorry irrelevant i did not mean to ping you14:48
leftyfbGuest67: you should look into "tree" instead of ls14:49
Guest67isn't tree only for listing directories?14:51
ioriaGuest67,  if you really want to use 'ls', you can try  grep -v /;   ' ls -gRrt | grep -v / '14:51
leftyfbGuest67: "tree -t" does exactly what you're looking for14:52
leftyfbGuest67: or -Dct if you want to display the modification time, not just sort them by it14:53
Guest67tree -Dct prints too much noise, like ascii vertical and horizontal lines14:57
Guest67i just wan ta plain list of files, sorted by modification time14:58
leftyfbGuest67: -i14:58
leftyfbGuest67: you need to read man pages14:58
Guest67just saying, i could have found -i perhaps on my own had i not been busy chatting here, but tree -Dcti returns me to original problem with ls, it prints directory names...14:59
Guest67"-i Don't print indentation lines."15:01
Guest67tree --help | grep indent15:02
leftyfbGuest67: find . -type f -printf "%T@ %Tc %p\n" | sort -n15:02
Guest67leftyfb this does it i think, still checking to verify15:07
leftyfbGuest67: you can write a script to pass basename or xargs and strip out the directory from the filename at the end. Gets a bit tricky with spaces in the names. Regardless, you'd get much better help in #bash15:08
Guest67thanks leftyfb this last command did the trick15:26
Guest67ioria the problem with your suggestion was similar to ls alone, i get these "total" summary lines and so on, and this also breaks the sorting, i only want a plain list of all the files, sorted, regardless where they are within dir hieracrchy15:29
ioriaGuest67, well, just add 'total  ' to the ignore:   e.g.   ll -R | grep -v '/\|total '15:30
ioriabut ,again, ls is not the tool for that (i guess)15:31
Guest67ioria what is that in front of -R?15:33
ioriall = 'ls -l'15:33
Guest67ah... some kind of short? double l?15:34
ioriayep15:34
Guest67haha cool! and it works too! :D15:34
RougeRHeya15:35
RougeRIm struggling with using a portrait tertiary monitor in ubuntu 20.1015:36
ioriaGuest67, truly  'll = ls -al '15:36
=== blackest_mamba_ is now known as blackest_mamba
RougeRWhenever i set the monitor as portrait, it causes that screen and the adjacent screen to be severely misaligned15:36
RougeRthe mouse/window alignement is off by the width of the window i think15:37
RougeRive tried using arandr to set the monitor layour/orientation and have the same result15:37
MekaneckRougeR: can't really help but know that 20.10 nears EOL on the 22nd of July, so you'd upgrade to 21.0415:38
RougeRMekaneck, yeah i upgraded from 20.04 last week to try resolve some driver issues15:38
RougeRthe multi monitor setup is only having issues due to me changing from AMD to Nvidia gpu15:38
RougeRi might try upgrade to 21.0515:39
RougeRi might try upgrade to 21.0415:39
Guest67thanks for the tip ioria. sadly while this does remove the "total" lines it still leaves empty lines between each group of files within any given sub-directory, and tit breaks the sorting.15:39
RougeRyeah for what its worth15:39
RougeRGPU: Nvidia 2070S, Monitors: 1200x1920 dell 24" (hdmi), 2x 2560x1600 HP 30" (displayu port)15:40
RougeRworked fine with my old AMD rx48015:40
Guest67so yeah, using ls (or double l ;) alone for this is probably not the best idea. i was originally hoping to find an option within ls that says something like "do not list directories", instead i found that the tree command has the "-d" option to "list directories only". not exactly what i wanted.15:41
RougeRi know its a known but, but its just weird that i cant find anyone else with the same issue as me. I wonder if its something to do with 16:10 2560x1600 monitors...having 2 of them is not common15:41
RougeRhttps://askubuntu.com/questions/1230570/cant-rotate-monitor-on-20-0415:43
RougeRaha15:43
RougeRyeah this is the same issue as me15:43
RougeRseems to not be exclusive to 20.10, same issue in 20.415:44
RougeRhttps://bugs.launchpad.net/ubuntu/+source/mutter/+bug/18742115:48
ubottuLaunchpad bug 87947 in libxcb (Ubuntu) "xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed." [High, Fix Released] [duplicate: 187421]15:48
beweeshi15:56
beweesif I download a package source files, where can I see the compile options Ubuntu uses or do the package source files don't contain those?15:56
beweesI want to check if the qemu package is compiled with virgl on ubuntu focal15:57
alumnohola16:00
alumnohi16:01
tomreynhi alumno16:01
alumnohi HerbY_NL216:02
tomreynbewees: see the "rules" file in the tarball16:04
=== mh3f_ is now known as mh3f
beweestomreyn: thanks! found a rules file both in the tar.xz source file and also inside debian/rules using the downloaded source files with `apt-get source qemu-system-x86`. In neither I see virgl, so I assume it's not compiled with it by default :-)16:18
RougeRMekaneck, I fixed it :)16:19
RougeRturned out i was using the opensource nouveau driver16:20
RougeRsilly billy16:20
beweesI'm mistaken, seems like the source package from `apt-get source ...` doesn't have the same layout, better to use the tarball and see it all in rules16:26
RougeRim guna upgrade to 21.04 as well Mekaneck16:27
RougeRdidnt realis it was EOS16:27
MekaneckIt will go EOL 22nd of July16:27
Mekaneckgood you got it solved :)16:28
RougeRAh okay, well i may as well upgrade now and deal with any potential issues16:28
RougeRThanks, appreciated you replying even though you didnt have a fix16:28
Mekaneckyou're welcome :)16:29
RougeRtbh i normnally just stick on the LTS release, but i was having issues with some drivers and was at my wits end to fix it16:29
RougeRWhen i finally get a non-realtek NIC then i might go back to 20.04...idk. What are the edge ubuntu releases like these days for stability?16:29
RougeRI pretty much need my pc to just work (use it for work)16:30
tomreynthen you should run an LTS release16:31
MekaneckInterim releases can be as stable imho as a lts release, only they are supported for 9 months16:32
RougeRI agree, but yeah 20.04 was broken for me so i tried upgrading to fix it...and it worked16:32
tomreynif the GA kernel doesn't work with your hardware, the HWE/LTSE one may, and if this also doesn't work for some reason there's still the OEM16:32
MekaneckLTS doesn't mean Long Term Stability after all but Long Term Support16:32
RougeRMekaneck, aye yeah i figured the Interim release might not be to bad16:32
RougeRtomreyn, im not sure what happened tbh...its a driver a lot of people have issues with and i think i updated something or something auto-updated16:33
RougeRI ended up with up with my network card not being picked up at all16:33
tomreyn(for the HWE kernel, there's also an -edge variant, which can be even newer, if that's really needed - usually only on brand new hardware)16:33
RougeRi still get occasional network drops even with a new NIC (still reatelk...all i could get locally short notice)16:34
RougeRI know its the driver/os not the card or my connections as its always rock solid under windows or on my laptop with ubuntu 20.0416:35
RougeRjust going to do some research and find another well support PCI NIC16:35
RougeRupgrading now might drop off16:35
tomreynif you'd like to get a second / third / ... opinion on whether you could likely get your previously problematic hardware to work on 20.04 LTS, post    lspci -knnv | nc termbin.com 9999     and   lsusb | nc termbin.com 9999   and    dmesg | nc termbin.com 999916:37
beweesWhere do I add --enable-virglrenderer in this debian/rules file? I guess somewhere inbetween here? https://dpaste.org/2jRT#L97,98,99,100,101,102,10316:37
RougeRtomreyn, you are welcome to look, but from what ive seen...a lot of the realtek cards are just more  hassle than worth16:45
RougeREven after fixing the broken/mismatch driver-kernel and installing a pci-e card (still realtek based)....i still get drop outs16:46
RougeRhttps://termbin.com/dnho16:46
RougeRhttps://termbin.com/jr3l16:46
RougeRhttps://termbin.com/nt27w16:46
RougeRr8169 driver is infamous :s16:50
RougeRhttps://www.google.com/search?q=r8169+disconnects&oq=r8169+disconnects&aqs=chrome..69i57j33i160.3617j1j7&client=ubuntu&sourceid=chrome&ie=UTF-816:50
tomreynRougeR: looking at your third paste, you're having a kernel oops during boot even on this newer kernel. you should probably make sure you have the latest bios. which might also help with getting more hardware working well.16:57
RougeRtomreyn, what line/paste is that16:58
tomreynthe kernel oops seems to be about the buggy rdrand16:58
RougeRtomreyn, fair point on the bios that might be something useful to check16:58
RougeRI hate this motherboard with a passion, but it was the only affordable option at the time16:58
RougeRhad  to flash the bios for ryzen 5 when i got it16:58
tomreynhttps://termbin.com/nt27w and look for ------------[ cut here ]------------16:58
tomreynMS-7B89/B450M MORTAR (MS-7B89), BIOS 1.90 07/23/2019   is whaty ou have16:59
RougeRyeah16:59
RougeRlet me see if there are any new bios versions16:59
RougeRtomreyn, ah yeah i started seeing a few issues recently r.e funky outputs17:00
RougeRnot quite sure what it is17:00
RougeRhttps://www.phoronix.com/scan.php?page=news_item&px=Linux-RdRand-Sanity-Check17:02
RougeRhttps://arstechnica.com/gadgets/2019/10/how-a-months-old-amd-microcode-bug-destroyed-my-weekend/17:02
tomreynit's a well known bug, you want the latest bios.17:03
tomreyn(+ microcode, too, but you should get that automatically on ubuntu)17:03
RougeRyeah it seems so, thanks for pointing it out to me. Was not something that i was aware of17:03
RougeROn the bright side, my motherboard does have a built bios flash util17:04
RougeRhttps://www.msi.com/Motherboard/support/b450m-mortar17:04
tomreynhttps://www.msi.com/Motherboard/support/B450M-MORTAR#down-bios are the latest bios versions, you can choose between stable and beta. the beta has a newer video bios, amongst other.17:05
tomreyni assume your 1.90 is what they call 7B89v19 on that page17:05
tomreynbbl, good luck.17:06
RougeRno worries, and yeah i think so17:06
RougeRcatchya in a bit17:06
RougeRlooking into the bios update now17:06
RougeRmight put it off till next week...got work in the mornign and need this machine17:07
RougeRflashing the bios on a sunday afternoon before work on monday morning aint one i feel like tackling this week17:08
RougeRI say this...but im here upgrading the OS, sticking in a new ZFS pool...and migrating ubuntu to a new SSD with a root partition resize17:08
RougeRoh and just threw in a new GPU and got that working lol17:09
alkisgRougeR: it's not very possible, but it doesn't hurt to say it: I had bad networking with realtek. Then I switched to intel and networking was fine, BUT it was connecting with 100 instead of 1000 mbps.17:18
alkisgAt that point I realized that the problem was a bad connection in the UTP cable. After fixing it, both intel and realtek were fine and the connection was always gigabit17:18
RougeRalkisg, yeah i guess its possible that something weird is going on with the cat5 cable....got a box full of them guess it  doesnt hurt to switch it out17:20
RougeRit seems highly unlikely that windows would not have issues though and ubuntu would if that were the issue17:20
RougeRits a fair point though17:21
alkisgI think realtek drivers in windows are better than realtek drivers in linux, so I wouldn't consider that part impossible (to work in windows, maybe even in 100 mbps or maybe with retransmissions, and to fail in linux)17:22
alkisgOther than that single case, I haven't had any issues with wired realtek in thousands of installations. With wifi realtek, sure, a lot :D17:23
RougeRalkisg, yeah i agree i wouldnt consider it impossible either17:25
RougeRit makes logical sense although it is probably unlikely17:25
RougeRi have had issues with two different although albeit both realtek nics17:25
RougeRthe 2nd  one has solid linux reviews mind17:25
RougeRthe issue is...its super hard to diagnose if the bug is fixed17:26
RougeRbecause i might disconnect twice a day or once a week...17:26
RougeRside note...im installing  21.04 now17:26
RougeRbeen stuck  on "installed libdebconfclient0 (amd64)" for ages17:27
RougeRtomreyn, (or anyone else)17:37
RougeRHow do i get the log output during a system upgrade?17:37
RougeRoh nvm17:37
RougeRffs17:37
RougeRffs, the installer silently popped up a "do you want to change x box"17:38
RougeRfekin r8168-dkms is the bane of my life18:17
RougeRupgrade to 21.04 threw error from it18:17
RougeRand sudo apt-get clean throws an error on it18:18
RougeRhmm purged r8168, r8169 should be the working driver18:27
RougeRf it18:27
RougeRguna reboot, getting no errors now and upgrade seems complete from lsb_release and apt-get dist-upgrade18:28
RougeRsuccess?18:34
RougeRi think18:34
=== Aprexer is now known as Guest1675
Surkow|laptopGood evening. My power supply recently died from my dell xps m1330 laptop. After getting a new power supply the cpu was stuck at 800mhz for a while because the bios didn't detect a security pin in the new power supply. A new power supply with the security pin resolved this. The last few days I noticed the ondemand cpu governor kept getting stuck at 800mhz, while the processor can get to 2.5ghz.19:24
Surkow|laptopRepeatedly setting the governor to performance and then back to ondemand sometimes appears to help getting it "unstuck" from 800mhz. Changing "/sys/devices/system/cpu/cpufreq/ondemand/up_threshold19:24
Surkow|laptop" from 95 to 75 also appeared to work...for a while. It makes the system a bit faster to respond. The problem right now is that it hangs with normal usage in even the browser with a low clock rate. cpupower frequency-info gives me:  hardware limits: 800 MHz - 2.50 GHz, current policy: frequency should be within 800 MHz and 800 MHz. Shouldn't that say "within 800 MHz and 2.50 Ghz" or is this simply how the ondemand governor work19:24
Surkow|laptops?19:24
tomreynSurkow|laptop: i'd expect it to say "within [some higher value than 800Mhz] and 2.50 Ghz". i think you still have a firmware or hardware issue there.19:31
Surkow|laptopmy hardware issue is that I'll need to repaste the cpu ;)19:32
Surkow|laptopit gets quite hot19:32
Surkow|laptopand endured a bunch of thermal shutdowns already19:32
tomreyn"stuck at 800 MHz" seems to be a rather common search term for this dell model19:32
Surkow|laptop800mhz has kept it nice and cool19:32
Surkow|laptopbut recent chrome updates (and even firefox) make it unbearable19:32
Surkow|laptopit's like they rely on some kind of rendering pipeline that pegs the cpu all the time19:33
Surkow|laptopYeah, I have found numerous topics where people suggest altering grub flags to disable the bios interfering with the frequency19:33
Surkow|laptopbut now that the security pin is present in the power supply I suppose the bios doesn't trigger anything anymore19:34
tomreynwhen you have thermal shutdowns happening that also means something is wrong in hardware (or firmware). concentrate on this. if you know it's the need to apply new thermal paste, do it.19:34
Surkow|laptopIt's an old laptop with bad cooling19:34
Surkow|laptopthe core problem is that even after repasting the cpu the problem will persist19:35
Surkow|laptopfigured I'd throw it in the ubuntu channel to see if there was anyone knowledgeable about cpu scaling19:35
Surkow|laptopI apparently don't understand enough about why the cpu keeps getting throttled and why the frequency takes so long to change.19:36
tomreynoh this is indeed old. core 2 duo cpu.19:38
Surkow|laptopyep!19:38
Surkow|laptop12 years old now :D19:38
Surkow|laptopcore2duo t9300 cpu19:38
Surkow|laptopI even had to buy the intel gpu variant of the same laptop because the nvidia gpu variant was guaranteed to kill your motherboard within a year19:39
tomreynwell, ask in ##hardware for hardware questions.19:39
Surkow|laptophmm19:40
tomreynchances are the exhauster is jammed and paste is gone.19:40
tomreynand then the cpu will be less powerful now than it used to be due to the need to fix some of the cpu security vulnerabilities19:41
Surkow|laptoptrue, I've already repasted its brother, an xps 13 with a more modern first generation i719:41
Surkow|laptopso I'm aware where the hardware part of the problem lies19:42
Surkow|laptopI cleaned out the whole laptop from dust and debris already and I use an external fan to keep it cool19:42
Surkow|laptopI'll join the hardware channel just in case19:42
tomreyn1st gen i7 is not more modern, it's less close to the dinosaurs19:42
Surkow|laptop:D19:42
Surkow|laptopI had the third generation model as well19:43
Surkow|laptopsent it back due to hardware issues19:43
Surkow|laptopthe problem with these laptops is always power management19:43
shibbolethTJ-, been throwing several sinks out the window, no joy thus far19:48
knaccchi all, i'm finding this question surprisingly hard to google: will a rotational hard drive be able to tell if there is a bad sector/other read error simply by reading that part of the disk?19:57
knacccor will it just silently deliver bad data?19:58
knaccci assume it can discover bad sectors during writes because it must attempt to read back what it has just written?19:58
shibbolethsmartctl -a /dev/foo19:59
knacccshibboleth that will tell me if the disk has reported bad sectors, but i'm wondering how the disk can tell in the first place whether there was a bad sector20:01
knacccfrom what i've found so far, i think maybe it can only tell a bad sector immediately after an attempted write operation, but cannot just tell from reading a sector written a long time ago20:02
tomreynknaccc: if you were looking to have a scientific discussion or examination on the topic, this is probably not the place. there is #hardware, but i would not say it matches the scientific part either.20:02
tomreynfisk firmwares are closed source, so for the very most part we don't actually know how they work or make decisions.20:03
tomreyn*disk20:03
knaccctomreyn the reason i'm asking is that i'm wondering if i can tell if a raid 1 mdadm can actually tell if there is bit rot just by reading the entire contents of both rives20:04
knacccso i'm just wondering if anyone knows in general whether drives have any ability to know when there is bit rot20:04
knacccraid 1 was a bit of a red herring, i shouldn't have mentioned that20:05
knacccthe point is, if i have raid 1, and each of the pair of drives returns different data, how is mdadm supposed to know which is the bit rot and which is the good data?20:07
knaccci apologize if this is was off topic20:08
jmurielhello! curious if anyone knows why stterm gives weird input (like ^E) when scrolling the mousewheel at the shell. (it doesn't do this on other distros)20:08
tomreynknaccc: mdadm won't know if there's no extra data to tell what should be in that block (such as with different raid levels and file system checksumming). a file system error will occur, and this will need to be solved.20:17
knaccctomreyn thanks, yeah i guess this is quite a low-level question and i should expect this to differ between drive manufacturers regarding error detection20:19
alumnohola21:23
alumnohay alquin21:23
Surkow|laptoptomreyn, I had to disable the cpu sleep states. http://manpages.ubuntu.com/manpages/trusty/man1/cpupower-idle-set.1.html21:31
Surkow|laptopworks properly without overheating now21:31
Flachell22:08
Flachello22:08
gordonjcpFlac: hi22:12
Flachow are you22:13
=== sn1tch3r_ is now known as sn1tch3r
Flachttps://imgur.com/E1gZvJL22:19
Flacinstall vmware22:20
Flacthen when i opened it gave an error22:21
FlacI couldn't find a solution22:21
Flachttps://imgur.com/E1gZvJL22:22
tomreynFlac: sudo apt update && sudo apt install linux-headers-oem-20.0423:04
tomreynFlac: i'm not sure whether vmware will support this kernel, though, but that's something to check with them.23:05
Flactomreyn, thanks but already installed (linux-headers-oem-20.04)23:53
Flacnot solved23:54

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