From owner-freebsd-net Wed Jan 31 21:51:19 2001 Delivered-To: freebsd-net@freebsd.org Received: from proxy.outblaze.com (proxy.outblaze.com [202.77.223.120]) by hub.freebsd.org (Postfix) with SMTP id 74D6337B491 for ; Wed, 31 Jan 2001 21:50:58 -0800 (PST) Received: (qmail 61814 invoked from network); 1 Feb 2001 05:50:55 -0000 Received: from unknown (HELO yusufg.portal2.com) (202.77.181.217) by proxy.outblaze.com with SMTP; 1 Feb 2001 05:50:55 -0000 Received: (qmail 13489 invoked by uid 500); 1 Feb 2001 05:55:51 -0000 Date: Thu, 1 Feb 2001 13:55:51 +0800 From: Yusuf Goolamabbas To: Luigi Rizzo Cc: Joao Carlos Mendes Luis , freebsd-net@FreeBSD.ORG Subject: Re: Bridging and dummynet seems to destroy dmesg output Message-ID: <20010201135551.A13446@outblaze.com> References: <3A787124.B307EC20@jonny.eng.br> <200101312012.f0VKCGB07532@iguana.aciri.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101312012.f0VKCGB07532@iguana.aciri.org>; from rizzo@aciri.org on Wed, Jan 31, 2001 at 12:12:16PM -0800 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > > Hi, > > > > I sent these files in private. But I remembered that I have another > > unusual config in this machine: is is multiprocessed, and has 10 SCSI disks > > and lots of SYSV shared memory. > > i think SMP might have something to do with it. Yusuf, are you also > using an SMP box ? No, I am using a "book-PC" type machine [small Celeron] dmesg attached I reinstalled my shaper box with 4.2 release today and cvsuped to 4.2-stable. The strange thing is that if I turn on verbose logging (via sysctl) but don't turn on verbose_limit, dmesg seems to get corrupted. If I have verbose_limit set to say 10, dmesg works and does not get overridden with log messages from ipfw [which goes to /var/log/security] This is what I have in my /etc/sysctl.conf net.link.ether.bridge_ipfw=1 net.link.ether.bridge=1 net.inet.ip.fw.verbose=1 net.inet.ip.fw.verbose_limit=10 So, it seems some combination of verbose logging and non setting of verbose limit [or the default setting of verbose limit] is causing this problem Hope this helps, Regards, Yusuf --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="shaper.dmesg" Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-STABLE #0: Thu Feb 1 12:41:05 GMT 2001 root@:/usr/obj/usr/src/sys/SHAPER Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 567957931 Hz CPU: Pentium III/Pentium III Xeon/Celeron (567.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x683 Stepping = 3 Features=0x383f9ff real memory = 67096576 (65524K bytes) avail memory = 62492672 (61028K bytes) Preloaded elf kernel "kernel" at 0xc02a9000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 fxp0: port 0xb800-0xb81f mem 0xe0000000-0xe00fffff,0xe3000000-0xe3000fff irq 10 at device 3.0 on pci0 fxp0: Ethernet address 00:e0:18:01:18:7d isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xb400-0xb40f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xb000-0xb01f irq 10 at device 4.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered chip1: port 0xe800-0xe80f at device 4.3 on pci0 pci0: (vendor=0x125d, dev=0x1969) at 9.0 irq 5 fxp1: port 0x9000-0x903f mem 0xdf000000-0xdf0fffff,0xdf800000-0xdf800fff irq 11 at device 20.0 on pci0 fxp1: Ethernet address 00:02:b3:07:c2:a1 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: parallel port not found. DUMMYNET initialized (010124) IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to accept, logging disabled BRIDGE 990810, have 3 interfaces -- index 1 type 6 phy 0 addrl 6 addr 00.e0.18.01.18.7d -- index 2 type 6 phy 0 addrl 6 addr 00.02.b3.07.c2.a1 ad0: 9768MB [19846/16/63] at ata0-master UDMA33 acd0: CDROM at ata1-slave using PIO4 Mounting root from ufs:/dev/ad0s1a >> now fxp0 promisc ON if_flags 0xffff8943 bdg_flags 0x5 >> now fxp1 promisc ON if_flags 0xffff8943 bdg_flags 0x5 --mP3DRpeJDSE+ciuQ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message