Re: iscsid(8) and FreeNAS 8.2.0
Hi all, On Fri, 12 Oct 2012 04:18:31 +0700, Claudio Jeker wrote: On Thu, Oct 11, 2012 at 04:05:28PM +0700, Insan Praja SW wrote: Hi Misc@, Has anyone tried using OBSD iscsid(8) initiator and FreeNAS target? I was trying to do it on amd64 -current but so far unsuccessful. Best Regards, Insan iscsi.conf -- target "Disk2" { enabled normal targetaddr 10.10.10.139 targetname "iqn.2012-03.xxx.net:disk2" } /var/log/messages - Oct 11 13:25:46 backend iscsid[11678]: fatal: vscsi_open: No such file or directory Funky. Did you try iscsid -dvn /dev/vscsi0 ? I have never seen the open() call fail for vscsi. You could also try to open /dev/vscsi0 with cat just to see if that fails too. $ sudo iscsid -dvn /dev/vscsi0 startup iscsid: unknown user _iscsid $ sudo cat /dev/vscsi0 cat: /dev/vscsi0: Operation not supported by device $ Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: iscsid(8) and FreeNAS 8.2.0
Sorry, paste-ing info from the wrong machine. This is the vscsi0 on the right machine. $ ls -la /dev | grep vscsi crw--- 1 root wheel 89, 0 Aug 31 11:28 vscsi0 On Thu, 11 Oct 2012 23:34:03 +0700, Chris Cappuccio wrote: Do you have a /dev/vscsi0 ? $ ls -la /dev | grep vscsi crw--- 1 root wheel 90, 0 Oct 8 22:42 vscsi0 $ If not, cd /dev and ./MAKEDEV vscsi Insan Praja SW [insan.pr...@gmail.com] wrote: Hi Misc@, Has anyone tried using OBSD iscsid(8) initiator and FreeNAS target? I was trying to do it on amd64 -current but so far unsuccessful. Best Regards, Insan iscsi.conf -- target "Disk2" { enabled normal targetaddr 10.10.10.139 targetname "iqn.2012-03.xxx.net:disk2" } Thanks /var/log/messages - Oct 11 13:25:46 backend iscsid[11678]: fatal: vscsi_open: No such file or directory dmesg - OpenBSD 5.2-current (GENERIC.MP) #4: Mon Oct 1 19:44:56 WIT 2012 r...@backend.xxx.xxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8578588672 (8181MB) avail mem = 8327753728 (7941MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdf7fe000 (134 entries) bios0: vendor HP version "P67" date 05/05/2011 bios0: HP ProLiant DL380 G7 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST APIC SRAT BERT HEST DMAR SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.06 MHz cpu0: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 20 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu1: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu2: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 18 (application processor) cpu3: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu3: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 0 pa 0xfec8, version 20, 24 pins acpiprt0 at acpi0: bus 1 (IP2P) acpiprt1 at acpi0: bus 3 (IPT1) acpiprt2 at acpi0: bus 4 (IPT3) acpiprt3 at acpi0: bus 2 (IPT5) acpiprt4 at acpi0: bus 5 (PT01) acpiprt5 at acpi0: bus 17 (PT03) acpiprt6 at acpi0: bus 20 (PT04) acpiprt7 at acpi0: bus 21 (PT05) acpiprt8 at acpi0: bus 24 (PT06) acpiprt9 at acpi0: bus 14 (PT07) acpiprt10 at acpi0: bus 11 (PT08) acpiprt11 at acpi0: bus 8 (PT09) acpiprt12 at acpi0: bus 7 (PT0A) acpiprt13 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C3, C1 acpicpu1 at acpi0: C3, C3, C1 acpicpu2 at acpi0: C3, C3, C1 acpicpu3 at acpi0: C3, C3, C1 acpitz0 at acpi0: critical temperature is 31 degC ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 5520 Host" rev 0x13 ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13 pci1 at ppb0 bus 5 ciss0 at pci1 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: apic 0 int 4 ciss0: 1 LD, HW rev 2, FW 5.70/5.70, 64bit fifo rro scsibus0 at ciss0: 1 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 286070MB, 512 bytes/sector, 585871964 sectors ppb1 at pci0 dev 2 function 0 "Intel X58 PCIE" rev 0x13 pci2 at ppb1 bus 6 ppb2 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13 pci3 at ppb2 bus 17 ppb3 at pci0 dev 4 function 0 "Intel X58 PCIE" rev 0x13 pci4 at ppb3 bus 20 ppb4 at pci0 dev 5 function 0 "Intel X58 PCIE" rev 0x13 pci5 at ppb4 bus 21 ppb5 at pci0 dev 6 function 0 "Intel X58 PCIE" rev 0x13 pci6 at ppb5 bus 24 ppb6 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13 pci7 at ppb6 bus 14 ppb7 at pci0 dev 8
Re: iscsid(8) and FreeNAS 8.2.0
On Thu, 11 Oct 2012 23:34:03 +0700, Chris Cappuccio wrote: Do you have a /dev/vscsi0 ? $ ls -la /dev | grep vscsi crw--- 1 root wheel 90, 0 Oct 8 22:42 vscsi0 $ If not, cd /dev and ./MAKEDEV vscsi Insan Praja SW [insan.pr...@gmail.com] wrote: Hi Misc@, Has anyone tried using OBSD iscsid(8) initiator and FreeNAS target? I was trying to do it on amd64 -current but so far unsuccessful. Best Regards, Insan iscsi.conf -- target "Disk2" { enabled normal targetaddr 10.10.10.139 targetname "iqn.2012-03.xxx.net:disk2" } Thanks /var/log/messages - Oct 11 13:25:46 backend iscsid[11678]: fatal: vscsi_open: No such file or directory dmesg - OpenBSD 5.2-current (GENERIC.MP) #4: Mon Oct 1 19:44:56 WIT 2012 r...@backend.xxx.xxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8578588672 (8181MB) avail mem = 8327753728 (7941MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdf7fe000 (134 entries) bios0: vendor HP version "P67" date 05/05/2011 bios0: HP ProLiant DL380 G7 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST APIC SRAT BERT HEST DMAR SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.06 MHz cpu0: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 20 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu1: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu2: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 18 (application processor) cpu3: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu3: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 0 pa 0xfec8, version 20, 24 pins acpiprt0 at acpi0: bus 1 (IP2P) acpiprt1 at acpi0: bus 3 (IPT1) acpiprt2 at acpi0: bus 4 (IPT3) acpiprt3 at acpi0: bus 2 (IPT5) acpiprt4 at acpi0: bus 5 (PT01) acpiprt5 at acpi0: bus 17 (PT03) acpiprt6 at acpi0: bus 20 (PT04) acpiprt7 at acpi0: bus 21 (PT05) acpiprt8 at acpi0: bus 24 (PT06) acpiprt9 at acpi0: bus 14 (PT07) acpiprt10 at acpi0: bus 11 (PT08) acpiprt11 at acpi0: bus 8 (PT09) acpiprt12 at acpi0: bus 7 (PT0A) acpiprt13 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C3, C1 acpicpu1 at acpi0: C3, C3, C1 acpicpu2 at acpi0: C3, C3, C1 acpicpu3 at acpi0: C3, C3, C1 acpitz0 at acpi0: critical temperature is 31 degC ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 5520 Host" rev 0x13 ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13 pci1 at ppb0 bus 5 ciss0 at pci1 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: apic 0 int 4 ciss0: 1 LD, HW rev 2, FW 5.70/5.70, 64bit fifo rro scsibus0 at ciss0: 1 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 286070MB, 512 bytes/sector, 585871964 sectors ppb1 at pci0 dev 2 function 0 "Intel X58 PCIE" rev 0x13 pci2 at ppb1 bus 6 ppb2 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13 pci3 at ppb2 bus 17 ppb3 at pci0 dev 4 function 0 "Intel X58 PCIE" rev 0x13 pci4 at ppb3 bus 20 ppb4 at pci0 dev 5 function 0 "Intel X58 PCIE" rev 0x13 pci5 at ppb4 bus 21 ppb5 at pci0 dev 6 function 0 "Intel X58 PCIE" rev 0x13 pci6 at ppb5 bus 24 ppb6 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13 pci7 at ppb6 bus 14 ppb7 at pci0 dev 8 function 0 "Intel X58 PCIE" rev 0x13 pci8 at ppb7 bus 11 ppb8 at pci0 dev 9 function 0 "Intel X58 PCIE" rev 0x13 pci9 at ppb8 bus 8 ppb9 at pci0 dev 10 funct
iscsid(8) and FreeNAS 8.2.0
Hi Misc@, Has anyone tried using OBSD iscsid(8) initiator and FreeNAS target? I was trying to do it on amd64 -current but so far unsuccessful. Best Regards, Insan iscsi.conf -- target "Disk2" { enabled normal targetaddr 10.10.10.139 targetname "iqn.2012-03.xxx.net:disk2" } /var/log/messages - Oct 11 13:25:46 backend iscsid[11678]: fatal: vscsi_open: No such file or directory dmesg - OpenBSD 5.2-current (GENERIC.MP) #4: Mon Oct 1 19:44:56 WIT 2012 r...@backend.xxx.xxx:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8578588672 (8181MB) avail mem = 8327753728 (7941MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdf7fe000 (134 entries) bios0: vendor HP version "P67" date 05/05/2011 bios0: HP ProLiant DL380 G7 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST APIC SRAT BERT HEST DMAR SSDT SSDT SSDT SSDT SSDT acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2133.06 MHz cpu0: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 20 (application processor) cpu1: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu1: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu2: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 18 (application processor) cpu3: Intel(R) Xeon(R) CPU E5606 @ 2.13GHz, 2132.73 MHz cpu3: FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 0 pa 0xfec8, version 20, 24 pins acpiprt0 at acpi0: bus 1 (IP2P) acpiprt1 at acpi0: bus 3 (IPT1) acpiprt2 at acpi0: bus 4 (IPT3) acpiprt3 at acpi0: bus 2 (IPT5) acpiprt4 at acpi0: bus 5 (PT01) acpiprt5 at acpi0: bus 17 (PT03) acpiprt6 at acpi0: bus 20 (PT04) acpiprt7 at acpi0: bus 21 (PT05) acpiprt8 at acpi0: bus 24 (PT06) acpiprt9 at acpi0: bus 14 (PT07) acpiprt10 at acpi0: bus 11 (PT08) acpiprt11 at acpi0: bus 8 (PT09) acpiprt12 at acpi0: bus 7 (PT0A) acpiprt13 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: C3, C3, C1 acpicpu1 at acpi0: C3, C3, C1 acpicpu2 at acpi0: C3, C3, C1 acpicpu3 at acpi0: C3, C3, C1 acpitz0 at acpi0: critical temperature is 31 degC ipmi at mainbus0 not configured pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 5520 Host" rev 0x13 ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13 pci1 at ppb0 bus 5 ciss0 at pci1 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: apic 0 int 4 ciss0: 1 LD, HW rev 2, FW 5.70/5.70, 64bit fifo rro scsibus0 at ciss0: 1 targets sd0 at scsibus0 targ 0 lun 0: SCSI3 0/direct fixed sd0: 286070MB, 512 bytes/sector, 585871964 sectors ppb1 at pci0 dev 2 function 0 "Intel X58 PCIE" rev 0x13 pci2 at ppb1 bus 6 ppb2 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13 pci3 at ppb2 bus 17 ppb3 at pci0 dev 4 function 0 "Intel X58 PCIE" rev 0x13 pci4 at ppb3 bus 20 ppb4 at pci0 dev 5 function 0 "Intel X58 PCIE" rev 0x13 pci5 at ppb4 bus 21 ppb5 at pci0 dev 6 function 0 "Intel X58 PCIE" rev 0x13 pci6 at ppb5 bus 24 ppb6 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13 pci7 at ppb6 bus 14 ppb7 at pci0 dev 8 function 0 "Intel X58 PCIE" rev 0x13 pci8 at ppb7 bus 11 ppb8 at pci0 dev 9 function 0 "Intel X58 PCIE" rev 0x13 pci9 at ppb8 bus 8 ppb9 at pci0 dev 10 function 0 "Intel X58 PCIE" rev 0x13 pci10 at ppb9 bus 7 pchb1 at pci0 dev 13 function 0 vendor "Intel", unknown product 0x343a rev 0x13 pchb2 at pci0 dev 13 function 1 vendor "Intel", unknown product 0x343b rev 0x13 pchb3 at pci0 dev 13 function 2 vendor "Intel", unknown product 0x343c rev 0x13 pchb4 at pci0 dev 13 function 3 vendor "Intel", unknown product 0x343d rev 0x13 pchb5 at pci0 dev 13 function
Re: Panic on 1 oct 2012 kernel
Hi, On Thu, 04 Oct 2012 17:52:24 +0700, Christiano F. Haesbaert wrote: On 4 October 2012 12:06, Insan Praja SW wrote: Hi, Just got a panic from an nginx webserver of ours. Can produce "ps" and "trace" since ddb send "symbol unknown" when we send the command. This is what was captured from my camera phone; You mean can't ? can you paste exactly what happens when you try to get a trace ? Yap. Sorry for that. Looks like some code path is trying to grab the kernel_lock with the sched_lock held. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock) == 0" failed: file "../../../../kern/kern_lock.c, line 363 Stopped at Debugger+0x5: leave Thanks, Insan Praja SW OpenBSD 5.2-current (IMS-AMD64.MP) #3: Mon Oct 1 14:49:48 WIT 2012 r...@development.xxx.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145189888 (2045MB) avail mem = 2065670144 (1969MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.33 @ 0x7fee2000 (29 entries) bios0: vendor IBM version "IBM BIOS Version 1.35-[G9E135AUS-1.35]-" date 09/29/2007 bios0: IBM IBM System x3250 -[436442A]- acpi0 at bios0: rev 0 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP MCFG APIC BOOT SPCR SSDT acpi0: wakeup devices PEG_(S4) PEG2(S4) EXP1(S4) EXP5(S4) EXP6(S4) PCIB(S4) COM1(S4) COM2(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EUSB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-25 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.98 MHz cpu0: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.73 MHz cpu1: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 12 (PEG_) acpiprt2 at acpi0: bus 6 (PEG2) acpiprt3 at acpi0: bus 5 (EXP1) acpiprt4 at acpi0: bus 1 (EXP5) acpiprt5 at acpi0: bus 3 (EXP6) acpiprt6 at acpi0: bus 26 (PCIB) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 1866 MHz: speeds: 1867, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0xc0 ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0xc0: msi pci1 at ppb0 bus 12 ppb1 at pci0 dev 3 function 0 "Intel 82975X PCIE" rev 0xc0: msi pci2 at ppb1 bus 6 ppb2 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: msi pci4 at ppb3 bus 1 bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): apic 2 int 16, address 00:1a:64:6e:a0:9a brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: msi pci5 at ppb4 bus 3 bge1 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): apic 2 int 17, address 00:1a:64:6e:a0:9b brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci6 at ppb5 bus 26 vga1 at pci6 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) radeondrm0 at vga1: apic 2 int 18 drm0 at radeondrm0 pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom rem
Panic on 1 oct 2012 kernel
Hi, Just got a panic from an nginx webserver of ours. Can produce "ps" and "trace" since ddb send "symbol unknown" when we send the command. This is what was captured from my camera phone; panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock) == 0" failed: file "../../../../kern/kern_lock.c, line 363 Stopped at Debugger+0x5: leave Thanks, Insan Praja SW OpenBSD 5.2-current (IMS-AMD64.MP) #3: Mon Oct 1 14:49:48 WIT 2012 r...@development.xxx.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2145189888 (2045MB) avail mem = 2065670144 (1969MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.33 @ 0x7fee2000 (29 entries) bios0: vendor IBM version "IBM BIOS Version 1.35-[G9E135AUS-1.35]-" date 09/29/2007 bios0: IBM IBM System x3250 -[436442A]- acpi0 at bios0: rev 0 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP MCFG APIC BOOT SPCR SSDT acpi0: wakeup devices PEG_(S4) PEG2(S4) EXP1(S4) EXP5(S4) EXP6(S4) PCIB(S4) COM1(S4) COM2(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) EUSB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimcfg0 at acpi0 addr 0xe000, bus 0-25 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.98 MHz cpu0: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu0: 2MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU 3040 @ 1.86GHz, 1866.73 MHz cpu1: FPU,VME,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,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF cpu1: 2MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 12 (PEG_) acpiprt2 at acpi0: bus 6 (PEG2) acpiprt3 at acpi0: bus 5 (EXP1) acpiprt4 at acpi0: bus 1 (EXP5) acpiprt5 at acpi0: bus 3 (EXP6) acpiprt6 at acpi0: bus 26 (PCIB) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 1866 MHz: speeds: 1867, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0xc0 ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0xc0: msi pci1 at ppb0 bus 12 ppb1 at pci0 dev 3 function 0 "Intel 82975X PCIE" rev 0xc0: msi pci2 at ppb1 bus 6 ppb2 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: msi pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: msi pci4 at ppb3 bus 1 bge0 at pci4 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): apic 2 int 16, address 00:1a:64:6e:a0:9a brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb4 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: msi pci5 at ppb4 bus 3 bge1 at pci5 dev 0 function 0 "Broadcom BCM5721" rev 0x21, BCM5750 C1 (0x4201): apic 2 int 17, address 00:1a:64:6e:a0:9b brgphy1 at bge1 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci6 at ppb5 bus 26 vga1 at pci6 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) radeondrm0 at vga1: apic 2 int 18 drm0 at radeondrm0 pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int 19 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM ECC PC2-5300CL5 spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM ECC PC2-5300CL5 spdmem2 at iic0 addr 0x52:
Re: Compiling from the source on -current Failed
Hi Misc@, On Tue, 25 Sep 2012 01:09:10 +0700, Stefan Sperling wrote: On Mon, Sep 24, 2012 at 07:52:44PM +0200, Stefan Sperling wrote: On Tue, Sep 25, 2012 at 12:29:25AM +0700, Insan Praja SW wrote: > Hi Misc@, > > I was just trying to upgrade to -current by compiling from the > source, on an old (6 years) server. I updated make(1) first to the > latest (compiling from the source, of course) and compiling the > kernel. Using the FAQ instruction, make(1) failed at; > > {standard input}: Assembler messages: > {standard input}:376: Error: no such instruction: `rdrand %edx' > *** Error code 1 in target cpu.o > > Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: > Exit status 1 (line 933 of Makefile, target cpu.o) Upgrade the linker and compiler first, see http://www.openbsd.org/faq/current.html#20120823 and http://www.openbsd.org/faq/current.html#20120831 Well, a coffee-less night is... like it is.. Obviously I miss that one. My bad. I got done. And... did you really say 6 years old A source upgrade from a system that old is not supported and the FAQ clearly states that: http://www.openbsd.org/faq/faq5.html#BldBinary Noo.. the "hardware/machine" is.. the kernel is 3 weeks old. Just upgrade to the latest snapshot, and then compile from source. Trying to do anything else is a waste of time. Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Compiling from the source on -current Failed
Hi Misc@, Forgot one thing that on newer machine, this is not happening; Thanks, Insan Praja DMESG: -- OpenBSD 5.2-current (GENERIC.MP) #36: Mon Sep 24 00:28:08 WIT 2012 r...@yyy.xxx.zzz:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80 cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF real mem = 2135588864 (2036MB) avail mem = 2089746432 (1992MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/23/10, BIOS32 rev. 0 @ 0xfd7e1, SMBIOS rev. 2.5 @ 0x7f6b9000 (55 entries) bios0: vendor IBM Corp. version "-[GYE144AUS-1.09]-" date 12/16/2010 bios0: IBM 81Y6793 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S5 acpi0: tables DSDT FACP TCPA APIC MCFG SLIC HPET SSDT SSDT ERST DMAR acpi0: wakeup devices PCIB(S4) POP3(S4) POP1(S4) POP6(S4) POP5(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) EHI1(S3) EHI2(S3) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu2: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu3: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0x8000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 36 (PCIB) acpiprt2 at acpi0: bus 26 (POP3) acpiprt3 at acpi0: bus -1 (POP1) acpiprt4 at acpi0: bus -1 (POP6) acpiprt5 at acpi0: bus 31 (POP5) acpiprt6 at acpi0: bus 1 (PEX1) acpiprt7 at acpi0: bus 6 (PEX2) acpiprt8 at acpi0: bus 11 (PEX3) acpiprt9 at acpi0: bus 16 (PEX4) acpiprt10 at acpi0: bus 21 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xc92/2 spacing 1 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci1 at ppb0 bus 26 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci2 at ppb1 bus 31 em0 at pci2 dev 0 function 0 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d0 em1 at pci2 dev 0 function 1 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d1 "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci3 at ppb2 bus 1 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci4 at ppb3 bus 6 ppb4 at pci4 dev 0 function 0 unknown vendor 0x101b product 0x0452 rev 0x01 pci5 at ppb4 bus 7 vga1 at pci5 dev 0 function 0 vendor "Matrox", unknown product 0x0530 rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb5 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: apic 8 int 16 pci6 at ppb5 bus 11 em2 at pci6 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: msi, address 00:21:5e:6b:b7:42 ppb6 at pci0 dev 28
Compiling from the source on -current Failed
Hi Misc@, I was just trying to upgrade to -current by compiling from the source, on an old (6 years) server. I updated make(1) first to the latest (compiling from the source, of course) and compiling the kernel. Using the FAQ instruction, make(1) failed at; {standard input}: Assembler messages: {standard input}:376: Error: no such instruction: `rdrand %edx' *** Error code 1 in target cpu.o Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP: Exit status 1 (line 933 of Makefile, target cpu.o) Thanks, Insan Praja DMESG: -- OpenBSD 5.2-current (GENERIC.MP) #6: Wed Aug 29 19:01:43 WIT 2012 r...@dev.xxx.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error e cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz pci0 at mainbus0 bus 0: configuration mode 1 (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: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:54:08 em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17, address 00:15:17:86:54:09 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, 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: apic 5 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 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 DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 sk0 at skc0 port A: address 00:1b:11:10:07:26 eeph
Re: High RTT/Latency pings post 5.0 [SOLVED]
Hi Misc@, On Wed, 29 Aug 2012 16:35:38 +0700, Insan Praja SW wrote: Hi Misc@, Did anyone experience a high latency pings on em(4) interface post 5.0? We have several machines on i386 -current with em(4) experiencing high latency/RTT pings, and its really bothering our clients. Then we moved the traffic/vlan to sk(4) interface and pings goes to the expected behavior (compared to switch to switch ICMP pings). We applied altq bw management for ICMP, and we tried to remove the bandwidth management before switching to sk(4), but still no change on pings RTT. Apparently the problem was an old switch on our network. Sorry for the noise. Thanks, Insan Praja SW OpenBSD 5.2-current (GENERIC.MP) #4: Thu Aug 23 16:25:52 WIT 2012 r...@border-rf.x.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:52:fc em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17, address 00:15:17:86:52:fd ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:49:04:0d "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: apic 5 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int
Re: High RTT/Latency pings post 5.0
Hi, On Thu, 30 Aug 2012 04:08:48 +0700, Michel Blais wrote: Oups, sorry. It's OpenBSD 5.0, not 5.1. It is "post" 5.0, so 5.0 was ok but not 5.1 to -current. Le 2012-08-29 17:05, Michel Blais a écrit : I have both latency and paquet drop problem on 5.1 on card using em(4). Tryed both 82571EB and 82546GB. It was worst with 82546GB. Mailing list subject : WARNING: mclpools limit reached; increase kern.maxclusters and paquet lost net.inet.ip.ifq.maxlen was WARNING: mclpools limit reached; increase kern.maxclusters and paquet lost. I only writed about paquet lost since I think both are related. Maybe it's related. If I test from my lan or from my DMZ up to our ISPs (fiber link not overload) gateways (tryed both gateway), I see latency up to over 50 ms with most between 1 and 2 ms and sometime, paquets lost. Real time communication like VoIP are affected by this. Le 2012-08-29 10:59, Insan Praja SW a écrit : Hi Misc@, I had to add that the corresponding em(4) are (on all machines); em4 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5 int 17, address 00:15:17:49:04:0e em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:25:0a:9d em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:52:94 Thanks, Insan Praja On Wed, 29 Aug 2012 16:35:38 +0700, Insan Praja SW wrote: Hi Misc@, Did anyone experience a high latency pings on em(4) interface post 5.0? We have several machines on i386 -current with em(4) experiencing high latency/RTT pings, and its really bothering our clients. Then we moved the traffic/vlan to sk(4) interface and pings goes to the expected behavior (compared to switch to switch ICMP pings). We applied altq bw management for ICMP, and we tried to remove the bandwidth management before switching to sk(4), but still no change on pings RTT. OpenBSD 5.2-current (GENERIC.MP) #4: Thu Aug 23 16:25:52 WIT 2012 r...@border-rf.x.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 &q
Re: High RTT/Latency pings post 5.0
Hi Misc@, I had to add that the corresponding em(4) are (on all machines); em4 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5 int 17, address 00:15:17:49:04:0e em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:25:0a:9d em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:52:94 Thanks, Insan Praja On Wed, 29 Aug 2012 16:35:38 +0700, Insan Praja SW wrote: Hi Misc@, Did anyone experience a high latency pings on em(4) interface post 5.0? We have several machines on i386 -current with em(4) experiencing high latency/RTT pings, and its really bothering our clients. Then we moved the traffic/vlan to sk(4) interface and pings goes to the expected behavior (compared to switch to switch ICMP pings). We applied altq bw management for ICMP, and we tried to remove the bandwidth management before switching to sk(4), but still no change on pings RTT. OpenBSD 5.2-current (GENERIC.MP) #4: Thu Aug 23 16:25:52 WIT 2012 r...@border-rf.x.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:52:fc em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17, address 00:15:17:86:52:fd ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:49:04:0d "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: apic 5 int 23 uhci1 a
High RTT/Latency pings post 5.0
Hi Misc@, Did anyone experience a high latency pings on em(4) interface post 5.0? We have several machines on i386 -current with em(4) experiencing high latency/RTT pings, and its really bothering our clients. Then we moved the traffic/vlan to sk(4) interface and pings goes to the expected behavior (compared to switch to switch ICMP pings). We applied altq bw management for ICMP, and we tried to remove the bandwidth management before switching to sk(4), but still no change on pings RTT. OpenBSD 5.2-current (GENERIC.MP) #4: Thu Aug 23 16:25:52 WIT 2012 r...@border-rf.x.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF real mem = 2142711808 (2043MB) avail mem = 2096783360 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16, address 00:15:17:86:52:fc em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17, address 00:15:17:86:52:fd ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: msi, address 00:15:17:49:04:0d "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: apic 5 int 23 uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 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 DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 sk0 at skc0 port A: address 00:1c:f0:11:6c:d4 eephy0 at sk0 phy 0: 88E1011 Gigabit P
Building i386 -cureent Userland failed
Hi Misc@, When I tried to build userland on i386 -current, the following error occur; /usr/src/kerberosV/usr.bin/klist/../../src/kuser/klist.c: In function 'display_tokens': /usr/src/kerberosV/usr.bin/klist/../../src/kuser/klist.c:496: error: 'VIOCGETTOK' undeclared (first use in this function) /usr/src/kerberosV/usr.bin/klist/../../src/kuser/klist.c:496: error: (Each undeclared identifier is reported only once /usr/src/kerberosV/usr.bin/klist/../../src/kuser/klist.c:496: error: for each function it appears in.) *** Error code 1 Stop in /usr/src/kerberosV/usr.bin/klist: Exit status 1 (klist.o, line 89 of /usr/share/mk/sys.mk) Stop in /usr/src/kerberosV/usr.bin: Exit status 2 (all, line 48 of /usr/share/mk/bsd.subdir.mk) Stop in /usr/src/kerberosV: Exit status 2 (all, line 48 of /usr/share/mk/bsd.subdir.mk) Stop in /usr/src: Exit status 2 (all, line 48 of /usr/share/mk/bsd.subdir.mk) *** Error code 2 *** Error code 2 *** Error code 2 *** Error code 2 Stop in /usr/src: Exit status 2 (build, line 80 of Makefile) Any hints how to fix this? Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: pf and ICMP in asymmetric routing setups
Hi, On Wed, 13 Jun 2012 08:07:31 +0700, Stuart Henderson wrote: On 2012-06-12, Simon Perreault wrote: On 2012-06-12 14:08, Bernd wrote: I've got two OpenBSD 5.1-stable/amd64 boxes employed which do all the routing for our AS (OpenBGPd and OpenOSPFd). I see asymmetric traffic (I thought it to be that way), which itself doesn't really create problems. However, I see problems with ICMP. pf seems to drop all but the first response from any of the hosts within our network (seen from the Internet). Any idea how to deal with this? As soon as I turn off pf, everything runs smoothly. Without having the details of your setup, the big principle is: pf is stateful (by default). Statefulness doesn't play well with asymmetric routing. I'm sure if you investigate a little bit more you'll discover it's not limited to ICMP. In the end the solution will be one of: remove statefulness, avoid asymmetric routing, or share state with pfsync. If using pfsync for this, you would want to look at "defer", see pfsync(4). I think I had the same problem. Please visit http://marc.info/?l=openbsd-misc&m=133957370427451&w=2 Sloppy states might be more appropriate for this scenario though, and would let you use other things which require state tracking, e.g. pflow(4). Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
i386 -current Sloppy source-track Breaks?
Hi Misc@, I was upgrading my 5.0 i386 -stable to 5.1 i386 -stable. We use ECMP using ospfd, and asymmetric routing with bgpd. Strangely, "keep state (sloppy source-track) flags any" can't no longer pass icmp traffic. Traceroute, browsing etc works, though. Then, I decided to upgrade it to -current, which, doesn't seem solve the problem. This; pass in quick log on $core_if\ inet proto icmp to tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass in quick log on $core_if\ inet proto udp to port 33433 >< 33626 tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass out quick log on $core_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto icmp from self\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto udp from self to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass in quick log on $serv_if\ inet proto icmp from \ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass in quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass out quick log on $serv_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto icmp\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp I noticed that this ICMP traffic always gets a bad checksum leaving the router. sample: on routerA(accessRouter) $ ping 203.190.abc.xyz PING 203.190.abc.xyz: 56 data bytes 64 bytes from 203.190.abc.xyz: icmp_seq=0 ttl=58 time=6.215 ms 64 bytes from 203.190.abc.xyz: icmp_seq=42 ttl=58 time=6.604 ms 64 bytes from 203.190.abc.xyz: icmp_seq=72 ttl=58 time=5.823 ms On the routerB (edgeRouter) --- $sudo tcpdump -entvi pflog0 action pass and icmp and host 203.190.abc.xyz rule 119/(match) [uid 0, pid 14104] pass in on vlan11: abc.def.ghi.198 > 203.190.abc.xyz: icmp: echo request (id:285b seq:0) (ttl 254, id 59391, len 84) rule 157/(match) [uid 0, pid 14104] pass out on vlan97: abc.def.ghi.198 > 203.190.abc.xyz: icmp: echo request (id:285b seq:0) (ttl 253, id Doesn't behave consistently. Some hosts/packets gets block, some get through, randomly. Thanks, Insan Praja SW DMESG (identical machines): OpenBSD 5.1-current (GENERIC.MP) #0: Thu May 17 01:18:14 WIT 2012 r...@greenrouter-jkt02.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 3 cpu0: Intel(R) Pentium(R) D 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF real mem = 2142687232 (2043MB) avail mem = 2096836608 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 acp
Re: i386 -current Sloppy source-track Breaks?
Hi Misc@, I noticed that this ICMP traffic always gets a bad checksum leaving the router. sample: on routerA(accessRouter) $ ping 203.190.abc.xyz PING 203.190.abc.xyz: 56 data bytes 64 bytes from 203.190.abc.xyz: icmp_seq=0 ttl=58 time=6.215 ms 64 bytes from 203.190.abc.xyz: icmp_seq=42 ttl=58 time=6.604 ms 64 bytes from 203.190.abc.xyz: icmp_seq=72 ttl=58 time=5.823 ms On the routerB (edgeRouter) --- $sudo tcpdump -entvi pflog0 action pass and icmp and host 203.190.abc.xyz rule 119/(match) [uid 0, pid 14104] pass in on vlan11: abc.def.ghi.198 > 203.190.abc.xyz: icmp: echo request (id:285b seq:0) (ttl 254, id 59391, len 84) rule 157/(match) [uid 0, pid 14104] pass out on vlan97: abc.def.ghi.198 > 203.190.abc.xyz: icmp: echo request (id:285b seq:0) (ttl 253, id 59391, len 84, bad cksum 899d!) Thanks. Insan Praja On Thu, 17 May 2012 03:11:33 +0700, Insan Praja SW wrote: Hi Misc@, I was upgrading my 5.0 i386 -stable to 5.1 i386 -stable. We use ECMP using ospfd, and asymmetric routing with bgpd. Strangely, "keep state (sloppy source-track) flags any" can't no longer pass icmp traffic. Traceroute, browsing etc works, though. Then, I decided to upgrade it to -current, which, doesn't seem solve the problem. This; pass in quick log on $core_if\ inet proto icmp to tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass in quick log on $core_if\ inet proto udp to port 33433 >< 33626 tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass out quick log on $core_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto icmp from self\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto udp from self to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass in quick log on $serv_if\ inet proto icmp from \ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass in quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass out quick log on $serv_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto icmp\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp Doesn't behave consistently. Some hosts/packets gets block, some get through, randomly. Thanks, Insan Praja SW DMESG (identical machines): OpenBSD 5.1-current (GENERIC.MP) #0: Thu May 17 01:18:14 WIT 2012 r...@greenrouter-jkt02.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 3 cpu0: Intel(R) Pentium(R) D 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF real mem = 2142687232 (2043MB) avail mem = 2096836608 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins
i386 -current Sloppy source-track Breaks?
Hi Misc@, I was upgrading my 5.0 i386 -stable to 5.1 i386 -stable. We use ECMP using ospfd, and asymmetric routing with bgpd. Strangely, "keep state (sloppy source-track) flags any" can't no longer pass icmp traffic. Traceroute, browsing etc works, though. Then, I decided to upgrade it to -current, which, doesn't seem solve the problem. This; pass in quick log on $core_if\ inet proto icmp to tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass in quick log on $core_if\ inet proto udp to port 33433 >< 33626 tag PING\ keep state (sloppy source-track global) flags any\ queue (CoreUp_icmp CoreUp_ack) pass out quick log on $core_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto icmp from self\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass out quick log on $core_if\ inet proto udp from self to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue CoreUp_icmp pass in quick log on $serv_if\ inet proto icmp from \ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass in quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp tag PING pass out quick log on $serv_if\ inet tagged PING\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto icmp\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp pass out quick log on $serv_if\ inet proto udp to any port 33433 >< 33626\ keep state (sloppy source-track global) flags any\ queue ServDn_icmp Doesn't behave consistently. Some hosts/packets gets block, some get through, randomly. Thanks, Insan Praja SW DMESG (identical machines): OpenBSD 5.1-current (GENERIC.MP) #0: Thu May 17 01:18:14 WIT 2012 r...@greenrouter-jkt02.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 3 cpu0: Intel(R) Pentium(R) D 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF real mem = 2142687232 (2043MB) avail mem = 2096836608 (1999MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,EST,CNXT-ID,CX16,xTPR,PDCM,LAHF ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xf000, bus 0-127 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: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x4800 0xcd800/0x1000 0xce800/0x1000 cpu0: Enhanced SpeedStep 3000 MHz: speeds: 3000, 2400 MHz pci0 at mainbus0 bus 0: configuration mode 1 (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: apic 5 int 17 pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" r
Bad Checksum on i386-current
Hi Misc@, Could someone elaborate me with this tcpdump I had? After nat-ing, checksum error shows, on the same packet.. rule 173.home.8/(match) [uid 0, pid 9731] pass in on vlan516: 172.16.33.254.64264 > 188.255.110.14.51413: S [tcp sum ok] 260322197:260322197(0) win 8192 [tos 0x28] (ttl 126, id 5689, len 48) rule 173.home.13/(match) [uid 0, pid 9731] pass out on vlan500: [orig src 172.16.33.254:64264, dst 188.255.110.14:51413] 202.90.195.234.59074 > 188.255.110.14.51413: S [bad tcp cksum f54!] 260322197:260322197(0) win 8192 [tos 0x28] (ttl 125, id 5689, len 48, bad cksum 2d4b!) Thanks, Insan Praja dmesg: OpenBSD 5.1 (GENERIC.MP) #15: Fri Feb 10 01:01:43 WIT 2012 r...@core01.netaplus.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80 cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF real mem = 2135588864 (2036MB) avail mem = 2090528768 (1993MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/23/10, BIOS32 rev. 0 @ 0xfd7e1, SMBIOS rev. 2.5 @ 0x7f6b9000 (55 entries) bios0: vendor IBM Corp. version "-[GYE144AUS-1.09]-" date 12/16/2010 bios0: IBM 81Y6793 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S5 acpi0: tables DSDT FACP TCPA APIC MCFG SLIC HPET SSDT SSDT ERST DMAR acpi0: wakeup devices PCIB(S4) POP3(S4) POP1(S4) POP6(S4) POP5(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) EHI1(S3) EHI2(S3) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu2: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu3: 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,NXE,LONG,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0x8000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 36 (PCIB) acpiprt2 at acpi0: bus 26 (POP3) acpiprt3 at acpi0: bus -1 (POP1) acpiprt4 at acpi0: bus -1 (POP6) acpiprt5 at acpi0: bus 31 (POP5) acpiprt6 at acpi0: bus 1 (PEX1) acpiprt7 at acpi0: bus 6 (PEX2) acpiprt8 at acpi0: bus 11 (PEX3) acpiprt9 at acpi0: bus 16 (PEX4) acpiprt10 at acpi0: bus 21 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1000 ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci1 at ppb0 bus 26 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci2 at ppb1 bus 31 em0 at pci2 dev 0 function 0 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d0 em1 at pci2 dev 0 function 1 "Intel I340-T2 (82580)" rev 0x01: msi, address 00:1b:21:90:00:d1 "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci3 at ppb2 bus 1 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci4 at ppb3 bus 6 ppb4 at pci4 dev 0 function 0 unknown vendo
Upgrading AMD64 4.9-stable to 5.0
dl-1.5.26p0GNU libtool system independent dlopen wrapper libmcrypt-2.5.8p1 interface to access block/stream encryption algorithms libslang-2.2.2 stack-based interpreter for terminal applications libusb-0.1.12p4 USB access library libxml-2.7.8p1 XML parsing library lzo-1.08p1 portable speedy lossless data compression library lzo2-2.04 portable speedy lossless data compression library lzop-1.02rc1fast file compressor similar to gzip mailman-2.1.14p8-postfix mailing list manager with web interface mc-4.7.0.8 free Norton Commander clone with many useful features mysql-client-5.1.54p0 multithreaded SQL database (client) mysql-server-5.1.54p3 multithreaded SQL database (server) net-snmp-5.6.1 extendable SNMP implementation oniguruma-5.9.1 regular expressions library p5-Algorithm-Diff-1.1902p0 interface to compute differences between two objects p5-Archive-Zip-1.30p1 perl interface to ZIP files p5-BerkeleyDB-0.34p3 Berkeley DB module p5-Convert-BinHex-1.119p2 module to extract data from Macintosh BinHex files p5-Convert-TNEF-0.17p1 module to read TNEF files p5-Convert-UUlib-1.34v0 interface to the uulib library p5-Crypt-OpenSSL-Bignum-0.04p1 OpenSSL's multiprecision integer arithmetic p5-Crypt-OpenSSL-RSA-0.26 RSA encoding and decoding using OpenSSL p5-Crypt-OpenSSL-Random-0.04p1 routines for accessing the OpenSSL prng p5-Crypt-SSLeay-0.57p2 library to provide LWP https support via OpenSSL p5-DBD-mysql-4.014p1 MySQL drivers for the Perl DBI p5-DBI-1.609p1 unified perl interface for database access p5-Digest-HMAC-1.02p0 interface to HMAC Message-Digest Algorithms p5-Digest-SHA1-2.13p1 module to calculate SHA1 digests p5-HTML-Parser-3.66p1 modules to parse and extract information from HTML p5-HTML-Tagset-3.20p0 data tables useful for parsing HTML p5-HTTP-GHTTP-1.07p3 perl interface to the GNOME GHTTP library p5-IO-Socket-INET6-2.65p0 object interface for AF_INET and AF_INET6 domain sockets p5-IO-Socket-SSL-1.37 perl interface to SSL sockets p5-IO-String-1.08p1 emulate IO::File interface for in-core strings p5-IO-stringy-2.110p1 in-core objects like strings and arrays for I/O p5-MIME-tools-5.428 modules for parsing (and creating) MIME entities p5-Mail-DKIM-0.38p0 DKIM and DomainKeys message-signing implementation p5-Mail-SPF-Query-1.999.1p3 perl module to query Sender Policy Framework p5-Mail-SpamAssassin-3.3.1p6 mailfilter to identify and mark spam p5-Mail-Tools-2.07 modules for handling mail with perl p5-Net-CIDR-Lite-0.20p0 Perl extension for merging IPv4 or IPv6 CIDR addresses p5-Net-DNS-0.65p0 module to interface the DNS resolver p5-Net-Daemon-0.43p0 extension for portable daemons p5-Net-IP-1.25p1perl module for IPv4/IPv6 address parsing p5-Net-SSLeay-1.36p0 perl module for using OpenSSL p5-Net-Server-0.99 extensible framework for Perl server engines p5-NetAddr-IP-4.037p0 manages IPv4 and IPv6 addresses and subnets p5-PlRPC-0.2018p1 module for writing rpc servers and clients p5-SNMP-5.6.1 SNMP modules for Perl p5-Socket6-0.23p1 Perl defines relating to AF_INET6 sockets p5-Sys-Hostname-Long-1.4p1 perl module to get FQDN p5-Text-Diff-1.37p0 perform diffs on files and record sets p5-Time-TimeDate-1.20p0 library for parsing and formatting dates and times p5-URI-1.54p0 library to parse Uniform Resource Identifiers p5-Unix-Syslog-1.1p2 interface to the UNIX system logger p5-libwww-5.835p0 library for WWW access in Perl p7zip-9.13 file archiver with high compression ratio p7zip-rar-9.13 rar modules for p7zip pcre-8.02p1 perl-compatible regular expression library php5-core-5.2.17server-side HTML-embedded scripting language php5-gd-5.2.17 image manipulation extensions for php5 php5-imap-5.2.17imap, pop3 and nntp extensions for php5 php5-mbstring-5.2.17 multibyte characters extensions for php5 php5-mcrypt-5.2.17 mcrypt encryption/decryption extensions for php5 php5-mysql-5.2.17 mysql database access extensions for php5 php5-xmlrpc-5.2.17 XML RPC functions for php5 phpMyAdmin-3.3.9.1 tool to handle the administration of MySQL over the web pinentry-0.8.1 collection of simple PIN or passphrase entry dialogs png-1.2.44 library for manipulating PNG images postfix-2.8.20110113-sasl2-mysql fast, secure sendmail replacement pth-2.0.7 GNU portable threads python-2.6.6p0 interpreted object-oriented programming language re2c-0.13.5 C-based regular expression scanner generator ripole-0.2.0p0 extract attachments from OLE2 data files rpm2cpio-1.3p0 rpm2cpio converter in Perl sqlite3-3.7.4 embedded SQL implementation t1lib-5.1.0p2 Type 1 rasterizer library for UNIX/X11 tcl-8.5.9 Tool Command Language unarj-2.43p0extract files from ARJ archives unrar-4.02p0extract, list, and test RAR archives unzip-6.0 extract, list & test files in a ZIP archive wget-1.12p1 retrieve files from the web via HTTP, HTTPS and FTP xz-5.0.0LZMA compression and decompression tools zip-3.0 create/update ZIP files compatible with PKZip(tm) zoo-2.10.1p1handle the old .ZOO archive format Hope to see some input here. Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Panic on OpenBSD 5.0 -current 6 Aug 2011 GENERIC.MP
ospfd 28391 1 28391 0 3 0x80kqread ospfd 27689 15013 15013 91 3 0x80kqread snmpd 15013 1 15013 0 3 0x80kqread snmpd 26364 1 26364 0 3 0x80select sshd 73729 525583 3 0x80poll ntpd 29 5255525583 3 0x80poll ntpd 5255 1 52550 3 0x80poll ntpd 12647 880 880 74 3 0x80bpf pflogd 8801 880 0 3 0x80netio pflogd 17218 1340134073 7 0x80 syslogd 1340 1 13400 3 0x80netio syslogd 17 0 0 0 3 0x100200aiodonedaiodoned 16 0 0 0 3 0x100200syncer update 15 0 0 0 3 0x100200cleaner cleaner 14 0 0 0 3 0x100200reaper reaper 13 0 0 0 3 0x100200pgdaemon pagedaemon 12 0 0 0 3 0x100200bored crypto 11 0 0 0 3 0x100200pftm pfpruge 10 0 0 0 3 0x100200usbtsk usbtask 9 0 0 0 3 0x100200usbtask usbtask 8 0 0 0 3 0x100200acpi0 acpi0 7 0 0 0 7 0x40100200 idle3 6 0 0 0 7 0x40100200 idle2 5 0 0 0 3 0x40100200 idle1 4 0 0 0 3 0x100200bored syswq *3 0 0 0 7 0x40100200 idle0 2 0 0 0 3 0x100200kmalloc kmthread 1 0 1 0 3 0x80wait init 0 -1 0 0 3 0x200 scheduler swapper Thank You, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Creating route tables
Hi Josh, On Thu, 21 Jul 2011 03:00:08 +0700, Josh Hoppes wrote: Hello Insan, I guess I'm not sure I understand that statement, or I'm miss-interpreting the rdomain configuration section and how it interacts with rtables. If I understand the documentation correctly additional rib tables defined in bgpd must exist inside the default routing domain. The error messages read as if I missed a step and need to create the additional routing table some how, which I'm having trouble finding how to do that. Are you suggesting I add a rdomain section in bgpd.conf in to create the rtable? You need at least an interface on a desired rdomain, rdomain and rtable actually the same thing. You do that by using "ifconfig" to assign a spesific interface to an rdomain. Then bgpd can use it. On Tue, Jul 19, 2011 at 4:40 PM, Insan Praja SW wrote: Hi, You missed rdomain. On Wed, 20 Jul 2011 01:26:37 +0700, Josh Hoppes wrote: I'm trying to configure bgpd to run in an alternate routing table so I can use it to manage black holed prefixes. When trying to specify an alternate routing table I get the error message "rtable id 1 does not exist" when starting bgpd. I've gone through route(8) and route(4) but can't find any information on creating a routing table. My attempts at creating by just adding a prefix appear to be of no use. I'm sure I missed something in the documentation and I would appreciate any hints people can provide. This is on OpenBSD 4.9 GENERIC.MP#819 amd64 Basic bgpd.conf I'm using # global configuration AS 65100 fib-update no route-collector yes holdtime 10 # Alternate Routing Table rtable 1 Error output from bgpd: # bgpd -vnf bgpd.conf bgpd.conf:8: rtable id 1 does not exist error output from route: # route -T 1 add -inet 192.168.0.0/24 127.0.0.1 route: routing table 1: No such file or directory Thanks in advance, and sorry for the noise. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ HTH, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Creating route tables
Hi, You missed rdomain. On Wed, 20 Jul 2011 01:26:37 +0700, Josh Hoppes wrote: I'm trying to configure bgpd to run in an alternate routing table so I can use it to manage black holed prefixes. When trying to specify an alternate routing table I get the error message "rtable id 1 does not exist" when starting bgpd. I've gone through route(8) and route(4) but can't find any information on creating a routing table. My attempts at creating by just adding a prefix appear to be of no use. I'm sure I missed something in the documentation and I would appreciate any hints people can provide. This is on OpenBSD 4.9 GENERIC.MP#819 amd64 Basic bgpd.conf I'm using # global configuration AS 65100 fib-update no route-collector yes holdtime 10 # Alternate Routing Table rtable 1 Error output from bgpd: # bgpd -vnf bgpd.conf bgpd.conf:8: rtable id 1 does not exist error output from route: # route -T 1 add -inet 192.168.0.0/24 127.0.0.1 route: routing table 1: No such file or directory Thanks in advance, and sorry for the noise. -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Panic On 29 May 2011 and 10 July 2011 i386 bsd.mp -current
0 3 0x40100200 idle0 20 0 0 3 0x2100200 kmalloc kmthread 10 0 0 3 0x280 waitiit 0 -1 0 0 3 0x2080200 scheduler swapper DEBUGGING - /usr/src/sys/netinet/tcp_input.c # rm tcp_input.o # DEBUG=-g make tcp_input.o # objdump --line --disassemble --reloc tcp_input.o >tcp_input.dis # grep ":" tcp_input.dis 3550 : and 0x3550 + 0x44a = 399A # more tcp_input.dis --SNIP--- ../../../../netinet/tcp_input.c:667 3994: 8b bd 28 ff ff ff mov0xff28(%ebp),%edi 399a: 0f b6 87 ad 00 00 00movzbl 0xad(%edi),%eax # cd /usr/src/sys/netinet/ # cat -n tcp_input.c | head -n 667 | tail -n 1 667 if (inp->inp_ip_minttl && inp->inp_ip_minttl > ip->ip_ttl) Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
OpenBSD GENERIC.MP -current 29 May Snapshot and 10 July Snapshot Panic
,PDCM,SSE4.1 ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (NPE1) acpiprt2 at acpi0: bus 1 (NPE6) acpiprt3 at acpi0: bus 4 (P32_) acpiprt4 at acpi0: bus 2 (PEX0) acpiprt5 at acpi0: bus -1 (PEX1) acpiprt6 at acpi0: bus -1 (PEX2) acpiprt7 at acpi0: bus -1 (PEX3) acpiprt8 at acpi0: bus 3 (PEX4) acpiprt9 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1000 0xcb000/0x1800 0xcc800/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3000, 2000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x00 ppb0 at pci0 dev 6 function 0 "Intel 3210 PCIE" rev 0x00: apic 5 int 16 pci1 at ppb0 bus 1 em0 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi, address 00:24:81:7d:11:f4 em1 at pci1 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: msi, address 00:24:81:7d:11:f5 em2 at pci0 dev 25 function 0 "Intel ICH9 IGP AMT" rev 0x02: msi, address 00:15:17:8d:4c:c5 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 18 uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 21 ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 pci3 at ppb2 bus 3 vga1 at pci3 dev 0 function 0 "Matrox MGA G200e (ServerEngines)" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci2 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 23 uhci3 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 19 uhci4 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 5 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92 pci4 at ppb3 bus 4 em3 at pci4 dev 0 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 5 int 16, address 00:07:e9:0f:44:37 skc0 at pci4 dev 1 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 17 sk0 at skc0 port A: address 00:1b:11:10:07:6e eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 em4 at pci4 dev 2 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5 int 18, address 00:15:17:8d:4c:c3 ichpcib0 at pci0 dev 31 function 0 "Intel 82801IR LPC" rev 0x02: PM disabled pciide0 at pci0 dev 31 function 2 "Intel 82801I SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 5 int 21 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 76318MB, 156299375 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x02: apic 5 int 18 iic0 at ichiic0 iic0: skipping sensors to avoid ipmi0 interactions spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-5300CL5 spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-5300CL5 pciide1 at pci0 dev 31 function 5 "Intel 82801I SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native- PCI pciide1: using apic 5 int 21 for native-PCI interrupt usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at ichpcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 mtrr: Pentium Pro MTRR support vscsi0 at root scsibus0 at vscsi0: 256 targets softraid0 at root scsibus1 at softraid0: 256 targets root on wd0a swap on wd0b dump on wd0b WARNING: / was not properly unmounted Can't trace and ps since the guys at NOC didn't had the time to do so. We are going to temporary disable the services on this machine until we able to find a workaround. Any suggestion? Best Regards, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: multicast routing and PIM-SM
Hi, On Fri, 27 May 2011 19:53:15 +0700, Kapetanakis Giannis wrote: Hi, I'm trying to forward multicast traffic through my firewalls using PIM-SM. Only DVMRP Are there any alternatives to XORP? Yes. dvmrpd (8). Is multicast_router=YES enough in rc.conf.local? regards, Giannis [demime 1.01d removed an attachment of type application/pkcs7-signature which had a name of smime.p7s] Regards, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Intel I340-T2 (82580) on i386 -current
Hi, On Thu, 26 May 2011 15:28:09 +0700, Claudio Jeker wrote: On Thu, May 26, 2011 at 03:17:48PM +0700, Insan Praja SW wrote: Hi Misc@, Can't seem to forward any traffic via em0 and em1, an intel dual-port gigabit adapter. Dmesg shows that its detected, tried to plug it to another em's on another machines, no luck. The difference from GENERIC.MP is that ipmi is enabled. The 82580 is not yet fully supported. It is yet another chip that Intel did make different from anything else. jsg@ was looking at it so he may know more about the status. Please do not hesitate to contact me if jsg@ or OBSD devs need to test the diffs. Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Intel I340-T2 (82580) on i386 -current
Hi Misc@, Can't seem to forward any traffic via em0 and em1, an intel dual-port gigabit adapter. Dmesg shows that its detected, tried to plug it to another em's on another machines, no luck. The difference from GENERIC.MP is that ipmi is enabled. Thanks, Insan Praja SW DMESG; OpenBSD 4.9-current (GENERIC.MP) #2: Thu May 26 01:51:38 WIT 2011 r...@core01.netaplus.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 80 cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT real mem = 2135588864 (2036MB) avail mem = 2089828352 (1993MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/23/10, BIOS32 rev. 0 @ 0xfd7e1, SMBIOS rev. 2.5 @ 0x7f6b9000 (55 entries) bios0: vendor IBM Corp. version "-[GYE144AUS-1.09]-" date 12/16/2010 bios0: IBM 81Y6793 acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S5 acpi0: tables DSDT FACP TCPA APIC MCFG SLIC HPET SSDT SSDT ERST DMAR acpi0: wakeup devices PCIB(S4) POP3(S4) POP1(S4) POP6(S4) POP5(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) EHI1(S3) EHI2(S3) PWRB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu1: 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu2: 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz ("GenuineIntel" 686-class) 2.40 GHz cpu3: 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,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0x8000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 36 (PCIB) acpiprt2 at acpi0: bus 26 (POP3) acpiprt3 at acpi0: bus -1 (POP1) acpiprt4 at acpi0: bus -1 (POP6) acpiprt5 at acpi0: bus 31 (POP5) acpiprt6 at acpi0: bus 1 (PEX1) acpiprt7 at acpi0: bus 6 (PEX2) acpiprt8 at acpi0: bus 11 (PEX3) acpiprt9 at acpi0: bus 16 (PEX4) acpiprt10 at acpi0: bus 21 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 0xca000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xc92/2 spacing 1 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci1 at ppb0 bus 26 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 pci2 at ppb1 bus 31 em0 at pci2 dev 0 function 0 "Intel I340-T2 (82580)" rev 0x01: apic 8 int 16, address 00:1b:21:90:00:d0 em1 at pci2 dev 0 function 1 "Intel I340-T2 (82580)" rev 0x01: apic 8 int 17, address 00:1b:21:90:00:d1 "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 19 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci3 at ppb2 bus 1 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 pci4 at ppb3 bus 6 ppb4 at pci4 dev 0 function 0 unknown vendor 0x101b product 0x0452 rev 0x01 pci5 at ppb4 bus 7 vga1 at pci5 dev 0 function 0 vendor "Matrox", unknown produ
Re: How to check what traffic falls into default queue?
Hi, On Wed, 25 May 2011 18:09:30 +0700, RLW wrote: Hello, I wonder how to check what traffic falls into default queue? I did this by creating an anchor and put all rules with default queue or without it (which automagically falls to default queue). best regards, RLW Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Building from the source -Current
Hi, On Wed, 20 Apr 2011 04:08:48 +0700, Claudio Jeker wrote: The way kernel get built changed lately. make depend is no more and because of this you need to remove the build directory before building a new kernel or the old dependencies will hount you. Dang, I simply remove .depend and it went OK. On Tue, Apr 19, 2011 at 02:59:34PM -0500, Amit Kulkarni wrote: Errr. are you sure your sources are updated? I don't see a freebsd_machdep.h in my /usr/src see http://www.openbsd.org/faq/faq5.html#BldGetSrc Just su to root, the FAQ doesn't mention using sudo except for config kernels http://www.openbsd.org/faq/faq5.html#BldKernel notice the #prompt which is root prompt. I wouldn't do make install until make is finished and no errors. This isn't something which can be automated for a beginner. The FAQ doesn't show it that way. On Tue, Apr 19, 2011 at 1:51 PM, Insan Praja SW wrote: > Hi Misc@, > Tried to build kernel from the source but something like this; > > $ sudo config GENERIC.MP > Don't forget to run "make depend" > Kernel options have changed -- you must run "make clean" > $ cd ../compile/GENERIC.MP/ > $ sudo make clean && sudo make depend && sudo make && sudo make install > rm -f eddep *bsd *bsd.gdb tags *.[io] [a-z]*.s [Ee]rrs linterrs assym.h > make: don't know how to make machine/freebsd_machdep.h. Stop in > /usr/src/sys/arch/i386/compile/GENERIC.MP. > > What should I do? > > Thanks, > > > Insan Praja SW > -- > Using Opera's revolutionary email client: http://www.opera.com/mail/ Thanks All, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Building from the source -Current
Hi, On Wed, 20 Apr 2011 02:59:34 +0700, Amit Kulkarni wrote: Errr. are you sure your sources are updated? I don't see a freebsd_machdep.h in my /usr/src Sources are cvs-ed. I tried remove freebsd_machdep.h from the source manually, nothing changes. see http://www.openbsd.org/faq/faq5.html#BldGetSrc Just su to root, the FAQ doesn't mention using sudo except for config kernels http://www.openbsd.org/faq/faq5.html#BldKernel notice the #prompt which is root prompt. It shouldn't be a problem I think, hundreds of time compiling using sudo without a problem. I wouldn't do make install until make is finished and no errors. This isn't something which can be automated for a beginner. The FAQ doesn't show it that way. On Tue, Apr 19, 2011 at 1:51 PM, Insan Praja SW wrote: Hi Misc@, Tried to build kernel from the source but something like this; $ sudo config GENERIC.MP Don't forget to run "make depend" Kernel options have changed -- you must run "make clean" $ cd ../compile/GENERIC.MP/ $ sudo make clean && sudo make depend && sudo make && sudo make install rm -f eddep *bsd *bsd.gdb tags *.[io] [a-z]*.s [Ee]rrs linterrs assym.h make: don't know how to make machine/freebsd_machdep.h. Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP. What should I do? Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Building from the source -Current
Hi Misc@, Tried to build kernel from the source but something like this; $ sudo config GENERIC.MP Don't forget to run "make depend" Kernel options have changed -- you must run "make clean" $ cd ../compile/GENERIC.MP/ $ sudo make clean && sudo make depend && sudo make && sudo make install rm -f eddep *bsd *bsd.gdb tags *.[io] [a-z]*.s [Ee]rrs linterrs assym.h make: don't know how to make machine/freebsd_machdep.h. Stop in /usr/src/sys/arch/i386/compile/GENERIC.MP. What should I do? Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: /dev/pf permission for squid 3.2.0.6 on openbsd 4.8
Hi, This link may help: http://wiki.squid-cache.org/ConfigExamples/Intercept/OpenBsdPf Thanks, On Wed, 13 Apr 2011 16:12:51 +0700, Muhammad Muntaza wrote: 2011/4/8, Indunil Jayasooriya : Hi list, I am trying to test squid 3.2.0.6 on OpenBSD 4.8 (amd64) in transparent mode. I can browse internet. But, I get the below error. 2011/04/08 17:43:11 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied 2011/04/08 17:43:11 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied 2011/04/08 17:44:20 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied 2011/04/08 17:44:53 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied 2011/04/08 17:44:54 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied 2011/04/08 17:44:55 kid1| Intercept.cc(305) PfInterception: PF open failed: (13) Permission denied Then, I did below steps. I got it from http://www.benzedrine.cx/transquid.html (PF founder's link) are the below 2 commnads okay for OpenBSD 4.8? # chgrp _squid /dev/pf # chmod g+rw /dev/pf but, for squid 2.7.9 on OpenBSD 4.8, I have the default. Pls see .I did NOT change /dev/pf # ls -al /dev/pf crw--- 1 root wheel 73, 0 Dec 17 16:33 /dev/pf any comments? -- Thank you Indunil Jayasooriya my squid and openbsd: in /etc/pf.conf: pass in quick on $int_if proto tcp from $localnet to any port 80 rdr-to lo0 port 3128 $ ls -l /dev/pf crw--- 1 root wheel 73, 0 Nov 28 12:40 /dev/pf in /etc/squid/squid.conf http_port 127.0.0.1:3128 transparent Muhammad Muntaza bin Hatta -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Reloading BGPd
Hi, On Mon, 14 Feb 2011 23:43:01 +0700, Peter Bristow wrote: Hi All, It appears that 'bgpctl reload' does not 'pickup' changes made to attributes specified in a network statement. This seems to be a change in behavior at least compared to 4.5. Is this a known problem or indeed expected behavior? Thoughts would be appreciated. In the meantime, use "bgpctl network add prefix [argument]" as in man 8 bgpctl. Thanks Pete # uname -a OpenBSD rs8.as29550.net 4.8 GENERIC.MP#335 amd64 # http://ftp.openbsd.org/pub/OpenBSD/patches/4.8/common/001_bgpd.patch has been applied. ##First Config AS 29550 router-id 94.76.244.98 fib-update no nexthop qualify via default network 85.234.133.25/32 set { nexthop 213.229.119.133 community 29550:1 } network 85.234.133.26/31 set { nexthop 213.229.78.99 community 29550:4 } group coreRoutersV4 { remote-as 29550 announce all announce IPv6 none announce IPv4 unicast neighbor 92.48.95.2 } deny from any deny to any # bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI*> 85.234.133.25/32 213.229.119.133100 0 i AI*> 85.234.133.26/31 213.229.78.99 100 0 i # ##Second config AS 29550 router-id 94.76.244.98 fib-update no nexthop qualify via default #network 85.234.133.25/32 set { nexthop 213.229.119.133 community 29550:1 } network 85.234.133.26/31 set { nexthop 213.229.119.133 community 29550:1 } network 85.234.147.160/31 set { nexthop 213.229.78.99 community 29550:4 } group coreRoutersV4 { remote-as 29550 announce all announce IPv6 none announce IPv4 unicast neighbor 92.48.95.2 } deny from any deny to any # bgpctl show rib flags: * = Valid, > = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin AI*> 85.234.133.26/31 213.229.78.99 100 0 i AI*> 85.234.147.160/31213.229.78.99 100 0 i # HTH Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: question regarding bgpd
Hi, On Fri, 28 Jan 2011 01:31:41 +0700, PP;QQ P(P8P?P8QP8P= wrote: Try "bgpctl sh fib | grep your_prefix" it's not there R0N0#bgpctl sh fib | grep 91.142.140 R0N0# it's reachable only via default route: R0N0#route -n get 91.142.140.254 route to: 91.142.140.254 destination: default mask: default gateway: 80.78.109.138 interface: carp102 if address: 80.78.109.137 priority: 48 (bgp) ^^^ flags: use mtuexpire 6587265 0 0 R0N0# That confirm the default is supplied from bgpd. Can you supply your bgpd config? well, I didn't try suggested patch yet. need to upgrade to 4.8 first. I do not see even a liitle complain why it refuses them. 2011/1/26 Stuart Henderson : On 2011-01-26, ??? wrote: Dear Sirs, we are running our AS in many locations (say AS65000) (location 1, AS65000, network n1.n1.n1.n1) < Internet ---> (location 2, same AS65000, network n2.n2.n2.n2) when we were running quagga, "allowas-in" made the work. otherwise there was no route except default between two locations. now we are replacing quagga with OpenBGPD, what is openbgpd's equivalent of "allowas-in" ? Cheers, Ilya Shipitsin P.S. just to make sure - I already read manuals and somehow I didn't find relevant information there. So, if all you can say is "RTFM", please also say where exactly relevant information is located. bgpd doesn't currently support this. Regards, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: question regarding bgpd
Hi, On Thu, 27 Jan 2011 19:57:20 +0700, PP;QQ P(P8P?P8QP8P= wrote: I tried to investigate a liitle... 1) how do I enable logging ? I used "log updates" and "-v" flag. not a bunch of diagnostics... 2) my AS is 49675, 91.142.140.0/24 at location "A" and 193.169.238.0/24 at location "B", there are announces on "rib" R0N0#bgpctl show rib | grep 49675 91.142.140.0/24 87.229.147.182 100 0 31359 3216 8342 49675 i 91.142.140.0/24 81.91.54.241 100 0 25086 12389 16083 49675 i 91.142.140.0/24 80.78.109.138 100 0 16285 20485 9002 16083 49675 i but no prefixes on "fib" R0N0#bgpctl show fib | grep 49675 R0N0# Try "bgpctl sh fib | grep your_prefix" I do not see even a liitle complain why it refuses them. 2011/1/26 Stuart Henderson : On 2011-01-26, ??? wrote: Dear Sirs, we are running our AS in many locations (say AS65000) (location 1, AS65000, network n1.n1.n1.n1) < Internet ---> (location 2, same AS65000, network n2.n2.n2.n2) when we were running quagga, "allowas-in" made the work. otherwise there was no route except default between two locations. now we are replacing quagga with OpenBGPD, what is openbgpd's equivalent of "allowas-in" ? Cheers, Ilya Shipitsin P.S. just to make sure - I already read manuals and somehow I didn't find relevant information there. So, if all you can say is "RTFM", please also say where exactly relevant information is located. bgpd doesn't currently support this. Regards, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
On Sun, 23 Jan 2011 04:20:04 +0700, Insan Praja SW wrote: Hi, On Sun, 23 Jan 2011 01:54:32 +0700, Willem Dijkstra wrote: On 01/22/2011 01:27 AM, Insan Praja SW wrote: Seems obvious that symux isn't detecting rollover properly for whatever variable you are seeing a graph "spike". It should be fairly easy for them to fix if you report it. The fact that it affects 64bit and not 32bit counters is a damn good clue. symux reports measurements to rrdtool, and rrdtool tries to detect rollovers. Without looking at any source I would guess that the new pfctl -f zeros the queue stat counts, which would lead to rrdtool making a false overflow detection. This should affect both 32/64 bit archs. In my last email, all 4.8 platform makes them same behavior. Also note that this would be hard to fix in symon/symux; pfctl is right to reset the stats, and rrdtools overflow handling is nice for when you Comparing to systat(1) at queue view, when "pfctl -f /etc/pf.conf" was executed, the counters went "*", is it zero-ed? have overflows. I don't see a simple way of second guessing either of them in the symon/symux source. So the solution (right now) would be using rrdtool overflow handling. We already contacted the maintainer, still no reply though. ^^^ This is the first mail I received about this subject, or are were you talking about someone else? Sorry Will, I'am talking about someone else, with less english writing skill :D Cheers, Willem Thanks, Insan Praja Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
Hi, On Sun, 23 Jan 2011 01:54:32 +0700, Willem Dijkstra wrote: On 01/22/2011 01:27 AM, Insan Praja SW wrote: Seems obvious that symux isn't detecting rollover properly for whatever variable you are seeing a graph "spike". It should be fairly easy for them to fix if you report it. The fact that it affects 64bit and not 32bit counters is a damn good clue. symux reports measurements to rrdtool, and rrdtool tries to detect rollovers. Without looking at any source I would guess that the new pfctl -f zeros the queue stat counts, which would lead to rrdtool making a false overflow detection. This should affect both 32/64 bit archs. In my last email, all 4.8 platform makes them same behavior. Also note that this would be hard to fix in symon/symux; pfctl is right to reset the stats, and rrdtools overflow handling is nice for when you have overflows. I don't see a simple way of second guessing either of them in the symon/symux source. So the solution (right now) would be using rrdtool overflow handling. We already contacted the maintainer, still no reply though. ^^^ This is the first mail I received about this subject, or are were you talking about someone else? Sorry Will, I'am talking about someone else, with less english writing skill :D Cheers, Willem Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
Hi, On Sat, 22 Jan 2011 07:27:46 +0700, Insan Praja SW wrote: Hi all, On Sun, 16 Jan 2011 18:58:12 +0700, Insan Praja SW wrote: Hi, On Fri, 14 Jan 2011 10:48:24 +0700, Chris Cappuccio wrote: Seems obvious that symux isn't detecting rollover properly for whatever variable you are seeing a graph "spike". It should be fairly easy for them to fix if you report it. The fact that it affects 64bit and not 32bit counters is a damn good clue. After taking a shot at i386 4.8-stable, there are also spikes everytime pf reloaded. We already contacted the maintainer, still no reply though. Graph spike happens every time pf is reload (pfctl -f /etc/pf.conf) in an AMD64 machines, but doesn't happen on i386 4.7-stable. I see there is a difference in symux version ( 2.79 on 4.7 and 2.82 on 4.8). So I decided to take a look at /usr/local/share/symon/c_smrrds.sh on both version, there are differences like mbuf and sensors addition and pfq. From what I notice that: 2.79 pfq_*.rrd) # Build pfq file create_rrd $i \ DS:sent_bytes:COUNTER:$INTERVAL:0:U \ DS:sent_packets:COUNTER:$INTERVAL:0:U \ DS:drop_bytes:COUNTER:$INTERVAL:0:U \ DS:drop_packets:COUNTER:$INTERVAL:0:U ;; 2.82 pfq_*.rrd) # Build pfq file create_rrd $i \ DS:sent_bytes:COUNTER:$INTERVAL:0:U \ DS:sent_packets:COUNTER:$INTERVAL:0:U \ DS:drop_bytes:COUNTER:$INTERVAL:0:U \ DS:drop_packets:COUNTER:$INTERVAL:0:U \ DS:bytes_in:COMPUTE:sent_bytes,1,* \ DS:bytes_out:COMPUTE:sent_bytes,1,* ;; Is it possible that these changes might be the source of queue graph spike we've seen? Thanks, Insan Praja Thanks, Insan Praja Thanks Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: [OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
Hi all, On Sun, 16 Jan 2011 18:58:12 +0700, Insan Praja SW wrote: Hi, On Fri, 14 Jan 2011 10:48:24 +0700, Chris Cappuccio wrote: Seems obvious that symux isn't detecting rollover properly for whatever variable you are seeing a graph "spike". It should be fairly easy for them to fix if you report it. The fact that it affects 64bit and not 32bit counters is a damn good clue. After taking a shot at i386 4.8-stable, there are also spikes everytime pf reloaded. We already contacted the maintainer, still no reply though. Graph spike happens every time pf is reload (pfctl -f /etc/pf.conf) in an AMD64 machines, but doesn't happen on i386 4.7-stable. I see there is a difference in symux version ( 2.79 on 4.7 and 2.82 on 4.8). Thanks, Insan Praja Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Kernel panic at 7th January i386-current
pool bgpd 12733 1 12733 0 3 0x280 pool bgpd 12200 29198 29198 85 3 0x2000180 kqread ospfd 15596 29198 29198 85 3 0x2000180 kqread ospfd 29198 1 29198 0 3 0x280 kqread ospfd 20032935293591 3 0x2000180 kqread snmpd --db_more-- Thanks, Insan Praja SW. -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: LACP trunk load balancing hash algorithm
On Wed, 19 Jan 2011 07:10:33 +0700, Ted Unangst wrote: On Tue, Jan 18, 2011 at 6:40 PM, David Gwynne wrote: On 18/01/2011, at 11:25 PM, Insan Praja SW wrote: My november 21st i386.MP -current handles 1.3Mpps inbound and 1.3Mpps outbound packet during rootkits attacks on one of our collocated costumer, on an 80Mbps traffic, via a vlan interface. CPU is 1% idle, system still responsive (I get to ssh-ed the machine and see systat). where were you reading this 1.3Mpps value from? I think David is asking because 1.3Mpps and 80Mbps implies your traffic consists of 8 byte packets, which may be enough for source and destination IP addresses, but doesn't leave room for the port numbers. :) It's on the total IPKTS and OPKTS on systat vmstat, this is the captured packets. 00:15:17:49:03:b4 00:15:17:49:02:31 0800 92: 202.43.64.61.49334 > 168.144.196.66.53: [udp sum ok] 29556 updateM [b2&3=0x6400] [0q] [83au] (50) (ttl 62, id 14151, len 78) 00:15:17:49:03:b4 00:15:17:49:02:31 0800 92: 202.43.64.61.49334 > 168.144.196.66.53: [udp sum ok] 29556 updateM [b2&3=0x6400] [0q] [83au] (50) (ttl 62, id 14154, len 78) 00:15:17:49:03:b4 00:15:17:49:02:31 0800 92: 202.43.64.61.49334 > 168.144.196.66.53: [udp sum ok] 29556 updateM [b2&3=0x6400] [0q] [83au] (50) (ttl 62, id 14157, len 78) 00:15:17:49:03:b4 00:15:17:49:02:31 0800 92: 202.43.64.61.49334 > 168.144.196.66.53: [udp sum ok] 29556 updateM [b2&3=0x6400] [0q] [83au] (50) (ttl 62, id 14160, len 78) Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: LACP trunk load balancing hash algorithm
On Wed, 19 Jan 2011 06:40:59 +0700, David Gwynne wrote: On 18/01/2011, at 11:25 PM, Insan Praja SW wrote: My november 21st i386.MP -current handles 1.3Mpps inbound and 1.3Mpps outbound packet during rootkits attacks on one of our collocated costumer, on an 80Mbps traffic, via a vlan interface. CPU is 1% idle, system still responsive (I get to ssh-ed the machine and see systat). where were you reading this 1.3Mpps value from? Systat vmstat dlg Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: LACP trunk load balancing hash algorithm
On Tue, 18 Jan 2011 18:51:32 +0700, Claudio Jeker wrote: On Mon, Jan 17, 2011 at 11:35:02PM -0500, Jason Healy wrote: I had a few hours to play with a hardware traffic generator today, I wanted to try beating up my OpenBSD setup to see what kind of throughput I could get. For the curious, I was able to pulverize it with 64 byte packets and it topped out at about 165kpps. Throughput was less than physical interface speed (about 800Mbps). For fun, I cranked the payload size up to 1500 bytes, but I couldn't get the box to exceed 1Gbps, even though I had several gigabit interfaces trunked together. At first, it was a switch problem (the switch was sending all the traffic over a single link). However, after I found out my switches LACP hash algorithm I was able to spread the traffic out by randomizing the port numbers. I then confirmed that 4Gbps of traffic was leaving the switch to the OpenBSD box, but only 1Gbps was coming back. Therefore, I'm guessing that the load-balancing algorithm for OpenBSD does not behave the same way as my Juniper switching gear. Does anybody know the LACP hash that the trunk interface in OpenBSD uses to load-balance the outgoing traffic? I didn't have time to do more than a cursory test with different port numbers and IP addresses, so I'm not sure what I might be doing wrong, or if its even possible to use layer 3/4 info in OpenBSD to hash the traffic. Since I'm using the box as a router, layer 2 hashing doesn't help me very much since the source MAC is always the same. I took a peek at the source, but I'm definitely not a C hacker, so nothing jumped out at me for computing the hash... 165kpps is fairly low. Please add a dmesg so there is a chance to see what is causing this low rate. Modern HW with good nics should handle around 500kpps. My november 21st i386.MP -current handles 1.3Mpps inbound and 1.3Mpps outbound packet during rootkits attacks on one of our collocated costumer, on an 80Mbps traffic, via a vlan interface. CPU is 1% idle, system still responsive (I get to ssh-ed the machine and see systat). Btw. trunk is using src & dest MAC addrs, a possible vlan tag and the IP / IPv6 src & dst addrs to build the hash. It does not use port numbers. The function used for this is trunk_hashmbuf(). dmesg: OpenBSD 4.8-current (GENERIC.MP) #21: Sun Nov 21 03:46:30 WIT 2010 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 2142744576 (2043MB) avail mem = 2097610752 (2000MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc
Re: [OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
Hi, On Fri, 14 Jan 2011 10:48:24 +0700, Chris Cappuccio wrote: Seems obvious that symux isn't detecting rollover properly for whatever variable you are seeing a graph "spike". It should be fairly easy for them to fix if you report it. The fact that it affects 64bit and not 32bit counters is a damn good clue. We already contacted the maintainer, still no reply though. Graph spike happens every time pf is reload (pfctl -f /etc/pf.conf) in an AMD64 machines, but doesn't happen on i386 4.7-stable. I see there is a difference in symux version ( 2.79 on 4.7 and 2.82 on 4.8). Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
[OOT] AMD64 4.8 -stable Symux graph spike everytime pf(4) reload
Hi Misc@, Has anyone encountered symux rrd graph spike on an AMD64 4.8-stable? I have a Cacti installed on an amd64 4.8-stable and i386 4.7-stable. Graph spike happens every time pf is reload (pfctl -f /etc/pf.conf) in an AMD64 machines, but doesn't happen on i386 4.7-stable. I see there is a difference in symux version ( 2.79 on 4.7 and 2.82 on 4.8). Anyone had a clue? Thanks, Insan Praja DMESG (AMD64-stable): OpenBSD 4.8-stable (GENERIC.MP) #1: Sun Dec 19 01:03:57 WIT 2010 r...@ns2.mygreenlinks.net:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2110259200 (2012MB) avail mem = 2040262656 (1945MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf06d0 (48 entries) bios0: vendor American Megatrends Inc. version "0604" date 07/22/2010 bios0: ASUSTeK Computer INC. P5G41T-M LX acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI acpi0: wakeup devices P0P2(S4) P0P3(S4) P0P1(S4) UAR1(S4) PS2K(S4) PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) EUSB(S4) MC97(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz, 2934.52 MHz cpu0: FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu0: 3MB 64b/line 8-way L2 cache cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz, 2934.17 MHz cpu1: FPU,VME,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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG cpu1: 3MB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P2) acpiprt2 at acpi0: bus -1 (P0P3) acpiprt3 at acpi0: bus 2 (P0P1) acpiprt4 at acpi0: bus 1 (P0P4) acpiprt5 at acpi0: bus -1 (P0P5) acpicpu0 at acpi0 acpicpu1 at acpi0 aibs0 at acpi0 acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB cpu0: unknown Enhanced SpeedStep CPU, msr 0x06160b2506000b25 cpu0: using only highest and lowest power states cpu0: Enhanced SpeedStep 2934 MHz: speeds: 2933, 1600 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel G41 Host" rev 0x03 vga1 at pci0 dev 2 function 0 "Intel G41 Video" rev 0x03 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 10) drm0 at inteldrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 2 int 21 (irq 5) azalia0: codecs: Realtek/0x0887 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 16 (irq 10) pci1 at ppb0 bus 1 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 3) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 (irq 6) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 (irq 10) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 3) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci2 at ppb1 bus 2 rl0 at pci2 dev 0 function 0 "D-Link 530TX+" rev 0x10: apic 2 int 19 (irq 10), address 00:1e:58:3e:70:45 rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci2 dev 1 function 0 "D-Link 530TX+" rev 0x10: apic 2 int 16 (irq 10), address 00:11:95:63:48:63 rlphy1 at rl1 phy 0: RTL internal PHY pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 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 apic 2 int 22 (irq 11) for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 usb1 at uhci0: USB revision 1.0 uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb2 at uhci1: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci2: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci3: USB revision 1.0 uhub4 at usb4 "Intel UHCI root h
Re: multicore processors gain
Hi, On Sat, 08 Jan 2011 18:48:00 +0700, Landry Breuil wrote: On Fri, Jan 7, 2011 at 7:54 PM, Ted Unangst wrote: On Fri, Jan 7, 2011 at 1:18 PM, Christian Weisgerber wrote: I guess Landry doesn't read this list, or he could tell you how his experiment with parallel ports building on a 64-way sparc64 T2 went. With 32 build jobs it looked like this: 0.8%Int 48.9%Sys 6.0%Usr 0.0%Nic 44.3%Idle around that all the time My understanding is that the T2 is closer to an 8-way machine. If we could recognize the real cores and balance appropriately, 8 build jobs shouldn't be too bad. At least with a 4-core 8-thread i7 processor, make -j 8 scales reasonably well. In that particular case, dpb jobs are a bit different than just running 'make -j'. It's more like "oh let's build XX ports at the same time", which is a perfect stresstest for smp. 32 Build jobs made the machine totally unusable (load was constant around 40/45 iirc), so far i've settled for 12 jobs, which spawns approx ~50/60 make processes in parallel (a single port build spawns 4/5 makes), more or less the same amount of shells, and smth like ~20 ssh process as it's the dpb master node. Load is constant around 20, and the machine is still 'responsive'. I have a SMP -i386 current that runs "make build" with -j switch that still forwarding 1Mpps packet, systat -i and bgpd. ssh and other works just normal. It's a Xeon 3110 Machine. 227 processes: 210 idle, 17 on processor All CPUs: 5.8% user, 0.0% nice, 16.9% system, 0.8% interrupt, 76.5% idle Landry Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: ifconfig(8) bridge(4) ifcost not working?
Hi Claudio@, On Sat, 11 Dec 2010 21:46:39 +0700, Claudio Jeker wrote: On Sat, Dec 11, 2010 at 08:59:26PM +0700, Insan Praja SW wrote: Hi All@, Has anyone trying to set an interface cost on a bridge(4) devices? It doesn't seem to work to me. What I'm trying to do is to create a link with L2 redundancy. I can't use trunk due to the nature of multi operator network. So I create both vlan(s) on both links and higher the cost on backup links. I can't do it on the backbone switch because this is a "shared" multipoint backbone. When I tried; #ifconfig bridge0 ifcost vlan4010 1000 The machines replies; ifconfig: bridge0: 1000: invalid argument You need to issue at least ifconfig bridge0 stp vlan4010 first. I guess you may want to do a ifconfig bridge0 proto rstp as well. You're right, should look to the manpages more carefully. After that the command works. Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
ifconfig(8) bridge(4) ifcost not working?
Hi All@, Has anyone trying to set an interface cost on a bridge(4) devices? It doesn't seem to work to me. What I'm trying to do is to create a link with L2 redundancy. I can't use trunk due to the nature of multi operator network. So I create both vlan(s) on both links and higher the cost on backup links. I can't do it on the backbone switch because this is a "shared" multipoint backbone. When I tried; #ifconfig bridge0 ifcost vlan4010 1000 The machines replies; ifconfig: bridge0: 1000: invalid argument dmesg: OpenBSD 4.8-current (GENERIC.MP) #11: Sun Nov 21 06:48:46 WIT 2010 r...@border-rf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 2142744576 (2043MB) avail mem = 2097610752 (2000MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:52:fc em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:52:fd ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 10), address 00:15:17:49:04:0d "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 9) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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 DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 (irq 11) sk0 at skc0
Re: Daily digest, Issue 1987 (37 messages)
Hi, On Thu, 02 Dec 2010 06:35:29 +0700, brett mm wrote: Subject: TP-LINK TL-WN722N Message-ID: Hi Misc@, Right now I'm trying to make this work in my OpenBSD machine. Google said that it is an otus(4) chipset (ATHEROS2)5416 and an ar9271 (Windows driver *.inf). otus0: echo command failed Hi, I recently got a TP-LINK TL-WN821N (different Ateros chipset to yours) and it works fine with OpenBSD 4.8 (both x86 and amd64 versions). They are pretty cheap (in Australia at least). As Damien said it is a different h/w. TL-WN821N also available here, the attraction of these TL-722N is that it had a detachable antenna so it had wider options of usage. The otus driver does not yet support 11g but 11n works. For amd64 you need to specify -mode 11g or it reverts to slow 11b protocol. It will not autoconfigure on boot so you will need to write a small ifconfig script to connet to the net, apart from that very reliable for me. Brett. Thanks, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: TP-LINK TL-WN722N
Hi Damien and Misc@, On Wed, 01 Dec 2010 02:22:36 +0700, Damien Bergamini wrote: otus(4) only supports the AR9170 chip which is a completely different beast than the AR9271. Thank you for your response. Well I just thought that I can use this WLAN dongle since it available in my country (Indonesia). Most of Indonesian wireless (small-to-medium) network mostly geared with Mikrotik devices, and I don't fancy them. This TL-WN722N had a detach-able antenna and I figure if I can make use of this maybe I can made something out of it. But I guess I should find another dongle or card that suitable with OpenBSD. The AR9271 chipset is not supported by OpenBSD, it would require a new driver. It is supported under Linux by the ath9k_htc driver so it would be possible to add support in OpenBSD by reusing code in athn(4). The AR9271 is not very interesting though, it didn't make it into a lot of products, is expensive, and these big USB dongles are boring and ugly. All the 802.11 USB devices made by Atheros have been quite disappointing. Damien Best Regards, Insan Praja SW -- Using Opera's revolutionary email client: http://www.opera.com/mail/
TP-LINK TL-WN722N
Hi Misc@, Right now I'm trying to make this work in my OpenBSD machine. Google said that it is an otus(4) chipset (ATHEROS2)5416 and an ar9271 (Windows driver *.inf). I'd looked at the source code (if_otus.c, usbdevs, usbdevs.h, usbdevs_data.h) and add the product ID. compiling is easy but it otus(4) didn't work. otus0: timeout waiting for command 0x80 reply otus0: echo command failed $usbdevs -vf /dev/usb1 Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 powered port 2 powered port 3 addr 2: high speed, power 500 mA, config 1, USB2.0 WLAN(0x9271), ATHEROS (0x0cf3), rev 1.08, iSerialNumber 12345 port 4 powered port 5 powered port 6 powered I only add a few lines such as product IDs. Anyone able to make this work? Well, This only a shot anyway. Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: Current fails to build
Hi, On Tue, 09 Nov 2010 03:01:34 +0700, Laurent CARON wrote: Hi, I'm trying to build current as of 2010 11 08. The build fails with: c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/lib.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/result.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/sexpr.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -c /usr/src/usr.sbin/bind/lib/isccc/symtab.c cc -I/usr/src/usr.sbin/bind/obj -I. -I/usr/src/usr.sbin/bind/obj/lib/dns/include -I/usr/src/usr.sbin/bind/lib/dns/include -I/usr/src/usr.sbin/bind/obj/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc -I/usr/src/usr.sbin/bind/lib/isc/include -I/usr/src/usr.sbin/bind/lib/isc/unix/include -I/usr/src/usr.sbin/bind/lib/isc/nothreads/include -I/usr/src/usr.sbin/bind/lib/isc/x86_32/include -I/usr/src/usr.sbin/bind/obj/lib/isccc/include -I/usr/src/usr.sbin/bind/lib/isccc/include -O2 -pipe -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -DVERSION=\"9.4.2-P2\" -DLIBINTERFACE=30 -DLIBREVISION=1 -DLIBAGE=0 -c /usr/src/usr.sbin/bind/lib/isccc/version.c /usr/bin/ar cruv libisccc.a alist.o base64.o cc.o ccmsg.o lib.o result.o sexpr.o symtab.o version.o a - alist.o a - base64.o a - cc.o a - ccmsg.o a - lib.o a - result.o a - sexpr.o a - symtab.o a - version.o ranlib libisccc.a touch timestamp making all in /usr/src/usr.sbin/bind/obj/lib/dns cc -O2 -pipe -I/usr/src/usr.sbin/bind/lib/isc/include-o gen /usr/src/usr.sbin/bind/lib/dns/gen.c ./gen -s /usr/src/usr.sbin/bind/lib/dns -t > include/dns/enumtype.h Bad system call (core dumped) *** Error code 140 Stop in /usr/src/usr.sbin/bind/obj/lib/dns (line 430 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj/lib (line 104 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind/obj (line 102 of Makefile). *** Error code 1 Stop in /usr/src/usr.sbin/bind (line 55 of /usr/src/usr.sbin/bind/Makefile.bsd-wrapper). *** Error code 1 Stop in /usr/src/usr.sbin (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 48 of /usr/share/mk/bsd.subdir.mk). *** Error code 1 Stop in /usr/src (line 74 of Makefile). # Do any one of you have a clue ? Compile kernel first, then reboot and than build. Thanks HTH Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: MAC address filtering
On Mon, 08 Nov 2010 15:29:28 +0700, Claudio Jeker wrote: On Mon, Nov 08, 2010 at 02:07:20PM +0700, Insan Praja SW wrote: Dear Misc@, Sorry on the previous message, wrong button pressed. to be continue, I will setup a bridge with only an interface that facing my office, and tag it in accordance to ifconfig(8). In pf I'll simply pass this. Can I do that? It could work. I think the needed bridge_filterrule() calls are in the right place so that local traffic is tagged as well. If a bridge with a single interface fails, you could try one with vether(4). Thanks Claudio, OTOH, why not simply make hostname.ifname has hostname.bridgename capability to tags packet? But this is entirely up to the devs, and I'm happy enough to use bridge to do this. Best Regards, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
MAC address filtering
Dear Misc@, Sorry on the previous message, wrong button pressed. to be continue, I will setup a bridge with only an interface that facing my office, and tag it in accordance to ifconfig(8). In pf I'll simply pass this. Can I do that? Thanks, Insan Praja -- Using Opera's revolutionary email client: http://www.opera.com/mail/
MAC address-Based Filtering
Hi Misc@, I need to filter based on MAC on my office network. The simplest thing right now for us is using a mikrotik system to filter MAC address. Base on man ifconfig, I can do it on a bridge device. So if I chose to use this approach, -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: redistributing routes
On Sat, 23 Oct 2010 19:25:22 +0700, Tony Sarendal wrote: On Sat, Oct 23, 2010 at 2:05 PM, Insan Praja SW wrote: Hi Tony, On Sat, 23 Oct 2010 18:44:46 +0700, Tony Sarendal wrote: Is there a way to redistribute routes from BGP to OSPF using bgpd and ospfd ? on bgpd.conf you might want to do this: match from $peer1 inet prefix xxx.xxx.xxx.xxx/xx prefixlen bla_bla set rtlabel from_bgpd on ospfd.conf you do this: redistribute rtlabel from_bgpd I have a network where the core concists of openbsd devices using bgpd to distribute routing information. At present we need to use static routing if we connect devices that do not support BGP. Regards Tony Good Luck, I was considering an approach like that, but the bgpd man page suggests that it wouldnt work. ATTRIBUTE SET AS path attributes can be modified with set. set can be used on network statements, in neighbor or group blocks, and on filter rules. Attribute sets can be expressed as lists. The following attributes can be modified: ... rtlabel label Add the prefix with the specified label to the kernel routing table. Is this an error in the page or me reading it wrong ? If this works as expected, is this the recommended way of doing it ? Regards Tony well, bgpd stores the prefixes with label to kernel, and ospfd read this label from kernel, and distribute them. -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Re: redistributing routes
Hi Tony, On Sat, 23 Oct 2010 18:44:46 +0700, Tony Sarendal wrote: Is there a way to redistribute routes from BGP to OSPF using bgpd and ospfd ? on bgpd.conf you might want to do this: match from $peer1 inet prefix xxx.xxx.xxx.xxx/xx prefixlen bla_bla set rtlabel from_bgpd on ospfd.conf you do this: redistribute rtlabel from_bgpd I have a network where the core concists of openbsd devices using bgpd to distribute routing information. At present we need to use static routing if we connect devices that do not support BGP. Regards Tony Good Luck, -- Using Opera's revolutionary email client: http://www.opera.com/mail/
No Livelock on 2 Oct 2010 current
Hi Misc@, On this machine; OpenBSD 4.8-current (GENERIC.MP) #5: Sat Oct 2 21:06:09 WIT 2010 r...@border-rf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 1069002752 (1019MB) avail mem = 1041489920 (993MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x3fbe4000 (42 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800 0xcb800/0x1000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:52:fc em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:52:fd ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 10), address 00:15:17:49:04:0d "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 9) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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 DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1c:f0:11:6c:d4 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 em3 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 5 int 22 (irq 11), address 00:07:e9:0f:44:e3 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) radeondrm0 at vga1: apic 5 int 18 (irq 11) drm0 at radeondrm0 em4 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5
Re: PF rtable on 1st July i386 -current not working
Hi All, On Mon, 05 Jul 2010 18:56:44 +0700, Claudio Jeker wrote: On Mon, Jul 05, 2010 at 02:39:11PM +0700, Insan Praja SW wrote: Hi Misc@, Recently I've updated my routers kernel to 1t July i386 current. Rulesets like: pass in quick log on $int_if inet from to ! rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) pass in quick log on $int_if inet proto {tcp udp} from to $dns_servers port {domain} keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) Anything I should do? Please be more precise. What does not work. Do the rules not match, does it not log, does it not move the traffic to rtable 2 or is there a problem with altq? Obviously not with altq, I resolve the problem by changing the syntax from using rtable to using route-to. into something from; pass in quick log on $int_if inet from to ! rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) to; pass in quick log on $int_if inet from to ! keep state (sloppy source-track global) route-to ($rtable_ext rtable_def_gtw) tag INTERNAL_OUT queue (internal int_ack) and it works. With this little information I guess nobody is willing to try to figure out what may go wrong. Thanks, -- insandotpraja(at)gmaildotcom
PF rtable on 1st July i386 -current not working
Hi Misc@, Recently I've updated my routers kernel to 1t July i386 current. Rulesets like: pass in quick log on $int_if inet from to ! rtable 2 keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) pass in quick log on $int_if inet proto {tcp udp} from to $dns_servers port {domain} keep state (sloppy source-track global) tag INTERNAL_OUT queue (internal int_ack) Anything I should do? Thanks, DMESG: OpenBSD 4.7-current (GENERIC.MP) #18: Thu Jul 1 01:16:34 WIT 2010 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 2142744576 (2043MB) avail mem = 2098540544 (2001MB) RTC BIOS diagnostic error f mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:51:72 em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:51:73 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 10), address 00:15:17:49:03:b3 "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 9) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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 DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1e:58:9a:99:65 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 skc1 at pci4 dev 1 function 0 "D-Link DGE-5
Re: traffic management
Hi, On Wed, 02 Jun 2010 00:21:16 +0700, irix wrote: Hello Misc, Are there any plans have changed in the system of traffic control? For example removal of code altq from pf and make a separate management interface traffic other than pf. Or replace altq to something else, more fast, simple and functional. Or revision of an existing traffic management system. I love ALTQ integration to PF, and IMHO, ALTQ works just fine. Do you have any problem with altq? HTH, -- insandotpraja(at)gmaildotcom
Re: Possible bug ? Re: 4.7 Release - bgpd not passing IBGP routes
Hi, On Sun, 30 May 2010 02:34:12 +0700, a b wrote: Hi, Further to my earlier email, additional experimentation shows that removal of "set localpref" from my config file on BSD02 allows full mesh IBGP to correctly occur. Reinsertion of "set localpref" makes the issue originally reported reappear. By setting received prefixes to localpref 400, it would be preferable to the router thus made other similar prefixes with lower localpref unselected. But, yes, it should appeared on RIB. Please show us "bgpctl sh rib" output from all routers. And, if I'm not mistaken, if there are prefixes with the same metrics comes from both eBGP and iBGP, prefixes from eBGP peers will be chosen. HTH, -- insandotpraja(at)gmaildotcom
Re: 4.7 Release - bgpd not passing IBGP routes
Hi, On Sat, 29 May 2010 18:25:12 +0700, a b wrote: Hi, I've got a curious problem with a test I've been doing with bgpd on 4.7 release. Hopefully someone can point out where I am going wrong. Test Layout : BSD01 -> EBGP01 BSD02 -> EBGP01 BSDxx are both 4.7 release BGP speakers in private ASN 64550 (OSPF running between them as IGP) EBGP01 is a non OpenBSD BGP speaker in private ASN 65432 (just sending default route for test purposes) BSD01 does not appear to be receiving routes from BSD02 (in this case, it should be learning a higher pref default route from BSD02 over IBGP) on BSD01 : # bgpctl show sum Neighbor ASMsgRcvd MsgSent OutQ Up/Down State/PrfRcvd BSD0264550 19 19 0 00:15:25 0 EBGP BOX 65432 20 19 0 00:17:09 1 #bgpctl show rib *> 0.0.0.0/0 172.16.99.254 400 0 65432 i on BSD02 : # bgpctl show sum Neighbor AS MsgRcvd MsgSent OutQ Up/Down State/PrfRcvd BSD0164550 121 125 0 00:20:25 1 EBGP BOX 65432 1163 1188 0 01:17:09 1 #bgpctl show rib I*> 0.0.0.0/0 172.16.99.254 400 0 65432 i * 0.0.0.0/0 172.16.99.254 100 0 65432 i bgpd.conf from BSD01 : PEER_ASN="65432" LOCAL_ASN="64550" MY_ID="192.168.152.1" REMOTE_IP="172.16.99.254" IBGP_PEER="192.168.152.2" LO1_IP="192.168.152.1" AS $LOCAL_ASN router-id $MY_ID holdtime 180 holdtime min 3 fib-update yes group "transit 65432" { set localpref 400 remote-as $PEER_ASN neighbor $REMOTE_IP { descr "EBGP BOX" announce self ^ I think you need to re-assess that. from man (5) bgpd.conf announce (all|none|self|default-route) If set to none, no UPDATE messages will be sent to the neighbor. If set to default-route, only the default route will be announced to the neighbor. If set to all, all generated UPDATE messages will be sent to the neighbor. This is usually used for transit AS's and IBGP peers. The default value for EBGP peers is self, which limits the sent UPDATE messages to announcements of the local AS. The default for IBGP peers is all. Which, you need to have sth like: network 0.0.0.0/0 } } group "IBGP Mesh" { remote-as $LOCAL_ASN local-address $LO1_IP neighbor $IBGP_PEER { descr "BSD02" } } bgpd.conf from BSD02 : PEER_ASN="65432" LOCAL_ASN="64550" MY_ID="192.168.152.2" REMOTE_IP="172.16.99.254" IBGP_PEER="192.168.152.1" LO1_IP="192.168.152.2" AS $LOCAL_ASN router-id $MY_ID holdtime 180 holdtime min 3 fib-update yes group "transit 65432" { set localpref 400 remote-as $PEER_ASN neighbor $REMOTE_IP { descr "EBGP BOX" announce self } } group "IBGP Mesh" { remote-as $LOCAL_ASN local-address $LO1_IP neighbor $IBGP_PEER { descr "BSD01" } } HTH, -- insandotpraja(at)gmaildotcom
Re: rdomain, mpe, ldpd, OpenBGPD and PF
Hi Claudio, Thanks, I'll report back to you after I'm done with my first test. On Mon, 24 May 2010 20:11:46 +0700, Claudio Jeker wrote: On Mon, May 24, 2010 at 05:23:00PM +0700, Insan Praja SW wrote: Hi Misc@, Before I begin to test OpenBGPD mpls VPN support on current, is there any hints on route-leaking, and an example/hints to make a complete setup MPLS cloud and MPLS/VPN on a network. In my later experiences using OpenBSD, I use pf with rtable to make a VPN-like network without isolation on the network. Now I need to know if there are ways to have a semi-isolated network when using rdomain or anything like it. Passing traffic between VPNs is either done in pf(4) by setting the rtable on a rule or by importing routes in BGP (import/export-target). The first method is much more flexible but more static. First of all you need the attached diff to play with the kernel MPLS part. With that in you can start playing with the various parts. 1. You need to MPLS enable the interfaces that do MPLS In my test I use a vlan for this: # more /etc/hostname.vlan2003 vlan 2003 vlandev sis0 inet 10.83.128.26 255.255.255.248 NONE mpls 2. Then it is best to have a loopback interface: # more /etc/hostname.lo1 inet 10.83.66.23 255.255.255.255 NONE 3. LDP config: router-id 10.83.66.23 distribution independent retention liberal advertisement unsolicited interface lo1 { } interface vlan2003 { } 4. I use ospfd as IGP, there is nothing special needed here. 5. create a rdomain 1: # more /etc/hostname.vlan2017 rdomain 1 vlan 2017 vlandev sis0 inet 192.168.220.1 255.255.255.0 6. create a mpe(4) in rdomain 1: # more /etc/hostname.mpe0 rdomain 1 mplslabel 543 inet 10.83.66.129 255.255.255.255 Note: it is necessary to have an IP on mpe(4) but it does not matter which one you pick. I normaly use the loopback IP but maybe using the vlan2017 IP would be smarter. 7. BGP config: AS 65003 router-id 10.83.66.23 listen on 10.83.66.23 rdomain 1 { descr "CUSTOMER1" rd 65003:1 import-target rt 65003:1 export-target rt 65003:1 depend on mpe0 network 192.168.220/24 } group ibgp { announce IPv4 unicast announce IPv4 vpn remote-as 65003 local-address 10.83.66.23 neighbor 10.83.66.2 { descr c2 } } Start ospfd, bgpd, and ldpd and hope for the best (check that all sessions come up). Setup something similar on a second system. Use e.g. ping -V1 -I 192.168.220.1 192.168.221.1 to test the VPN. It is possible to use gif/gre instead of LDP -- just use a gre interface in point 1 and skip everyting that needs LDP. Thanks, -- insandotpraja(at)gmaildotcom
rdomain, mpe, ldpd, OpenBGPD and PF
Hi Misc@, Before I begin to test OpenBGPD mpls VPN support on current, is there any hints on route-leaking, and an example/hints to make a complete setup MPLS cloud and MPLS/VPN on a network. In my later experiences using OpenBSD, I use pf with rtable to make a VPN-like network without isolation on the network. Now I need to know if there are ways to have a semi-isolated network when using rdomain or anything like it. Thanks, Insan Praja -- insandotpraja(at)gmaildotcom
Re: How to figure out the error location?
Hi, On Mon, 24 May 2010 12:31:56 +0700, Bret S. Lambert wrote: On Mon, May 24, 2010 at 12:52:39AM +0200, Roger Schreiter wrote: Hi, we've been running a BGP router on OpenBSD for the months without problems. Now it crashed two times within 4 days. After the second crash, I could have a look on the screen: uvm_fault (0xd088cfc0, 0x6c4e2000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pool_do_get+0x11b: movl 0(%ebx),%eax Is there any mean to figure out, which driver did cause the problem? Yes, by following the instructions which accompanied this message. WTF is it with people unable to do that lately? There is a 4xFE-NIC from D-Link (interface ste0 .. 3), whose driver seems to be new at OpenBSD-4.6. Maybe OOT, but I suggest your replace D-link 4xFE with something else.. It has some problem with PF. I've replace mine a long time ago. Should I try updating to OpenBSD-4.7? Regards, Roger. Regards, Insan -- insandotpraja(at)gmaildotcom
Re: Mandoc Compiling Error
On Sat, 22 May 2010 10:59:10 +0700, patrick keshishian wrote: look at "2010/05/09 - system Makefile changes" in the same current.html document. Viola, I guess I missed that one. I'll be careful next time. On Fri, May 21, 2010 at 8:12 PM, Insan Praja SW wrote: Hi Misc@, I'm trying to update one of my machine to latest current, while compiling mandoc(1) to follow http://www.openbsd.org/faq/current.html#20100403 instructions I got the following error. $ cd /usr/src/usr.bin/mandoc/ $ sudo make obj Password: "Makefile", line 9: Malformed conditional (${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4") "Makefile", line 9: Need an operator Fatal errors encountered -- cannot continue Is there something I missed? Thanks. -- insandotpraja(at)gmaildotcom Thanks, Insan Praja -- insandotpraja(at)gmaildotcom
Mandoc Compiling Error
Hi Misc@, I'm trying to update one of my machine to latest current, while compiling mandoc(1) to follow http://www.openbsd.org/faq/current.html#20100403 instructions I got the following error. $ cd /usr/src/usr.bin/mandoc/ $ sudo make obj Password: "Makefile", line 9: Malformed conditional (${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4") "Makefile", line 9: Need an operator Fatal errors encountered -- cannot continue Is there something I missed? Thanks. -- insandotpraja(at)gmaildotcom
Re: Using RDomain setup with pf(4) and bgpd(8)
Hi All, On Tue, 06 Apr 2010 22:27:33 +0700, Claudio Jeker wrote: On Tue, Apr 06, 2010 at 09:42:05PM +0700, Insan Praja SW wrote: Hi Misc@, Has anyone try to setup bgpd(8) configuration with pf(4) specifically with rdomain? I'm trying to setup a simple VPN routing (VRF like) on openbsd 4.7.i386-current (15 march 2010). RTFM-ing the manual, I could only come up with: 1. rtable on pf.conf is similar with rdomains. I don't know if there are additional parameters to includes an interface on a specific routing domain (eg. rdomain 1) to pf(4) ruleset. pf(4)'s rtable is smart enough to figure out if a state is between two rdomains or not. In the first case it acts similar to a NAT/RDR (but without modification of source or destination IP) in the second case only the lookup in the direction of the state will use the special routing table (reverse traffic will use the main table). 2. to supply routing table on rdomain 1 using bgpd(8), I had to set rtable 1 on global configuration, which also means that I had to setup another instance of bgpd to retain the default routing table (rtable 0). Running bgpd on different rdomains is currently not realy possible. bgpd does not allow to run on a completly different rdomain it will always user rdomain 0 for some stuff. I'm on the way to fix this but it is a 3500 line diff and is still not finished. My questions are: 1. Are there additional setup in pf rulesets to includes an interface that belongs to a specific rdomain? pf(4) knows when a packet/state is in a different rdomain. You can select rdomains based on the interfaces belonging to them e.g. by using interface groups but I know that there is an upcomming need for a "pass on rdomain 1". Here a quick example: pass on vlan203 Traffic is forwarded and route lookups etc, happen on the rdomain vlan203 is in. pass on vlan203 rtable 2 Traffic is passed and while going through pf the rdomain is switched to rtable 2 aka rdomain 2. So the route lookup will happen on that rdomain and not the rdomain vlan203 belongs to. Reverse traffic will also switch back to the original rdomain. Depending when the state is created (in vs. out) the ip_forward route lookup will happen in the translated or untranslated rdomain (so make sure you have routes available to make it to pf_test() in ip_output). 2. Is there anyway to setup vrf-like configurations without another instance of bgpd? or storing/injecting a bgpd rib from a neighbor into a specific routing table (eg. rtable 1)? Again this is comming with full BGP MPLS VPN support. Then you can use something like: rdomain 1 { descr "CUSTOMER1" rd 65003:1 import-target rt 65003:1 export-target rt 65003:1 } in bgpd.conf to add routes into rdomains. Thanks for your time to provide us clear explanation. I understand there are options between rtable and route-to/reply-to on pf ruleset. I choose rtable because it just simpler. The first time rdomain are integrated into OBSD makes my static rtable breaks, because it had to had an interface attached to it. Now it works again, and I got a link-layer address this time, from rdomain. I hope that you made your peace with these 3500 lines of diff :) (god knows how much beer to solve this), and OBSD has an rdomain support for pf, bgpd, ospfd, ldpd and npppd. Thanks and Good Luck, -- insandotpraja(at)gmaildotcom
Using RDomain setup with pf(4) and bgpd(8)
Hi Misc@, Has anyone try to setup bgpd(8) configuration with pf(4) specifically with rdomain? I'm trying to setup a simple VPN routing (VRF like) on openbsd 4.7.i386-current (15 march 2010). RTFM-ing the manual, I could only come up with: 1. rtable on pf.conf is similar with rdomains. I don't know if there are additional parameters to includes an interface on a specific routing domain (eg. rdomain 1) to pf(4) ruleset. 2. to supply routing table on rdomain 1 using bgpd(8), I had to set rtable 1 on global configuration, which also means that I had to setup another instance of bgpd to retain the default routing table (rtable 0). My questions are: 1. Are there additional setup in pf rulesets to includes an interface that belongs to a specific rdomain? 2. Is there anyway to setup vrf-like configurations without another instance of bgpd? or storing/injecting a bgpd rib from a neighbor into a specific routing table (eg. rtable 1)? Thanks, Insan Praja -- insandotpraja(at)gmaildotcom
Re: OSPFd on Feb 17th 2010 -current Incompatibilities
Hi all, On Thu, 18 Feb 2010 18:54:04 +0700, Insan Praja SW wrote: Hi All, On Thu, 18 Feb 2010 05:32:43 +0700, Claudio Jeker wrote: On Thu, Feb 18, 2010 at 03:03:34AM +0700, Insan Praja SW wrote: Hi Misc@, Recently I updated one of my routers into current. We runs OSPFd as an IGP for our network. The update went success, but OSPFd wont get synchronized. On the kernel-updated routers "ospfctl sh neig" shows: $ ospfctl sh neig ID Pri StateDeadTime Address Iface Uptime on dec 20 kernel routers shows: $ ospfctl sh nei ID Pri StateDeadTime Address Iface Uptime 2ab.cde.fgh.229 1 FULL/DR 00:00:31 2ab.cde.fgh.6vlan6 01w2d21h 2ab.cde.fgh.226 1 DOWN/OTHER 00:36:21 2ab.cde.fgh.3vlan6 - 2ab.cde.fgh.227 1 FULL/BCKUP 00:00:31 2ab.cde.fgh.4vlan6 01w2d21h 2ab.cde.fgh.228 1 2-WAY/OTHER 00:00:31 2ab.cde.fgh.5vlan6 - The router-ids are their loopback interfaces. Below are their configs. Did you run ospfd -dvv on the box that is not working? Is there any info in the log? My ospfd's are quite happy at the moment. Few old ones, for non openbsd ones and a few -current ones. With the "ospfd -dvv" I finally found the problem. $ sudo ospfd -dvv password = "secret" warning: macro 'password' not used startup orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 if_fsm: event UP resulted in action START and changing state for interface vlan6 from DOWN to WAIT orig_asext_lsa: 1ab.cde.fg.240/30 age 0 orig_asext_lsa: 1hi.jkl.mn.196/30 age 0 orig_asext_lsa: 1op.qrs.tuv.112/30 age 0 orig_asext_lsa: 2ab.cde.fgh.32/30 age 0 rde_asext_get: 2ab.cde.fgh.0/29 is net LSA orig_asext_lsa: 2ab.cde.fgh.16/30 age 0 orig_asext_lsa: 2ab.cde.fg.4/30 age 0 orig_asext_lsa: 2hi.jkl.mno.232/30 age 0 spf_calc: area 0.0.0.0 calculated recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 <- This is it recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 ^Croute decision engine exiting orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 if_fsm: event DOWN resulted in action RESET and changing state for interface vlan6 from WAIT to DOWN ospf engine exiting kernel routing table decoupled terminating $ ifconfig lo lo0: flags=8049 mtu 33200 priority: 0 groups: lo egress inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff00 inet 2ab.cde.fgh.226 netmask 0x lo1: flags=8049 mtu 33200 description: BLACKHOLE priority: 0 groups: lo inet 127.0.0.2 netmask 0x Thanks, Insan Praja SW So I find out that there is a rdr rule in pf.conf which redirect ospf traffic to lo1 (silly me..). I fixed the rule and it stayed on init state. if_act_elect: interface vlan6 old dr none new dr 2ab.cde.fgh.3, old bdr none new bdr none orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 if_fsm: event WAITTIMER resulted in action ELECT and changing state for interface vlan6 from WAIT to DR recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.225 recv_ls_update: packet ignored in state INIT, neighbor ID 2ab.cde.fgh.228 recv_ls_update: packet ignored in state INIT, neighbor I
Re: OSPFd on Feb 17th 2010 -current Incompatibilities
Hi All, On Thu, 18 Feb 2010 05:32:43 +0700, Claudio Jeker wrote: On Thu, Feb 18, 2010 at 03:03:34AM +0700, Insan Praja SW wrote: Hi Misc@, Recently I updated one of my routers into current. We runs OSPFd as an IGP for our network. The update went success, but OSPFd wont get synchronized. On the kernel-updated routers "ospfctl sh neig" shows: $ ospfctl sh neig ID Pri StateDeadTime Address Iface Uptime on dec 20 kernel routers shows: $ ospfctl sh nei ID Pri StateDeadTime Address Iface Uptime 2ab.cde.fgh.229 1 FULL/DR 00:00:31 2ab.cde.fgh.6vlan6 01w2d21h 2ab.cde.fgh.226 1 DOWN/OTHER 00:36:21 2ab.cde.fgh.3vlan6 - 2ab.cde.fgh.227 1 FULL/BCKUP 00:00:31 2ab.cde.fgh.4vlan6 01w2d21h 2ab.cde.fgh.228 1 2-WAY/OTHER 00:00:31 2ab.cde.fgh.5vlan6 - The router-ids are their loopback interfaces. Below are their configs. Did you run ospfd -dvv on the box that is not working? Is there any info in the log? My ospfd's are quite happy at the moment. Few old ones, for non openbsd ones and a few -current ones. With the "ospfd -dvv" I finally found the problem. $ sudo ospfd -dvv password = "secret" warning: macro 'password' not used startup orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 if_fsm: event UP resulted in action START and changing state for interface vlan6 from DOWN to WAIT orig_asext_lsa: 1ab.cde.fg.240/30 age 0 orig_asext_lsa: 1hi.jkl.mn.196/30 age 0 orig_asext_lsa: 1op.qrs.tuv.112/30 age 0 orig_asext_lsa: 2ab.cde.fgh.32/30 age 0 rde_asext_get: 2ab.cde.fgh.0/29 is net LSA orig_asext_lsa: 2ab.cde.fgh.16/30 age 0 orig_asext_lsa: 2ab.cde.fg.4/30 age 0 orig_asext_lsa: 2hi.jkl.mno.232/30 age 0 spf_calc: area 0.0.0.0 calculated recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 <- This is it recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 recv_packet: packet sent to wrong address 127.0.0.2, interface vlan6 ^Croute decision engine exiting orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface vlan6 if_fsm: event DOWN resulted in action RESET and changing state for interface vlan6 from WAIT to DOWN ospf engine exiting kernel routing table decoupled terminating $ ifconfig lo lo0: flags=8049 mtu 33200 priority: 0 groups: lo egress inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff00 inet 2ab.cde.fgh.226 netmask 0x lo1: flags=8049 mtu 33200 description: BLACKHOLE priority: 0 groups: lo inet 127.0.0.2 netmask 0x Thanks, Insan Praja SW -- insandotpraja(at)gmaildotcom
OSPFd on Feb 17th 2010 -current Incompatibilities
Hi Misc@, Recently I updated one of my routers into current. We runs OSPFd as an IGP for our network. The update went success, but OSPFd wont get synchronized. On the kernel-updated routers "ospfctl sh neig" shows: $ ospfctl sh neig ID Pri StateDeadTime Address Iface Uptime on dec 20 kernel routers shows: $ ospfctl sh nei ID Pri StateDeadTime Address Iface Uptime 2ab.cde.fgh.229 1 FULL/DR 00:00:31 2ab.cde.fgh.6vlan6 01w2d21h 2ab.cde.fgh.226 1 DOWN/OTHER 00:36:21 2ab.cde.fgh.3vlan6 - 2ab.cde.fgh.227 1 FULL/BCKUP 00:00:31 2ab.cde.fgh.4vlan6 01w2d21h 2ab.cde.fgh.228 1 2-WAY/OTHER 00:00:31 2ab.cde.fgh.5vlan6 - The router-ids are their loopback interfaces. Below are their configs. --- DEC 20 KERNEL --- $ sudo ospfd -vnf /etc/ospfd.conf Password: password = "XX" router-id 2ab.cde.fgh.225 fib-update yes rfc1583compat no no redistribute 10.10.10.0/24 no redistribute default redistribute connected spf-delay 1 spf-holdtime 5 area 0.0.0.0 { interface vlan6:2ab.cde.fgh.2 { hello-interval 10 metric 10 retransmit-interval 5 router-dead-time 40 router-priority 1 transmit-delay 1 auth-type crypt auth-md-keyid 1 auth-md 1 XX } } $ ospfctl sh Router ID: 2ab.cde.fgh.225 Uptime: 01w2d22h RFC1583 compatibility flag is disabled SPF delay is 1 sec(s), hold time between two SPFs is 5 sec(s) Number of external LSA(s) 28 Number of areas attached to this router: 1 Area ID: 0.0.0.0 Number of interfaces in this area: 1 Number of fully adjacent neighbors in this area: 1 SPF algorithm executed 293 time(s) Number LSA(s) 18 --- 17 FEB KERNEL --- $ sudo ospfd -vnf /etc/ospfd.conf Password: password = "XX" router-id 2ab.cde.fgh.226 fib-update yes rfc1583compat no no redistribute 10.10.10.0/24 no redistribute default redistribute connected spf-delay msec 1000 spf-holdtime msec 5000 area 0.0.0.0 { interface vlan6:2ab.cde.fgh.3 { metric 10 retransmit-interval 5 router-dead-time 40 hello-interval 10 router-priority 1 transmit-delay 1 auth-type crypt auth-md-keyid 1 auth-md 1 XX } } $ ospfctl sh Router ID: 2ab.cde.fgh.226 Uptime: 00:40:28 RFC1583 compatibility flag is disabled SPF delay is 1000 msec(s), hold time between two SPFs is 5000 msec(s) Number of external LSA(s) 7 Number of areas attached to this router: 1 Area ID: 0.0.0.0 Number of interfaces in this area: 1 Number of fully adjacent neighbors in this area: 0 SPF algorithm executed 3 time(s) Number LSA(s) 1 Thanks, Insan Praja SW -- insandotpraja(at)gmaildotcom
Re: BGPD on 06 Dec i386-current
Hi Claudio and Misc@, On Sun, 06 Dec 2009 18:43:06 +0700, Claudio Jeker wrote: On Sun, Dec 06, 2009 at 04:45:12PM +0700, Insan Praja SW wrote: Hi Misc@, Just updating my router to current, BGPd failed to start with the following messages: $ tail -f /var/log/messages Dec 6 16:25:03 GreenRouter-JKT01 /bsd: root on wd0a swap on wd0b dump on wd0b Dec 6 16:25:02 GreenRouter-JKT01 savecore: no core dump Dec 6 16:25:07 GreenRouter-JKT01 bgpd[29261]: fatal in parent: socket: Protocol not supported Dec 6 16:26:48 GreenRouter-JKT01 bgpd[1371]: fatal in parent: socket: Protocol not supported Dec 6 16:27:15 GreenRouter-JKT01 bgpd[13894]: fatal in parent: socket: Protocol not supported Fixed in -current. rev 1.242 of parse.y Between this shiny compiled -i386 current (07 December 2009), bgpd between these two wont start with the following messages. GR-JKT01: Dec 7 20:05:54 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:06:56 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:08:35 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:13:27 GreenRouter-JKT01 last message repeated 3 times Dec 7 20:21:13 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef (BORDER-LF): bad AFI, IPv6 disabled Dec 7 20:23:22 GreenRouter-JKT01 bgpd[14382]: neighbor 202.90.abc.ef (BORDER-LF): socket error: Operation timed out Dec 7 20:25:24 GreenRouter-JKT01 bgpd[6692]: neighbor 202.90.abc.ef(BORDER-LF): bad AFI, IPv6 disabled B-LF: Dec 7 20:21:49 Border-LF bgpd[14756]: neighbor 202.90.abc.gh (JKT-CORE01): bad AFI, IPv6 disabled Dec 7 20:23:51 Border-LF bgpd[22797]: neighbor 202.90.abc.gh (JKT-CORE01): socket error: Operation timed out Dec 7 20:25:25 Border-LF bgpd[14756]: neighbor 202.90.abc.gh (JKT-CORE01): bad AFI, IPv6 disabled I tried to add these lines: announce IPv4 unicast to both routers, restart bgpd (pkill bgpd && sleep 5 && bgpd) but it still failed. The strange thing is, things just work with older kernel/current or different s/w or h/w (cizcoz etc). Thanks, -- insandotpraja(at)gmaildotcom
BGPD on 06 Dec i386-current
Hi Misc@, Just updating my router to current, BGPd failed to start with the following messages: $ tail -f /var/log/messages Dec 6 16:25:03 GreenRouter-JKT01 /bsd: root on wd0a swap on wd0b dump on wd0b Dec 6 16:25:02 GreenRouter-JKT01 savecore: no core dump Dec 6 16:25:07 GreenRouter-JKT01 bgpd[29261]: fatal in parent: socket: Protocol not supported Dec 6 16:26:48 GreenRouter-JKT01 bgpd[1371]: fatal in parent: socket: Protocol not supported Dec 6 16:27:15 GreenRouter-JKT01 bgpd[13894]: fatal in parent: socket: Protocol not supported So I copied bgpd from my other routers with 28 Nov kernel, and it works. DMESG: OpenBSD 4.6-current (GENERIC.MP) #15: Sun Dec 6 15:01:42 WIT 2009 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error f cpu0: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 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,VMX,EST,TM2,CX16,xTPR real mem = 2142744576 (2043MB) avail mem = 2067476480 (1971MB) RTC BIOS diagnostic error f mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 266MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu1: 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,VMX,EST,TM2,CX16,xTPR cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu2: 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,VMX,EST,TM2,CX16,xTPR cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz ("GenuineIntel" 686-class) 2.41 GHz cpu3: 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,VMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpicpu2 at acpi0: PSS acpicpu3 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 cpu0: Enhanced SpeedStep 2401 MHz: speeds: 2394, 1596 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:51:72 em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:51:73 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em2 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 10), address 00:15:17:49:03:b3 "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 11) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 9) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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): apic
Current pool size exceeds requested hard limit
Hi Misc@, Currently having a significant problem on one of my machine. It behaves like this: $ sudo pfctl -nf /etc/pf.conf $ sudo pfctl -f /etc/pf.conf pfctl: Current pool size exceeds requested hard limit I had set options on pf.conf: set skip on {pfsync} set ruleset-optimization basic set optimization aggressive set limit {states 100 table-entries 100} set reassemble yes no-df# NEW $ sudo pfctl -si Status: Enabled for 10 days 07:00:10 Debug: Urgent State Table Total Rate current entries 250300 searches 1019302806411463.0/s inserts371859875 418.2/s removals 371609575 417.9/s Counters match 658718746 740.8/s bad-offset 00.0/s fragment69070.0/s short2430.0/s normalize3040.0/s memory 00.0/s bad-timestamp 00.0/s congestion 00.0/s ip-option 00.0/s proto-cksum00.0/s state-mismatch 50500.0/s state-insert 980770.1/s state-limit00.0/s src-limit 400.0/s synproxy 00.0/s dmesg: OpenBSD 4.6-current (GENERIC.MP) #7: Mon Nov 16 05:41:01 WIT 2009 r...@netcorerouter.adadeh.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error e cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 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,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2143834112 (2044MB) avail mem = 2068709376 (1972MB) RTC BIOS diagnostic error e mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/12/07, SMBIOS rev. 2.5 @ 0x7fdfd000 (63 entries) bios0: vendor Intel Corporation version "S3200X38.86B.00.00.0045.082820081329" date 08/28/2008 bios0: Intel Corporation S3210SH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT MCFG HPET SPCR SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ DMAR acpi0: wakeup devices SLPB(S5) NPE1(S5) NPE6(S5) P32_(S5) PS2M(S1) PS2K(S1) ILAN(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4(S5) PEX5(S5) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) EHC2(S1) UH42(S1) UHC5(S1) UHC6(S1) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 332MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,VMX,SMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (NPE1) acpiprt2 at acpi0: bus -1 (NPE6) acpiprt3 at acpi0: bus 3 (P32_) acpiprt4 at acpi0: bus 1 (PEX0) acpiprt5 at acpi0: bus -1 (PEX1) acpiprt6 at acpi0: bus -1 (PEX2) acpiprt7 at acpi0: bus -1 (PEX3) acpiprt8 at acpi0: bus 2 (PEX4) acpiprt9 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1800 0xca800/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3000, 2000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x00 em0 at pci0 dev 25 function 0 "Intel ICH9 IGP AMT" rev 0x02: apic 5 int 20 (irq 11), address 00:15:17:8d:4c:c5 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 18 (irq 9) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 21 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 17 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "Matrox MGA G200e (ServerEngines)" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: s
PF and Pool
Hi Misc@, On -i386current, using systat I noticed some problems: on pf page, TYPE NAME VALUE RATE NOTES counter memory 14644826 170.04 on pool page, NAME SIZE REQUESTS FAILINUSEPGREQ PGREL NPAGE HIWAT MINPG MAXPG IDLE mbpl 256 709776637 86043 643 143 0 143 143 1 384 100 mcl2k 2048 217655197 1995 112 856 0 856 856 4 3072 798 pfruleitempl 1230514059 330201471356643661 0 43661 43661 0 80 pfstatepl 216 26986682 14705417 10 5556 0 5556 5556 0 55560 These must be a problem right? I've tried replacing RAM since I think these are memory problem. But it keep coming. Then I updated to current, it's not going anywhere. I think somewhere in the h/w there's something really wrong. Sometimes, something like these occurs: $ traceroute www.yahoo.com traceroute to www-real.wa1.b.yahoo.com (209.131.36.158), 64 hops max, 40 byte packets 1 114.134.73.241 (114.134.73.241) 17.869 ms 1.471 ms 1.111 ms 2 114.134.72.165 (114.134.72.165) 12.978 ms 31.337 ms 14.595 ms 3 116.51.17.97 (116.51.17.97) 13.974 mssendto: No route to host traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 * sendto: No route to host 4 traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 *sendto: No route to host traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 *sendto: No route to host traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 * sendto: No route to host 5 traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 *sendto: No route to host traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 *sendto: No route to host traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 $ traceroute www.yahoo.com traceroute: unknown host www.yahoo.com $ traceroute www.yahoo.com traceroute to www-real.wa1.b.yahoo.com (209.131.36.158), 64 hops max, 40 byte packets sendto: No route to host 1 traceroute: wrote www-real.wa1.b.yahoo.com 40 chars, ret=-1 I appreciate if anyone could shed some light or share experience about these kinda stuff. Thanks. The infamous dmesg; OpenBSD 4.6-current (GENERIC.MP) #13: Wed Sep 30 00:19:12 WIT 2009 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 9 cpu0: Intel(R) Pentium(R) D 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,CNXT-ID,CX16,xTPR real mem = 2142744576 (2043MB) avail mem = 2067693568 (1971MB) RTC BIOS diagnostic error 9 mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/26/07, SMBIOS rev. 2.4 @ 0x7fbe4000 (43 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0054.061120091710" date 06/11/2009 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,CNXT-ID,CX16,xTPR ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 cpu0: Enhanced SpeedStep 3000 MHz: speeds: 3000, 2400 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 9), address 00:15:17:86:51:72 em1 at pci2 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int
Re: PF-Changes: reply-to
Hi Henning and Misc@, On Sun, 06 Sep 2009 21:21:15 +0700, Henning Brauer wrote: * Insan Praja SW [2009-09-06 16:10]: Hi Misc@, I can't seem to use this syntax any more: pass in quick log on vlan101 reply-to {(vlan101 a.b.c.14)} inet proto icmp from to vlan101:0 keep state (sloppy source-track global) flags any tag INTERNAL_IN while this is working: pass in quick log on vlan101 reply-to {(vlan101 a.b.c.14)} http://www.openbsd.org/faq/current.html#20090902 I missed that, and thanks for pointing me out. -- insandotpraja(at)gmaildotcom
PF-Changes: reply-to
Hi Misc@, I can't seem to use this syntax any more: pass in quick log on vlan101 reply-to {(vlan101 a.b.c.14)} inet proto icmp from to vlan101:0 keep state (sloppy source-track global) flags any tag INTERNAL_IN while this is working: pass in quick log on vlan101 reply-to {(vlan101 a.b.c.14)} I am on the new shiny 4 sept 2009 kernel, which has the new shiny PF. Thanks, Insan dmesg: OpenBSD 4.6-current (GENERIC.MP) #11: Fri Sep 4 23:34:01 WIT 2009 r...@greenrouter-jkt01.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC.MP RTC BIOS diagnostic error 9 cpu0: Intel(R) Pentium(R) D 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,CNXT-ID,CX16,xTPR real mem = 2142744576 (2043MB) avail mem = 2067689472 (1971MB) RTC BIOS diagnostic error 9 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.0051.091720081311" date 09/17/2008 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 3.00GHz ("GenuineIntel" 686-class) 3 GHz cpu1: 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,CNXT-ID,CX16,xTPR ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 cpu0: Enhanced SpeedStep 3000 MHz: speeds: 3000, 2400 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 9), address 00:15:17:39:1c:bc "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1e:58:9a:99:65 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 skc1 at pci4 dev 1 function 0 "D-Link Systems DGE-530T B1" rev 0x11, Yukon Lite (0x9): apic 5 int 22 (irq 11) sk1 at skc1 port A: address 00:1e:58:9a:98:f6 eephy1 at sk1 phy 0: 88E1011 Gigabit PHY, rev. 5 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) radeondrm0 at vga1: apic 5 int 18 (irq 11) drm0 at radeondrm0 em1 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5 int 17 (irq 9), address 00:15:17:39:1c:bd 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 configur ed to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) pciide1 at pci0 dev
Re: 4.6 Release.. (and Something Else)
Hi Stuart, Marco & misc@, On Fri, 14 Aug 2009 02:08:05 +0700, Stuart Henderson wrote: On 2009-08-13, Insan Praja SW wrote: How do I migrate from 14 August 2009 current to 4.6 Release/Current?. libraries have been bumped since the 4.6 release was tagged. if you're having to ask how to do this, you're probably in the situation where you should just reinstall. I think I'm going to stick with -current, my last update will be november. According to Marco@, there will be a lot changes in the next 2 weeks since a hackathon is on-going now. Unless no urgent (interesting update :P) I'll stick with it. Another question, I have a vlan interface parent on an em (4). Reading through the manual, I set link0 on vlan interface so vlan hwtagging is activated. should I set em with link0 too? ouch, that's automatic, it should have been removed from ifconfig(8) eight years ago. any ok's for this? Ok with me.. :) Index: ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.183 diff -u -p -r1.183 ifconfig.8 --- ifconfig.8 23 Jun 2009 18:48:07 - 1.183 +++ ifconfig.8 13 Aug 2009 19:06:40 - @@ -1192,16 +1192,6 @@ If the vlan interface already has a physical interface associated with it, this command will fail. To change the association to another physical interface, the existing association must be cleared first. -.Pp -Note: if the -.Ar link0 -flag is set on the vlan interface, the vlan pseudo-interface's -behavior changes; -.Ar link0 -tells the vlan interface that the -parent interface supports insertion and extraction of vlan tags on its -own (usually in firmware) and that it should pass packets to and from -the parent unaltered. .It Fl vlandev If the driver is a .Xr vlan 4 Best Regards, Insan Praja -- insandotpraja(at)gmaildotcom
4.6 Release.. (and Something Else)
Hi Misc@, I'm planning on moving my 4.6-current to 4.6 release/stable, simply because I need to slow my self down since everytime there are fixes/commit to current source tree, I'm tempted to re-compile my kernel & userland, reboot and its not favorable to the company I work for. So I'm simply asking has a release been lockdown or ready? How do I migrate from 14 August 2009 current to 4.6 Release/Current?. My choice would simply take a release code/ISO, and upgrade/downgrade from that. Another question, I have a vlan interface parent on an em (4). Reading through the manual, I set link0 on vlan interface so vlan hwtagging is activated. should I set em with link0 too? Thanks. Best Regards, Insan Praja -- insandotpraja(at)gmaildotcom
Re: OSPFD + BGPD need to clarify behavior
Hi, On Wed, 29 Jul 2009 14:38:43 +0700, Ivo Chutkin wrote: Hallo Misc, I need some general clarification about OSPF and BGP behavior. I have tow border routers, border1(OpenBSD4.4 - stable)and border2(OpenBSD4.4 -stable), and one core router, core1(OpenBSD4.5 - stable). Each border router talk eBGP(full feeds) with one upstream provider and have iBGP session between them. No problems here. If your cores advertise default route, they both valid to core. So, ECMP occured. The Core will randomly select default routes. There you go. See also netstat -nr and route -nv get default output. The two borders and the core have ospf session to each other in one area. Border routers redistribute default to core1. Core1 redistribute connected to borders. No problems here as well. I noticed something strange though. I start mtr to ibm.com for exampe, on the core1, I get different result every time I issue the command. See the attached results. First trace: HostLoss% Snt Last Avg Best Wrst StDev 1. border2 0.0% 20.3 0.3 0.3 0.3 0.0 2. border1 0.0% 20.8 0.8 0.8 0.8 0.0 3. 212.73.129.85 0.0% 14.1 4.1 4.1 4.1 0.0 4. 212.162.46.17 0.0% 12.6 2.6 2.6 2.6 0.0 5. ae-10-10.ebr1.Frankfurt1.Level3. 0.0% 1 31.6 31.6 31.6 31.6 0.0 6. ae-61-61.csw1.Frankfurt1.Level3. 0.0% 1 31.6 31.6 31.6 31.6 0.0 7. ae-62-62.ebr2.Frankfurt1.Level3. 0.0% 1 31.3 31.3 31.3 31.3 0.0 8. ae-44-44.ebr2.Washington1.Level3 0.0% 1 120.6 120.6 120.6 120.6 0.0 9. ae-62-62.csw1.Washington1.Level3 0.0% 1 124.2 124.2 124.2 124.2 0.0 10. ge-0-3-0-69.bbr1.Washington1.Lev 0.0% 1 121.1 121.1 121.1 121.1 0.0 11. so-1-0-0.mpls2.Raleigh1.Level3.n 0.0% 1 127.5 127.5 127.5 127.5 0.0 12. so-10-0.hsa2.Raleigh1.Level3.net 0.0% 1 126.5 126.5 126.5 126.5 0.0 13. IBM-GS-NA.hsa2.Raleigh1.Level3.n 0.0% 1 127.2 127.2 127.2 127.2 0.0 14. ??? Second trace: HostLoss% Snt Last Avg Best Wrst StDev 1. border2 0.0% 10.9 0.9 0.9 0.9 0.0 2. 212.36.5.217 0.0% 10.8 0.8 0.8 0.8 0.0 3. spectrum-ic-131757-ffm-b10.c.tel 0.0% 1 29.8 29.8 29.8 29.8 0.0 4. ffm-b10-link.telia.net0.0% 1 29.7 29.7 29.7 29.7 0.0 5. ffm-bb2-link.telia.net0.0% 1 29.6 29.6 29.6 29.6 0.0 6. prs-bb2-link.telia.net0.0% 1 42.0 42.0 42.0 42.0 0.0 7. ash-bb2-link.telia.net0.0% 1 121.4 121.4 121.4 121.4 0.0 8. 192.205.34.2090.0% 1 127.8 127.8 127.8 127.8 0.0 9. cr1.wswdc.ip.att.net 0.0% 1 164.2 164.2 164.2 164.2 0.0 10. cr2.phlpa.ip.att.net 0.0% 1 158.7 158.7 158.7 158.7 0.0 11. cr2.cl2oh.ip.att.net 0.0% 1 157.5 157.5 157.5 157.5 0.0 12. cr1.sl9mo.ip.att.net 0.0% 1 163.0 163.0 163.0 163.0 0.0 13. 12.122.142.29 0.0% 1 158.4 158.4 158.4 158.4 0.0 14. 12.125.74.74 0.0% 1 160.3 160.3 160.3 160.3 0.0 15. ??? The route is changed every time I issue the mtr command. It also happens with yahoo and probably many other. Is this behavior normal or there is something wrong with my configuration? I will send my config files to you, just let me know what you need. Also, I will provide any additional info you request. I really appreciate your help. Thank you, Ivo __ Information from ESET NOD32 Antivirus, version of virus signature database 4286 (20090728) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Regards, -- insandotpraja(at)gmaildotcom
Re: About em (4)
Hi, On Wed, 15 Jul 2009 08:38:23 +0700, bsd...@gmail.com wrote: Presumably this would have been removed from the manual page if the issue were fixed. OpenBSD is usually good about keeping the documentation up to date and matching the code it comes with. On the other hand, it's difficult to test without knowing what the issue actually is... All my routers use em (4). I'm planning to move my cores physical access to jumbo frames network. I hope it could fasten our network a little bit, so I need to know if this udp traffic on jumbo frames will be a problem. If anyone had any experience with udp traffic on an em (4) jumbo frame setting, I'd love to hear them. On Tue, Jul 14, 2009 at 12:22 AM, Insan Praja SW wrote: Hi Misc@, From the em (4) man: BUGS There are known performance issues with this driver when running UDP traffic with Jumbo frames. Is this info still valid? Thanks, -- insandotpraja(at)gmaildotcom Thanks, Insan Praja -- insandotpraja(at)gmaildotcom
About em (4)
Hi Misc@, From the em (4) man: BUGS There are known performance issues with this driver when running UDP traffic with Jumbo frames. Is this info still valid? Thanks, -- insandotpraja(at)gmaildotcom
No More Multi Routing Table on 4.6-current?
Hi Misc@, After updating to i386 4.6-current, my multirouting tables is no longer working. I wonder if this because of the new rodomain thingy.. which is cool. So here it is. $ sudo route -T1 add default 202.149.83.213 route: writing to routing socket: Network is unreachable add net default: gateway 202.149.83.213: Network is unreachable $ route -nv get 202.149.83.213 so_dst: inet 202.149.83.213; so_ifp: link ; RTM_GET: Report Metrics: len 124, priority 0, table 0, pid: 0, seq 1, errno 0 flags: locks: inits: sockaddrs: 202.149.83.213 link#0 route to: 202.149.83.213 destination: 202.149.83.213 interface: vlan95 if address: 202.149.83.214 priority: 4 (connected) flags: use mtuexpire 0 0 1180 locks: inits: sockaddrs: 202.149.83.213 00:04:75:96:56:02 00:15:17:86:53:14 202.149.83.214 vlan95: flags=8843 mtu 1500 lladdr 00:15:17:86:53:14 description: SATNET_VPN_PIPE priority: 0 vlan: 95 priority: 0 parent interface: em1 groups: vlan satnet_vpn inet6 fe80::215:17ff:fe86:5314%vlan95 prefixlen 64 scopeid 0x11 inet 202.149.83.214 netmask 0xfffc broadcast 202.149.83.215 and the dmesg of course. OpenBSD 4.6 (GENERIC) #27: Sun Jul 5 21:39:38 WIT 2009 r...@greenbridgevpn.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error d cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 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,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2143842304 (2044MB) avail mem = 2064207872 (1968MB) RTC BIOS diagnostic error d mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/12/07, SMBIOS rev. 2.5 @ 0x7fdfd000 (63 entries) bios0: vendor Intel Corporation version "S3200X38.86B.00.00.0045.082820081329" date 08/28/2008 bios0: Intel Corporation S3210SH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT MCFG HPET SPCR SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ DMAR acpi0: wakeup devices SLPB(S5) NPE1(S5) NPE6(S5) P32_(S5) PS2M(S1) PS2K(S1) ILAN(S5) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5) PEX4( S5) PEX5(S5) UHC1(S1) UHC2(S1) UHC3(S1) UHC4(S1) EHCI(S1) EHC2(S1) UH42(S1) UHC5(S1) UHC6(S1) AZAL(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 332MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (NPE1) acpiprt2 at acpi0: bus -1 (NPE6) acpiprt3 at acpi0: bus 3 (P32_) acpiprt4 at acpi0: bus 1 (PEX0) acpiprt5 at acpi0: bus -1 (PEX1) acpiprt6 at acpi0: bus -1 (PEX2) acpiprt7 at acpi0: bus -1 (PEX3) acpiprt8 at acpi0: bus 2 (PEX4) acpiprt9 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000 ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1 cpu0: Enhanced SpeedStep 2993 MHz: speeds: 3000, 2000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "Intel 3200/3210 Host" rev 0x00 em0 at pci0 dev 25 function 0 "Intel ICH9 IGP AMT" rev 0x02: apic 5 int 20 (irq 11), address 00:15:17:28:2a:d3 uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 18 (irq 9) uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 21 (irq 10) ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 17 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci1 at ppb0 bus 1 em1 at pci1 dev 0 function 0 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 16 (irq 11), address 00:15:17:86:53:14 em2 at pci1 dev 0 function 1 "Intel PRO/1000 PT (82571EB)" rev 0x06: apic 5 int 17 (irq 10), address 00:15:17:86:53:15 ppb1 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x02: apic 5 int 17 (irq 11) pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "Matrox MGA G200e (ServerEngines)" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci2 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x02: apic 5 int 23 (irq 11) uhci3 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x02: apic 5 int 19 (irq 11) uhci4 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x02: apic 5 int 18 (irq 9) ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x02: apic 5 int 23 (irq 11) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x92 pci3 at p
i386-current 17th June 2009 BGPd FIB
Hi Misc@ and Claudio@, On 17th June kernel and userland, I experienced a really slow updates on FIB, while doing a BGP failover test. It's a simple test, I had 2 different internet peers, both sends full prefix. With the first scenario, when I shut the peer1 down, it still forwards to peer1. I need a "bgpctl reload" to move the forwarding to peer2. And, when I feel like to move the traffic (upstream) back to peer1, it doesn't simultaneously move back, and I still need to do "bgpctl reload" to bring it back to its normal behaviour. The second scenario is to deny all prefixes received from peer1. By modifying ke bgpd.conf, and then "bgpctl reload", the upstreams still choose to peer1. I evaluate RIB table "bgpctl sh rib" and it does changed, prefixes from peer1 is no longer existed. But on "bgpctl sh fib" the nexthop still points to peer1. I waited for about 15 minutes, it still not changing its FIB record. To restore the configuration, modify bgpd.conf back to receive full prefix from both peers and reload, and some strange behaviour exist, instead of still forwarding to peer1, the router forwards traffic to peer2, which I was expecting before. I need to issue a second reload to move the forwarding back to peer1. Any insight would be appreciated, Thanks, OpenBSD 4.5-current (GENERIC) #29: Wed Jun 17 22:53:03 WIT 2009 r...@border-lf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error f cpu0: Intel(R) Pentium(R) D 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,CNXT-ID,CX16,xTPR real mem = 1069002752 (1019MB) avail mem = 1025228800 (977MB) RTC BIOS diagnostic error f mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @ 0x3fbe4000 (42 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0051.091720081311" date 09/17/2008 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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: PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0x9000 0xc9000/0x1800 cpu0: Enhanced SpeedStep 3001 MHz: speeds: 3000, 2400 MHz 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 9), address 00:15:17:49:03:b3 "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1b:11:10:07:f5 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 em1 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 5 int 22 (irq 11), address 00:07:e9:0f:44:ac 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) radeondrm0 at vga1: apic 5 int 18 (irq 11) drm0 at radeondrm0 em2 at pci4 dev 5 function 0 "Intel PRO/1000MT (82
The June 6th 2009 BGPD
Hi Misc@ and Claudio, I've a new compiled-from-the-last-source OpenBSD Router, lookin' at new cool features. I see a default rib are installed (Loc-RIB and Adj-RIB-In), I can see both with "bgpctl sh rib table Adj-RIB-in" and "bgpctl sh rib table Loc-In". But still, it's always returns nothing when querying prefixes with "bgpctl sh rib address/len". The "bgpctl sh rib neighbor" return the desirable outputs. The others are, when issueing "bgpctl reload" it always failed with these messages (/var/log/messages): Jun 6 16:36:29 GreenRouter-JKT01 bgpd[3750]: /etc/bgpd.conf:223: rib "Adj-RIB-In" allready exists. Jun 6 16:36:29 GreenRouter-JKT01 bgpd[3750]: /etc/bgpd.conf:223: rib "Loc-RIB" allready exists. Jun 6 16:36:29 GreenRouter-JKT01 bgpd[3750]: config file /etc/bgpd.conf has errors, not reloading Anyway, this is a really good stuff your doin'.. Thanks for every bit of the OS, Sincerely, Insan Praja SW -- insandotpraja(at)gmaildotcom
Re: WebHosting Management Software
Hi Misc@, On Fri, 29 May 2009 12:40:04 +0700, Lars Nooden wrote: Working with "web hosting" is easy. Put the OpenAFS client on your web team's macintoshes and then use it to access the directories hosted on your OpenBSD web server: http://www.openafs.org/macos.html Nice.. I'll tell them about this From there it is about the same access as having the files on your local harddrive. There are OpenAFS clients for linux too but see your distro's repository for details. The web boys decided to use debian and ISPCP for this cPanel-like/virtual hosting since it's considered secure and stable and off course, they got front protection from us. Regards, -Lars Regards, Insan -- insandotpraja(at)gmaildotcom
Re: WebHosting Management Software
On Fri, 29 May 2009 08:38:27 +0700, STeve Andre' wrote: On Thursday 28 May 2009 21:24:33 Insan Praja SW wrote: Hi Misc@, I'm currently looking for some OpenBSD-friendly (OpenSource/Free) WebHosting Management software. My colleagues seem to find a hardtimes for this kind of software works with OpenBSD. Any clue and input appreciated. Thanks, Insan, Steve, I'm not trying to be snarky here, but I would suggest... ssh. That's exactly I suggested to those guys.. some chroot-ed accounts for sftp/ssh and etc.. Today I've been dealing with phpMyAdmin, trying to get the beast up, and I believe I have it and am getting mysql up. But had I not had to fight phpMyAdmin, I'd have been farther along today. This tendency to use gui tools for things isn't good. No one can possibly say that their security increases by using them--you add complexity, and that always gives rise to new possibilities of trouble. The GUI-thingies are meant to ease our users to manage their virtual domains, virtual mail boxes and etc.. And they don't do text-based configuration :), they are basically M$ users. But the worse problem here is that by using some tool to do things, you haven't learned whats going on under the hood. Not really. Agreed, --STeve Andre' Kind Regards, Insan Praja SW, -- insandotpraja(at)gmaildotcom
WebHosting Management Software
Hi Misc@, I'm currently looking for some OpenBSD-friendly (OpenSource/Free) WebHosting Management software. My colleagues seem to find a hardtimes for this kind of software works with OpenBSD. Any clue and input appreciated. Thanks, -- insandotpraja(at)gmaildotcom
[ON 23MAY i386 CURRENT] Can't View BGP RIB
Hi Misc@, I'am currently running 23rd May i386-current, and I experience some booting speed up, and some changes in BGP, and yes, I'am aware of bgpd current code update. So, What I did was; $ bgpctl sh rib 129.128.0.0 flags: * = Valid, > = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin $ bgpctl sh fib 129.128.5.0 flags: * = valid, B = BGP, C = Connected, S = Static N = BGP Nexthop reachable via this route r = reject route, b = blackhole route flags prio destination gateway *B 48 129.128.0.0/16 202.149.67.121 $ route -nv get 129.128.0.0 so_dst: inet 129.128.0.0; so_ifp: link ; RTM_GET: Report Metrics: len 124, priority 0, table 0, pid: 0, seq 1, errno 0 flags: locks: inits: sockaddrs: 129.128.0.0 link#0 route to: 129.128.0.0 destination: 129.128.0.0 mask: 255.255.0.0 gateway: 202.149.67.121 interface: em1 if address: 202.149.67.123 priority: 48 (bgp) flags: label: international use mtuexpire 15 0 0 locks: inits: sockaddrs: 129.128.0.0 202.149.67.121 255.255.0.0 00:07:e9:0f:44:e3 202.149.67.123 international Obviously bgpctl can't view RIB, but, if I use "bgpctl sh rib" all the prefixes are coming out. FIB is viewable, routes are installed to the Kernel FIB. It's the same on 21st May i386-current kernel(and userland), not happening in 6th May i386-current. Dmesg Attached. Thanks, -- insandotpraja(at)gmaildotcom OpenBSD 4.5-current (GENERIC) #27: Sat May 23 21:50:01 WIT 2009 r...@border-rf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error f cpu0: Intel(R) Pentium(R) D 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,CNXT-ID,CX16,xTPR real mem = 1069002752 (1019MB) avail mem = 1025314816 (977MB) RTC BIOS diagnostic error f mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @ 0x3fbe4000 (42 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0051.091720081311" date 09/17/2008 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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/0x1800 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 9), address 00:15:17:49:04:0d "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1c:f0:11:6c:d4 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 em1 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 5 int 22 (irq 11), address 00:07:e9:0f:44:e3 vga1 at pci4 dev 4 function 0 "ATI ES1000" rev 0x02 wsdispla
Re: The "match" syntax
Hi Misc@ and Stuart, On Mon, 13 Apr 2009 16:51:37 +0700, Stuart Henderson wrote: On 2009-04-13, Insan Praja SW wrote: I'd like to ask if "match" syntax has entirely usable to option like rtable, queue etc. I use old syntax like "pass in from a.b.c.d/e to any rtable 1 queue (queue1, queue2)". I'd like to update my 4.5-current, so I need to confirm this is still a valid syntax or I just have to replace with the "match" syntax. match takes the same syntax as the other filter rules (pass/block) and is purely an addition. unlike scrub rules, you don't need to touch existing filter rules. if you want to check that your ruleset parses ok before you touch the real kernel and binaries, you can just extract pfctl from a new snapshot under /tmp and run /tmp/sbin/pfctl -nvf /etc/pf.conf. Thanks for the info, several adjustment to scrub has been done, I'll get back to you with updates. Best Regards, Insan Praja SW -- insandotpraja(at)gmaildotcom
The "match" syntax
Hi Misc@, I'd like to ask if "match" syntax has entirely usable to option like rtable, queue etc. I use old syntax like "pass in from a.b.c.d/e to any rtable 1 queue (queue1, queue2)". I'd like to update my 4.5-current, so I need to confirm this is still a valid syntax or I just have to replace with the "match" syntax. Thanks, Insan Praja SW -- insandotpraja(at)gmaildotcom
Re: Kernel Panic on 6th March i386 build
Hi Daniel and Misc@, On Sun, 08 Mar 2009 06:29:22 +0700, Daniel Ouellet wrote: Claudio Jeker wrote: Fell free to disagree, that's fair. Sorry, I don't get it a non-developer tries to educate a developer about how kernel crashes should be reported? Sorry most of your standpoints are just wrong. Sure people are encuraged to run snapshot kernels but selfbuilt kernels are fine as long as they're built from a unmodified GENERIC config. Let us developers take care of yelling at those people who send in bad bug reports because we're acctually the people who may fix it in the end. Hi All, I stand corrected on this one. I was bias in my reply, I must admit it and come clean on it! No offense intended to anyone it may have offended. I was quick to reply to Steph as I did react to the content of the email and the linux name in the email address. My fault to react to quickly on this one. I should have know better! Not only did I put my foot in my mouth, but I swallow the boot as well. I follow cvs for years and I didn't see Insan as making changes to the tree, so I didn't know he actually was a developers or I would have known better and I miss a chance to just shut up! I didn't see his name on the list either. My bad! I'm not a developer, if You mean I did something/contribute on the source-tree. But yeah, I periodically sync my testbed machine source-tree and compiled them, test them (most part is network subsystem) and I hope in someways, it might be helping the developers to find out bugs or anything they might interested into. Insan, please accept my apologies on a misplace reply to you on my part! Oh come on, we got our share supporting and enjoying these wonderful system, yeah sure, apology accepted. I was clearly out of place. Same to you Steph, I shouldn't have reacted so quickly to your email address and have wrongly concluded to an other Linux quick miss place question, or reaction. I try to help when I can and over time stop reacting as much as I used to, but obviously I still have ways to go as this treed have shown. My bad and I have no one else to blame then myself here. Please accept my deepest apology where I should have know better and obviously missed a chance to shut up! And Claudio and J.C., you are both right. Thanks for taking the time to straighted me up! I deserved that one fully. One only get better by learning from their mistakes and that's not the first I did for sure and I am sure it will not the last either. Best regards, Daniel Ouellet Thanks, -- insandotpraja(at)gmaildotcom
Re: Kernel Panic on 6th March i386 build
Hi All, On Sun, 08 Mar 2009 18:01:50 +0700, FRLinux wrote: On Sat, Mar 7, 2009 at 11:29 PM, Daniel Ouellet wrote: I was clearly out of place. Same to you Steph, I shouldn't have reacted so quickly to your email address and have wrongly concluded to an other Linux quick miss place question, or reaction. What I've learned from this is fairly simple: sit still, watch and listen :) Cheers, Steph Apology (if there's anything to apologies) accepted. I love this mailing-list, big hearted people came here, discuss and make funny-cruel-evil jokes, and we all actually supporter of OpenBSD, the OpenBSD way, and the developers. Big Cheers, applaus and salute to all of You. From Indonesia with Cheers and Beers, Cag, -- insandotpraja(at)gmaildotcom
Re: Kernel Panic on 6th March i386 build
Hi Claudio and Misc@, On Sat, 07 Mar 2009 14:35:30 +0700, Claudio Jeker wrote: On Fri, Mar 06, 2009 at 08:58:08PM -0500, Daniel Ouellet wrote: Stefan Sperling wrote: On Fri, Mar 06, 2009 at 06:07:00PM -0500, Daniel Ouellet wrote: Insan Praja SW wrote: Hi, On Sat, 07 Mar 2009 03:17:57 +0700, FRLinux wrote: On Fri, Mar 6, 2009 at 7:12 PM, Insan Praja SW wrote: Hi Misc@, on a i386 kernel recent build (6th march), I got panic. It says: Hello, As far as I know, home built kernel is not supported, you need to try out a snapshot instead and see if it works. Cheers, Steph You are right, but I always had a backup of last working kernel, and that is what I use now. But this panic happens and I like to report it to see if anyone else experiencing the same panic, with home build kernel or snapshot. It's a generic kernel, anyway, I hope I can contribute in some other way, you know.. like testing diff or finding bugs. I also use sendbug(1) to report the panic. Thanks, You just don't built home build kernel at all. This is really not linux here. You can configure all you want on it as is. So what if I want debug symbols to produce meaningful traces from kernel core dumps with gdb? Then I have to compile with DEBUG="-g" to get a bsd.gdb. Then I have a self-compiled kernel already. That wasn't the question, but again, if you know that you need "-g" and are looking at kernel core dumps then you wouldn't asked questions about it on misc@ would you? Stay on the topic as it was asked. And it sure wasn't a question about the core dump used with "-g" was it? But related to icmp. And what if I'm testing diffs posted to t...@? When testing diffs you usually don't only run them for 5 minutes. You usually run them for as long as you can. Then your question would have been on tech@ related to a spefici diff as well from tech@ too, but it wasn't. I guess these faq entries are there to stop people from tweaking the config so hard that their machine cannot boot anymore, and then reporting this as a bug. They don't exist to stop people who somewhat know what they are doing from reporting things they find in kernels they've compiled themselves. They are there to make sure valid tests are done on generic kernel as is and valid meaning full reports are sent in that can be reproduce by others and get fix. Not to asked a free for all home built kernel from anyone. And note that there have recently been changes in the way pf keeps track of icmp, so this may well be a valid report. Could sure be I give you that. However, still true that snapshot is the way to go and see the results. This is not one of these is it? There isn't a snapshot for the 6 ready yet anyway. However there is a commit already for icmp on pf as well: http://marc.info/?l=openbsd-cvs&m=123638870222588&w=2 It may well address this issue for sure, or it may not. The idea and intend still stand that it's not for everyone. Good one are important and useful and this may have been one of them. And if the same problem still exists then with a snapshot, I am sure someone will be more then happy to look into it. Hope this help to provide a bit more details as to what the intent of the faq are and what the spirit of my suggestion was. Fell free to disagree, that's fair. Sorry, I don't get it a non-developer tries to educate a developer about how kernel crashes should be reported? Sorry most of your standpoints are just wrong. Sure people are encuraged to run snapshot kernels but selfbuilt kernels are fine as long as they're built from a unmodified GENERIC config. Let us developers take care of yelling at those people who send in bad bug reports because we're acctually the people who may fix it in the end. I just sync the source-tree one of my "panicking" machines to 7th March '09, build the kernel and the userland and no panic. Here is the dmesg. OpenBSD 4.5-current (GENERIC) #72: Sat Mar 7 17:21:48 WIT 2009 r...@greenbridgevpn.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error d cpu0: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz ("GenuineIntel" 686-class) 3 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,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2143842304 (2044MB) avail mem = 2064748544 (1969MB) RTC BIOS diagnostic error d mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 12/12/07, SMBIOS rev. 2.5 @ 0x7fdfd000 (63 entries) bios0: vendor Intel Corporation version "S3200X38.86B.00.00.0045.082820081329" date 08/28/2008 bios0: Intel Corporation S3210SH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT MCFG HPET SPCR SSDT SSDT SSDT SSDT SSDT HEST BERT ERST EINJ DMAR acpi0: wakeup devices SLPB(S5) NPE1(S5) NPE6(S5) P32_(S5) PS
Re: Kernel Panic on 6th March i386 build
Hi, On Sat, 07 Mar 2009 03:17:57 +0700, FRLinux wrote: On Fri, Mar 6, 2009 at 7:12 PM, Insan Praja SW wrote: Hi Misc@, on a i386 kernel recent build (6th march), I got panic. It says: Hello, As far as I know, home built kernel is not supported, you need to try out a snapshot instead and see if it works. Cheers, Steph You are right, but I always had a backup of last working kernel, and that is what I use now. But this panic happens and I like to report it to see if anyone else experiencing the same panic, with home build kernel or snapshot. It's a generic kernel, anyway, I hope I can contribute in some other way, you know.. like testing diff or finding bugs. I also use sendbug(1) to report the panic. Thanks, -- insandotpraja(at)gmaildotcom
Kernel Panic on 6th March i386 build
Hi Misc@, on a i386 kernel recent build (6th march), I got panic. It says: uvm_fault(0xd08079c0, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_icmp_mapping+0x45: movw 0x4(%eax),%ax ddb> trace pf_icmp_mapping(dc2c5ba0,8,dc2c5b34,dc2c5b38,dc2c5b3c,dc2c5b3e,2) at pf_icmp_mapping+0x45 pf_test_state_icmp(dc2c5cb8,2,d1cd9900,d69c6400,14) at pf_test_state_icmp+0x511 pf_test(2,d1d62000,dc2c5df4,0) at pf_test+0x96d ip_output(d69c6400,0,d08144e4,1,0,0,38,1) at ip_output+0x426 ip_forward(d69c6400,0,dc2c5f10,0,d1ab9830) at ip_forward+0x17d ipv4_input(d69c6400,d1a91200,d08bcb34) at ipv4_input+0x26e dmesg with working 4th march kernel: OpenBSD 4.5-current (GENERIC) #63: Wed Mar 4 18:07:38 WIT 2009 r...@border-lf.mygreenlinks.net:/usr/src/sys/arch/i386/compile/GENERIC RTC BIOS diagnostic error f cpu0: Intel(R) Pentium(R) D 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,CNXT-ID,CX16,xTPR real mem = 1069002752 (1019MB) avail mem = 1025392640 (977MB) RTC BIOS diagnostic error f mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/13/07, SMBIOS rev. 2.4 @ 0x3fbe4000 (42 entries) bios0: vendor Intel Corporation version "S3000.86B.02.00.0051.091720081311" date 09/17/2008 bios0: Intel S3000AH acpi0 at bios0: rev 2 acpi0: tables DSDT SLIC FACP APIC WDDT HPET 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 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu at mainbus0: not configured ioapic0 at mainbus0: apid 5 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 5 acpihpet0 at acpi0: 14318179 Hz 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/0x1800 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: apic 5 int 17 (irq 255) pci1 at ppb0 bus 1 ppb1 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 5 int 17 (irq 255) pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 5 int 16 (irq 255) pci3 at ppb2 bus 3 em0 at pci3 dev 0 function 0 "Intel PRO/1000MT (82573E)" rev 0x03: apic 5 int 17 (irq 9), address 00:15:17:49:04:0d "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: apic 5 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 5 int 19 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 5 int 18 (irq 11) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 5 int 16 (irq 11) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 5 int 23 (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): apic 5 int 21 (irq 11) sk0 at skc0 port A: address 00:1c:f0:11:6c:d4 eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5 em1 at pci4 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 5 int 22 (irq 11), address 00:07:e9:0f:44:e3 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) radeondrm0 at vga1: apic 5 int 18 (irq 11) drm0 at radeondrm0 em2 at pci4 dev 5 function 0 "Intel PRO/1000MT (82541GI)" rev 0x05: apic 5 int 17 (irq 9), address 00:15:17:49:04:0e 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 configur ed to compatibility atapiscsi0 at pciide0 channel 0 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 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 apic 5 int 19 (i
AMD64 24th Feb Panic uvm_pdaemon.c
Hi Guys, I currently running AMD64.MP snapshot from 24th Feb '09. On the blue screen it says: Panic : kernel diagnostic assertion "uvmexp.swpgonly <= uvmexp.swpages" failed : file "../../../../uvm/uvm_pdaemon.c", line 575 ddb> trace Panic () at panic +0x122 __assert() at __assert + 0x21 uvm_aiodone_daemon() at uvm_aiodone_daemon+0x30d uvm_aiodone_daemon() at uvm_aiodone_daemon+0x958 uvm_pageout() at uvm_pageout+0xca end trace frame: 0x0, count: -6 The dmesg would be: OpenBSD 4.5-beta (GENERIC.MP) #2127: Wed Feb 25 11:47:32 MST 2009 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 1063124992 (1013MB) avail mem = 1020096512 (972MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.34 @ 0x3f6ee000 (78 entries) bios0: vendor FUJITSU SIEMENS // Phoenix Technologies Ltd. version "5.00 R1.10.2151.A1" date 05/08/2006 bios0: FUJITSU SIEMENS D2151-A1 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP ASF! SSDT MCFG HPET APIC BOOT acpi0: wakeup devices PEXA(S4) PEXB(S4) PEXC(S4) PEXD(S4) PEXE(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) PCIH(S4) KEYB( S4) PS2M(S4) COM1(S1) COM2(S1) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpihpet0 at acpi0: 14318179 Hz acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Pentium(R) D CPU 2.66GHz, 2660.48 MHz cpu0: FPU,VME,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,TM2,CNXT-ID,CX16,xTPR,NXE,LONG cpu0: 1MB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Pentium(R) D CPU 2.66GHz, 2660.07 MHz cpu1: FPU,VME,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,TM2,CNXT-ID,CX16,xTPR,NXE,LONG cpu1: 1MB 64b/line 8-way L2 cache ioapic0 at mainbus0 apid 2 pa 0xfec0, version 20, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (PEXA) acpiprt2 at acpi0: bus 3 (PEXB) acpiprt3 at acpi0: bus 5 (PEXC) acpiprt4 at acpi0: bus 7 (PEXD) acpiprt5 at acpi0: bus 9 (PEXE) acpiprt6 at acpi0: bus 11 (PCIH) acpicpu0 at acpi0: FVS, 2667, 1862 MHz acpicpu1 at acpi0 acpibtn0 at acpi0: PWRB pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x01: apic 2 int 18 (irq 9) azalia0: codecs: Realtek ALC260 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17 (irq 11) pci1 at ppb0 bus 3 ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 2 int 16 (irq 11) pci2 at ppb1 bus 5 bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 2 int 17 (irq 11), address 00:30:05:c9:79 :df brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0 ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x01: apic 2 int 18 (irq 9) pci3 at ppb2 bus 7 ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x01: apic 2 int 19 (irq 9) pci4 at ppb3 bus 9 uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (irq 11) uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 22 (irq 10) uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 21 (irq 5) uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 20 (irq 9) ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 (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 ppb4 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 pci5 at ppb4 bus 11 rl0 at pci5 dev 5 function 0 "D-Link Systems 530TX+" rev 0x10: apic 2 int 22 (irq 10), address 00:1e:58:3e:70:45 rlphy0 at rl0 phy 0: RTL internal PHY rl1 at pci5 dev 7 function 0 "D-Link Systems 530TX+" rev 0x10: apic 2 int 21 (irq 5), address 00:11:95:63:48:63 rlphy1 at rl1 phy 0: RTL internal PHY pcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01 pciide0 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to com patibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ATAPI 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev