Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 13:55:51 +0800
From:      Yusuf Goolamabbas <yusufg@outblaze.com>
To:        Luigi Rizzo <rizzo@aciri.org>
Cc:        Joao Carlos Mendes Luis <jonny@jonny.eng.br>, freebsd-net@FreeBSD.ORG
Subject:   Re: Bridging and dummynet seems to destroy dmesg output
Message-ID:  <20010201135551.A13446@outblaze.com>
In-Reply-To: <200101312012.f0VKCGB07532@iguana.aciri.org>; from rizzo@aciri.org on Wed, Jan 31, 2001 at 12:12:16PM -0800
References:  <3A787124.B307EC20@jonny.eng.br> <200101312012.f0VKCGB07532@iguana.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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@<box>:/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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GB graphics accelerator> at 0.0 irq 11
fxp0: <Intel Pro 10/100B/100+ Ethernet> 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: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xb400-0xb40f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb000-0xb01f irq 10 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
pci0: <unknown card> (vendor=0x125d, dev=0x1969) at 9.0 irq 5
fxp1: <Intel Pro 10/100B/100+ Ethernet> 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: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> 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 <ST310212A> [19846/16/63] at ata0-master UDMA33
acd0: CDROM <NEC CD-ROM DRIVE:282> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010201135551.A13446>