From owner-freebsd-stable Tue Feb 20 17:17: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 15BF737B4EC for ; Tue, 20 Feb 2001 17:17:05 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 4883 invoked by uid 0); 21 Feb 2001 01:17:03 -0000 Received: from p3e9bc02a.dip.t-dialin.net (HELO forge.local) (62.155.192.42) by mail.gmx.net (mp016-rz3) with SMTP; 21 Feb 2001 01:17:03 -0000 Received: from tmm by forge.local with local (Exim 3.20 #1) id 14VNtt-0001Gc-00 for ; Wed, 21 Feb 2001 02:17:01 +0100 Date: Wed, 21 Feb 2001 02:17:01 +0100 From: Thomas Moestl To: freebsd-stable@freebsd.org Subject: Re: dmesg flakeyness Message-ID: <20010221021701.A4814@crow.dom2ip.de> Mail-Followup-To: Thomas Moestl , freebsd-stable@freebsd.org References: <20010221120436.W44375@goldenterrace.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010221120436.W44375@goldenterrace.com.au>; from sjhstable@tracking.amos.net on Wed, Feb 21, 2001 at 12:04:36PM +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 21, 2001 at 12:04:36PM +1100, Steve Horan wrote: > I've recently cvsup'd (twice - about a week apart) and both worlds > seem to have some weirdness with dmesg. > > After booting, dmesg works fine, as normal, but after a while, if I do > another dmesg, I get only the last entry, and often the first few > characters are missing. > > example: > > (root@jobu) /usr/home/sjhoran > dmesg > not authoritative for xxxxxx.com.au, SOA query got rcode 0, aa 0, ancount 0, aucount 13 > (root@jobu) /usr/home/sjhoran > > > Any info would be great, and I hope this is useful to someone who > might be able to fix it. Have you tried "dmesg -a"? It seems like the above message is from syslog (if something is printed on into /dev/console, this is also recorded in the message buffer). dmesg by default ignores messages that are not from the kernel, but it cannot determine this if the first characters of a line are missing. The missing characters get lost when the oldest messages are partly overwritten by new ones (the message buffer is a ring buffer). - thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message