From owner-freebsd-stable Thu Feb 1 11:41:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id C1AD237B699; Thu, 1 Feb 2001 11:40:28 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id f11Je7561000; Thu, 1 Feb 2001 11:40:07 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200102011940.f11Je7561000@iguana.aciri.org> Subject: Re: Solved: Bridging and dummynet seems to destroy dmesg output In-Reply-To: <3A79B707.3DF0B6D@jonny.eng.br> from Joao Carlos Mendes Luis at "Feb 1, 2001 5:20:39 pm" To: jonny@jonny.eng.br (Joao Carlos Mendes Luis) Date: Thu, 1 Feb 2001 11:40:07 -0800 (PST) Cc: rizzo@aciri.org, yusufg@outblaze.com, freebsd-net@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, phk@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG thanks for tracking this problem -- it also explains why i did not see it in my environment, as i have a mostly 4.2-R system with new code in net/ and netinet/ cheers luigi > Hi, > > I found the problem! > > I started searching for the point where ipfw writes to the msgbuf, and > like all other kernel modules, it uses the log(9) function. But differently > from the other modules, ip_fw.c uses a LOG_SECURITY argument. I removed it, > recompiled, reboot, and BINGO! Probably the log(9) function does not expect a > facility parameter, as it is assumed to be LOG_KERNEL. > > Searching the cvsweb tree, I assume the changes that made it fail were > made to kern/subr_prf.c, and not directly to netinet/ip_fw.c. Probably a > longer search should be made to detect if any other call to log(9) uses this > approach. (CC: to phk, who made the change to kern/subr_prf.c, 1.61.2.1, at > 2000.01.16) > > Hoping this is the final solution and waiting for the cvs commit, thanks > to everybody, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message