pkg_add stems not working for some packages
I can do: $ sudo pkg_add vim--gtk2 but not: $ sudo pkg_add mutt--sasl-sidebar-slang-compressed Can't find mutt--sasl-sidebar-slang-compressed Too many dashes after the stems-indicator? Running OpenBSD 4.9 GENERIC.MP#794 i386. -- Regards, Erling
OpenBGPd trouble with nexthop
Hi, I'm currently implementing a multi ISP BGP solution: 2 BGP routers on a site, each hooked to a different ISP. Problem: The rib of rtr-1/rtr-2 are having the following entries: flags destination gateway lpref med aspath origin *1.0.4.0/22 EXTERNALGW_PROVIDER1 100 0 STRIPPED_ASPATH i I 1.0.4.0/22 EXTERNALGW_PROVIDER2 100 300 STRIPPED_ASPATH i Sure thing, EXTERNALGW_PROVIDER1 can not be reached from rtr-2 and EXTERNALGW_PROVIDER2 can not reached from rtr-1 Do you guys see any misconfiguration on my side ? Thanks Config of rtr-1: ifconfig lo1: 46.21.1.3 ifconfig em3: 172.16.255.3 $ route -n get 46.21.1.4 route to: 46.21.1.4 destination: 46.21.1.4 gateway: 172.16.255.4 interface: em3 if address: 172.16.255.3 priority: 8 (static) flags: UP,GATEWAY,HOST,DONE,STATIC use mtuexpire 12676 0 0 $ cat /etc/bgpd.conf AS 49463 router-id 46.21.1.3 holdtime 90 holdtime min 3 fib-update yes network 46.21.1.0/24 group iBGP peers { remote-as 49463 announceall neighbor46.21.1.4 { descr iv4_gw-003_to_004 local-address 46.21.1.3 announce IPv4 unicast } group eBGP transit { remote-as 8218 holdtime30 announceself neighbor46.255.1.1 { descr ev4_gw-003_to_tr local-address 46.255.1.2 announce IPv4 unicast announce IPv6 none } } Config of rtr-2: ifconfig lo1: 46.21.1.4 ifconfig em3: 172.16.255.4 $ route -n get 46.21.1.3 route to: 46.21.1.3 destination: 46.21.1.3 gateway: 172.16.255.3 interface: em3 if address: 172.16.255.4 priority: 8 (static) flags: UP,GATEWAY,HOST,DONE,STATIC use mtuexpire 12676 0 0 $ cat /etc/bgpd.conf AS 49463 router-id 46.21.1.4 holdtime 90 holdtime min 3 fib-update yes network 46.21.1.0/24 group iBGP peers { remote-as 49463 announceall neighbor46.21.1.3 { descr iv4_gw-004_to_003 local-address 46.21.1.4 announce IPv4 unicast } group eBGP transit { remote-as 13193 holdtime30 announceself neighbor88.255.1.1 { descr ev3_gw-003_to_tr local-address 88.255.1.2 announce IPv4 unicast announce IPv6 none } }
Re: pkg_add stems not working for some packages
On Tue, Oct 18, 2011 at 09:55:06AM +0200, Erling Westenvik wrote: I can do: $ sudo pkg_add vim--gtk2 but not: $ sudo pkg_add mutt--sasl-sidebar-slang-compressed Can't find mutt--sasl-sidebar-slang-compressed Too many dashes after the stems-indicator? Running OpenBSD 4.9 GENERIC.MP#794 i386. Try with -current, I fixed a bug that looks very much like this (two months ago ?) You should be able to just update pkg_add, even on 4.9.
Re: /dev/srandom vs. /dev/arandom
On 2011-10-18, James Hozier guitars...@yahoo.com wrote: I heard that since 4.9, there has been some changes to the /dev/randoms in OpenBSD. I'm unsure of what the changes exactly are, but for confidentiality in terms of entire hard drives (talking terabytes of SATAII hard drives), would /dev/srandom still be the best suitable for this task? Last I remember, /dev/arandom was much too slow since I could not do enough on my computer to create enough entropy to randomize my disks before an entire year passed, heh If you are *that* concerned about securely wiping hard drives you should probably just physically destroy them. If you need more than /dev/zero can provide you are obviously concerned about people with physical access to the platters from reading old data, in which case you also have to take reallocated sectors into account, which you can't clean from the OS.
Re: OpenBGPd trouble with nexthop
On 2011-10-18, Laurent CARON lca...@unix-scripts.info wrote: Hi, I'm currently implementing a multi ISP BGP solution: 2 BGP routers on a site, each hooked to a different ISP. Problem: The rib of rtr-1/rtr-2 are having the following entries: flags destination gateway lpref med aspath origin *1.0.4.0/22 EXTERNALGW_PROVIDER1 100 0 STRIPPED_ASPATH i I 1.0.4.0/22 EXTERNALGW_PROVIDER2 100 300 STRIPPED_ASPATH i Sure thing, EXTERNALGW_PROVIDER1 can not be reached from rtr-2 and EXTERNALGW_PROVIDER2 can not reached from rtr-1 EXTERNALGW_PROVIDER1 *should* be reachable from rtr-2 and vice-versa. You should either have non-bgp routes to the gateway addresses (typically ospf or static routes), or rewrite the addresses with 'nexthop self' for your ibgp peers. Do you guys see any misconfiguration on my side ? From what you describe, yes there's misconfiguration, but between the incomplete information pasted, and the mixing and matching of obfuscated addresses above and non-obfuscated below, it's hard to help. This is standard routing config, not openbgpd specific, so you should probably read some guides to setting up BGP. Might be able to help with some more information but really if you're running BGP you need to know how to do this yourself otherwise you will become really unstuck when things fail. Config of rtr-1: ifconfig lo1: 46.21.1.3 ifconfig em3: 172.16.255.3 $ route -n get 46.21.1.4 route to: 46.21.1.4 destination: 46.21.1.4 gateway: 172.16.255.4 interface: em3 if address: 172.16.255.3 priority: 8 (static) flags: UP,GATEWAY,HOST,DONE,STATIC use mtuexpire 12676 0 0 $ cat /etc/bgpd.conf AS 49463 router-id 46.21.1.3 holdtime 90 holdtime min 3 fib-update yes network 46.21.1.0/24 group iBGP peers { remote-as 49463 announceall neighbor46.21.1.4 { descr iv4_gw-003_to_004 local-address 46.21.1.3 announce IPv4 unicast } group eBGP transit { remote-as 8218 holdtime30 announceself neighbor46.255.1.1 { descr ev4_gw-003_to_tr local-address 46.255.1.2 announce IPv4 unicast announce IPv6 none } } Config of rtr-2: ifconfig lo1: 46.21.1.4 ifconfig em3: 172.16.255.4 $ route -n get 46.21.1.3 route to: 46.21.1.3 destination: 46.21.1.3 gateway: 172.16.255.3 interface: em3 if address: 172.16.255.4 priority: 8 (static) flags: UP,GATEWAY,HOST,DONE,STATIC use mtuexpire 12676 0 0 $ cat /etc/bgpd.conf AS 49463 router-id 46.21.1.4 holdtime 90 holdtime min 3 fib-update yes network 46.21.1.0/24 group iBGP peers { remote-as 49463 announceall neighbor46.21.1.3 { descr iv4_gw-004_to_003 local-address 46.21.1.4 announce IPv4 unicast } group eBGP transit { remote-as 13193 holdtime30 announceself neighbor88.255.1.1 { descr ev3_gw-003_to_tr local-address 88.255.1.2 announce IPv4 unicast announce IPv6 none } }
Re: OpenBSD fw freezing with ps/trace.
On 2011-10-18, Leon Me?ner l.mess...@physik.tu-berlin.de wrote: On Mon, Oct 17, 2011 at 08:43:50PM +, Stuart Henderson wrote: This is what a BREAK on a serial console looks like. On 2011-10-17, Leon Me?ner l.mess...@physik.tu-berlin.de wrote: On Mon, Oct 17, 2011 at 07:02:07PM +0200, Leon Me_ner wrote: On Mon, Oct 17, 2011 at 09:37:37AM -0700, Bryan Irvine wrote: On Mon, Oct 17, 2011 at 8:20 AM, Chris Cappuccio ch...@nmedia.net wrote: Time to upgrade to 5.0. Report any failures after you do that. I think he's saying it's been doing this since 4.6. I parsed that as him being on at least the current release. Leon, can you send a dmesg? The machine is just beeing updated to a 5.0 snapshot. I had this dmesg still in my scrollback buffer which i took when i was doing the trace and ps. Sorry for the truncated lines. snipped the dmesg Upgrading to 5.0 changed nothing. After dhcping and invoking ssh the machine froze. Trace of this freeze is below. Actually i forgot to mention that sometimes the machine manages to unfreeze again after some minutes. Thats the way i got the ddb output. What's the interesting output then in this case? As suggested i'll try to get another machine going and test with that. This one did unfreeze after an undetermined amount of time after i unplugged all network devices in the internal 192.x lan segment. Depending on the cause, besides ps/trace, these are some of the more useful things you can type: sh reg sh malloc sh all pools sh uvmexp Not sure what else to suggest from ddb, with this type of problem it's sadly really difficult to get useful information. If you can't take diagnosis further, giving as much information as possible about the setup and what you're doing at the time in the hope that somebody has the time/ability to reproduce and debug it is often all you can do. My resolv.conf is fine i think (attached). This wouldn't hang the machine. On 2011-10-17, Leon Me?ner l.mess...@physik.tu-berlin.de wrote: we are running a backup firewall machine which regularly freezes since OpenBSD 4.6. The configuration also changed at this time. When frozen no input is accepted by serial or keyboard console. Breaking to ddb works though. The output of ps and trace are below. The machine is primarily working as a transparent firewalling bridge but also runs NAT, pf and dhcpd for a 192.168.x/24. The freeze can often be provoked by obtaining an IP in the 192.168.x/24 and immediately sshing from this network into a Host on the bridged network part. Is the natted network, 192.168.x, also involved in the bridge? If so, and if that can be changed, that might be worth investigating. I think many of us are generally trying to avoid bridges, so it's not going to be the best- tested part of the network stack...
Suspend not working on HP MicroServer N36L
Here's dmesg[1] on -current. `apmd` is loaded with the '-C' option and that appears to be working. ~]$ apm Battery state: absent, 0% remaining, unknown life estimate A/C adapter state: not known Performance adjustment mode: cool running (800 MHz) CPU is scaled up and down as required. But when I enter `zzz` I just get 'Suspending system...' printed and that's it. Any pointers? [1]: https://gist.github.com/1295103
Re: Suspend not working on HP MicroServer N36L
On Tue, Oct 18, 2011 at 12:18 PM, Sime Ramov s...@ramov.com wrote: Here's dmesg[1] on -current. `apmd` is loaded with the '-C' option and that appears to be working. ~]$ apm Battery state: absent, 0% remaining, unknown life estimate A/C adapter state: not known Performance adjustment mode: cool running (800 MHz) CPU is scaled up and down as required. But when I enter `zzz` I just get 'Suspending system...' printed and that's it. Any pointers? HP acpi support is known to be problematic. You can help by making a tarball with files generated by: sudo acpidump -o HP_MicroServer_N36L and putting it somewhere on the net, so acpi experts can have a look. ciao, David
Re: Suspend not working on HP MicroServer N36L
* David Coppa dco...@gmail.com [2011-10-18T12:34+0200]: You can help by making a tarball with files generated by: sudo acpidump -o HP_MicroServer_N36L and putting it somewhere on the net, so acpi experts can have a look. Here it is: http://dl.ramov.com/acpidump.tgz
OpenBSD (current as of 20111018) fails to boot on dell poweredge R710
Hi, Just updated to current. The system fails to boot with: mpii_scsi_cmd_tmo System is fine using kernel from Aug 8th 2011 Regards, Laurent
Happy birthday OpenBSD
16 years!
Speciale skipass in omaggio / Free ski periods
02-08.12.2011 SKISTART ROULETTE APPARTAMENTI Folgarida 5 notti pernottamento e prima colazione incluso 4 giorni skipass da Euro 160,00 a persona 5 nights included 4 days skipass from Euro 160,00 per person HOTEL *** superior Dimaro/Folgarida 3 notti mezza pensione incluso 3 giorni skipass da Euro 230,00 a persona 3 nights in half board included 3 days skipass from Euro 230,00 per person HOTEL GARNI*** Madonna di Campiglio 4 notti pernottamento e prima colazione incluso 3 giorni skipass da Euro 240,00 a persona 4 nights in bed breakfast included 3 days skipass from Euro 240,00 per person 03-10.12.2011 SKISTART ROULETTE APPARTAMENTI Marilleva 900/1400 7 notti incluso 6 giorni skipass da Euro 249,00 a persona 7 nights included 6 days skipass from Euro 249,00 per person RESIDENCE*** Mezzana 7 notti incluso 6 giorni skipass Euro 264,00 a persona 7 nights included 6 days skipass Euro 264,00 per person HOTEL Passo Tonale 7 notti mezza pensione incluso 6 giorni skipass da Euro 453,00 a persona 7 nights in half board included 6 days skipass from Euro 453,00 per person 10-18.12.2011 FREE SKI RESIDENCE*** Dimaro/Folgarida 7 notti incluso 6 giorni skipass da Euro 235,00 a persona 7 nights included 6 days skipass from Euro 235,00 per person HOTEL*** Folgarida 7 notti mezza pensione incluso 6 giorni skipass Euro 370,00 a persona 7 nights in half board included 6 days skipass from Euro 370,00 per person HOTEL Pinzolo 7 notti mezza pensione incluso 6 giorni skipass Euro 399,00 a persona 7 nights in half board included 6 days skipass from Euro 399,00 per person 17-26.12.2011 FREE SKI RESIDENCE*** Pinzolo 7 notti incluso 6 giorni skipass da Euro 209,00 a persona 7 nights included 6 days skipass from Euro 209,00 per person HOTEL*** Vermiglio/Passo Tonale 7 notti incluso 6 giorni skipass Euro 365,00 a persona 7 nights in half board included 6 days skipass Euro 365,00 per person HOTEL***superior Passo Tonale 7 notti incluso 6 giorni skipass Euro 410,00 a persona 7 nights in half board included 6 days skipass Euro 410,00 per person VEDI TUTTE LE OFFERTE SKIPASSI INCLUSO / SEE ALL THE OFFERS WITH SKIPASS INCLUDED PER INFORMAZIONI E PRENOTAZIONE/ FOR INFORMATION AND RESERVATIONS: i...@valdisolebooking.it - +39 0465 503021 Non esitare a contattarci per maggiori informazioni, cordiali saluti dal Trentino Looking forward to hearing from you soon, kind regards from Trentino Questa newsletter ti arriva perchh ti sei iscritto, se ti vuoi cancellare clicca QUI e invia una e-mail. You receive this email because you are an opt-in subscriber of Val di Sole Newsletter. To unsubscribe, please click HERE.
[resolved] smtpd mangles IPv6 addresses when using smarthost
* Stefan Unterweger on Tue, Oct 18, 2011 at 12:38:56AM +0200: Instead of using the full IPv6 address, it only uses the subnet prefix of the smarthost. This of course fails horribly, leading to a two-minute timeout, and then finally the mail goes through using IPv4 only. Did this work before you updated ? The regression must have crept in between the 4.8 and 4.9 releases. Both 4.7 and 4.8 do just fine, and with 4.9 I get the behaviour shown above. I'll try with a recent snapshot too, once the download is done. I've just tested it with yesterday's snapshot: Now it is handled correctly: | mta: getting datafd | mta: connect IPv6:2001:1418:153::260:8ff:fe0b:35c7 | mta: entering smtp phase | client: ssl handshake started | client: ssl handshake completed And the mail gets delivered. Thanks for your work -- it looks like every time I touch it, it improves. :o) s//un -- squeak!
Re: Suspend not working on HP MicroServer N36L
On 2011-10-18, Sime Ramov s...@ramov.com wrote: Here's dmesg[1] on -current. bleh, why not just paste it into the mail? `apmd` is loaded with the '-C' option and that appears to be working. ~]$ apm Battery state: absent, 0% remaining, unknown life estimate A/C adapter state: not known Performance adjustment mode: cool running (800 MHz) CPU is scaled up and down as required. But when I enter `zzz` I just get 'Suspending system...' printed and that's it. Any pointers? [1]: https://gist.github.com/1295103 OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 938016768 (894MB) avail mem = 898977792 (857MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfb330 (35 entries) bios0: vendor HP version O41 date 01/17/2011 bios0: HP ProLiant MicroServer acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 I believe we just do S3 at the moment. acpi0: tables DSDT FACP APIC MCFG SPMI OEMB HPET EINJ BERT ERST HEST SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1298.01 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1297.85 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpi0: unable to load \\_SB_._INI.EXH1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus -1 (PCE4) acpiprt4 at acpi0: bus 2 (PCE6) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: 1297 MHz: speeds: 1300 1100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Hewlett-Packard, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00 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 ppb1 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00 pci2 at ppb1 bus 2 bge0 at pci2 dev 0 function 0 Broadcom BCM5723 rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 18, address 3c:d9:2b:02:97:ab brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4 ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: ATA, VB0250EAVER, HPG0 SCSI3 0/direct fixed naa.5000c50035885d65 sd0: 238475MB, 512 bytes/sector, 488397168 sectors sd1 at scsibus0 targ 1 lun 0: ATA, SAMSUNG HD204UI, 1AQ1 SCSI3 0/direct fixed naa.50024e9205845294 sd1: 1907729MB, 512 bytes/sector, 3907029168 sectors sd2 at scsibus0 targ 2 lun 0: ATA, SAMSUNG HD204UI, 1AQ1 SCSI3 0/direct fixed naa.50024e92058453ba sd2: 1907729MB, 512 bytes/sector, 3907029168 sectors ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x42: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 1GB DDR3 SDRAM ECC PC3-10600 with thermal sensor pciide0 at pci0 dev 20 function 1 ATI SB700 IDE rev 0x40: DMA, channel 0 configured to compatibility, channel 1
Re: OpenBSD (current as of 20111018) fails to boot on dell poweredge R710
On Tue, Oct 18, 2011 at 02:20:48PM +0200, Laurent CARON wrote: Hi, Just updated to current. The system fails to boot with: mpii_scsi_cmd_tmo System is fine using kernel from Aug 8th 2011 Regards, Laurent The dmesg of working kernel is: OpenBSD 5.0 (GENERIC.MP) #57: Mon Aug 8 14:58:00 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4280782848 (4082MB) avail mem = 4152713216 (3960MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xcf49c000 (84 entries) bios0: vendor Dell Inc. version 3.0.0 date 01/31/2011 bios0: Dell Inc. PowerEdge R710 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET DMAR MCFG WD__ SLIC ERST HEST BERT EINJ SRAT TCPA SSDT acpi0: wakeup devices PCI0(S5) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 32 (boot processor) cpu0: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz, 2128.30 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,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 34 (application processor) cpu1: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz, 2128.00 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,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 50 (application processor) cpu2: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz, 2128.00 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 52 (application processor) cpu3: Intel(R) Xeon(R) CPU L5630 @ 2.13GHz, 2128.00 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,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins ioapic1 at mainbus0: apid 1 pa 0xfec8, version 20, 24 pins ioapic1: misconfigured as apic 0, remapped to apid 1 acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (PEX1) acpiprt2 at acpi0: bus 2 (PEX3) acpiprt3 at acpi0: bus 3 (PEX4) acpiprt4 at acpi0: bus 4 (PEX5) acpiprt5 at acpi0: bus 5 (PEX6) acpiprt6 at acpi0: bus 9 (PEX7) acpiprt7 at acpi0: bus 10 (PEX9) acpiprt8 at acpi0: bus -1 (PEXA) acpiprt9 at acpi0: bus -1 (SBEX) acpiprt10 at acpi0: bus 11 (COMP) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS acpicpu2 at acpi0: C3, C1, PSS acpicpu3 at acpi0: C3, C1, PSS ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2128 MHz: speeds: 2129, 2128, 1995, 1862, 1729, 1596 MHz 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 1 bnx0 at pci1 dev 0 function 0 Broadcom BCM5709 rev 0x20: apic 1 int 4 bnx1 at pci1 dev 0 function 1 Broadcom BCM5709 rev 0x20: apic 1 int 16 ppb1 at pci0 dev 3 function 0 Intel X58 PCIE rev 0x13 pci2 at ppb1 bus 2 bnx2 at pci2 dev 0 function 0 Broadcom BCM5709 rev 0x20: apic 1 int 0 bnx3 at pci2 dev 0 function 1 Broadcom BCM5709 rev 0x20: apic 1 int 10 ppb2 at pci0 dev 4 function 0 Intel X58 PCIE rev 0x13 pci3 at ppb2 bus 3 mpii0 at pci3 dev 0 function 0 Symbios Logic SAS2008 rev 0x03: msi scsibus0 at mpii0: 42 targets sd0 at scsibus0 targ 1 lun 0: Dell, Virtual Disk, 1028 SCSI4 0/direct fixed naa.600508e0da5d95df161ba600 sd0: 476416MB, 512 bytes/sector, 975699968 sectors ses0 at scsibus0 targ 10 lun 0: DP, BACKPLANE, 1.07 SCSI3 13/enclosure services fixed t10.DP_BACKPLANE00 ppb3 at pci0 dev 5 function 0 Intel X58 PCIE rev 0x13: msi pci4 at ppb3 bus 4 ppb4 at pci0 dev 6 function 0 Intel X58 PCIE rev 0x13: msi pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 IDT 89HPES12N3A rev 0x0e pci6 at ppb5 bus 6 ppb6 at pci6 dev 2 function 0 IDT 89HPES12N3A rev 0x0e pci7 at ppb6 bus 7 em0 at pci7 dev 0 function 0 Intel PRO/1000 QP (82576) rev 0x01: msi, address 00:1b:21:b5:2d:d8 em1 at pci7 dev 0 function 1 Intel PRO/1000 QP (82576) rev 0x01: msi, address 00:1b:21:b5:2d:d9 ppb7 at pci6 dev 4 function 0 IDT 89HPES12N3A rev 0x0e pci8 at ppb7 bus 8 em2 at pci8 dev 0 function 0 Intel PRO/1000 QP (82576) rev 0x01: msi, address 00:1b:21:b5:2d:dc em3 at pci8 dev 0 function 1 Intel PRO/1000 QP (82576) rev 0x01: msi, address 00:1b:21:b5:2d:dd ppb8 at pci0 dev 7 function 0 Intel X58
Re: OpenBGPd trouble with nexthop
On Tue, Oct 18, 2011 at 09:33:21AM +, Stuart Henderson wrote: This is standard routing config, not openbgpd specific, so you should probably read some guides to setting up BGP. Hi, After applying Claudio's patch from Sept 16 2011: messageid: 20110916123411.gb20...@diehard.n-r-g.com everything is fine and the output of: bgpctl show rib is fine % bgpctl show rib 8.8.8.8 flags: * = Valid, = Selected, I = via IBGP, A = Announced origin: i = IGP, e = EGP, ? = Incomplete flags destination gateway lpref med aspath origin *8.8.8.0/24 46.255.176.109 100 0 8218 15169 i I*8.8.8.0/24 46.21.114.3100 0 49463 8218 15169 i I*8.8.8.0/24 46.21.112.2100 400 49463 49463 13193 15169 i Sorry for the noise...should update more often. Will then update the 2 unupdated boxes.
Re: OpenBSD fw freezing with ps/trace.
On Tue, Oct 18, 2011 at 09:58:39AM +, Stuart Henderson wrote: On 2011-10-18, Leon Me?ner l.mess...@physik.tu-berlin.de wrote: On Mon, Oct 17, 2011 at 08:43:50PM +, Stuart Henderson wrote: This is what a BREAK on a serial console looks like. On Mon, Oct 17, 2011 at 07:02:07PM +0200, Leon Me_ner wrote: Thats the way i got the ddb output. What's the interesting output then in this case? As suggested i'll try to get another machine going and test with that. This one did unfreeze after an undetermined amount of time after i unplugged all network devices in the internal 192.x lan segment. Depending on the cause, besides ps/trace, these are some of the more useful things you can type: sh reg sh malloc sh all pools sh uvmexp Not sure what else to suggest from ddb, with this type of problem it's sadly really difficult to get useful information. If you can't take diagnosis further, giving as much information as possible about the setup and what you're doing at the time in the hope that somebody has the time/ability to reproduce and debug it is often all you can do. Yes I see. I will try to minimize the setup and see if i can create some nice description of the problem. On 2011-10-17, Leon Me?ner l.mess...@physik.tu-berlin.de wrote: we are running a backup firewall machine which regularly freezes since OpenBSD 4.6. The configuration also changed at this time. When frozen no input is accepted by serial or keyboard console. Breaking to ddb works though. The output of ps and trace are below. The machine is primarily working as a transparent firewalling bridge but also runs NAT, pf and dhcpd for a 192.168.x/24. The freeze can often be provoked by obtaining an IP in the 192.168.x/24 and immediately sshing from this network into a Host on the bridged network part. Is the natted network, 192.168.x, also involved in the bridge? If so, and if that can be changed, that might be worth investigating. I think many of us are generally trying to avoid bridges, so it's not going to be the best- tested part of the network stack... The natted network has a dedicated NIC on the firewall (incoming). The IP that the network gets natted to is an alias on the management NIC (outgoing). The bridge is between two seperate NIC's that are not used for anything else and one of these NIC's is disabled by spanning-tree on the switch side. Thanks with all the help, Leon
Re: /dev/srandom vs. /dev/arandom
From: Theo de Raadt dera...@cvs.openbsd.org Subject: Re: /dev/srandom vs. /dev/arandom To: James Hozier guitars...@yahoo.com Cc: misc@openbsd.org Date: Tuesday, October 18, 2011, 12:53 AM I heard that since 4.9, there has been some changes to the /dev/randoms in OpenBSD. I'm unsure of what the changes exactly are, but for confidentiality in terms of entire hard drives (talking terabytes of SATAII hard drives), would /dev/srandom still be the best suitable for this task? There is now only one random device, /dev/random. It is all PRNG, but our PRNG is very good. The pool management has a set of nested data recursions that mix newly collected randomness (from interrupts and such) with the timing of extractions, of course at the same time that all entropy requests are being segmented in invisible ways amongst many consumers (especially those small requests made so often by our kernel code). It acted like that before, but it is now even better. And yes, it is a lot faster. Last I remember, /dev/arandom was much too slow since I could not do enough on my computer to create enough entropy to randomize my disks before an entire year passed, heh I'm seeing 150MB/sec of output on a fairly fast machine. It was slower before, but not that much slower. I think you are exaggerating. Perhaps I was confusing my memory with a certain other operating system's /dev/random. In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad.
Re: /dev/srandom vs. /dev/arandom
In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). If my math is right, you would see 600KB/sec on a 10 MHz Xeon. Yes, I said MHz.
Re: Detect APC UPS is on battery
On 2011-10-17 17.34, mailing list wrote: I have a machine running OBSD 4.4 which as an APC Back-UPS ES 550. Anyway to have OpenBSD detect when power is coming from Battery? (Plan on sending the system sending me an sms if so) Apart from the suggestions elsewhere in the thread, in the good old days I used to detect power outages by simply using a 12V power adapter and soldering together a special cable connecting the +12V to the DCD pin of an RS 232 serial connector. Then I plug the adapter into a wall socket and connect the cable to a serial port on the computer, then simply open() the serial device and issue a blocking read(). If/when the read() later on returns EOF, I know that the carrier has been dropped, thus I have no power from the wall. (And since the program is obviously still running, what power I have must come from the UPS.) Then give it a grace period of a few minutes (as long as you dare with whatever UPS and load combination you have), then check again. If DCD is still out, shut down the machine in a controlled fashion. Otherwise lather, rinse, repeat. Can't be any simpler, really. :-) Best regards, /Benny I found the following: http://www.apcupsd.com/ My understanding is you need a usb connection to the ups. (one I have has no USB) Anyone know of a package using detection over voltage changes (or something)? Thanks
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? If my math is right, you would see 600KB/sec on a 10 MHz Xeon. Yes, I said MHz. -- -- Paul D. Ouderkirk Senior UNIX System Administrator p...@ouderkirk.ca -- laughing, in the mechanism -- William Gibson
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? dd if=/dev/random of=/dev/null bs=32k
Question about apmd power savings
This isn't a problem and I'm not complaining, I'm just a bit curious as apmd didn't save me as much power as I hoped for. I noticed that apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it out apmd on my HP Microserver. So I upgraded my system from 4.9-RELEASE to a recent -CURRENT snapshot. When I run apmd -C hw.setperf gets set to 0 and the hw.cpuspeed gets set to 800 MHz. That was expected. I attached a Kill-a-Watt meter to my system to see what kind of power savings I would experience with apmd enabled. I think my expectations were a bit too high. I was only saving .5 watts when my cpu was throttled down to 800 MHz from 1.3 GHz. I haven't seen many posts on this subject, so I was wondering if the power savings of .5 watts sounds normal, or if something is wrong on my end. OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8554872832 (8158MB) avail mem = 8313020416 (7927MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfb330 (35 entries) bios0: vendor HP version O41 date 09/30/2010 bios0: HP ProLiant MicroServer acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC MCFG SPMI OEMB HPET EINJ BERT ERST HEST SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1298.06 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1297.85 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpi0: unable to load \\_SB_._INI.EXH1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus 2 (PCE4) acpiprt4 at acpi0: bus 3 (PCE6) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: 1297 MHz: speeds: 1300 1100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Hewlett-Packard, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00 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 ppb1 at pci0 dev 4 function 0 AMD RS780 PCIE rev 0x00: msi pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi, address 00:1b:21:a8:61:9a ppb2 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00 pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5723 rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 18, address 78:ac:c0:f7:96:05 brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4 ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x42: polling iic0 at piixpm0 admtemp0 at iic0 addr 0x18: Xeon iic0: addr 0x19 05=c2 06=11 07=a2 words 00=00f7 01= 02= 03= 04= 05=c208 06=1131 07=a203 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM ECC PC3-10600 with thermal sensor spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM ECC PC3-10600
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 14:12, Theo de Raadt dera...@cvs.openbsd.orgwrote: On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? dd if=/dev/random of=/dev/null bs=32k I am getting on average a weighted speed of approximately 80MB/sec
Re: Question about apmd power savings
On 10/18/2011 02:53 PM, Joe S wrote: This isn't a problem and I'm not complaining, I'm just a bit curious as apmd didn't save me as much power as I hoped for. I noticed that apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it out apmd on my HP Microserver. So I upgraded my system from 4.9-RELEASE to a recent -CURRENT snapshot. When I run apmd -C hw.setperf gets set to 0 and the hw.cpuspeed gets set to 800 MHz. That was expected. I attached a Kill-a-Watt meter to my system to see what kind of power savings I would experience with apmd enabled. I think my expectations were a bit too high. I was only saving .5 watts when my cpu was throttled down to 800 MHz from 1.3 GHz. I haven't seen many posts on this subject, so I was wondering if the power savings of .5 watts sounds normal, or if something is wrong on my end. Were you running a CPU-intensive workload on the CPU(s)? Changing the clock speed of an idle chip won't change the power usage very much in absolute terms. If the CPU has multiple cores, exercising them all at once may maximize power usage so check with all of them running hard. Memory chips also use more power when cycled, but if the CPU is stalled waiting for memory it may use less power, so the interaction is not a priori well defined. Geoff Steckel
Re: Detect APC UPS is on battery
On Tue, Oct 18, 2011 at 06:36:32PM +0200, Benny Lofgren wrote: | Apart from the suggestions elsewhere in the thread, in the good old days | I used to detect power outages by simply using a 12V power adapter and | soldering together a special cable connecting the +12V to the DCD pin of | an RS 232 serial connector. A more modern approach (for those machines lacking a serial port) might be plugging in a USB device that needs external power (fed from the wallsocket) and using hotplugd. When the device disappears - arm a timer to go down. When the device comes back, stop the timer. I have to admit, I still have to set this up for my own (cheap, non- managed) UPS, but I believe it should work. Cheers, Paul 'WEiRD' de Weerd -- [++-]+++.+++[---].+++[+ +++-].++[-]+.--.[-] http://www.weirdnet.nl/
Re: /dev/srandom vs. /dev/arandom
2011/10/18 vovka net.v...@gmail.com: I am getting on average a weighted speed of approximately 80MB/sec I got 116MB/sec on a HP DL360 G7 Intel(R) Xeon(R) CPU E5335 @ 2.00GHz, 2000.37 MHz with 4.9 amd64 if that's interesting for someone for some kind of reference. -- Johan
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 8:12 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? dd if=/dev/random of=/dev/null bs=32k Random is pretty fast on OpenBSD then. I have a 2010 Macbook Pro with OSX (Lion) which does about 13MB/s. An a much older machine (with a much slower cpu) with OpenBSD which does 65MB/s. -- chs,
Re: iked+CARP/ active,passive
Hi all, I clearly have to pay attention what I put into pf.conf! Tunnel works fine so far. //maxim On Oct 16, 2011, at 1:40 PM, Maxim Bourmistrov wrote: Both side are now 5.0-current, so this fix is already there. However, tunnel timeout is still there. In logs is see that almost exactly 3h later after tunnel is established it dies. I see FLOW is still there, bud SAD is empty, then I run ipsecctl -s all. According to the manpage, less than 3h is a default time for re-keying. I'm not sending that much traffic over the tunnel yet, so the traffic amount is not even near the default amount for re-keying. (Reminder: 10.1.1.1 - is an ext IP for home GW, 20.1.1.1 - CARP IP at the office GW, 20.1.1.2 - ext IP at the office GW1 20.1.1.3 - ext IP at the office GW2) NOTE: I dont have any other IKE-rules right now on none of those GW. Following I see on the home-gw: Oct 15 23:47:32 fw1 iked[8578]: sa_state: VALID - ESTABLISHED from 20.1.1.2:59973 to 10.1.1.1:500 policy 'home_to_office' Oct 16 02:27:57 fw1 iked[8578]: ikev2_msg_send: CREATE_CHILD_SA from 10.1.1.1:500 to 20.1.1.2:59973, 240 bytes Oct 16 02:27:58 fw1 iked[8578]: ikev2_recv: CREATE_CHILD_SA from responder 20.1.1.2:55932 to 10.1.1.1:500 policy 'home_to_office', 240 bytes Oct 16 02:27:58 fw1 iked[8578]: ikev2_msg_send: INFORMATIONAL from 10.1.1.1:500 to 20.1.1.2:55932, 80 bytes Oct 16 02:27:58 fw1 iked[8578]: ikev2_recv: INFORMATIONAL from responder 20.1.1.2:55932 to 10.1.1.1:500 policy 'home_to_office', 80 bytes Oct 16 02:30:47 fw1 iked[8578]: ikev2_recv: CREATE_CHILD_SA from responder 20.1.1.2:55595 to 10.1.1.1:500 policy 'home_to_office', 240 bytes Oct 16 02:33:50 fw1 iked[8578]: ikev2_msg_send: CREATE_CHILD_SA from 10.1.1.1:500 to 20.1.1.2:59973, 240 bytes At the office: Oct 15 23:47:32 fw1 iked[16378]: sa_state: VALID - ESTABLISHED from 10.1.1.1:500 to 20.1.1.2:500 policy 'mxb_to_office' Oct 16 02:27:58 fw1 iked[16378]: ikev2_msg_send: CREATE_CHILD_SA from 20.1.1.2:500 to 10.1.1.1:500, 240 bytes Oct 16 02:27:58 fw1 iked[16378]: ikev2_recv: INFORMATIONAL from initiator 10.1.1.1:500 to 20.1.1.2:500 policy 'mxb_to_office', 80 bytes Oct 16 02:27:58 fw1 iked[16378]: ikev2_pld_delete: deleted 1 spis Oct 16 02:27:58 fw1 iked[16378]: ikev2_msg_send: INFORMATIONAL from 20.1.1.2:500 to 10.1.1.1:500, 80 bytes Oct 16 02:30:47 fw1 iked[16378]: ikev2_msg_send: CREATE_CHILD_SA from 20.1.1.2:500 to 10.1.1.1:500, 240 bytes At this time it looks like I lose my tunnel. Trying to ping remote network produces Oct 16 13:08:11 fw1 iked[8578]: ikev2_msg_send: CREATE_CHILD_SA from 10.1.1.1:500 to 20.1.1.2:55932, 240 bytes But this only seen on the home GW. //maxim On Oct 15, 2011, at 1:03 PM, Joosep wrote: On Sat, Oct 15, 2011 at 12:13 PM, Maxim Bourmistrov m...@alumni.chalmers.sewrote: Thanks for your replay, Trevor! Yes, indeed, PF was the case here. Except pass on enc0 from any to any keep state (if-bound), I also decided to pass all ESP traffic. Tunnel, however, sometimes times out. Not sure about the reason for this yet. //maxim Hi! There is a patch for 4.8 and 4.9 that probably fixes your timeouts problem. Please read this thread: http://marc.info/?l=openbsd-miscm=130959664208980w=2 It's not a critical bugfix, so it's not on the errata page, but it is in the cvs. Joosep
Análisis de Fallas y su Causa Raíz: Enfoque AMEF.
Analisis de Fallas y su Causa Ramz: Enfoque AMEF. Mixico D.F. - 31 de Octubre de 2011 Este programa esta diseqado especmficamente para Profesionistas Ticnicos, Gerentes y Jefes de Departamento de Manufactura y Mantenimiento, Supervisores de Produccisn, Ingenieros de Procesos y personal responsable de la operacisn, asm como tambiin personal relacionado con la operacisn del sistema TS 16949. Las ticnicas y estrategias de ANALISIS DE CAUSA Y SU EFECTO RAIZ han demostrado ser herramientas efectivas para actividades de oficina, operaciones de servicio y funciones administrativas. Le enseqara: Los pasos y herramientas esenciales requeridos para revelar las causas ramz de un problema. Las fallas de causa ramz mas comunes y como atacarlas. Ticnicas comprobadas de solucisn de problemas para lograr ahorros significativos. !NO DEJE PASAR LA OPORTUNIDAD! !Inscrmbase HOY MISMO ! Para obtener informacisn detallada Responda este correo con los siguientes datos o llame a nuestra lada sin costo: 01-800-25010-20 -Empresa: -Nombre: -Ciudad: -Telifono: Cordialmente, Lic. Estefania Mena Lider de Proyectos ESTE CORREO NO PUEDE SER CONSIDERADO INTRUSIVO YA QUE CUMPLE CON LAS POLMTICAS ANTISPAM INTERNACIONALES Y LOCALES: Responda este correo con el SUBJECT des-suscribir y automaticamente quedara fuera de nuestras listas. Este correo ha sido enviado a: misc@openbsd.org
Licitaciones Públicas 360 º Adquisiciones, Arrendamientos y Servicios.
[IMAGE] Pms Capacitacisn Efectiva de Mixico presenta: Licitaciones Pzblicas 360 :, el seminario mas completo para convertirse en un exitoso proveedor de Gobierno. Este programa combina la metodologma el estudio de la normatividad con sesiones participativas y dinamicas, alternando segmentos de exposicisn didactica con procesos de retroalimentacisn propiciados por el coach ejecutivo y con estudio de casos practicos que familiaricen y fortalezcan a los participantes con la problematica planteada. Exclusiva Presentacisn: 21 de Octubre en la Ciudad de Mixico con un horario de 09:00 a 08:00 pm. Seminario totalmente Practico guiado por un experto en la materia! Lo estara acompaqado nuestro expositor Mtro. Gerardo Coronado L. Traemos los mejores eventos para usted, conozca los beneficios de capacitarse con los mejores! Empresa Registrada ante la STPS Reg. COLG640205CP30005 Smguenos en Twitter@pmscapacitacion o bien en Facebook PMS de Mixico !Solicite Mayores Informes! Por favor responda este e-mail con los datos siguientes. Empresa: Nombre: Telifono: Email: Nzmero de Interesados: En breve recibira la informacisn completa de este inigualable evento. Comunmquese a los telifonos y con gusto uno de nuestros ejecutivos le atendera. Telifonos: (0133) 8851-2365, (0133) 8851-2741. Copyright (C) 2011, PMS Capacitacisn Efectiva de Mixico S.C. Derechos Reservados. PMS de Mixico, El logo de PMS de Mixico son marcas registradas. ADVERTENCIA PMS de Mixico no cuenta con alianzas estratigicas de ningzn tipo dentro de la Republica Mexicana. NO SE DEJE ENGAQAR - DIGA NO A LA PIRATERIA. Todos los logotipos, marcas comerciales e imagenes son propiedad de sus respectivas corporaciones y se utilizan con fines informativos solamente. Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de Mixico o bien un usuario le refiris para recibir este boletmn. Como usuario de Pms de Mixico, en este acto autoriza de manera expresa que Pms de Mixico le puede contactar vma correo electrsnico u otros medios. Si usted ha recibido este mensaje por error, haga caso omiso de el y reporte su cuenta respondiendo este correo con el subject BAJALICITACIONES Unsubscribe to this mailing list, reply a blank message with the subject UNSUBSCRIBE BAJALICITACIONES Tenga en cuenta que la gestisn de nuestras bases de datos es de suma importancia y no es intencisn de la empresa la inconformidad del receptor. [demime 1.01d removed an attachment of type image/jpeg which had a name of imagelicitaciones.jpg]
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 15:46, Christer Solskogen christer.solsko...@gmail.com wrote: On Tue, Oct 18, 2011 at 8:12 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? dd if=/dev/random of=/dev/null bs=32k Random is pretty fast on OpenBSD then. I have a 2010 Macbook Pro with OSX (Lion) which does about 13MB/s. An a much older machine (with a much slower cpu) with OpenBSD which does 65MB/s. -- chs, On my Thinkpad T60p with an Intel Core 2 Duo T7600 processor @ 2.33GHz running -current amd64 with the cpu set to min freq (apm -C / hw.setperf=0) running at 1000MHz I get on average 80MB/sec. With the cpu set to max freq (apm -H / hw.setperf=100) running at 2333MHz, I consistently get 135MB/sec.
Re: /dev/srandom vs. /dev/arandom
From: Paul D. Ouderkirk p...@ouderkirk.ca Subject: Re: /dev/srandom vs. /dev/arandom To: Theo de Raadt dera...@cvs.openbsd.org Cc: James Hozier guitars...@yahoo.com, misc@openbsd.org Date: Tuesday, October 18, 2011, 5:41 PM On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? If my math is right, you would see 600KB/sec on a 10 MHz Xeon. Yes, I said MHz. -- -- Paul D. Ouderkirk Senior UNIX System Administrator p...@ouderkirk.ca -- laughing, in the mechanism -- William Gibson I'm doing dd if=/dev/random of=/dev/wd0c
Re: Question about apmd power savings
On Tue, Oct 18, 2011 at 12:22 PM, Geoff Steckel g...@oat.com wrote: Were you running a CPU-intensive workload on the CPU(s)? Changing the clock speed of an idle chip won't change the power usage very much in absolute terms. If the CPU has multiple cores, exercising them all at once may maximize power usage so check with all of them running hard. Memory chips also use more power when cycled, but if the CPU is stalled waiting for memory it may use less power, so the interaction is not a priori well defined. No, the system was idle. Thanks for the explanation. I can't complain. The box runs at 35 watts, which is a significant reduction in energy usage over my previous home server.
Re: /dev/srandom vs. /dev/arandom
From: Paul D. Ouderkirk p...@ouderkirk.ca Subject: Re: /dev/srandom vs. /dev/arandom To: Theo de Raadt dera...@cvs.openbsd.org Cc: James Hozier guitars...@yahoo.com, misc@openbsd.org Date: Tuesday, October 18, 2011, 5:41 PM On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? If my math is right, you would see 600KB/sec on a 10 MHz Xeon. Yes, I said MHz. -- -- Paul D. Ouderkirk Senior UNIX System Administrator p...@ouderkirk.ca -- laughing, in the mechanism -- William Gibson On /dev/null as opposed to my hard drive, I do get 600MB/s though.
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 3:55 PM, James Hozier guitars...@yahoo.com wrote: From: Paul D. Ouderkirk p...@ouderkirk.ca Subject: Re: /dev/srandom vs. /dev/arandom To: Theo de Raadt dera...@cvs.openbsd.org Cc: James Hozier guitars...@yahoo.com, misc@openbsd.org Date: Tuesday, October 18, 2011, 5:41 PM On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? B dd if=/dev/random of=/dev/null ? If my math is right, you would see 600KB/sec on a 10 MHz Xeon. Yes, I said MHz. -- -- Paul D. Ouderkirk Senior UNIX System Administrator p...@ouderkirk.ca -- laughing, in the mechanism -- William Gibson On /dev/null as opposed to my hard drive, I do get 600MB/s though. Strange...
Re: Question about apmd power savings
On Tue, Oct 18, 2011 at 11:53:25AM -0700, Joe S wrote: This isn't a problem and I'm not complaining, I'm just a bit curious as apmd didn't save me as much power as I hoped for. I noticed that apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it out apmd on my HP Microserver. So I upgraded my system from 4.9-RELEASE to a recent -CURRENT snapshot. When I run apmd -C hw.setperf gets set to 0 and the hw.cpuspeed gets set to 800 MHz. That was expected. I attached a Kill-a-Watt meter to my system to see what kind of power savings I would experience with apmd enabled. I think my expectations were a bit too high. I was only saving .5 watts when my cpu was throttled down to 800 MHz from 1.3 GHz. I haven't seen many posts on this subject, so I was wondering if the power savings of .5 watts sounds normal, or if something is wrong on my end. Sorry Joe, I'm not subscribed to misc@, marc.info is ro, I didn't see your message. I worked on K10 freq scaling for my laptop, indeed, it doesn't help much in terms of measurable power savings.. not as much as I had hoped it might. Playing with voltage settings may have helped, but it seemed risky.. no other implementation messages with it either. The effects are more noticable on laptops, but for desktops/workstatons, it's not really worth enabling apmd, just make sure you have decent cooling. -Bryan.
Co-existens of iked and isakmpd on the same machine
Hi list, is there a way? I know isakmpd can be bound to a specific IP via isakmpd.conf, but iked seems to bind to any, eg. there is no way to bind it like isakmpd(as far as I know). //maxim
Re: Question about apmd power savings
you could replace that 3.5 disk drive with a 2.5 one and save some more that way.. On Oct 18, 2011, at 11:53 AM, Joe S js.li...@gmail.com wrote: This isn't a problem and I'm not complaining, I'm just a bit curious as apmd didn't save me as much power as I hoped for. I noticed that apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it out apmd on my HP Microserver. So I upgraded my system from 4.9-RELEASE to a recent -CURRENT snapshot. When I run apmd -C hw.setperf gets set to 0 and the hw.cpuspeed gets set to 800 MHz. That was expected. I attached a Kill-a-Watt meter to my system to see what kind of power savings I would experience with apmd enabled. I think my expectations were a bit too high. I was only saving .5 watts when my cpu was throttled down to 800 MHz from 1.3 GHz. I haven't seen many posts on this subject, so I was wondering if the power savings of .5 watts sounds normal, or if something is wrong on my end. OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8554872832 (8158MB) avail mem = 8313020416 (7927MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfb330 (35 entries) bios0: vendor HP version O41 date 09/30/2010 bios0: HP ProLiant MicroServer acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC MCFG SPMI OEMB HPET EINJ BERT ERST HEST SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1298.06 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN OW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1297.85 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DN OW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpi0: unable to load \\_SB_._INI.EXH1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus 2 (PCE4) acpiprt4 at acpi0: bus 3 (PCE6) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: 1297 MHz: speeds: 1300 1100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Hewlett-Packard, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00 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 ppb1 at pci0 dev 4 function 0 AMD RS780 PCIE rev 0x00: msi pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi, address 00:1b:21:a8:61:9a ppb2 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00 pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5723 rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 18, address 78:ac:c0:f7:96:05 brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4 ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 ATI EHCI root hub rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 ATI EHCI root hub rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 ATI SBx00 SMBus rev 0x42: polling iic0 at piixpm0 admtemp0 at iic0 addr 0x18:
Re: Question about apmd power savings
On Tue, Oct 18, 2011 at 2:22 PM, Brynet bry...@gmail.com wrote: Sorry Joe, I'm not subscribed to misc@, marc.info is ro, I didn't see your message. I worked on K10 freq scaling for my laptop, indeed, it doesn't help much in terms of measurable power savings.. not as much as I had hoped it might. Playing with voltage settings may have helped, but it seemed risky.. no other implementation messages with it either. The effects are more noticable on laptops, but for desktops/workstatons, it's not really worth enabling apmd, just make sure you have decent cooling. -Bryan. Bryan, I saw your name when I was looking into this. Thanks for working on this and thanks for the confirmation.
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 11:12 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: On Tue, Oct 18, 2011 at 12:20 PM, Theo de Raadt dera...@cvs.openbsd.org wrote: In any case, I'm getting just under 600KB/s on average with /dev/random. This is on a rather old machine, so I guess it's not too bad. I am getting 9MB/sec on a zaurus (416 MHz xscale arm). Just so everyone is on the same page, how are you measuring that? dd if=/dev/random of=/dev/null ? dd if=/dev/random of=/dev/null bs=32k I typed this and only got 596k on my Sun IPX (40Mhz). Can you fix this please? *ducks* -B
upgt0: upgt_bulk_xmit: error TIMEOUT!
Hiya, I have 2 ISL PrismGT based wireless adapters which don't appear to be working with upgt(4) Each device results in the same error upgt0: upgt_bulk_xmit: error TIMEOUT! upgt0: could not send start_firmware_load command! upgt0: upgt_attach_hook failed! 1 card is a Belkin F5D7050 the Other is a Linksys WUSB54G which I've added manually to if_upgtc.c In order to get the belkin working I disable ural to prevent it from attaching to the device (confirmed the device is a prism chipset card by removing cover). I've tested the Belkin card on 4.9 -CURRENT the Linksys card just on -CURRENT Sevan OpenBSD 5.0-current (GENERIC.MP) #0: Tue Oct 18 22:49:52 BST 2011 foo@bar:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz (GenuineIntel 686-class) 1.60 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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM real mem = 2103693312 (2006MB) avail mem = 2059182080 (1963MB) User Kernel Config UKC disba\^H \^H\^H \^Hable url\^H \^Hal 421 ural* disabled UKC disable ral 197 ral* disabled 198 ral* disabled UKC exit Continuing... mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/22/11, BIOS32 rev. 0 @ 0xfdc80, SMBIOS rev. 2.4 @ 0xe0010 (63 entries) bios0: vendor LENOVO version 7NETC2WW (2.22 ) date 03/22/2011 bios0: LENOVO 766634G acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET SLIC SLAC BOOT ASF! SSDT SSDT SSDT SSDT acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) EXP3(S4) EXP4(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpiec0 at acpi0 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) Core(TM)2 Duo CPU L7500 @ 1.60GHz (GenuineIntel 686-class) 1.60 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,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 2, remapped to apid 1 acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 2 (EXP0) acpiprt3 at acpi0: bus 3 (EXP1) acpiprt4 at acpi0: bus -1 (EXP2) acpiprt5 at acpi0: bus -1 (EXP3) acpiprt6 at acpi0: bus -1 (EXP4) acpiprt7 at acpi0: bus 5 (PCI1) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpipwrres0 at acpi0: PUBS acpitz0 at acpi0: critical temperature is 127 degC acpitz1 at acpi0: critical temperature is 100 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: SLPB acpibat0 at acpi0: BAT0 model 42T4571 serial 4165 type LION oem SONY acpibat1 at acpi0: BAT1 not present acpibat2 at acpi0: BAT2 not present acpiac0 at acpi0: AC unit online acpithinkpad0 at acpi0 acpidock0 at acpi0: GDCK not docked (0) bios0: ROM list: 0xc/0x1! 0xd/0x1000 0xd1000/0x1000 0xe/0x1! cpu0: Enhanced SpeedStep 1597 MHz: speeds: 1601, 1600, 1200, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM965 Host rev 0x0c vga1 at pci0 dev 2 function 0 Intel GM965 Video rev 0x0c 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 1 int 16 drm0 at inteldrm0 Intel GM965 Video rev 0x0c at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH8 IGP M AMT rev 0x03: msi, address 00:1d:72:60:a1:b3 uhci0 at pci0 dev 26 function 0 Intel 82801H USB rev 0x03: apic 1 int 20 uhci1 at pci0 dev 26 function 1 Intel 82801H USB rev 0x03: apic 1 int 21 ehci0 at pci0 dev 26 function 7 Intel 82801H USB rev 0x03: apic 1 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801H HD Audio rev 0x03: msi azalia0: codecs: Analog Devices AD1984, Conexant/0x2bfa, using Analog Devices AD1984 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x03: apic 1 int 20 pci1 at ppb0 bus 2 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x03: apic 1 int 21 pci2 at ppb1 bus 3 Ralink RT2790 rev 0x00 at pci2 dev 0 function 0 not configured uhci2 at pci0 dev 29 function 0 Intel 82801H USB rev 0x03: apic 1 int 16 uhci3 at pci0 dev 29 function 1 Intel 82801H USB rev 0x03: apic 1 int 17 ehci1 at pci0 dev 29 function 7 Intel 82801H USB rev 0x03: apic 1 int 19 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 82801BAM
Re: Happy birthday OpenBSD
2011/10/18 STeve Andre' and...@msu.edu 16 years! Long live OpenBSD! -- //ssh
Re: Question about apmd power savings
If going from 1.3GHz to 800MHz saves .5 watts, the power supply isn't the most efficient, I'd say. You ought to see several watts, though less than 10, at a wild guess. Of course, your kill-a-watt meter might be off, too. I saw one that was +/- 20% of its crate mates, so while I think the product is neat, I'm not sure of their build quality. The other think you can do is get a 'green' disk and shave off a few watts (2.5 inch disks are better), and if the Radeon card isn't built in, put a simpler card in (assuming a server). Lastly, if you have multiple machines try a different power supply. --STeve Andre' On 10/18/11 14:53, Joe S wrote: This isn't a problem and I'm not complaining, I'm just a bit curious as apmd didn't save me as much power as I hoped for. I noticed that apmd couldn't throttle my cpu in 4.9-RELEASE (amd64). However, since March 2011, -CURRENT recognizes the K10 cpus, so I wanted to try it out apmd on my HP Microserver. So I upgraded my system from 4.9-RELEASE to a recent -CURRENT snapshot. When I run apmd -C hw.setperf gets set to 0 and the hw.cpuspeed gets set to 800 MHz. That was expected. I attached a Kill-a-Watt meter to my system to see what kind of power savings I would experience with apmd enabled. I think my expectations were a bit too high. I was only saving .5 watts when my cpu was throttled down to 800 MHz from 1.3 GHz. I haven't seen many posts on this subject, so I was wondering if the power savings of .5 watts sounds normal, or if something is wrong on my end. OpenBSD 5.0-current (GENERIC.MP) #96: Thu Oct 6 16:12:43 MDT 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8554872832 (8158MB) avail mem = 8313020416 (7927MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xfb330 (35 entries) bios0: vendor HP version O41 date 09/30/2010 bios0: HP ProLiant MicroServer acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC MCFG SPMI OEMB HPET EINJ BERT ERST HEST SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1298.06 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Athlon(tm) II Neo N36L Dual-Core Processor, 1297.85 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative ioapic0 at mainbus0: apid 2 pa 0xfec0, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpi0: unable to load \\_SB_._INI.EXH1 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus 2 (PCE4) acpiprt4 at acpi0: bus 3 (PCE6) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: 1297 MHz: speeds: 1300 1100 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 AMD RS880 Host rev 0x00 ppb0 at pci0 dev 1 function 0 vendor Hewlett-Packard, unknown product 0x9602 rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 5 function 0 ATI Mobility Radeon HD 4200 rev 0x00 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 ppb1 at pci0 dev 4 function 0 AMD RS780 PCIE rev 0x00: msi pci2 at ppb1 bus 2 em0 at pci2 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi, address 00:1b:21:a8:61:9a ppb2 at pci0 dev 6 function 0 AMD RS780 PCIE rev 0x00 pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 Broadcom BCM5723 rev 0x10, BCM5784 A1 (0x5784100): apic 2 int 18, address 78:ac:c0:f7:96:05 brgphy0 at bge0 phy 1: BCM5784 10/100/1000baseT PHY, rev. 4 ahci0 at pci0 dev 17 function 0 ATI SBx00 SATA rev 0x40: apic 2 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets ohci0 at pci0 dev 18 function 0 ATI SB700 USB rev 0x00: apic 2 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 ATI SB700 USB2 rev 0x00: apic 2 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at
Volunteer project to implement wireless in a school
I have volunteered to implement a wireless network in a school. I have about 2 months (till January) to do a proof of concept and implementation will be summer of 2012. Initial thoughts: School is L shaped with 20 rooms , each arm of the L is ~ 35 M (~ 110 ft) in length, everything is on one floor.There will be between 40 and 100 clients connected at any one time throughout the school. Clients need to stay connected to the wireless network as they move throughout the school. each arm would have 2 access points at ~ 12M (40 ft) and 24 M (80 ft) from the vertex of the 2 arms, and one in the vertex ( 5 APs total) I hope to use soekris net6501-50: 1 Ghz CPU, 1 Gbyte DDR2-SDRAM, 4 Gigabit Ethernet Ports as the AP host, SparkLAN WMIA-199NI INDUSTRIAL GRADE WLAN 802.11n draft wifi 2.4/5Ghz dual band 3T/3R Module (Atheros AR9001 + AR9160 XSPAN) Wireless miniPCI cardas the wireless cardProof of concept will use OpenBSD 5.0 to set up the wireless network using hostAP to ensure the clients can stay connected to the smae ssid throughout the school.. Production network in 2012 will likely be openbsd 5.1 Before I invest money and time into this, does the plan sound reasonable? Are there better wireless cards to use as access points? Thanks for any advise, in particular on better wireless card choice, if there is one. Len Zaifman
Re: /dev/srandom vs. /dev/arandom
On 10/18/11 16:47, James Hozier wrote: I'm doing dd if=/dev/random of=/dev/wd0c and your bottleneck was anything but uh...(/dev/)random. :) Doing it that way, you can't even push zeros out rapidly. Add a block size flag. Long ago, someone who should know assured me (or maybe the mail list?) that a bs32k doesn't do anything, but my tests a year or two ago showed non-trivial improvements up to around bs=1m. Your results may vary. Use the raw device -- /dev/rwd0c So...something like this: dd if=/dev/random of=/dev/rwd0c bs=256k (note: I'm not sure what happens if the last block to be written is only 250k in size -- it may clear 'em, it may stop. probably good to test if you are concerned about it. You will see a huge improvement from EACH of those two tricks, and combined, they are even better. Another advantage of bs=1m is that if you pkill -INFO dd, you can see how many megabytes you've cleared so far (ok, you can do the math regardless, but that one I can do in my head). But, repeating what someone else said -- if zeros aren't good enough for you, shred or melt down the disks. No one will get usable data off the good spots on your disk with zeros, and random data doesn't clear the locked out bad blocks. Some time back, I made an OpenBSD boot disk with the install script replaced by some dd commands to zero disks. No prompting, just blow away everything. Cleared a few hundred machines that way. Look, ma! no keyboard! :) (only blew away one machine by accident ;) Nick.
Re: Volunteer project to implement wireless in a school
Hi Leonard - have you considered openmesh ... you will probably find you will get cost savings and that whole - re-inventing the wheel thing. http://www.open-mesh.com/ -JoelW On 19 October 2011 14:08, leona...@sympatico.ca wrote: I have volunteered to implement a wireless network in a school. I have about 2 months (till January) to do a proof of concept and implementation will be summer of 2012. Initial thoughts: School is L shaped with 20 rooms , each arm of the L is ~ 35 M (~ 110 ft) in length, everything is on one floor.There will be between 40 and 100 clients connected at any one time throughout the school. Clients need to stay connected to the wireless network as they move throughout the school. each arm would have 2 access points at ~ 12M (40 ft) and 24 M (80 ft) from the vertex of the 2 arms, and one in the vertex ( 5 APs total) I hope to use soekris net6501-50: 1 Ghz CPU, 1 Gbyte DDR2-SDRAM, 4 Gigabit Ethernet Ports as the AP host, SparkLAN WMIA-199NI INDUSTRIAL GRADE WLAN 802.11n draft wifi 2.4/5Ghz dual band 3T/3R Module (Atheros AR9001 + AR9160 XSPAN) Wireless miniPCI cardas the wireless cardProof of concept will use OpenBSD 5.0 to set up the wireless network using hostAP to ensure the clients can stay connected to the smae ssid throughout the school.. Production network in 2012 will likely be openbsd 5.1 Before I invest money and time into this, does the plan sound reasonable? Are there better wireless cards to use as access points? Thanks for any advise, in particular on better wireless card choice, if there is one. Len Zaifman
科研项目申报会议通知(10月27日成都)
10:42:01 [demime 1.01d removed an attachment of type application/octet-stream which had a name of =?utf-8?B?56eR5oqA6aG555uu5LiT6aG56LWE6YeR55Sz5oql5pqo5LyB5Lia55+l6K+G5Lqn5p2D566h55CG56CU6K6o54+tLmRvYw==?=]
Polite enquiry as to if anyone is working on 64 bit time_t, and if so, what's the plan?
Hi I found mention of a possible move to 64 bit time_t back in 2005 and 3.9 was mentioned, but I see it hasn't happened. Is there a plan, like for instance making all platforms, even 32 bit 64 bit time_t, like I think NetBSD have tried/trying to do? Can some one give a brief list of what needs to change, forgetting about ports, like UFS etc. that would be greatly appreciated. Regards, Bruce
Re: Question about apmd power savings
On Tue, Oct 18, 2011 at 6:36 PM, STeve Andre' and...@msu.edu wrote: If going from 1.3GHz to 800MHz saves .5 watts, the power supply isn't the most efficient, I'd say. You ought to see several watts, though less than 10, at a wild guess. Of course, your kill-a-watt meter might be off, too. I saw one that was +/- 20% of its crate mates, so while I think the product is neat, I'm not sure of their build quality. The other think you can do is get a 'green' disk and shave off a few watts (2.5 inch disks are better), and if the Radeon card isn't built in, put a simpler card in (assuming a server). Lastly, if you have multiple machines try a different power supply. http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/sys/kern/sched_bsd.c I think looking at that file, maybe the CPU's cores are all awake every rrticks_init. Is that a big reason for low power savings, each core waking up?
Re: /dev/srandom vs. /dev/arandom
On Tue, Oct 18, 2011 at 01:47:59PM -0700, James Hozier wrote: I'm doing dd if=/dev/random of=/dev/wd0c Never use the block device for anything other than mounting. Also, specify a block size. Something like dd if=/dev/random of=/dev/rwd0c bs=64k The r is really important. Play with the block size to see what works best for you. -Otto
NIDS on OpenBSD
Hi, I use OpenBSD 4.9, i'm looking for a good nids. I found scanlogd in ports, works very well. But is there a way to work this last one with pf ? For example add the ip-address detected by scanlogd to a Blacklist table ? Also, is there a way to have a web monitor to view alert? Perhaps, you use something else ... what ? ;-) snort ? Thank you very much ! All the best, Wesley.