From owner-freebsd-net Thu Feb 1 11:20:28 2001 Delivered-To: freebsd-net@freebsd.org Received: from eng05.embratel.net.br (eng05.embratel.net.br [200.255.125.133]) by hub.freebsd.org (Postfix) with ESMTP id B3D4D37B4EC; Thu, 1 Feb 2001 11:20:04 -0800 (PST) Received: from jonny.eng.br (willow [200.255.125.142]) by eng05.embratel.net.br (Postfix) with ESMTP id C177A24D35; Thu, 1 Feb 2001 17:19:57 -0200 (BRST) Message-ID: <3A79B707.3DF0B6D@jonny.eng.br> Date: Thu, 01 Feb 2001 17:20:39 -0200 From: Joao Carlos Mendes Luis Organization: Internet via Embratel X-Mailer: Mozilla 4.76 [en] (Win95; U) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: yusufg@outblaze.com, freebsd-net@FreeBSD.ORG, freebsd-stable@freebsd.org, phk@freebsd.org Subject: Solved: Bridging and dummynet seems to destroy dmesg output References: <200101312212.f0VMCHj08290@iguana.aciri.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luigi Rizzo wrote: > > > I tried only removing DUMMYNET from config, and the bug continues. Should > > I try the changes below? > > no-they only affect dummynet. But this seems to suggest that > the problem is unrelated to my changes... > > 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, Jonny -- João Carlos Mendes Luís jonny@embratel.net.br Networking Engineer jonny@jonny.eng.br Internet via Embratel jcml@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message