/srv/irclogs.ubuntu.com/2025/02/26/#ubuntu.txt

=== h1ghrate is now known as highrate
=== splitFinity is now known as spooked
Guest43sd01:07
cdriscollis anyone besides me unable to use the firmware-updater snap in 24.04?  i've attempted to reinstall the snap package (after purging), but always end up with, what seems to be a dns failure, where it claims it can't resolve fwupd.org.01:51
cdriscollbut i can definitely resolve the host just fine from a terminal01:51
cdriscollhm, it seems like it may actually be the ssl certificate for fwupd.org01:57
=== antonispgs7 is now known as antonispgs
=== bidang12pusbinjf is now known as Ronin1970
=== ajfriesen1645 is now known as ajfriesen164
=== guiverc2 is now known as guiverc
sage_hi. i wanted to know if it is a well known issue that nemo hogs cpu. then why is it not fixed? is there some way i can fix it myself? i use linux mint cinnamon and it is the default file manager in it and i had to swap it with thunar because it keeps on crashing.04:16
=== travisghansen35 is now known as travisghansen
toddhi05:35
LuckyMantodd, hi05:36
jonas_hello07:07
=== Alpha is now known as Guest5840
=== Guest5840 is now known as Alpha
=== Alpha is now known as Guest7196
=== Guest7196 is now known as Alpha`
=== Alpha` is now known as Alpha
=== eLdr1ch is now known as Ldr1ch
=== Ldr1ch is now known as eLdr1ch
mario28ciao ho un vecchio pc intel core i 3 530 con 6 gb di rma ddr3 che versione di  ubuntu mi consigliate10:58
raumorenhello11:03
gryraumoren_: hello!11:35
mdmbkrmd: personality for level -1 is not loaded!11:44
mdmbkrleftyfb, tomreyn, pickanick: whateve rmay or may not be going on with sector sizes, it looks like the "linear" raid mode was dropped from md at some point, so my linear array won't start, and that's probably the root cause11:49
mdmbkrhttps://www.reddit.com/r/Ubuntu/comments/1f7ajhf/linear_raid_mode_not_available_in_2404/11:49
mgedminand here I was all set to enjoy some tool trying to parse the difference between raid1 and raid-111:50
mdmbkr=)11:53
mdmbkrit's kind of weird to me that it was deprecated and removed .. was it hurting someone?11:53
tomreynmdmbkr: i don't know about md linear mode. i had understood you were using md raid (mdadm), not dm.11:59
mgedminI think people decided there's no need to maintain two things (mdraid and device mapper) that can do the same thing (linear aggregation of block devices)12:07
tomreynmy understanding is that dm is mostly used by LVM for logical device management as well as to handle fakeraid devices (dmraid), and that the go-to implementation for (file system agnostic) software raids has been md / mdadm for about a decade12:08
frostschutziirc md reinstated linear after some complaints12:13
frostschutzso if it doesn't work in current kernel, you can try both older or newer ones12:15
frostschutznot sure which specific versions though12:15
mgedminhttps://unix.stackexchange.com/questions/780142/join-files-devices-in-linear-mode-together-in-a-linux-system has some shell scripts that demonstrate how to achieve the same result with dmsetup12:15
mgedminand https://bbs.archlinux.org/viewtopic.php?id=294005 has some interesting details about md linear rounding factors12:16
mgedminand it's a huge shame mdadm can't detect the situation and implement the solution using devmapper as a backend, although I suppose some things (that expect devices named /dev/md*) might still break12:17
sm0ketstHello, everyone, anyone experienced in par2 ?13:01
pragmaticenigmahello sm0ketst, it's best if you just ask your question, and if someone knows something about it, they'll respond13:08
sm0ketstpragmaticenigma makes sense13:09
BluesKajHi all13:10
sm0ketstthing is i'm trying to store in dvd's a bulky file (i.e. 7z file), so the initial approach is 7z->split->par2 for each individual chunk. My rationale is chances to have 1 dvd bad (eitther split file or par2) i try to think that recover the rest will be possible vs the option of par2 the whole big 7z and ruing the dvd storing the par2, doest it make13:11
sm0ketstsense?13:11
sm0ketstmaybe offtopic here?13:12
pragmaticenigmasm0ketst: 7z format supports splitting files natively. Not sure what the other components are offering in this example13:13
pragmaticenigmaoh, your backing up to DVD media?13:14
sm0ketstindeed, i'm not sure if there's an advantage of spliting by 7z or by split command later (i.e. every 7z splitted chunk contains a descriptor vs a simply cut in case of split command), in any case, the question goes after the chunks are made, adding the par2 extra data13:15
sm0ketstpragmaticenigma indeed, i'm so stubborn13:15
pragmaticenigmaat least you're making backups of something that is important to you13:16
sm0ketsti'm afraid after backing up all the stuff, is just one volumen fails i won't be able to re-assemble the other files and recover as much as possible after the par2 help13:16
pragmaticenigmaI can't say I've experienced issues with recovering from optical media. It is pretty robust. Though I do know that limiting the write speed as a huge impact on longevity of the data. I have optical disks I burned from 20 years ago still readable because I choose a slower write speed.13:17
sm0ketstedit, :s/is just/if just/g13:17
sm0ketstpragmaticenigma i fully agree 1x13:18
pragmaticenigma1x might actually be too slow, I usually go for something mid range13:18
sm0ketstit's a portable usb writer... almost not used but still13:20
tomreynin terms of data security, you'll increase your chances of restorability if you'll store duplicate copies of the split parts. this won't decrease the natural decay of storage media, however (nor will slow writes, they just make it more likely for the data to be recoverable).13:20
pragmaticenigmacorrect, slow writes is more about making sure the recording medium gets a decent "deep cut" from the laser just being there a little longer than at full speed.13:22
sm0ketstthanks tomreyn, using now ratio of 50% for the par2 files, so i'll minimize 1/2 the dups according to your approach, there are 20 4.5G DVD as paylaod13:22
sm0ketstgood think imho of using par2 is i know which volumes are damaged while having dups and later on combining them i think it will be more difficult to see13:23
sm0ketstmaybe burning 40 dvds with the portable usb writer is a challence for the unit :)13:24
sm0ketstchallenge13:25
pragmaticenigmaIf it was me, I'd bundle the data into an archive, split them, and burn each one directly. with a duplicate set. I think the par2 adds a layer of complexity that may cause trouble later down the line13:25
sm0ketsttrue, if 7z is resilient enough after combining them all again to keep stracting the original combined file and skip the bad segments13:27
sm0ketstmaybe the question is for 7z folks13:27
pragmaticenigmathis comes from the advice "raid is not a backup" ... with parity, you're only going to be able to recover one bad disk from the set. If more than one goes bad, you're going to be out-of-luck. With replicated sets of the same file, you can at least mix and match your disks as needed to create one working set13:28
sm0ketstok, so hash per dvd and duplicate the set13:29
pragmaticenigmanot sure what you mean by hash per dvd. 7z has checksuming built in. if one of the parts for the set is bad, it will tell you13:30
sm0ketsti know i have to go for some tests with faking some volumes with dd/dev/random and check if still 7z recovers the whole bundle, just asking if someone here had some experience with it to avoid me to do the monkey13:30
sm0ketstpragmaticenigma, i thought that 7z was simply making a bare split rather than adding some extra info to the chunk13:31
pragmaticenigmathat wouldn't make sense to me. that puts heavy reliance on file naming which is fragile13:32
sm0ketstmaybe it makes more sense to tar/gz first, then split, then 7z the individual ones13:32
sm0ketstin the end they are raw/jpg images13:33
pragmaticenigmaI'd do it in one... each of these ideas adds layers of complexity13:33
pragmaticenigma7z already takes care of the tarballing step internally13:33
pragmaticenigma(it's not exactly how it does it, but similar)13:33
sm0ketstso, 7z the whole folder using the 7z/split and duplicate the whole set13:34
pragmaticenigmayes13:34
sm0ketstmakes sense not to bother just for 10 dvds13:34
pragmaticenigmacorrect13:34
sm0ketstthanks for sharing13:35
=== timj1 is now known as timj
=== timj1 is now known as timj
realivanjxfor laptop users, does chromium browsers consume less battery than firefox in general?15:05
xanguaI've read chrome does use more battery, no idea about chromium15:10
xanguaif you worry about battery life, just install TLP realivanjx15:11
xangua!info tlp15:11
ubottutlp (1.6.1-1ubuntu1, noble): Optimize laptop battery life. In component main, is optional. Built by tlp. Size 87 kB / 646 kB15:11
realivanjxi have been observing the cpu usage between brave (chromium based) and firefox with tradingview website that utilizes real time chart update15:20
realivanjxand i found that brave uses less cpu % than firefox. although it uses more memory than firefox15:20
realivanjxdifference is around 1-2% on brave and 4-5% on firefox while the site is displayed and loaded15:21
perthohey is there a programmatic way to tell, after running apt update.. whether I need to run apt upgrade? Just a simple return code will do.15:32
leftyfbpertho: apt list --upgradeable15:34
pertholeftyfb: apt list --upgradable 2>/dev/null | wc -l  if greater than 1 I guess? Seems awfully kludgey15:34
pertho--upgradable isn't even in the apt(8) man page :D15:35
tuxinatorHi all, anybody else having dconf issues with some users? We use an sssd Setup with 24.04.2 and with some users we seem to run in to https://bugs.launchpad.net/ubuntu/+source/adsys/+bug/2078245 while for others it works15:43
-ubottu:#ubuntu- Launchpad bug 2078245 in adsys (Ubuntu Noble) "DCONF policy manager removes userdb on empty policy" [Undecided, Fix Released]15:43
tuxinatorThe Bug should be fixed but it does not seem to15:46
oerhekstuxinator, comment #6 points to a fix in https://launchpad.net/~ubuntu-enterprise-desktop/+archive/ubuntu/adsys16:06
oerheks0.14.3.1~24.04~ppa116:07
=== JanC is now known as Guest5429
tuxinatoroerheks: so it is not yet in 24.04 ? it is mentioned to be fixed in 24.04.2 changelog actually16:41
=== JanC is now known as Guest4363
oerhekstuxinator, find out why 'with some users we seem to run in to..'16:52
tuxinatoroerheks: thats what i try at the Momment16:56
tuxinatorMoment16:56
mdmbkrtomreyn: you have it right, I'm not using devicemapper ... my md array isn't starting because the linear mode got removed16:58
=== jimmyb0 is now known as jimmyb
mdmbkrmake[1]: *** /lib/modules/6.11.0-17-generic/build/: No such file or directory.  Stop.17:27
mdmbkris there a linux modules source code package I need to install to fix that?17:27
tomreynmdmbkr: sudo apt update && sudo apt install linux-headers-`uname -r`17:35
=== XIDME1 is now known as xidme
Nythhi17:54
mdmbkrtomreyn: thanks =)18:17
tomreynyou're welcome18:17
=== franknoirot is now known as knarf
=== knarf is now known as moo-deng
=== moo-deng is now known as franknoirot
mdmbkrI was able to get the array running again using this: https://github.com/dougvj/md-linear18:30
mdmbkrso that's cool. mdadm --assemble worked without complaint, but xfs isn't happy about it at all18:30
tomreyndoesn't sound like it's working properly if the file system is now corrupt18:32
mdmbkryeah, just not sure exactly what's wrong18:33
mdmbkr# xfs_repair /dev/md2 /// Phase 1 - find and verify superblock... /// superblock read failed, offset 3024269344768, size 131072, ag 16, rval -1 /// fatal error -- Input/output error18:36
mdmbkrnothing at all appears in dmesg or syslog18:37
tomreyni'm more into ext4, but assume xfs also has multiple superblock copies, so maybe try another. if that's broken, too, that's a strng indication that the raid layer not in good shape.18:41
mdmbkragree, but it doesn't even appear to be trying to look, the i/o error seems to be instantly fatal18:43
tomreynif, however, you're convinced that the raid layer is fine (personally i'd rather try assembling the raid on an earlier ubuntu release which still supports linear rather than compiling from source) then i'd recommend to create a full dump of the assembled array before you use a copy of the data and fsck it.18:43
mdmbkryeah, fully agree, I'm just taking a stab at it remotely while I can18:46
mdmbkrit'll be a few hours before I have physical access, then I think I'll try some older bootable usb linux and have a go that way18:47
mdmbkrthanks for helping out!18:47
parsekHi. AMD p-state effectively works after sleep and waking up. Any ideas18:53
oerheksso, it works?18:54
parsekyep18:54
oerheksgood, have fun?18:54
parsekbut not working when the system normally starts18:54
parsekwhen it works the system uses 6-7W otherwise 19-20Watts18:55
oerheksparsek, on what ubuntu/kernel version?18:58
parsek24.04lts 6.8.0-54-generic (64-bit)18:58
oerheksoke, you might want to try HWE, that would give 6.11.0-1718:59
oerheks!hwe18:59
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack18:59
oerheksinstall linux-generic-hwe-24.04 and reboot19:00
oerheksubottu factoid should point to https://canonical-kernel-docs.readthedocs-hosted.com/en/latest/reference/hwe-kernels/19:03
parsekoerheks: thanks I'll try19:07
omerojust verified, tomreyn .. termbin is back indeed \o/19:16
oerheks!cookie | tomreyn19:20
ubottutomreyn: Wow! You're such a great helper, you deserve a cookie!19:20
tomreyn:) sometimes it helps to just sned a quick email.19:21
omerohttps://termbin.com/tzvz19:21
oerheksi love ascii c̶a̶t̶ art19:22
omeroi wanted to share that when i found termbin was unresposive .. that was a few days ago and kept trying :Þ19:23
omerosome time ago, a friend had troubles with some raid volumes and we solved it just by using termbin for commands outputs .. from command line19:24
csimsI am running ubuntu 22.04. I run the following commands to setup my network:  https://termbin.com/4xia   Is there a way I can put these into a config file that runs at startup?21:14
csimsI guess I should say, a standard way.  I could do a @reboot entry in root's crontab21:15
cbreakcsims: why not do it the normal way?21:15
matsamancsims: https://linuxconfig.org/how-to-add-static-route-with-netplan-on-ubuntu-22-04-jammy-jellyfish-linux21:15
cbreakwith either netplan (on servers) or the network configuration GUI thing on desktop?21:15
csimsthanks guys21:15
matsamanthat would be the ordinary way21:16
=== paran0n968 is now known as paran0n96
csimsThis is what my /etc/netplan/01-network-manager-all.yaml    looks like: https://termbin.com/ijiu  When I run sudo netplan apply  I get this error:  Error in network definition: wlp3s0: No access points defined  .  How do I fix this?  It shows up fine in ifconfig.21:42
leftyfbcsims: are you running a desktop GUI?21:43
csimsno, running from bash21:43
leftyfbcsims: I know you're running "from bash", but is there a desktop UI running at all on this device?21:43
csimsyes21:44
csimsI am running the default ubuntu-mate 24.04 desktop environment21:44
leftyfbcsims: then don't use netplan, put it back the way it was. Use the GUI. Settings -> network21:44
csimsok will try21:44
cbreakit is possible to use netplan with networkd instead of networkmanager, but then the whole network gui config won't work at all, and maybe you get yourself into other problems.21:45
cbreak(and I don't' know if 22.04 is new enough for this either)21:46
ravageI am almost sure Mate can just configure your wifi via the GUI21:48
leftyfbit can21:50
matsamanmate, I'm also pretty sure Mate can do that, mate21:51
=== thestudent is now known as perstudent
perstudentHi22:05
perstudentI have some trouble with grub22:05
perstudentWhen something is selected it's like console resolution goes bad.22:05
perstudentAny help?22:05
leftyfbperstudent: what release of ubuntu?22:06
perstudentleftyfb 22.0422:08
leftyfbperstudent: and what changed since you installed it and it was working fine?22:08
perstudentI didn't change anything22:09
leftyfbperstudent: ok, so you boot the OS, you're in the ubuntu desktop, and it's set to a low resolution?22:10
perstudentleftyfb let me explain you: I can see grub's menu, and I can select to boot Linux, but when it starts loading it's like screen goes out of resolution, even before loading X22:11
perstudentI think I can show you an image, let me see.22:12
leftyfbperstudent: sounds like a GPU driver issue to me22:12
oerheksen when reached X, resolution is normal?22:13
cbreakfor ages I don't have GUI output during boot, until SSDM loads. Maybe that's related22:14
perstudentoerheks no, still the same22:14
cbreakhmm... or not.22:14
perstudentIt's loading https://imgur.com/a/uWxFprF22:15
leftyfbperstudent: GPU driver/update BIOS22:16
leftyfbI would investigate both of these22:16
cbreakdoes your screen have some menu that tells you what kind of input it gets (resolution, refresh rate, ...). I wonder if it's different from what it should be.22:17
perstudentI don't think it's a BIOS issue as it can run from live USB without any problem22:17
perstudentMaybe GPU driver but what you I look for then?22:17
leftyfbperstudent: there could still be a BIOS update fix22:17
perstudent*should22:17

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