libera/#maemo-leste/ Thursday, 2024-07-25

gnarfacekreyren__: you can tell qemu to just use a particular number of host cpu cores directly without actually emulating them00:15
kreyren__gnarface, oh i see00:16
gnarfaceit's not as efficient as something like the linux-vservers kernel patch, but it does mitigate a lot of the emulation overhead, especially if you have working hardware kvm/iommu acceleration00:16
arno11kreyren__: your sources.list should be:00:17
arno11https://paste.debian.net/1324282/00:17
arno11ignore the last line (experimental repo)00:17
gnarfacearno11: just fyi, Devuan ops prefer people would use deb.devuan.org (a dns round-robin of mirrors of pkgmaster, which also contains pkgmaster) instead of just using pkgmaster directly, to reduce their bandwidth load00:19
gnarfacenot all the mirrors are super great on bandwidth themselves though, so i don't blame you00:19
gnarfacein a fair world, the only difference should be a minor periodic delay of mirror replication during updates00:20
gnarfacepeople who have problems with the dns-rr usually just pick the mirror off the list closest to them (http://deb.devuan.org/mirror_list.txt)00:21
gnarfacei am not officially affiliated with Devuan, i just hang out in their channel00:22
arno11fair enough :P00:28
kreyren__arno11, ye i just added -devel thinking that's enough, trying to reboot now with these sources thanks for clarification00:31
kreyren__gnarface, vservers? Hmm i am in the middle of deploying Xen infra-wide in nixium i wonder if it would help for this00:32
gnarfacekreyren__: did you "apt-get update && apt-get dist-upgrade" after changing the sources.list?00:32
kreyren__gnarface, yep00:32
kreyren__wait no, i did full-upgrade00:32
kreyren__afaik it does upgrade and dist-upgrade00:32
gnarfacei am not sure00:33
kreyren__https://salsa.debian.org/apt-team/apt/-/blob/1.6.12/cmdline/apt.cc#L74 apparently same command00:33
kreyren__      {"full-upgrade", &DoDistUpgrade, _("upgrade the system by removing/installing/upgrading packages")},00:33
kreyren__seems that full-upgrade is the modern and the dist-upgrade is obsolete and kept there for legacy and muscle memory?00:34
gnarfacehttp://linux-vserver.org/ if you're interested, and their channel is over on OFTC, but if you're deploying it for work Xen might be a safer choice just because it's got current support. the linux-vserver project has kinda fallen on hard times and doesn't have as much current kernel support, and also isn't really for emulation, so running non-linux guests isn't an option00:35
kreyren__like the problem on xen is that it's arm support is experimental as well00:36
gnarfacebut, it's lightweight enough you could conceivably run it on your actual phone with no overhead00:36
kreyren__interesting00:36
kreyren__to what benefit considering the limited processing resources of N900?00:36
gnarfacemaybe none :) i mostly use it for my quake server farm00:37
kreyren__heh00:37
gnarfaceit's good for if you're running internet-connected services you're afraid might get hacked and you want some way to keep any potential breaches from being used to breach other services00:38
gnarfaceit's got a lot of functional overlap with something like bsd "jails"00:38
gnarfacein modern linux kernels, the various "namespaces" features have started to largely obsolete the old vserver features, but still don't quite reach the same level of feature-complete paranoia, especially with regards to the network layer00:39
kreyren__NiXium is trying to manage that threat by using lokinet for intraweb comms and as a layer that deploys services for clearweb with PQS SSH that requires pubkeys and services in their invidual sandboxes on impermanent system00:39
kreyren__rebooted the phone and it seems to work so far ^-^00:40
gnarfacecool!00:40
kreyren__> Backend ring/tel/account000:40
kreyren__instead of ofono00:40
kreyren__The phone also seems much more responsive ^^00:42
gnarfacenice00:42
arno11kreyren__: it is bit late for me but tomorrow i can provide you few tweaks to improve perfs a LOT :P00:45
kreyren__arno11, thanks that would help a lot too, i would like to update the wiki00:45
arno11zzz time00:49
kreyren__arno11, gn~ <300:54
siceloWizzup: https://github.com/maemo-leste/libicd-network-wpasupplicant/pull/2 ... at least helps with https://github.com/maemo-leste/bugtracker/issues/730 and https://github.com/maemo-leste/bugtracker/issues/72910:55
Wizzupsicelo: cool, ty, will look when I'm home in ~5 hours11:18
Wizzupbtw, looks like phoenix/leste is down again for a few hours still, maintenance/renovation is almost done at least...11:19
Wizzupwill get a UPS tomorrow..11:35
Wizzupsicelo: on the PR, do you need to free err2 if it is not null?11:36
siceloah yes i forgot to add it.  how is err freed? (from tge preceeding GetAll dbus call)11:42
WizzupI think g_error_free, but I'm sure there's other instances that file11:47
Wizzupso something like if (err2 != NULL) { WPALOG_ERR("Foo: %s" err2->message); g_error_free(error); ... }11:48
Wizzupor you might want to decide not to log the error if it's not important/fatal11:48
Wizzupor log it differently11:49
Wizzupbbl11:49
siceloI'll add it  next to the g_variant_unref's11:49
freemangordonyou also can do g_clear_error(&error)11:52
freemangordonit also sets error to NULL11:52
freemangordonjust a note, up to you what to use11:52
sicelothanks11:53
arno11using n900-pm script (off mode disabled), i get 44mA idle on 3.5g network now with 6.6, giving at least 30 hours idle. not bad13:36
arno11but once i plug any usb charger and unplug it, i get 10-12mA more13:38
arno11i didn't remember this 'old' bug13:38
arno11maybe i should open an issue13:39
arno11wow 46mA with 3.5g connected13:41
arno11maybe one day someone will find the trick to hit RET. we are not so far imo13:43
sicelos/RET/OFF/14:05
sicelothat'll be a great day!14:05
sicelobut yes, really amazing to get this far without OFF mode14:05
Wizzupsicelo: we don't hit RET either I think14:27
Wizzupon n90014:27
Wizzupenabling it currently causes funky stuff14:27
arno11yes still the same funky stuff :)14:53
arno11and indeed we still even don't hit RET14:54
Wizzupok, phoenix/leste should come back online ina bit14:56
Wizzupinteresting, on this 3g network the mtu of 1500 is too high and I can't ssh to my home machine, but dropping it to 1200 makes things work15:45
sicelothe mtu is 1500?15:47
Wizzupon wwan3 yeah15:47
bencohsome router probably doesn't allow fragmentation and/or drops frag packets15:48
bencohI'd guess actual mtu is higher than 1200 though :)15:48
Wizzupyeah, was testing mostly, but still15:49
freemangordonWizzup: hmm something's not ok with the autobuilder17:26
Wizzupyes, will fix17:27
Wizzuplike 60mins17:27
freemangordonok17:27
Wizzupjust changed ips and I need to make em static17:28
Wizzupbtw what did you need xkbmap wise from me17:28
freemangordonplease, spin a build of mafw-tracker-source chimaera-devel17:28
Wizzupok17:28
freemangordonno idea17:28
Wizzupshift+space says it switchen for me but ofc hw layout does not17:28
freemangordonwhat about xkbmap? for cyrillic?17:28
Wizzupyeah17:28
freemangordonwhatever, not now, I am packing stuff :)17:29
Wizzupkay17:29
freemangordonjust wanted to fix the rest of tracker-source issues17:29
Wizzupcool17:29
freemangordonhopefully I did, but well, lets see17:29
freemangordonat least sorting works and I moved everything to prepared statements and not clear strings17:34
Wizzupsweet17:34
freemangordonso now everything should be properly ordered in omp17:34
freemangordonbbl17:35
dsc_so uhh20:45
dsc_anyone know how to disable apparmor20:45
dsc_at boot, just turn it off in general20:46
dsc_ok ok ill write some apparmor rules20:54
dsc_for Matrix I have join/create and 1:1 E2EE working in conversations20:59
arno11dsc_: that's nice. able to send/receive or?21:27
Wizzupdsc_: sudo aa-teardown21:42
siceloi wasn't even aware we're using apparmor21:51
siceloWizzup:  just tried the wireguard plugin for the first time. looks like there's a small usability issue - as soon as you enable it, status shows "Connected" even if there's no connection yet21:55
sicelocould lead to false sense of security, at least for someone using it for that kind of thing21:55
sicelo but my internet is super bad this evening, so i don't know if this is PEBKAC somewhat22:07
dsc_arno11: for initial support just text messaging22:12
dsc_the file transfer stuff for e.g xmpp, matrix, telegram etc. is probably doable but requires significant changes22:12
dsc_ill do vcard's first22:13
dsc_(avatars)22:13
Wizzupsicelo: that just means the wg interface is up22:16
Wizzupit doesn't know whether the wg actually works or not22:16
Wizzupbut good point I suppose..22:16
siceloin my case, i don't see an interface anywhere either22:21
arno11dsc_: E2EE messaging is already really cool22:24
dsc_:)22:25
Wizzupsicelo: strange, that is not great indeed22:25
Wizzupsicelo: we don't use apparmor on arm it seems ,but we do on amd6422:25
WizzupI think maybe just because we don't have it enabled in kernel on arm22:25
dsc_Wizzup: could you create "olm" repo @ https://github.com/maemo-leste-upstream-forks (no hurries)22:26
dsc_we need a more recent version of https://gitlab.matrix.org/matrix-org/olm22:26
Wizzupfreemangordon: done @ jenkins build22:28
Wizzupdsc_: done22:29
dsc_ty22:30
siceloWizzup: i've added the missing g_free now. made it non-fatal, since if we somehow fail with SignalPoll(), we fallback to the 'old' method of using the BSS properties22:33
Wizzupfreemangordon: so if you do this:22:34
Wizzupsetxkbmap -layout "us,bg"22:34
Wizzupsetxkbmap -option grp:alt_shift_toggle,grp_led:scroll -variant ,phonetic22:34
Wizzupthen you can use the 'caps lock' and 'sym' key on the d4 to switch hw keyboard input22:34
Wizzupbut you might lack ч ш щ :D22:35
Wizzupsicelo: agree, ok, cool, shall I merge and do a -devel build?22:35
siceloup to you. it's working great for me :-)22:36
sicelomaybe yes @-devel, so it can get some testing, and we get feedback regarding any regressions (i don't see where they'd come from though)22:38
Wizzupwe always try to do devel first22:41
siceloit works so well (for me) that i now frequently open the status menu 'by accident' just to see the bars adjusting22:51
Wizzup:)22:52
Wizzupsicelo: I think it looks good to me otherwise, and the int16 vs int32 is also in line with the icd2 headers / dbus signature?22:56
siceloSignalPoll's rssi signature is gint32, while BSS.Signal is gint16. both are reporting same thing though. i think it's some sort of bug wpa side23:00
arno11Wizzup: do you have few min to check @n900 headset PR ?23:03
Wizzuparno11: link? :)23:12
Wizzupsicelo: I think we need to match the dbus signature of icd223:12
WizzupI'll see if I can figure out what it is supposed to be23:12
sicelomakes sense, yes23:14
arno11Wizzup: leste-config/pulls/4823:17
arno11*pull23:18
Wizzuparno11: looks good, does regular headphone still work23:22
siceloyes, also looks good to me (the headset stuff) :-)23:22
Wizzupbuilding23:23
arno11regular headphone still works (in fact jackcontrol makes no diff between headset and headphone)23:23
arno11cool :)23:24
siceloideally the volume would move to BootSequence, but i guess that's something for future work/investigation. alsaucm folk don't recommend having volumes changing in Enable/Disable sequences, to respect user settings23:24
arno11yes, true23:24
arno11there is still a bit of work on ucm but works already pretty fine. hope we'll be able to add bluetooth :P23:26
arno11*one day23:27
freemangordonarno11: hmm, no diff HS vs HP? not good23:28
Wizzupsicelo: does it have to be 32 bit int, given that in dbus you do G_VARIANT_TYPE_INT1623:29
Wizzupoh wait that's the old path23:29
arno11freemangordon: indeed but you can check through alsactl monitor: no diff when you plug HS, HP or TV out23:30
freemangordonWizzup: please, do me a favor while I am MIA - find why OMP/mafw loses audio and needs PA restart23:31
WizzupI will try23:31
Wizzupsicelo: so it's icd2's link_stats23:31
freemangordonthanks23:31
Wizzupsicelo: ok its gint there23:32
Wizzupso 32 bit seems fine23:32
Wizzuparno11: you probably know this but n900 trs pins is different from regular/modern headsets23:33
Wizzuplike a modern headset will make it think you plugged in a tv out23:33
Wizzupare you using the nokia headset, or?23:33
arno11yep, using the nokia headset23:34
arno11(and yes i know @specific n900 jack stuff)23:35
Wizzupsicelo: building for devel23:38

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