libera/#maemo/ Saturday, 2019-02-16

Vajbsicelo: First it was missing sim all the time, but now that is rare. It just loses whole network for few seconds and it comes back. Syslog show a lot of "unexpected cmt-restart".07:35
Vajbby losing network I mean that that pile of bars disappears completely and also 3G text under it disappears.07:37
VajbI can provide syslog later if anyone is interested to take a look.07:38
Vajbin my mind this does not seem like bad antenna connection because I usually have full stack of bars.07:39
KotCzarnywhere do you get that cmt log?08:17
KotCzarnysome command or its saved somewhere?08:17
sicelosyslog, i think :-)08:18
siceloah, yes, he also said so08:19
KotCzarnydoes it need to be installed?08:21
KotCzarnyi mean installed and configured in some special way08:21
sicelono.08:22
Vajbyes, syslog08:29
KotCzarnyi guess it would eat some battery08:46
KotCzarnyalso, would be interresting to write some popup when cmd errors are detected08:47
MaxdamantusI have syslogd start on boot.08:59
MaxdamantusAll you have to do is run `syslogd` as root.08:59
Vajbsame here. It grows pretty fast lately.09:15
MaxdamantusSeems to get rotated and deleted by default though.09:16
KotCzarnyonly if you have logrotate, i guess09:16
MaxdamantusI didn't do anything to get it to happen.09:17
MaxdamantusDoesn't seem to be running logrotate. I suspect it's probably syslogd itself that removes them.09:17
KotCzarnynormal syslogd just logs09:19
VajbMaxdamantus: how big does your file get?09:19
KotCzarnymight be some syslog-ng or something09:19
VajbMine grows to several Mb and then I just stop syslog remove file and start syslog again09:20
MaxdamantusVajb: the previous file is 200 KiB09:35
MaxdamantusVajb: not sure if it splits based on size or based on date, but it just has "messages", which is what it's currently appending to, and "messages.0" which was the previous file.09:36
Maxdamantusand it's actually just busybox's syslogd.09:36
KotCzarnydid you configure it for some log rotation?09:37
MaxdamantusThe --help indicates that it is indeed busybox's syslogd that does the rotation.09:37
KotCzarnyi dont remember it having such feature by default09:37
MaxdamantusNo. I just run the command "syslogd" in my boot script.09:37
MaxdamantusThe --help seems to indicate that that's the default behaviour.09:38
KotCzarnynice to know09:38
KotCzarnythanks09:38
Maxdamantus"N rotated logs to keep (default:1, ..."09:38
KotCzarnyi might actually implement the logging to find out if mine troubles (which luckily stopped recently) have the same cause09:39
Maxdamantus"Max size (KB) before rotation (default:200KB, ..."09:39
KotCzarnymaxd: is it bb from repo or self compiled?09:39
MaxdamantusKotCzarny: just from repo.09:39
KotCzarnythx09:39
Maxdamantus3:1.10.2.legal-1osso31+0cssu009:40
Maxdamantus(manually typed, might be inexact)09:41
MaxdamantusIt's probably just whatever you'd get from the cssu or community repository or whatever it is.09:41
* Maxdamantus can't remember how those worked.09:41
DocScrutinizer05sysklogdf or ksyslogd or somesuch10:45
DocScrutinizer05pulls in 1 or 2 other dependencies10:45
DocScrutinizer05logging to anything other than rootfs gets tricky since logging is started before mounting10:47
DocScrutinizer05and iirc it comes with sort of logrotate during reboot10:47
MaxdamantusI just have it in init.d/rcS10:50
Maxdamantuswhich is run after everything's mounted.10:50
MaxdamantusI don't really care too much about missing messages on boot. Probably better to avoid all that load at that time anyway.10:51
MaxdamantusJust useful being able to check the log if I notice the system behaving strangely.10:51
Vajbhmm I have default syslogd started at boot time, but it doesn't do any cycling10:57
MaxdamantusIs it busybox? ls -l `which syslogd`10:58
VajbInstalled: 1.5-5maemo7+0m510:59
Vajbsysklogd10:59
VajbI don't have syslogd10:59
sixwheeledbeastupstart is pretty easy to add jobs too11:00
Vajbdoes it come with busybox-power package?11:00
MaxdamantusVajb: try `busybox syslogd --help`11:01
MaxdamantusVajb: if that works, could just run it like that.11:01
Maxdamantus`dpkg -S /sbin/syslogd` shows nothing, so maybe I made the symlink myself.11:01
MaxdamantusI have a feeling that dpkg is sometimes weird with these sorts of paths though.11:01
MaxdamantusIt's not busybox power afaict11:02
MaxdamantusOh, it is busybox-power.11:04
MaxdamantusWas confused by the "diversion" messages.11:04
Vajbapplet not found11:05
MaxdamantusYeah, so I guess it's only in the busybox-power one.11:06
Vajbyes I thought so because I did apt-cache search syslogd and busybox-power showed up11:06
Maxdamantusand maybe it does some postinstall stuff to make the symlinks11:07
sixwheeledbeastsyslogd is only provided by busybox-power11:07
sixwheeledbeastsysklogd is a package on it's own.11:07
sixwheeledbeast~pkg11:07
sixwheeledbeast~botdown11:08
buZz~lightacandleforlostbot11:09
Vajband you said it splits them at 200kb11:09
VajbI guess my 4Mb syslog is a bit too much.11:09
MaxdamantusYeah, by default.11:10
MaxdamantusI suspect sysklogd will also have some options for that.11:10
Maxdamantusjust happens that busybox has 200 KiB by default.11:10
* Maxdamantus likes that the expectation with the busybox version is that the "configuration" is just specified in the command line.11:12
* Maxdamantus wishes more programs did that. *cough* nbd-server *cough*11:12
Vajbhuh?13:56
VajbI just found a way instantly lose network and get missing sim icon....13:57
Vajbinteresting14:22
Vajbwhen ever I try to send group message in pidgin device shows missing sim icon14:22
Vajbhttps://pastebin.com/raw/i4mezm5u14:24
Vajbsyslog from that14:24
sixwheeledbeastcellular: ssc[786]: Unexpected modem reset, waiting for modem reboot14:42
Vajbyup14:42
Vajbfew times it went to modem restart 10 of 10 and then only option is reboot device14:44
sixwheeledbeastI can still only think of everything said before to try and fix. Battery, SIM, reflash fiasco, aerial contacts loose.15:41
sixwheeledbeastIf it's the usual modem hardware issue the only real fix is reballing. Normally in this case you can reproduce the sim error by flexing the device.15:45
sixwheeledbeastDoing a certain action like sitting with it in your pocket will trigger it for example.15:46
siceloand typing (in pidgin) might be a form of flexing ... if the board is perhaps now slightly bent16:34
KotCzarnyirc would trigger it too then16:40
KotCzarnyi guess16:40
siceloif he types faster/harder with the gf on FB (pidgin) than he does to us :)16:43
sixwheeledbeasto.O17:13
Vajbhaha good speculation sicelo, but it was group chat what triggered it last time22:49
Vajbbut happens with irc too.22:49
sicelo:)22:55
VajbI consulted the service manual today to see how to remove cellular antenna. It seemed that I have to take whole device apart to remove it.22:58
VajbA bit too much of a hassle.22:59
siceloyou actually should be able to take it out without disassembling entire device, although doing so is likely better to avoid breaking anything23:00
Vajbwell it sure sounds like taking whole device apart is more risky :p23:05
Vajbbut I can try with my other device and see how it folds out23:05
siceloit's not risky at all. anyone can do it. really23:08

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