libera/#maemo-leste/ Sunday, 2021-06-20

sicelo+1 @thanks00:58
sunshavithere is a question about 'DM_USB_GADGET' on the list.03:42
mighty17[m]what browser works in maemo (and pvr)08:09
siceloAlmost any, depending on RAM usage, availability and your needs09:20
siceloE.g. on droid 4, firefox works reasonably okay.09:20
mighty17[m]sicelo: and matrix client?10:44
siceloSame answer :-p10:45
siceloNheko,10:45
siceloQuarternion, etc.10:46
mighty17[m]Nheko doesnt open virtual keyboard :(11:20
Wizzupis it qt5? gtk3?11:27
Danct12mighty17[m] on my n900, i use dillo11:33
bencoh(dillo <3)11:33
Danct12i kinda want to go with netsurf but i can't find it in beowulf11:33
bencohYeah, I was about to say it was removed for some reason11:34
Wizzuphm, I thought parazyd packaged it11:34
mighty17[m]dillo is less resource intensive :D11:34
bencoh(either that, or we used to build it from source, but I vaguely recall it was indeed removed)11:34
bencohhttps://packages.debian.org/search?suite=all&searchon=names&keywords=netsurf11:34
parazydWizzup: I packaged surf, not netsurf12:50
Wizzupparazyd: ah ok13:02
Wizzupparazyd: did you upgrade ke-recv over ssh?13:19
Wizzupparazyd: I need your daemon.log info13:23
parazydWizzup: Yes, I did apt update && apt install ke-recv13:24
parazydThe latter does an upgrade of ke-recv only13:25
parazydI'm not at home now so can't access the N900 I did it on atm13:25
Wizzupparazyd: do we log warnings in syslog?13:25
parazydWhat do you need from daemon.log? I pasted already two sprunges when the error happened13:25
parazydsyslog and messages13:25
WizzupI mean warning level13:25
parazydI don't know13:26
Wizzupke-recv is *very* verbose about all the things that make it fail13:26
Wizzupand I cannot find any message in syslog13:26
Wizzupwhich is weird13:26
Wizzupone of the thoughts was that maybe if you upgrade through ssh, then ke-recv and/or dsme are restarted with wrong/different env vars and that causes problems13:26
Wizzuphttps://github.com/maemo-leste/libosso/blob/8dd7d38eae9b075c2b4664a2498b1aa9f5fbc836/src/osso-log.h#L7013:26
WizzupIt would be good to check that those log calls actually work I guess13:27
parazydI upgraded both times through ssh13:27
parazydThe full upgrade which caused a reboot and only the ke-recv upgrade which didn't cause a reboot13:27
Wizzupyes, but the other case it sounded like you only changed ke-recv and no dsme or other stuff13:28
WizzupI really wonder if we want dsme to 'restart' at all during an upgrade13:28
WizzupI don't think Nokia did that a whole lot, if ever13:28
Wizzupfreemangordon: ^ any thoughts?13:29
parazydIMHO it shouldn't restart at all13:29
parazyduvos and I discussed this13:29
Wizzupbut it seems to restart currently13:29
parazydYeah I mean the lifeguard is useless and gives you no freedom to debug13:29
parazydIf a service fails13:29
Wizzupuh13:29
parazydAnd rebooting is not a solution to "fix" the system13:29
WizzupI don't think we are on the same page at all13:30
WizzupI was saying that debian should not restart dsme upon upgrade13:30
WizzupI was not talking about dsme restarting13:30
Wizzup(the system)13:30
parazydoh ok13:30
parazydThis might work with dh_installinit --no-start13:30
Wizzupif I can make that not happen when upgrading my device, it would help I think13:31
parazydeh, it already is --no-start, so i guess not13:31
parazydbut13:32
parazydI don't recall dsme being restarted actually13:32
WizzupI am trying to see if I can find that in the logs now13:32
Wizzupin any case ke-recv seems very verbose with it's logging, so there should be messages about how it fails for sure13:32
Wizzupah we also stubbed stopping dsme it seems13:33
Wizzupstop() { ebegin "Stopping dsme" eend 013:33
Wizzup}13:33
parazydThere's also dsme-dbus13:34
Wizzuphttps://github.com/maemo-leste/ke-recv/blob/master/src/ke-recv.c#L67313:34
Wizzupbasically everything logs to syslog13:34
Wizzuphttps://github.com/maemo-leste/libosso/blob/8dd7d38eae9b075c2b4664a2498b1aa9f5fbc836/src/osso-log.h#L7013:34
parazydYeah13:34
Wizzupit looks like signal handler failing to install does attempt to log before opening the log13:35
Wizzupbut that's about it13:35
WizzupI'm wondering how I can debug this when I attempt an upgrade13:36
parazydJun 17 14:06:27 localhost ke_recv[2130]: ke-recv.c:801: Returned from the main loop13:36
parazydhttp://sprunge.us/LrWEpG13:36
WizzupI think that is from:13:37
Wizzupstatic void sigterm(int signo)13:37
Wizzup{ g_main_loop_quit(mainloop);13:37
Wizzup}13:37
Wizzup+13:37
Wizzup        g_main_loop_run(mainloop);13:37
Wizzup        ULOG_DEBUG_L("Returned from the main loop");13:37
parazydBut that looks fine, yeah13:37
Wizzupbut we don't see any messages from ke-recv at all after that13:37
Wizzupwhich is really weird13:37
parazydYes13:37
parazydIt just fails from dsme13:37
Wizzuphmm13:38
parazydDoes anything happen if you just send a sigterm to ke-recv?13:39
dreamerparazyd: I'm looking bit more at cargo. so in order to create and update tables you need a 'recreatecargodata' permession on the user. sysops have this, but maybe you can add new group with these perms instead? -> https://www.mediawiki.org/wiki/Extension:Cargo/Storing_data#Permissions13:39
dreamerpermission*13:40
parazyddreamer: Can I give you admin somehow so you deal with it :)13:40
Wizzupparazyd: I can try in a bit, we could also change ke-recv startup policy from -t to -f, which does not cause SW reset if it fails to restart, but that mostly makes sense from a debug pov imho13:40
parazydThat could be fine for now13:40
dreamerparazyd: hehehehehe. root on the machine hosting the wiki? ;)13:41
Wizzupit's a lxc container iirc13:41
dreamersame difference13:41
parazydNo I mean on the mediawiki13:41
dreameror add me to admin group on the wiki13:41
parazydok I think I did it13:42
parazydPlease have a look13:42
dreamerhttps://leste.maemo.org/User:Dreamer << moi13:42
dreamerok, lets see13:42
dreamer`Member of groups:Administrators, Autoconfirmed users, Interface administrators, Users` << hopefully good enough yeah :)13:42
parazydok13:43
* dreamer will be poking around some more. probably on some temporary pages to get a feel of how cargo works13:43
Wizzupparazyd: I wonder if ke-revc should use DLOG, not ULOG13:43
parazydhttps://leste.maemo.org/Special:CargoQuery13:43
Wizzup#define ULOG_OPEN(X) openlog(X, LOG_PID | LOG_NDELAY, LOG_USER)13:43
Wizzup#define DLOG_OPEN(X) openlog(X, LOG_PID | LOG_NDELAY, LOG_DAEMON)13:43
dreamerparazyd: have to start by adding a new table before you can query it ;)13:43
dreameranyway, I'll be poking around. don't expect results asap :P13:44
parazydWizzup: Maybe it makes sense if it runs as root13:44
parazyddreamer: Sure13:44
Wizzupparazyd: I think it also determines where the log messages go13:44
Wizzupiiuc13:44
Wizzuplet me booy my droid and poke around13:44
parazydI think syslog is a concatenation of everything13:45
* Wizzup doesn't think so13:45
Wizzupbut I have to check :)13:45
parazydok13:45
parazydI'm not sure, but something in my mind tells me that it is :D13:45
parazydEither syslog or messages, don't remember13:45
Wizzupmessages is just kernel13:45
Wizzupsyslog I think is not everything either13:45
WizzupI will check13:46
parazyd*nod*13:48
Wizzupparazyd: daemon.log is not the same as syslog13:51
parazydok!13:51
Wizzupparazyd: ke-recv messages end up in /var/log/user.log lol13:54
parazydah obviously13:54
parazydULOG :)13:54
parazydYeah I didn't even think of checking it13:54
Wizzupsee /etc/rsyslog.conf13:54
parazydI'll have a look when I have my N900 again13:54
parazydBut if you can make the upgrade, you should repro it too13:54
Wizzupyeah I understand13:56
Wizzuptrying to check some other stuff first13:56
Wizzupit looks like our rsyslog does not log CRIT to messages at least13:57
Wizzupbut it does log WARN13:57
buZzhmm , apt upgrade just ended with 'Hangup'14:05
buZzwhat a weird msg :P14:05
WizzupbuZz: hm, any idea what happened?14:07
buZzit was building initrd at the time, it seemed14:08
buZzoh huuu14:09
buZzit somehow destroyed wifi i think :(14:09
Wizzupon the d4, or what?14:09
buZzyeah on d414:09
Wizzupdpkg-reconfigure ?14:09
buZzi'll try, just doing another reboot now to be sure14:10
Wizzupfull system upgrades are difficult, there's a reason nokia only did a few and locked down the system + reboot once it was done :p14:11
buZzoh , i remember it updated mce in this upgrade14:11
buZzand it failed to shutdown mce14:11
buZzwhat should i dpkg-reconfigure ?14:13
buZzwhat package i mean14:13
Wizzup-a ?14:13
buZzi tried 'mce' but doesnt seem able to configure it14:13
Wizzupwell maybe that's too much14:13
Wizzupjust whatever people do when apt is interrupted14:13
Wizzupapt-get install -f?14:13
* Wizzup 's memory is hazy atm14:13
buZzyeah thats not the issue i think? hmm14:14
buZzdpkg-reconfigure linux-image-droid4 now14:15
buZzmeh, keeps giving 'no connections available'14:18
buZzi'm considering just wiping SD and reinstalling ;)14:18
buZzor someone maybe has a good idea? :P14:18
Wizzupwait14:18
buZzi'll wait14:18
Wizzupare you on -devel14:18
Wizzupparazyd: btw I did apt upgrade just now and didn't get that problem14:19
buZzi am14:19
buZzi had a 24 package update14:19
WizzupbuZz: dpkg -l | grep suppli14:19
WizzupI wonder what the two versions are14:19
Wizzupfor wpa supplicant and the licdicd-network-wpasupplicant14:20
buZzwpa supplicant is 2.9.0-21+2m7.114:20
buZzlibicd-net-wpas is 0.1.7+2m714:20
buZzwpa supplicant is 2:2.9.0-21+2m7.114:21
Wizzupthat should work, at least that part of the stack14:21
buZzlol14:21
buZzok14:21
buZzanything else you'd like me to try?14:21
Wizzupdoes wpa_cli work?14:21
Wizzup'scan', 'scan_results', etc14:21
buZzyes14:22
Wizzupdo you see networks?14:22
buZzyep, all the same as normal14:22
Wizzupok, but not from ui?14:22
buZzindeed14:22
Wizzupis icd2 running?14:22
Wizzuppidof icd214:23
buZzit is14:23
Wizzuphm14:23
buZz'/usr/sbin/icd2 -l2'14:23
Wizzupand apt reports nothing else to fix/do?14:23
buZzas far as apt is concerned , everything is ok, it seems14:23
buZzapt -f install doesnt want to execute anything14:24
Wizzupcan you reconfigure icd2 and those other packages?14:24
buZzehm14:24
buZzmayyybe, lets see14:24
buZz:P14:24
parazydWizzup: hmm ok14:26
buZzoh huh14:26
buZzi have linux-image-droid4 5.11.2 installed14:27
buZzbut uname -a tells me i'm running 5.11.2214:27
parazyduname != package version14:27
buZzoh right, ok14:27
bencohthat's pretty confusing thoug14:27
Wizzupparazyd: random q, how can I enter charging mode from kexecboot on d4? I don't see the menu entry14:27
parazydYeah, I'm thinking of setting it up to always keep the pkg version at 5.11.014:27
parazydDebian does it this way too14:27
buZzi've dpkg-reconfigure'd everything with networking in my last apt upgrade14:28
bencohyeah, but that's confusing as well tbh14:28
buZzbut nope, nothing changed14:28
buZz:(14:28
parazydWizzup: We didn't push that update yet14:28
Wizzupparazyd: to -devel ? ok14:28
Wizzupand emergency shell should work, right?14:28
parazydYou can put softlevel=charge-mode in boot.cfg cmdline after you install charge-mode14:28
parazydYes14:28
WizzupI'm booting it now for the first time :)14:28
WizzupI think it's booting normally though14:28
Wizzupmaybe I don't know how to use kexecboot keys :D14:29
parazydWell, you'll still see a tty14:29
WizzupI see X and everything, h-d14:29
parazydah then it passed through14:29
parazyduvos said this happens sometimes14:29
Wizzupin any case nvm for now, I'm not too interested in it atm14:29
parazydAnd ofc you need to be charging for it to actually show up14:30
parazydBut he said sometimes the current draw is too high(?) so it skips14:30
Wizzupaha14:30
parazydOnly a mapphone problem14:30
bencohsilly question: is https://maedevu.maemo.org/pkgweb/ supposed to show up as application/octet-stream?14:34
bencohfirefox suggests to download it, instead of displaying the page14:34
Wizzupseems like missing index.html default or some14:40
parazydoh sry14:41
parazydmisconfig14:41
parazydFixed14:41
parazydbencoh: Try now14:43
bencohyay, works! thanks :)14:44
parazyd:)14:44
bencohit's lovely and pretty useful, by the way14:44
bencohdid you reuse code from the devuan infra?14:44
bencoh(oh and, you might want to display the package arch in the listing)14:45
parazydThe architecture is in the URL14:47
parazydAnd if you open a package's page you also see it listed14:47
parazydhttps://maedevu.maemo.org/pkgweb/beowulf/main/binary-amd64/hildon-desktop.html14:47
parazydWe reused a Go program written for Devuan and modified it a bit for our usecase: https://github.com/maemo-leste/mpi/14:47
parazydI wrote the search in a very barebones, filesystem-as-db way though14:48
parazydSo it's not the fastest thing, but it does the trick14:49
bencohneat14:49
bencoh(and I yeah, I was only referring to the listing itself, regarding the arch)14:49
buZzso no ideas how i can get icd2 working again? :P then i'll just reinstall from scratch, nothing unique on my install atm15:18
bencohdid you try purging/reinstalling?15:18
buZzwhich packages? the libicd- one ?15:20
bencohyeah15:20
buZzwpa_cli is working fine , btw15:20
bencoherr, actually I dont know which of those package hosts the config files15:20
buZzi bet icd2-settings-default and icd2-network-wpasupplicant-config15:21
buZz1.11+2m7 and 0.1.7+2m7 , are the ones i have15:21
bencohah, you're on devel15:22
buZzi am15:25
Wizzupparazyd: so the provider will create a second entry in the UI for every network it maches15:42
Wizzupparazyd: this gets messy quickly with lots of wifi APs15:42
Wizzupsince you now get double the amount of connections15:43
_uvos_Wizzup: so on mapphones the charging state in sysfs is set by the kernel simply to "charging" or not depending on current_now. ofc that is very noizy so this value flickers back and fourth all the time. some times when charging_mode reads the state it will happen to chance upon the value while it not charging and simply boot to desktop15:46
_uvos_we can either fix this somehow, or enter charing mode depending on usb connected state instead of charging state or both15:47
Wizzupright16:02
parazydhttps://twitter.com/vm_call/status/140593749264212378216:32
parazydWizzup: ok16:33
parazydDoes this apply to existing networks that have a saved connection, or it comes up on scan for all of them?16:33
parazydIn any case, we could add some state and tweak connui16:34
Wizzupparazyd: all of them16:55
parazydok17:18
parazydWizzup: So could the code be modified/copied to work like one-for-all networks17:19
parazydPerhaps modifying is better since nothing else ever used this code17:24
parazydI suppose the way it works now is allowing you to set a provider per-network17:27
parazydPerhaps there is just a way to have it show up when you're connected to a network17:28
parazydThat sounds ideal17:28
parazydAnd could be a simple connui tweak17:28
Wizzupmaybe it could be a dialog + pref19:38
buZzdbus starts with 'unknown username 'geoclue''19:53
buZzon 6-20 image on droid419:54
buZzdont think its anything serious , seems to boot fine19:54
buZzat least wifi works now \o19:55
buZz:)19:55
buZzthe new font on the theming is nice!19:56
freemangordonPali: well, at least Tom looks like a sane guy21:02
Pali:-)21:16
siceloparazyd: by the way, I have permanent Location button on my status menu. Not sure if that's expected21:28
freemangordonI guess not21:29
parazydYeah it shows always, but it's easy to hide it21:33
parazydWe can do that if it's necessary21:34
parazydlmk21:34
freemangordonparazyd: well, in fremantle that button is only visible when there is active GPS session21:36
siceloI'm not used to seeing it all the time, so yes :-)21:36
parazydok21:37
parazydI'll add that21:37
freemangordonparazyd: lots of status menu items are like that, which kinda makes sense, otherwise status menu will easily get crowded21:37
siceloThanks21:37
parazydfreemangordon: Yeah, makes sense.21:38

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