From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id B18DF21F342 for ; Tue, 3 Mar 2015 14:46:10 -0800 (PST) Received: from hms-beagle.home.lan ([217.247.219.72]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0Md3Eg-1YAqlA2q26-00IGTW; Tue, 03 Mar 2015 23:46:06 +0100 Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Sebastian Moeller In-Reply-To: Date: Tue, 3 Mar 2015 23:46:04 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4A1D4239-D8F9-4A0D-B815-5F6D3E023505@gmx.de> References: <54E0AFB2.5040806@gmail.com> <87vbj3i5hz.fsf@toke.dk> <87r3tri2x3.fsf@toke.dk> <54E0CA64.7000101@gmail.com> <33C677EE-26CD-4F46-89A1-3E47702AEA5E@gmx.de> <37283C9D-E6A5-4C2A-9079-FCC9EACDED83@gmx.de> To: Alan Jenkins X-Mailer: Apple Mail (2.1878.6) X-Provags-ID: V03:K0:HUTYajy4HeZQ2ANMJ03JPWCBEluMAE8BZUUbulcDIC7BelYKQf0 KT3CH4UJhHD5meEQYEsV74UtoRp+0725FxIdzAYht31bYHGebcxuFh0048zM7RzHfCu+Wod FAEQlONxpe+oBlNoTjuJwMO4xoaID4fAXi1EOvPDy+9H1iqaRBwDQ64NJM5epONfvIlQPe2 liVwTcS6nCIp3Ps8DnWBw== X-UI-Out-Filterresults: notjunk:1; Cc: cerowrt-devel@lists.bufferbloat.net Subject: Re: [Cerowrt-devel] [sqm-scripts] not started at boot? X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 22:46:39 -0000 Hallo Alan, On Mar 3, 2015, at 23:39 , Alan Jenkins = wrote: > On 03/03/2015, Sebastian Moeller wrote: >> Hi Alan, >=20 >> Excellent, now we have positive results from CC (you are running = CC I >> believe) and cerowrt. >=20 > 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! >=20 >>>=20 >>> It still logs errors. >>=20 >> 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=85 But once = we agree >> it is stable I will try to make it a bit more quiet=85 >=20 > The success messages make me happy too. By errors, I meant lines like >=20 > $ log.txt < grep 'Cannot find device "pppoe-wan"' | wc -l > 22 >=20 > 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. >=20 >>> 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=3D200; uci commit` to = prevent log >>> overflow. >>=20 >> Now that is useful, I always thought that this is a kernel = default and can >> not be changed; so I learned something useful. >=20 > 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. >=20 > 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 >=20 > Alan