**** BEGIN LOGGING AT Sat Feb 16 02:59:57 2019 Feb 16 06:35:58 sicelo: 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". Feb 16 06:37:14 by losing network I mean that that pile of bars disappears completely and also 3G text under it disappears. Feb 16 06:38:22 I can provide syslog later if anyone is interested to take a look. Feb 16 06:39:53 in my mind this does not seem like bad antenna connection because I usually have full stack of bars. Feb 16 07:17:04 where do you get that cmt log? Feb 16 07:17:14 some command or its saved somewhere? Feb 16 07:18:52 syslog, i think :-) Feb 16 07:19:03 ah, yes, he also said so Feb 16 07:21:05 does it need to be installed? Feb 16 07:21:53 i mean installed and configured in some special way Feb 16 07:22:06 no. Feb 16 07:30:00 yes, syslog Feb 16 07:46:33 i guess it would eat some battery Feb 16 07:47:05 also, would be interresting to write some popup when cmd errors are detected Feb 16 07:59:40 I have syslogd start on boot. Feb 16 07:59:50 All you have to do is run `syslogd` as root. Feb 16 08:15:27 same here. It grows pretty fast lately. Feb 16 08:16:00 Seems to get rotated and deleted by default though. Feb 16 08:16:35 only if you have logrotate, i guess Feb 16 08:17:01 I didn't do anything to get it to happen. Feb 16 08:17:47 Doesn't seem to be running logrotate. I suspect it's probably syslogd itself that removes them. Feb 16 08:19:33 normal syslogd just logs Feb 16 08:19:37 Maxdamantus: how big does your file get? Feb 16 08:19:43 might be some syslog-ng or something Feb 16 08:20:05 Mine grows to several Mb and then I just stop syslog remove file and start syslog again Feb 16 08:35:58 Vajb: the previous file is 200 KiB Feb 16 08:36:35 Vajb: 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. Feb 16 08:36:48 and it's actually just busybox's syslogd. Feb 16 08:37:25 did you configure it for some log rotation? Feb 16 08:37:25 The --help indicates that it is indeed busybox's syslogd that does the rotation. Feb 16 08:37:41 i dont remember it having such feature by default Feb 16 08:37:47 No. I just run the command "syslogd" in my boot script. Feb 16 08:38:21 The --help seems to indicate that that's the default behaviour. Feb 16 08:38:29 nice to know Feb 16 08:38:30 thanks Feb 16 08:38:53 "N rotated logs to keep (default:1, ..." Feb 16 08:39:05 i might actually implement the logging to find out if mine troubles (which luckily stopped recently) have the same cause Feb 16 08:39:16 "Max size (KB) before rotation (default:200KB, ..." Feb 16 08:39:31 maxd: is it bb from repo or self compiled? Feb 16 08:39:39 KotCzarny: just from repo. Feb 16 08:39:42 thx Feb 16 08:40:49 3:1.10.2.legal-1osso31+0cssu0 Feb 16 08:41:02 (manually typed, might be inexact) Feb 16 08:41:32 It's probably just whatever you'd get from the cssu or community repository or whatever it is. Feb 16 08:41:39 * Maxdamantus can't remember how those worked. Feb 16 09:45:11 sysklogdf or ksyslogd or somesuch Feb 16 09:45:38 pulls in 1 or 2 other dependencies Feb 16 09:47:07 logging to anything other than rootfs gets tricky since logging is started before mounting Feb 16 09:47:40 and iirc it comes with sort of logrotate during reboot Feb 16 09:50:42 I just have it in init.d/rcS Feb 16 09:50:59 which is run after everything's mounted. Feb 16 09:51:38 I don't really care too much about missing messages on boot. Probably better to avoid all that load at that time anyway. Feb 16 09:51:57 Just useful being able to check the log if I notice the system behaving strangely. Feb 16 09:57:43 hmm I have default syslogd started at boot time, but it doesn't do any cycling Feb 16 09:58:11 Is it busybox? ls -l `which syslogd` Feb 16 09:59:01 Installed: 1.5-5maemo7+0m5 Feb 16 09:59:07 sysklogd Feb 16 09:59:40 I don't have syslogd Feb 16 10:00:18 upstart is pretty easy to add jobs too Feb 16 10:00:54 does it come with busybox-power package? Feb 16 10:01:07 Vajb: try `busybox syslogd --help` Feb 16 10:01:24 Vajb: if that works, could just run it like that. Feb 16 10:01:41 `dpkg -S /sbin/syslogd` shows nothing, so maybe I made the symlink myself. Feb 16 10:01:57 I have a feeling that dpkg is sometimes weird with these sorts of paths though. Feb 16 10:02:50 It's not busybox power afaict Feb 16 10:04:35 Oh, it is busybox-power. Feb 16 10:04:52 Was confused by the "diversion" messages. Feb 16 10:05:46 applet not found Feb 16 10:06:37 Yeah, so I guess it's only in the busybox-power one. Feb 16 10:06:47 yes I thought so because I did apt-cache search syslogd and busybox-power showed up Feb 16 10:07:01 and maybe it does some postinstall stuff to make the symlinks Feb 16 10:07:10 syslogd is only provided by busybox-power Feb 16 10:07:34 sysklogd is a package on it's own. Feb 16 10:07:51 ~pkg Feb 16 10:08:31 ~botdown Feb 16 10:09:03 ~lightacandleforlostbot Feb 16 10:09:37 and you said it splits them at 200kb Feb 16 10:09:59 I guess my 4Mb syslog is a bit too much. Feb 16 10:10:05 Yeah, by default. Feb 16 10:10:27 I suspect sysklogd will also have some options for that. Feb 16 10:10:44 just happens that busybox has 200 KiB by default. Feb 16 10:12:15 * Maxdamantus likes that the expectation with the busybox version is that the "configuration" is just specified in the command line. Feb 16 10:12:36 * Maxdamantus wishes more programs did that. *cough* nbd-server *cough* Feb 16 12:56:44 huh? Feb 16 12:57:13 I just found a way instantly lose network and get missing sim icon.... Feb 16 13:22:18 interesting Feb 16 13:22:47 when ever I try to send group message in pidgin device shows missing sim icon Feb 16 13:24:31 https://pastebin.com/raw/i4mezm5u Feb 16 13:24:37 syslog from that Feb 16 13:42:15 cellular: ssc[786]: Unexpected modem reset, waiting for modem reboot Feb 16 13:42:27 yup Feb 16 13:44:31 few times it went to modem restart 10 of 10 and then only option is reboot device Feb 16 14:41:26 I can still only think of everything said before to try and fix. Battery, SIM, reflash fiasco, aerial contacts loose. Feb 16 14:45:48 If 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. Feb 16 14:46:49 Doing a certain action like sitting with it in your pocket will trigger it for example. Feb 16 15:34:39 and typing (in pidgin) might be a form of flexing ... if the board is perhaps now slightly bent Feb 16 15:40:01 irc would trigger it too then Feb 16 15:40:02 i guess Feb 16 15:43:48 if he types faster/harder with the gf on FB (pidgin) than he does to us :) Feb 16 16:13:03 o.O Feb 16 21:49:38 haha good speculation sicelo, but it was group chat what triggered it last time Feb 16 21:49:48 but happens with irc too. Feb 16 21:55:05 :) Feb 16 21:58:37 I 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. Feb 16 21:59:10 A bit too much of a hassle. Feb 16 22:00:17 you actually should be able to take it out without disassembling entire device, although doing so is likely better to avoid breaking anything Feb 16 22:05:07 well it sure sounds like taking whole device apart is more risky :p Feb 16 22:05:38 but I can try with my other device and see how it folds out Feb 16 22:08:31 it's not risky at all. anyone can do it. really **** ENDING LOGGING AT Sun Feb 17 02:59:57 2019