libera/#maemo-leste/ Monday, 2025-04-07

freemangordonWizzup: kernel repo does not seem migrated to git.maemo.org07:13
dsc_also missing jib07:15
freemangordonoh, it is in forks :)07:35
Wizzupfreemangordon: yeah it is in forks08:36
Wizzupdsc_: yes extras aren't yet, maybe I should do that today08:36
Wizzupfreemangordon: seemed more appropriate08:36
freemangordonok, I was just not used to08:43
Wizzupyeah08:43
Wizzupthere's 4-5 repos that I moved this way08:43
Wizzupthe rest are as expected08:43
freemangordonok08:49
Wizzupmostly just the linux repos, and gtk08:50
Wizzupgtk (2) I also moved to forks08:50
freemangordonWizzup: hmm, is there a way to tell openrc to reboot if a service fails?10:37
Wizzupreboot the os?10:43
freemangordonyeah10:44
freemangordonok, AI helped me10:44
Wizzupfreemangordon1: what was the solution11:24
freemangordon1will see, lemme test it a bit and will push11:24
freemangordonhmm, wait, will not work in our openrc11:27
freemangordonmaybe in trixie11:27
freemangordonotherwise there is --retry_failed option to supervise-daemon11:27
Wizzupwhat are you looking for11:35
Wizzuptrixie has openrc start-stop-daemon btw, whereas bookworm does not11:35
dsc_Wizzup: hi11:37
dsc_To git.maemo.org:leste/qt-input-maemo.git ! [remote rejected] master -> master (pre-receive hook declined)11:38
dsc_error: failed to push some refs to 'git.maemo.org:leste/qt-input-maemo.git'11:38
dsc_oh11:38
dsc_remote: Forgejo: User permission denied for writing.11:38
Wizzupdsc_: force push to master fails? let me check\11:40
dsc_its not force11:40
Wizzupdsc_: let me see11:40
Wizzupyou're using this yeah? git@git.maemo.org:leste/qt-input-maemo.git11:40
dsc_yeah11:41
Wizzupdoes pull work?11:41
Wizzupoh nvm11:41
WizzupI get it now11:41
Wizzuptry now11:41
dsc_thx worked11:41
Wizzupfreemangordon: we should figure out how set up perms/teams11:41
Wizzupfreemangordon: like, do we just give folks push access to core, or do we stick to per repo mostly? I am fine with either11:43
freemangordonWizzup: I think we shale create at least one team for those that work on core repos and give them push access. for the others it is better 'per repo'12:33
Wizzupok12:33
freemangordonit is another question who those members will be :)12:33
WizzupI think we're at that point12:34
Wizzupwe can deal with it later in any case, there is a group of admins (you, me)12:34
Wizzupand I made a developers 'team' but we're not using it atm12:34
WizzupI'm ok with principle of least priv / doing it specifically per repo12:34
freemangordonmhm12:35
freemangordonmake sense12:35
Wizzupok, so should I just move over the extras repos? I'm wondering how to let the extras people know12:35
WizzupI guess I can make a news post about it, separate from the daedalus one12:35
freemangordondon;t they have e-mails?12:35
Wizzupmaybe, but github doesn't work around that necessarily12:39
freemangordongithub? I meant to send emails to them on behalf of "maemo leste"12:41
freemangordonor "maemo leste admins' or whatever12:41
freemangordoninforming the repo has moved12:41
WizzupI understand, but not every users email is exposed12:42
WizzupI think making an issue in the repos could work too12:42
freemangordonor making them read-only12:44
Wizzupdamn we have 122 extras repos? :D12:44
freemangordonugh :)12:44
WizzupI'll just migrate them now12:45
crabhi all, is maemo-leste / devuan still on beowulf or am i behind the times?12:52
crabit looks like im 2 releases behind the times12:52
freemangordonit is on chimaera and we will move to daedalus as soon as we fix the few remaining issues12:55
crabim going to try dist-upgrading to chimaera12:56
crabwe'll see what happens...12:56
Wizzupyeah definitely not on beowulf :)13:00
freemangordonarno11: please upgrade kernel and pull latest procmngd, it should work now13:47
arno11freemangordon: ok, let's go14:50
arno11last procmngd pulled, upgrading kernel...14:58
arno11reboot15:00
crab*sigh*15:13
arno11weird, linux-image-omap on my device is 6.6.58 but uname -r still returns 6.6.5315:14
* crab has totally forgotten how the bootloader works, what the bootloader is called, where the boot loader config is held, the layout of all the storage, whether i need to even do anything if this dist-upgrade actually works15:14
crab"cat > /etc/bootmenu.d/30-maemo-leste.item" that kind of thing is giving me intense deja vu15:14
crabbut i havent yet found a partition with anything like that on it! :P15:15
arno11freemangordon: ^^^15:25
arno11something seems wrong with kernel upgrade15:26
arno11freemangordon: well, so i can't test procmngd ATM. my kernel is still 6.6.53 after upgrade (linux-image-omap 6.6.58)15:57
arno11Wizzup: ^ any hint/tips ?15:58
Wizzupextras repos are migrated, will set up push mirror16:42
freemangordonarno11: are you an daedalus?16:48
freemangordonugh, wait16:49
freemangordonit is the same here16:49
freemangordonbut you should be ok re procmngd16:49
freemangordonWizzup: there is something wring with kernel version16:49
freemangordon*wrong16:50
freemangordonchangelog says 58, but that's not true16:50
freemangordonieah, I wonder where this .58 came from16:52
freemangordon*yeah16:52
freemangordonarno11: so, you *can* test16:53
Wizzupfreemangordon: did you tag?16:54
Wizzuppush mirror set up too16:59
freemangordonyes, I did17:16
freemangordonit is just that changelog lies17:16
freemangordonsee maemo 6.6.y history17:16
freemangordonlatest upstream commit is https://git.maemo.org/leste-upstream-forks/droid4-linux/commit/4ad9fa5c30edc19acf05b2960dd686c29cbe75a217:17
WizzupI am confused, but it sounds like you got it ;)17:19
WizzupI normally add an extra .[number]17:19
Wizzupto prevent this issue17:19
freemangordonWizzup: umm, ok, lemme try to explain:17:41
freemangordonversion in changelog is 6.6.58.4-1+4m717:41
freemangordonbut *kernel* version is 6.6.5317:42
Wizzupright, why don't we use 6.6.53.4?17:43
Wizzupor whatever17:43
freemangordonwell, don't as me ;) https://git.maemo.org/leste-upstream-forks/droid4-linux/commits/branch/maemo/daedalus17:47
freemangordon*ask17:47
Wizzuplooks like I made the mistake too17:50
Wizzup:D17:50
WizzupI'm confused now17:50
freemangordonthe first bad commit is https://git.maemo.org/leste-upstream-forks/droid4-linux/commit/dfabfe295d358697a0201240eeff8fe0acf73f28, me and you just increased the subversion18:09
arno11freemangordon: '@i can try', ok but it didn't work this afternoon. let me try again19:11
arno11hmm, if i stop procmngd and start it again, it says 'supervise-daemon: fopen `/run/procmngd.pid': No such file or directory'19:15
freemangordonarno11: I tested it on d4 and can confirm that it works19:15
arno11ah19:15
freemangordonalso, check syslog for messages19:15
arno11syslog returns nothing unfortunately19:16
arno11in fact i can't get any useful log. i can just confirm that the daemonis running19:16
arno11*is19:17
arno11let me check again19:17
freemangordonok, stop the service and run the binary by hand, as rootg19:17
freemangordon*root19:17
arno11ok19:17
freemangordon/usr/sbin/procmngd -l debug19:17
arno11well, sure you don't load any additional module i'm not aware of or something ?19:25
freemangordonyes, what is needed is built-in19:30
freemangordonso, could you provide the output of the above command?19:31
freemangordonalso, make sure the service is stopped19:31
arno11it just returns Logging to stderr19:31
arno11procmngd started19:31
freemangordonwhat is the result of dpkg -l | grep omap19:32
arno116.6.58.4-1+4m719:33
freemangordonthat's correct19:33
freemangordonwhat is the version of procmngd?19:34
arno111.0.019:35
freemangordonso, while "/usr/sbin/procmngd -l debug" is running, what happens if you open another ssh session?19:36
freemangordondon't you see stuff like:19:36
freemangordonEXEC(8110):19:36
freemangordonexe: /usr/bin/dpkg-deb19:36
freemangordoncmdline: dpkg-deb19:36
freemangordon?19:36
arno11yeah i see them19:36
freemangordonso, everything works fine19:37
freemangordonwhat do you have in /etc/procmngd.d/ ?19:37
arno11the same json you provided yesterday19:37
arno11in a .cfg file19:38
freemangordonI don;t remember, please pastebin the output19:38
arno11{19:40
arno11"/usr/bin/top": {19:40
arno11"nice": 1019:40
arno11}19:40
arno11}19:40
freemangordonok, stop the binary and start it with -l info:19:41
freemangordon/usr/sbin/procmngd -l info19:41
arno11ok19:41
freemangordonand start top in another session19:41
arno11ah it fails parsing the json19:42
arno11let me check19:42
arno11it skips the config file19:42
freemangordonfix it19:43
Wizzupyou can use something like json_pp < foo.json to tset19:44
Wizzuptest*19:44
arno11it s ok now, let's try nicing something19:47
arno11yeah, now it works :) the problem was just the json19:51
arno11diner time, but this night i will try to 'nice' H-D and other stuff on boot and let you know guys19:53
freemangordonWizzup: does it make sense to implement ionice support as well?19:53
freemangordonarno11: I am not ure it is a good idea to renice h-d, we'd better use cgroups for it19:54
arno11no worries it already works with hack19:54
freemangordonsee https://paste.debian.net/1368072/19:55
arno11but sure, better use cgroup19:55
freemangordonthis is all that is 'niced' on fremantle19:55
arno11ok ty19:57
freemangordonI have to implement command line matching as well19:58
arno11freemangordon: ok i set cfg files based on your fremantle nice script (excepting for PA as it is already -11 by default). need to reboot, let's see.21:49
freemangordonkeep in mind that re-nicing mafw-dbus-wrapper is not that simple21:52
freemangordonbecause the are 3 of it :)21:52
freemangordontat's why command line mathing has to be implementd21:52
freemangordonto match only mafw-gst-renderer21:52
sicelomaking MR's to some projects is always 'fun' ... for some reason i have easier time with kernel than the userspace stuff :p22:05
siceloso with upower, i initially made one big commit that had the changes -- i think it was ok because while it spanned across 4 files, it was all really one logical change22:05
siceloanyway, they said to split it to one commit per affected file, which i did. but i only gave a full description for the first commit in the 'series' and now they want full descriptions on all of the 4 commits. i don't know what to write :-D22:07
sicelosince it's still one thing that i've done, heh. not sure if i should copy the description from the other commits into the remaining 322:07
siceloanyhow, at least it seems they're happy with the code itself, and with some luck, the thing could get merged and even a release tagged soon22:09
arno11freemangordon: yeah @mafw22:18
freemangordonI am on it22:19
arno11ok22:19
arno11so to resume:22:20
arno11we already have xorg and mce renicing on boot, PA is already @-11, mafw needs work, and i can't find a way to 'nice' dsme and tonegend22:22
arno11with the few processes i m able to nice, things semm a bit slower22:22
arno11*seem22:22
sicelonot so 'nice' :-D22:23
arno11the best results i got with leste during the last year was: H-D -8, Xorg -8, mce -522:23
arno11(that's it, no other nicing)22:24
arno11sicelo: lol22:24
arno11but anyway, the most important things are that procmngd works fine and we can use it with no issue on n900: low mem usage and no 'visible' cpu usage22:28
arno11well, as soon as i renice H-D to -8 again, things are very responsive again22:37
freemangordondsme should already be at -522:58
freemangordonwe also need to renice dbus22:58
sicelointeresting ... someone submitted a patch to ofono using a tesla.com address. wonder if that could hint at tesla using ofono in their stack (as opposed to ModemManager)23:03
freemangordonoh, if that's the case I guess I can ask for a profit share :D23:05
freemangordonyou too23:05
sicelohehe23:06
sicelobtw, maybe you can have a quick look at this one if you have a brief moment - https://paste.debian.net/hidden/f2c3205c/   ... does my patch look correct/valid?23:07
freemangordonsorry, this will need time I don't have now23:10
freemangordonmaybe tomorrow morning23:10
sicelosure. no rush. i actually did this about 2 months ago already :p23:11
siceloi've actually just submitted it to the list after all. it seems correct (asked AI to verify it)23:54
freemangordoncool23:54
freemangordonarno11: please pull latest code and maybe integrate https://paste.debian.net/1368129/ with your current config23:55

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!