Re: pfr_update_stats: assertion failed

2009-05-01 Thread askthelist
did you ever get any enlightenment on this? if so i could use some
enlightenment as well. maybe the developers would be so kind and can chime
in on this one as well? thanks.

On Mon, Aug 4, 2008 at 9:58 PM, Insan Praja SW insan.pr...@gmail.comwrote:

 Dear misc@,
 After repeatedly got the pfr_update_stats: assertion failed, and the
 network become slow, I set pfctl debug level to loud, and this is what I
 get:

 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 192.168.0.32:1538 10.10.10.119:22 [lo=4133565811
 high=4133583331 win=64240 modulator=2098386937 wscale=3] [lo=960581845
 high=961094873 win=17520 modulator=3043605647 wscale=0] 4:4
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.226:1433 [lo=1663107072
 high=1663107074 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.163:1433 [lo=496173056
 high=496173058 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.162:1433 [lo=1098252288
 high=1098252290 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.194.164:1433 203.171.234.184:6000 [lo=746192896
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897
 high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]
 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.194.168:1433 203.171.234.184:6000 [lo=2128150528
 high=2128150530 win=16384 modulator=0] [lo=1081107883 high=1081124267 win=1
 modulator=0] 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.194.168:1433 [lo=2128150528
 high=2128150530 win=16384 modulator=0] [lo=1081107883 high=1081124267 win=1
 modulator=0] 10:10
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.195.9:1433 [lo=130809856
 high=130809858 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.195.9:1433 203.171.234.184:6000 [lo=130809856
 high=130809858 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.195.0:1433 [lo=1018232832
 high=1018232834 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.195.0:1433 203.171.234.184:6000 [lo=1018232832
 high=1018232834 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.195.1:1433 [lo=279838720
 high=279838722 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.195.1:1433 203.171.234.184:6000 [lo=279838720
 high=279838722 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP in wire: 203.171.234.184:6000 202.90.195.6:1433 [lo=953614336
 high=953614338 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on all:
 TCP out wire: 202.90.195.6:1433 203.171.234.184:6000 [lo=953614336
 high=953614338 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
 Aug  5 02:01:39

pfr_update_stats: assertion failed

2008-08-05 Thread Insan Praja SW

Dear misc@,
After repeatedly got the pfr_update_stats: assertion failed, and the  
network become slow, I set pfctl debug level to loud, and this is what I  
get:


Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 192.168.0.32:1538 10.10.10.119:22 [lo=4133565811  
high=4133583331 win=64240 modulator=2098386937 wscale=3] [lo=960581845  
high=961094873 win=17520 modulator=3043605647 wscale=0] 4:4
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.226:1433 [lo=1663107072  
high=1663107074 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.163:1433 [lo=496173056  
high=496173058 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.162:1433 [lo=1098252288  
high=1098252290 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.194.164:1433 203.171.234.184:6000 [lo=746192896  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.164:1433 [lo=746192897  
high=746192898 win=16384 modulator=0] [lo=0 high=16384 win=1 modulator=0]  
10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.194.168:1433 203.171.234.184:6000 [lo=2128150528  
high=2128150530 win=16384 modulator=0] [lo=1081107883 high=1081124267  
win=1 modulator=0] 10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.194.168:1433 [lo=2128150528  
high=2128150530 win=16384 modulator=0] [lo=1081107883 high=1081124267  
win=1 modulator=0] 10:10
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.195.9:1433 [lo=130809856  
high=130809858 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.195.9:1433 203.171.234.184:6000 [lo=130809856  
high=130809858 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.195.0:1433 [lo=1018232832  
high=1018232834 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.195.0:1433 203.171.234.184:6000 [lo=1018232832  
high=1018232834 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.195.1:1433 [lo=279838720  
high=279838722 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.195.1:1433 203.171.234.184:6000 [lo=279838720  
high=279838722 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.195.6:1433 [lo=953614336  
high=953614338 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP out wire: 202.90.195.6:1433 203.171.234.184:6000 [lo=953614336  
high=953614338 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39 GreenServiceRouter /bsd: pf: wire key attach failed on  
all: TCP in wire: 203.171.234.184:6000 202.90.195.13:1433 [lo=1339228160  
high=1339228162 win=16384 modulator=0] [lo=0 high=1 win=1 modulator=0] 2:0
Aug  5 02:01:39

pfr_update_stats: assertion failed and Network Slowness on Recent i386 snapshot

2008-08-02 Thread Insan Praja SW

Hi Misc@,
Recently just update the kernel on my i386 routers, and, eventually got  
Aug  2 19:20:00 GreenServiceRouter /bsd: pfr_update_stats: assertion  
failed on the console screen and /var/log/messages. I use pf and bgpd  
heavily. So this might because my pf setting, which is ok before or, some  
updates on the kernel and userland that does not match my config.

So here is the dmesg, and thanks,

OpenBSD 4.4-beta (GENERIC) #22: Sat Aug  2 00:46:29 WIT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
RTC BIOS diagnostic error efixed_disk,invalid_time
cpu0: Intel(R) Pentium(R) 4 CPU 3.00GHz (GenuineIntel 686-class) 3.01 GHz
cpu0:  
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,S

SE3,MWAIT,DS-CPL,EST,TM2,CNXT-ID,CX16,xTPR
real mem  = 2143395840 (2044MB)
avail mem = 2064338944 (1968MB)
RTC BIOS diagnostic error efixed_disk,invalid_time
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @  
0x7fbe4000 (43 entries)
bios0: vendor Intel Corporation version  
S3000.86B.02.00.0048.042920081306 date 04/29/2008

bios0: Intel S3000AH
acpi0 at bios0: rev 0
acpi0: tables DSDT SLIC FACP APIC WDDT MCFG ASF! SSDT SSDT SSDT SSDT SSDT  
HEST BERT ERST EINJ
acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S1) PEX4(S4) PEX5(S4)  
UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) AC9M(S4) AZAL(

S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (P32_)
acpiprt2 at acpi0: bus 1 (PEX0)
acpiprt3 at acpi0: bus -1 (PEX1)
acpiprt4 at acpi0: bus -1 (PEX2)
acpiprt5 at acpi0: bus -1 (PEX3)
acpiprt6 at acpi0: bus 2 (PEX4)
acpiprt7 at acpi0: bus 3 (PEX5)
acpicpu0 at acpi0: FVS, 3000, 2400 MHz
acpibtn0 at acpi0: SLPB
bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel E7230 Host rev 0x00
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x01: irq 9
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 4 Intel 82801G PCIE rev 0x01: irq 9
pci2 at ppb1 bus 2
ppb2 at pci0 dev 28 function 5 Intel 82801G PCIE rev 0x01: irq 11
pci3 at ppb2 bus 3
em0 at pci3 dev 0 function 0 Intel PRO/1000MT (82573E) rev 0x03: irq 9,  
address 00:15:17:25:0a:9d

Intel 82573E Serial rev 0x03 at pci3 dev 0 function 3 not configured
Intel 82573E KCS rev 0x03 at pci3 dev 0 function 4 not configured
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x01: irq 11
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x01: irq 10
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x01: irq 11
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x01: irq 11
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x01: irq 11
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xe1
pci4 at ppb3 bus 4
skc0 at pci4 dev 0 function 0 D-Link Systems DGE-530T B1 rev 0x11, Yukon  
Lite (0x9): irq 11

sk0 at skc0 port A: address 00:1b:11:10:07:26
eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
ppb4 at pci4 dev 1 function 0 Intel S21152BB PCI-PCI rev 0x00
pci5 at ppb4 bus 5
ste0 at pci5 dev 4 function 0 D-Link Systems 550TX rev 0x15: irq 11,  
address 00:0d:88:68:53:84
ukphy0 at ste0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI  
0x0090c3, model 0x0004
ste1 at pci5 dev 5 function 0 D-Link Systems 550TX rev 0x15: irq 11,  
address 00:0d:88:68:53:85
ukphy1 at ste1 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI  
0x0090c3, model 0x0004
ste2 at pci5 dev 6 function 0 D-Link Systems 550TX rev 0x15: irq 11,  
address 00:0d:88:68:53:86
ukphy2 at ste2 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI  
0x0090c3, model 0x0004
ste3 at pci5 dev 7 function 0 D-Link Systems 550TX rev 0x15: irq 11,  
address 00:0d:88:68:53:87
ukphy3 at ste3 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI  
0x0090c3, model 0x0004

vga1 at pci4 dev 4 function 0 ATI ES1000 rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
em1 at pci4 dev 5 function 0 Intel PRO/1000MT (82541GI) rev 0x05: irq 9,  
address 00:15:17:25:0a:9e
ichpcib0 at pci0 dev 31 function 0 Intel 82801GB LPC rev 0x01: PM  
disabled
pciide0 at pci0 dev 31 function 1 Intel 82801GB IDE rev 0x01: DMA,  
channel 0 configured to compatibility, channel 1 configured to  
compatibility

pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pciide1 at pci0 dev 31 function 2 Intel 82801GB SATA rev 0x01: DMA,  
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide1: using irq 10 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: ST380215AS
wd0: 16-sector PIO, LBA48, 76319MB, 156301488 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3