Hallo Alan,

On Mar 3, 2015, at 23:39 , Alan Jenkins <[email protected]> 
wrote:

> On 03/03/2015, Sebastian Moeller <[email protected]> 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
> 22
> 
> 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.@system[0].log_size=200; uci commit` to prevent log
>>> overflow.
>> 
>>      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.

        Ah, interesting.

> 
> Kernel log buffer (`dmesg` command) is separate.  It can be sized
> using the kernel boot option... log_buf_len.
> https://www.kernel.org/doc/Documentation/kernel-parameters.txt

        Ah, interesting as well, I guess I really want a large log buffer, the 
kernel buffer seems sufficient.

Best Regards & Thanks
        Sebastian

> 
> Alan

_______________________________________________
Cerowrt-devel mailing list
[email protected]
https://lists.bufferbloat.net/listinfo/cerowrt-devel

Reply via email to