Re: 003_ftp.patch, cert ref count

2014-04-12 Thread Jérémie Courrèges-Anglas
Mike Small sma...@panix.com writes:

 Was looking at
 http://ftp.openbsd.org/pub/OpenBSD/patches/5.5/common/003_ftp.patch.sig
 this last chunk...

 + if (ssl_verify) {
 + X509  *cert;
 +
 +   cert = SSL_get_peer_certificate(ssl);
 +  if (cert == NULL) {
 +  fprintf(ttyout, %s: no server 
 certificate\n,
 +  
 getprogname());
 + 
   goto cleanup_url_get;
 + 
   }
 +
 +   if (ssl_check_hostname(cert, host) != 0) {
 +  fprintf(ttyout, 
 %s: host `%s' not present in
 + 
 server certificate\n,
 + 
   getprogname(), host);
 + 
goto cleanup_url_get;
 + 
  }
 +
 +   X509_free(cert);
 }


 If that second check fails and you goto cleanup_url_get you skip
 X509_free(cert). Wouldn't that screw up the reference count?

Good catch.

 Or does
 that not matter after SSL_Shutdown and SSL_Free are called?

It does not matter because if the second check fails, we're going to
exit the process anyway, so a memory leak does not have an impact; I'm
more concerned by the ssl_ctx allocation, for which I already have
a diff.

Thanks,
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: FYA: http://heartbleed.com/

2014-04-12 Thread hruodr
patrick keshishian pkesh...@gmail.com wrote:

[...]
 | ... the NSA has more than 1,000 experts
 | devoted to ferreting out such flaws using
 | sophisticated analysis techniques, many of them
 | classified. The agency found Heartbleed shortly
 | after its introduction, according to one of the
 | people familiar with the matter, and it became a
 | basic part of the agency's toolkit for stealing
 | account passwords and other common tasks.

 found! OK. so it wasn't implanted in there... what
 a relief!

[...]
 source: 
 http://www.businessweek.com/news/2014-04-11/nsa-said-to-have-used-heartbleed-bug-exposing-consumers


I just want to put your quotation in its context. Just before it:

| While many Internet companies rely on the free code, its integrity depends 
| on a small number of underfunded researchers who devote their energies to 
| the projects.
|
| In contrast, ... [your quotation]

For businessweek it is just a matter of money. :)

Rodrigo.



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-12 Thread Paul Irofti
Steve,

can you test this diff for me and tell me if it fixes anything for you.

I'll also be attending BSDCan to give a talk, see you there! 


Index: dsdt.c
===
RCS file: /cvs/src/sys/dev/acpi/dsdt.c,v
retrieving revision 1.205
diff -u -p -r1.205 dsdt.c
--- dsdt.c  12 Dec 2013 20:56:01 -  1.205
+++ dsdt.c  12 Apr 2014 10:45:02 -
@@ -736,72 +736,58 @@ static long global_lock_count = 0;
 void
 acpi_glk_enter(void)
 {
-   acpi_acquire_glk(acpi_softc-sc_facs-global_lock);
-}
-
-void
-acpi_glk_leave(void)
-{
-   int x;
-
-   if (acpi_release_glk(acpi_softc-sc_facs-global_lock)) {
-   /*
-* If pending, notify the BIOS that the lock was released
-* by the OSPM. No locking is needed because nobody outside
-* the ACPI thread is touching this register.
-*/
-   x = acpi_read_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0);
-   x |= ACPI_PM1_GBL_RLS;
-   acpi_write_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0, x);
-   }
-}
-
-void
-aml_lockfield(struct aml_scope *scope, struct aml_value *field)
-{
int st = 0;
 
-   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
-   return;
-
-   /* If lock is already ours, just continue */
+   /* If lock is already ours, just continue. */
if (global_lock_count++)
return;
 
-   /* Spin to acquire lock */
+   /* Spin to acquire the lock. */
while (!st) {
st = acpi_acquire_glk(acpi_softc-sc_facs-global_lock);
/* XXX - yield/delay? */
}
-
-   return;
 }
 
 void
-aml_unlockfield(struct aml_scope *scope, struct aml_value *field)
+acpi_glk_leave(void)
 {
-   int st, x, s;
+   int st, x;
 
-   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
-   return;
-
-   /* If we are the last ones, turn out the lights */
+   /* If we are the last one, turn out the lights. */
if (--global_lock_count)
return;
 
-   /* Release lock */
st = acpi_release_glk(acpi_softc-sc_facs-global_lock);
if (!st)
return;
 
-   /* Signal others if someone waiting */
-   s = spltty();
+   /*
+* If pending, notify the BIOS that the lock was released by
+* OSPM.  No locking is needed because nobody outside the ACPI
+* thread is supposed to touch this register.
+*/
x = acpi_read_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0);
x |= ACPI_PM1_GBL_RLS;
acpi_write_pmreg(acpi_softc, ACPIREG_PM1_CNT, 0, x);
-   splx(s);
+}
+
+void
+aml_lockfield(struct aml_scope *scope, struct aml_value *field)
+{
+   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
+   return;
+
+   acpi_glk_enter();
+}
+
+void
+aml_unlockfield(struct aml_scope *scope, struct aml_value *field)
+{
+   if (AML_FIELD_LOCK(field-v_field.flags) != AML_FIELD_LOCK_ON)
+   return;
 
-   return;
+   acpi_glk_leave();
 }
 
 /*
Index: acpiec.c
===
RCS file: /cvs/src/sys/dev/acpi/acpiec.c,v
retrieving revision 1.48
diff -u -p -r1.48 acpiec.c
--- acpiec.c2 Jul 2013 18:37:47 -   1.48
+++ acpiec.c12 Apr 2014 10:45:03 -
@@ -34,6 +34,7 @@
 
 intacpiec_match(struct device *, void *, void *);
 void   acpiec_attach(struct device *, struct device *, void *);
+intacpiec_activate(struct device *, int);
 
 u_int8_t   acpiec_status(struct acpiec_softc *);
 u_int8_t   acpiec_read_data(struct acpiec_softc *);
@@ -54,6 +55,7 @@ int   acpiec_getregister(const u_int8_t *
 
 void   acpiec_wait(struct acpiec_softc *, u_int8_t, u_int8_t);
 void   acpiec_sci_event(struct acpiec_softc *);
+void   acpiec_clear_events(struct acpiec_softc *);
 
 void   acpiec_get_events(struct acpiec_softc *);
 
@@ -82,7 +84,8 @@ void  acpiec_unlock(struct acpiec_softc 
 intacpiec_reg(struct acpiec_softc *);
 
 struct cfattach acpiec_ca = {
-   sizeof(struct acpiec_softc), acpiec_match, acpiec_attach
+   sizeof(struct acpiec_softc), acpiec_match, acpiec_attach,
+   NULL, acpiec_activate
 };
 
 struct cfdriver acpiec_cd = {
@@ -296,6 +299,8 @@ acpiec_attach(struct device *parent, str
acpi_set_gpehandler(sc-sc_acpi, sc-sc_gpe, acpiec_gpehandler,
sc, 1);
 #endif
+
+   acpiec_clear_events(sc);

if (aml_evalname(sc-sc_acpi, sc-sc_devnode, _GLK, 0, NULL, res))
sc-sc_glk = 0;
@@ -307,6 +312,20 @@ acpiec_attach(struct device *parent, str
printf(\n);
 }
 
+int
+acpiec_activate(struct device *self, int act)
+{
+   struct acpiec_softc *sc = (struct acpiec_softc *)self;
+
+
+   switch (act) {
+   case DVACT_RESUME:
+   

Re: antiviruses executable on OpenBSD

2014-04-12 Thread Jay Patel
Sophos have anti virus too. Also there's clamav and OSSEC
http://www.ossec.net


On Fri, Apr 4, 2014 at 5:23 PM, Stuart Henderson s...@spacehopper.orgwrote:

 On 2014-04-04, Jiri B ji...@devio.us wrote:
  Unfortunatelly both Czech/Slovak antiviruses - Eset,
  AVG, support Linux or FreeBSD.
 
  Maybe m:tier could propose to antivirus companies some kind
  of cooperation (testing, troubleshooting, boxes for development).
  If so, it would be great.
 
  Maybe just OpenBSD mail server admins should just push
  antivirus companies to support OpenBSD as well.
 
  j.
 
 

 It would probably do more good if *large* existing customers of A/V
 vendors would ask them about this. Risk of losing an existing contract
 for a medium/large company's worth of workstations is probably more
 important than a handful of potential sales on a product which would
 probably be seen as a loss leader anyway...



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-12 Thread Steve Quinn
On Sat, Apr 12, 2014 at 9:04 AM, Paul Irofti p...@irofti.net wrote:
 can you test this diff for me and tell me if it fixes anything for you.

Cool, yes, thank you

 I'll also be attending BSDCan to give a talk, see you there!

Sweet, D-Link DSR, interesting.
3 Scheduled Talk Tracks and only 1 me.  I need to clone myself.

Steve



Re: acpitz3: critical temperature exceeded with HP nc6320 Laptop

2014-04-12 Thread Tomas Bodzar
On Sat, Apr 12, 2014 at 4:22 AM, Steve Quinn letter2st...@gmail.com wrote:

 On Fri, Apr 11, 2014 at 1:34 AM, Tomas Bodzar tomas.bod...@gmail.com
 wrote:

  Using -current is easy, just start with latest snapshot from mirror and
 use
  snapshot path for packages in PKG_PATH as well. From that time on easy
 like
  with regular system. Plus is you have binary upgrades to new snapshot
 mostly
  everyday (if you want to) - man sysmerge - checking current.html page
 IF
  some manual intervention needed - pkg_add -u . All of that takes like 15
  minutes or so, depends on speed of your network and interval how often
 you
  will update between snapshots. Generally more stable then some so called
  stable/lts/whatever distros and you have latest fixes.

 My gosh Tomas, you are so incredibly helpful thank you.

 I now have an avenue to supply a laptop to a Dev :-)
 In parallel though, I'll still be taking this opportunity to learn
 -current and other shiny new (to me) things



You're welcome. You will find it quickly very easy. Especially for
desktop/workstation/laptop not much reasons to be on release/stable. I
don't say that there are not use cases, but very small amount of those.



  For BIOS I meant if there's something related to ACPI in fixes from
 vendor.

 Oh, right, sorry. I will check

 Steve



Re: antiviruses executable on OpenBSD

2014-04-12 Thread Ingo Schwarze
Hi Jay,

Jay Patel wrote on Sat, Apr 12, 2014 at 06:55:59PM +0530:

 Sophos have anti virus too.

Yes.  However, as far as i know, they never supported OpenBSD-current,
but typically only very old, long end-of-live OpenBSD release versions.
At some point, they stopped OpenBSD support altogether, if i remember
correctly more than a year ago.  I haven't heard that OpenBSD support
was resumed; i may have missed something, but it would somewhat
surprise me if they had.

Can you provide any actual sources to back up the claim that any
recent Sophos code would be able to run on any recent OpenBSD system,
see the subject of this thread?  I seriously doubt it would.

Yours,
  Ingo



Re: grammar error in ssl(8)

2014-04-12 Thread Jason McIntyre
On Fri, Apr 11, 2014 at 01:00:52PM -0400, Mike Small wrote:
 Near the end of ssl(8) there is the following phrase:
 
 which allowed users to enable full function without
 recompiling the applications.
 
 The word function here should instead be functionality I assume.
 

fixed, thanks.
jmc



Re: OpenBSD Foundation 2014 Fundraising Campaign.

2014-04-12 Thread Chris Cappuccio
nobody [openbsd.as.a.desk...@gmail.com] wrote:
 Hi all,
 
 -
 1)
 If I search for openbsdfoundation on:
 
 - Facebook
 - Twitter
 - Youtube
 - Instagram
 - Flickr
 - Slideshare
 - etc..
 
 I get ZERO results regarding the topic.
 

I was thinking, maybe a superbowl commercial.



Re: OpenBSD Foundation 2014 Fundraising Campaign.

2014-04-12 Thread Theo de Raadt
 nobody [openbsd.as.a.desk...@gmail.com] wrote:
  Hi all,
  
  -
  1)
  If I search for openbsdfoundation on:
  
  - Facebook
  - Twitter
  - Youtube
  - Instagram
  - Flickr
  - Slideshare
  - etc..
  
  I get ZERO results regarding the topic.
  
 
 I was thinking, maybe a superbowl commercial.

Yikes, those things are expensive.  To do that, someone would need to
first setup a not-for-profit to fund the commercial, then the proceeds
from the commercial can roll back to the proper software development
funding foundation.

Quick, someone register openbsdsuperbowlcommercialfoundation.org!



Left USB port are not working on Thinkpad X230

2014-04-12 Thread Tristan PILAT
Hi all,

I'm under current (2014-04-08) and i noticed that my two left USB ports are
not working anymore on my Thinkpad X230. Did anyone else notice that ?

Dmesg###
²
OpenBSD 5.5-current (GENERIC.MP http://generic.mp/) #61: Tue Apr  8
17:28:01 MDT 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MPhttp
://generic.mp/
real mem = 8254586880 (7872MB)
avail mem = 8026083328 (7654MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries)
bios0: vendor LENOVO version G2ET96WW (2.56 ) date 08/27/2013
bios0: LENOVO 2324CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
UEFI UEFI MSDM SSDT SSDT UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
EHC2(S3) HDEF(S4)
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) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.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,
PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 103 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1175 serial 14096 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300,
2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
3c:97:0e:d8:5d:b4
ehci0 at pci0 dev 26 function 0 Intel 7 Series USB rev 0x04: apic 2 int 16
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 7 Series HD Audio rev 0x04: msi
azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 7 Series PCIE rev 0xc4: msi
pci1 at ppb0 bus 2
sdhc0 

Re: Left USB port are not working on Thinkpad X230

2014-04-12 Thread Antoine Jacoutot
On Sat, Apr 12, 2014 at 06:48:23PM +0200, Tristan PILAT wrote:
 Hi all,
 
 I'm under current (2014-04-08) and i noticed that my two left USB ports are
 not working anymore on my Thinkpad X230. Did anyone else notice that ?

Yes, same happened to me.
You need to disable usb3 in the bios (default setup is auto iirc).


 Dmesg###
 ?
 OpenBSD 5.5-current (GENERIC.MP http://generic.mp/) #61: Tue Apr  8
 17:28:01 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MPhttp
 ://generic.mp/
 real mem = 8254586880 (7872MB)
 avail mem = 8026083328 (7654MB)
 mpath0 at root
 scsibus0 at mpath0: 256 targets
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries)
 bios0: vendor LENOVO version G2ET96WW (2.56 ) date 08/27/2013
 bios0: LENOVO 2324CTO
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
 UEFI UEFI MSDM SSDT SSDT UEFI DBG2
 acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
 EHC2(S3) HDEF(S4)
 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) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.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,
 PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,
 xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
 XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu0: 256KB 64b/line 8-way L2 cache
 cpu0: smt 0, core 0, package 0
 mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
 cpu0: apic clock running at 99MHz
 cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
 xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
 XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu1: 256KB 64b/line 8-way L2 cache
 cpu1: smt 1, core 0, package 0
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
 xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
 XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu2: 256KB 64b/line 8-way L2 cache
 cpu2: smt 0, core 1, package 0
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
 xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
 XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
 cpu3: 256KB 64b/line 8-way L2 cache
 cpu3: smt 1, core 1, package 0
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
 acpimcfg0 at acpi0 addr 0xf800, bus 0-63
 acpiec0 at acpi0
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (PEG_)
 acpiprt2 at acpi0: bus 2 (EXP1)
 acpiprt3 at acpi0: bus 3 (EXP2)
 acpiprt4 at acpi0: bus 4 (EXP3)
 acpicpu0 at acpi0: C2, C1, PSS
 acpicpu1 at acpi0: C2, C1, PSS
 acpicpu2 at acpi0: C2, C1, PSS
 acpicpu3 at acpi0: C2, C1, PSS
 acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
 acpitz0 at acpi0: critical temperature is 103 degC
 acpibtn0 at acpi0: LID_
 acpibtn1 at acpi0: SLPB
 acpibat0 at acpi0: BAT0 model 45N1175 serial 14096 type LION oem SANYO
 acpibat1 at acpi0: BAT1 not present
 acpiac0 at acpi0: AC unit online
 acpithinkpad0 at acpi0
 acpidock0 at acpi0: GDCK not docked (0)
 cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300,
 2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
 vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
 intagp0 at vga1
 agp0 at intagp0: aperture at 0xe000, size 0x1000
 inteldrm0 at vga1
 drm0 at inteldrm0
 inteldrm0: 1366x768
 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
 wsdisplay0: screen 1-5 added (std, vt100 emulation)
 Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
 Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
 em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
 3c:97:0e:d8:5d:b4
 ehci0 at pci0 dev 26 function 0 Intel 7 Series USB rev 0x04: apic 2 int 16
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 

Re: Left USB port are not working on Thinkpad X230

2014-04-12 Thread Vladislav Manchev

Noticed the same thing on a x230 I tested recently with 5.5 -current. Ports on 
the left are USB 3.

I guess this should answer your 
question:http://undeadly.org/cgi?action=articlesid=20140311083317


Best,
Vladislav

On 12.04.2014 19:48, Tristan PILAT wrote:

Hi all,

I'm under current (2014-04-08) and i noticed that my two left USB ports are
not working anymore on my Thinkpad X230. Did anyone else notice that ?

Dmesg###
²
OpenBSD 5.5-current (GENERIC.MP http://generic.mp/) #61: Tue Apr  8
17:28:01 MDT 2014
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MPhttp
://generic.mp/
real mem = 8254586880 (7872MB)
avail mem = 8026083328 (7654MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (68 entries)
bios0: vendor LENOVO version G2ET96WW (2.56 ) date 08/27/2013
bios0: LENOVO 2324CTO
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT ASF!
UEFI UEFI MSDM SSDT SSDT UEFI DBG2
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) EHC1(S3)
EHC2(S3) HDEF(S4)
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) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.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,
PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, 2594.11 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,EST,TM2,SSSE3,CX16,
xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,
XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 4 (EXP3)
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpicpu2 at acpi0: C2, C1, PSS
acpicpu3 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2
acpitz0 at acpi0: critical temperature is 103 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 45N1175 serial 14096 type LION oem SANYO
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
cpu0: Enhanced SpeedStep 2594 MHz: speeds: 2601, 2600, 2500, 2400, 2300,
2200, 2100, 2000, 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Core 3G Host rev 0x09
vga1 at pci0 dev 2 function 0 Intel HD Graphics 4000 rev 0x09
intagp0 at vga1
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
Intel 7 Series xHCI rev 0x04 at pci0 dev 20 function 0 not configured
Intel 7 Series MEI rev 0x04 at pci0 dev 22 function 0 not configured
em0 at pci0 dev 25 function 0 Intel 82579LM rev 0x04: msi, address
3c:97:0e:d8:5d:b4
ehci0 at pci0 dev 26 function 0 Intel 7 Series USB rev 0x04: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 

Unknown bgp issue

2014-04-12 Thread Randhir Prakash
Hi,

I have been using Openbgpd on Openbsd from last 3 years without any issue.
We are having two upstream providers with full route. Suddenly last week, i
observed that our network became unreachable from internet and sometimes
fluctuating in terms of reachability. I checked the bgp session using
bgpctl show summary which was showing bgp session alive and
PrfRcvd(Received prefix) from our peers was fine.

When i tried to ping to both peers WAN IP or any inetrnet ip, it was
telling no route to host.

When i connected peers wan ip to standalone system and tried pinging, it
was pinging.

I was not able to figure out the issue and after 45-60 minutes,
automatically everything got rectified and became normal.

I am not having any idea about this issue and want to explore to avoid such
situations in production environment. Kindly assist.


-- 
Thanks and regards,
*Randhir Prakash*



Re: Left USB port are not working on Thinkpad X230

2014-04-12 Thread Robert Blacquiere
On Sat, Apr 12, 2014 at 06:48:23PM +0200, Tristan PILAT wrote:
 Hi all,
 
 I'm under current (2014-04-08) and i noticed that my two left USB ports are
 not working anymore on my Thinkpad X230. Did anyone else notice that ?
 
sniped

Hi, 

I have a thinkpad w530 with current of last weekend. I have changed
bios for USB-3.0 settings because the default caused 2 of the 4 ports to
be none functional. With changed settings it works as normal.

Maybe this is because some of the work on usb 3.0 improvements?

Regards

Robert



SUMMARY: Install 5.4 onto netbook... almost

2014-04-12 Thread Norman Gray
Greetings, all.

On 2014 Apr 6, at 18:09, Norman Gray nor...@astro.gla.ac.uk wrote:

 I'm trying to install the released OpenBSD 5.4 onto a old-ish netbook
 without an optical drive.  I thought I could do this via
 install54.iso; I can see where I need to get to, and can almost get
 there, but I can't find the last step.

Thanks, everyone, for your various strands of advice.

In the end, I installed 5.4 onto the netbook by booting a Mac Mini
(the only optical drive I have available) from a burned install54.iso
image, using that to install OpenBSD onto a flash drive, and then copy
the install sets onto the flash drive, and then booting the netbook
from the flash drive.  This specific route was first suggested, in
that particular form, by Brett Mahar, but there a fair bit of overlap
between the various suggestions, and I've learned a lot.  For your
edification and delight, I've included the dmesg output below (and
also sent it to dm...@openbsd.org, of course).

This route does allow the install to happen without the netbook ever
being connected to a network.  But when it comes time to add other
packages atop the base, it'd clearly be possible, but a pain in the
neck, to do that without a network.

I used 5.4 rather than 5.5-current, because when it came to add
packages it turned out that (if I'm reading the runes correctly) the
'python' package within 5.5-current requires /usr/lib/libssl.so.20.0,
but 5.5-current installs /usr/lib/libssl.so.21.0.

I did try installing OpenBSD into a Virtualbox instance hosted on OS X
(as Martin Brandenburg suggested).  That mostly worked, but I seemed
unable to mount the flash drive on the virtual machine, even after
being sure (as Martin noted) to eject the device from the OS X side
beforehand.  I didn't investigate where the problem really was.
Again: close, but not quite, and I moved on to booting the Mini from
the CD.



Below are more detailed instructions (aka brain-dump), for the benefit
of anyone going the same route.

Boot the Mac Mini (or whatever) from the install CD, with the flash
drive in place.  The install process will let you select the flash
drive as a target.  After that's finished:

  # mkdir -p /mnt/5.4/i386
  # cd /mnt/5.4/i386
  # ftp http://mirror.bytemark.co.uk/OpenBSD/5.4/i386/SHA256
...and so on, including each of the INSTALL.i386, bsd* and *.tgz files
  # halt

(or whatever mirror you prefer).  If you do this right after
installing from the CD, the network is in place, and the flash drive
mounted.  If (as a result of more faffing around) the network isn't up
or the drive isn't mounted, then you might need one or more of

  # ifconfig # find your ethernet interface
  # dhclient interface-name

To mount the flash drive:

  # sysctl hw.disknames   # show available disks
  # disklabel sd0 # show the partitions on device sd0
  # mount /dev/sd0a /mnt  # mount partition 'a' onto /mnt

Then put the flash drive into the netbook, and boot it with

  boot b hd0a:/bsd.rd

This again boots to the install script, which lets you install onto
the netbook's hard drive (finally!).

Gotcha: even if you don't plan to use X on the target machine (I
imagine it would be a fairly unpleasant experience), you _do_ need to
select and install at least xbase54, xetc54 and xshare54 (so you might
as well just install the lot!).  This is because ports and packages
aren't tested in the no-X configuration, and at least one of the ports
I wanted to install did indeed fail to build until I went round the
whole cycle again and included them in the install onto the flash drive.



I also installed the OS onto an encrypted filesystem (so that there
isn't necessarily a problem if this machine gets lost or stolen).

There are very good instructions for doing this at
http://www.bsdnow.tv/tutorials/fde.  Useful things to know:

  1. # sysctl hw.disknames # shows the available disks; sd0 is my hard disk

  2. I configured a swap of 3MB (which is a round number slightly
 larger than the amount that the automatic layout decided to give
 to it).

  3. With the devices on this hardware, I had to use
 # bioctl -c C -l /dev/sd0a softraid0
 This reports the crypto device being sd2.

Back to the installer and, as suggested, use the Whole of the crypto
device (so sd2 in my case), and create a custom layout with everything
in partition a.

Added '/dev/sd0b none swap sw' to the end of the fstab



So...

Thanks again to jordon, Tomas, Martin, Stuart, Moss, Brett and Jan
(and of course a modest number of EUR to the Foundation).

Best wishes,

Norman








dmesg:

OpenBSD 5.4 (GENERIC.MP) #44: Tue Jul 30 12:13:32 MDT 2013
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Atom(TM) CPU N270 @ 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,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE,LAHF,PERF
real mem  = 

nfs server causing lockups lately

2014-04-12 Thread Luke Tidd
march 7th snapshot and before, no problem

next upgrade was april 9th snapshot, nfsd usage for more than a minute
or so will bring down the system reproducibly.

tried again with a bit ago (april 12th) snapshot, still crashing

OpenBSD/amd64 (largemarge.arikui.org) (tty00)

login: panic: nfs getstream
Stopped at  Debugger+0x5:   leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu #' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0} trace
Debugger() at Debugger+0x5
panic() at panic+0xfe
nfsrv_getstream() at nfsrv_getstream+0x29c
nfsrv_rcv() at nfsrv_rcv+0x1b3
tcp_input() at tcp_input+0x1db7
ip_ours() at ip_ours+0x1e9
ipv4_input() at ipv4_input+0x362
ipintr() at ipintr+0x7f
netintr() at netintr+0x85
softintr_dispatch() at softintr_dispatch+0x5d
Xsoftnet() at Xsoftnet+0x2d
--- interrupt ---
end trace frame: 0x0, count: -11
0x8:
ddb{0} ps
   PID   PPID   PGRPUID  S   FLAGS  WAIT  COMMAND
  9810  1   9810  0  30x83  ttyin getty
 29792  16634  29792   1000  30x82  selectsftp-server
 16634  27591  27591   1000  30x90  selectsshd
 27591  29836  27591  0  30x92  poll  sshd
  4876  11443   4876   1000  30x83  kqreadrtorrent
 27561  11443   4876   1000  3   0x483  kqreadrtorrent
 11443  18917  11443   1000  30x83  wait  bash
 18917  1  18917   1000  30x80  kqreadtmux
 24815  1  24815  0  30x83  ttyin getty
 18426  1  18426  0  30x83  ttyin getty
 12379  1  12379  0  30x83  ttyin getty
 27121  1  27121  0  30x83  ttyin getty
 17905  1  17905  0  30x83  ttyin getty
 24907  1  24907  0  30x80  selectcron
 28934  1  20764  0  30x83  selectpure-ftpd
 10153  1  10153  0  30x90  selectinetd
 31647  11720  11720 95  30x90  kqreadsmtpd
  1481  11720  11720 95  30x90  kqreadsmtpd
 20694  11720  11720 95  30x90  kqreadsmtpd
 24315  11720  11720 95  30x90  kqreadsmtpd
 25769  11720  11720103  30x90  kqreadsmtpd
 11720  1  11720  0  30x80  kqreadsmtpd
 29836  1  29836  0  30x80  selectsshd
 12327  28181  28181  0  30x80  nfsd  nfsd
 21316  28181  28181  0  30x80  nfsd  nfsd
 13858  28181  28181  0  30x80  nfsd  nfsd
 29176  28181  28181  0  30x80  nfsd  nfsd
  1601  28181  28181  0  30x80  nfsd  nfsd
 19203  28181  28181  0  30x80  nfsd  nfsd
 15666  28181  28181  0  30x80  nfsd  nfsd
 13843  28181  28181  0  30x80  nfsd  nfsd
   806  28181  28181  0  30x80  nfsd  nfsd
 22719  28181  28181  0  30x80  nfsd  nfsd
  9017  28181  28181  0  30x80  nfsd  nfsd
 18849  28181  28181  0  30x80  nfsd  nfsd
 19076  28181  28181  0  30x80  nfsd  nfsd
 14770  28181  28181  0  30x80  nfsd  nfsd
 24711  28181  28181  0  7   0nfsd
 24641  28181  28181  0  7   0nfsd
  2477  28181  28181  0  7   0nfsd
 22796  28181  28181  0  3   0  inode nfsd
 10309  28181  28181  0  30x80  nfsd  nfsd
 13059  28181  28181  0  30x80  nfsd  nfsd
 28181  1  28181  0  30x80  netconnfsd
 29980  1  29980  0  30x80  selectmountd
 31870  1  31870 28  30x90  poll  portmap
 22012  16162  24028 83  30x90  poll  ntpd
 16162  24028  24028 83  30x90  poll  ntpd
 24028  1  24028  0  30x80  poll  ntpd
 21717  27834  27834 74  30x90  bpf   pflogd
 27834  1  27834  0  30x80  netio pflogd
 21943  24943  24943 73  30x90  poll  syslogd
 24943  1  24943  0  30x80  netio syslogd
 30933  0  0  0  3  0x4200  bored ttm_swap
 16463  0  0  0  3  0x4200  aiodoned  aiodoned
  1141  0  0  0  3  0x4200  syncerupdate
 25787  0  0  0  3  0x4200  cleaner   cleaner
  5411  0  0  0  3  0x4200  reaperreaper
  1280  0  0  0  3  0x4200  pgdaemon  pagedaemon
 16289  0  0  0  3  0x4200  bored crypto
 11666  0  0  0  3  0x4200  pftm  pfpurge
  3147  0  0  0  3