[Cerowrt-devel] [sqm-scripts] not started at boot?
moeller0 at gmx.de
Tue Mar 3 17:46:04 EST 2015
On Mar 3, 2015, at 23:39 , Alan Jenkins <alan.christopher.jenkins at gmail.com> wrote:
> On 03/03/2015, Sebastian Moeller <moeller0 at gmx.de> wrote:
>> Hi Alan,
>> Excellent, now we have positive results from CC (you are running CC I
>> believe) and cerowrt.
> I'm afraid I'm running BB with this package manually installed.
That is also great as openwrt is based on trunk before BB was released!
>>> It still logs errors.
>> In the boot log? I tend to consider these not as errors but as valid
>> information; as long as sqm-scripts is still being tested I want it to be
>> verbose, so I have an easier time actually helping people… But once we agree
>> it is stable I will try to make it a bit more quiet…
> The success messages make me happy too. By errors, I meant lines like
> $ log.txt < grep 'Cannot find device "pppoe-wan"' | wc -l
> presumably because /etc/init.d/sqm is still assuming pppoe-wan (or so)
> exists, and dies noisily because ppp hasn't started yet.
Ah, I see, I will have to look into those, I assume hot plug is a bit trigger happy here. But I need to think and test, but due to a cold my attention spann is severely limited.
>>> Probably only from running the initscript first, it was just so noisy I
>>> thought it was still happening for every interface that came up :). I
>>> used `uci set system. at system.log_size=200; uci commit` to prevent log
>> Now that is useful, I always thought that this is a kernel default and can
>> not be changed; so I learned something useful.
> openwrt apparently uses busybox logd daemon (in userspace). I
> discovered it doesn't use files by default and has a small buffer in
> memory, accessed using the `logread` command.
> Kernel log buffer (`dmesg` command) is separate. It can be sized
> using the kernel boot option... log_buf_len.
Ah, interesting as well, I guess I really want a large log buffer, the kernel buffer seems sufficient.
Best Regards & Thanks
More information about the Cerowrt-devel