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