armv7 on Wandboard Quad

2016-08-11 Thread Joe Gidi
The recent flurry of activity on the armv7 port prompted me to buy a
Wandboard Quad so I could try a new hardware platform.

As you'd expect with OpenBSD, installation was dead simple and
trouble-free. I grabbed the latest snapshot miniroot-wandboard-60.fs file
from my local mirror, dd'ed it to an SD card, stuck the card in the top
slot on the Wandboard (there are 2 slots, but reportedly only the upper
slot is bootable), plugged in a null modem cable for a serial console, and
connected the power. The board booted into bsd.rd and installed as usual.

I have not done any extensive testing yet, but I'm including the results
of 'openssl speed' and 'md5 -t' as a crude benchmark of CPU performance.
According to the specs this board is supposed to run at 1 GHz, but mine
seems to boot up at 792 MHz instead. This is probably configurable
somewhere, maybe within U-Boot, but I have not explored that yet.

The only oddity I've noticed so far is that the dmesg lists a third sdmmc
device when there are only two physical slots. I have not tried using a
second SD card in the lower slot, but I expect it will work fine.

Following are the 'openssl speed' and 'md5 -t' results, as well as a
'sysctl hw' and dmesg. Thanks to the developers who have been working so
hard on this platform!

-

LibreSSL 2.5.0
built on: date not available
options:bn(64,32) rc4(ptr,int) des(idx,cisc,16,long) aes(partial)
idea(int) blowfish(idx)
compiler: information not available
The 'numbers' are in 1000s of bytes per second processed.
type 16 bytes 64 bytes256 bytes   1024 bytes   8192 bytes
md2  0.00 0.00 0.00 0.00 0.00
md4   5540.83k19327.23k54267.22k98484.31k
130551.44k
md5   3898.23k13996.04k39344.72k70417.97k
92032.51k
hmac(md5) 5377.17k17490.31k45299.67k75457.88k
93493.12k
sha1  4189.54k13547.88k31824.09k47186.54k
54307.03k
rmd1603442.88k10034.65k20882.65k28884.62k
32726.90k
rc4  36176.50k39058.88k41778.77k42090.15k
42149.34k
des cbc  10151.93k10928.95k2.44k11247.22k
11167.70k
des ede3  3902.13k 3980.65k 4026.57k 4035.98k
4063.23k
idea cbc  9638.86k10107.32k10328.62k10367.06k
10341.03k
seed cbc 0.00 0.00 0.00 0.00 0.00
rc2 cbc   8145.03k 8492.99k 8667.56k 8636.19k
8686.25k
rc5-32/12 cbc0.00 0.00 0.00 0.00 0.00
blowfish cbc 19748.39k21868.33k22328.32k22642.08k
22533.46k
cast cbc 16150.69k17645.76k17825.76k17988.95k
17978.85k
aes-128 cbc  22743.94k25601.49k26023.59k26640.15k
26514.77k
aes-192 cbc  20264.96k21907.75k22725.95k22938.63k
22964.91k
aes-256 cbc  18069.54k19826.97k20212.04k20643.84k
20665.69k
camellia-128 cbc15796.13k17206.26k17443.81k17585.24k
17547.70k
camellia-192 cbc12598.56k13344.47k13663.91k13637.51k
13711.39k
camellia-256 cbc12589.03k13301.57k13394.74k13732.18k
13811.33k
sha2566371.41k14286.47k24558.90k29677.75k
32049.83k
sha5121830.57k 7313.82k10421.41k14217.95k
15816.24k
whirlpool  652.76k 1310.27k 2135.72k 2523.48k
2627.37k
aes-128 ige  21055.95k24409.04k25611.40k26153.44k
26313.36k
aes-192 ige  18235.72k20863.64k21903.22k22177.25k
22287.14k
aes-256 ige  16439.16k18527.72k19414.61k19495.67k
19528.32k
ghash24031.10k27179.35k28220.35k28742.31k
29040.37k
aes-128 gcm   4901.14k 9394.71k12110.58k13078.04k
13660.57k
aes-256 gcm   4411.09k 8215.83k10625.54k11448.94k
11909.91k
chacha20 poly1305 1767.92k 6481.10k11053.23k13396.59k
14307.42k
  signverifysign/s verify/s
rsa  512 bits 0.001200s 0.000130s833.5   7687.6
rsa 1024 bits 0.006262s 0.000380s159.7   2629.4
rsa 2048 bits 0.041883s 0.001331s 23.9751.1
rsa 4096 bits 0.301765s 0.005084s  3.3196.7
  signverifysign/s verify/s
dsa  512 bits 0.001289s 0.001322s775.9756.4
dsa 1024 bits 0.003830s 0.004121s261.1242.7
dsa 2048 bits 0.013445s 0.014557s 74.4 68.7
  signverifysign/s verify/s
 160 bit ecdsa (secp160r1)   0.0009s   0.0030s   1115.9329.7
 192 bit ecdsa (nistp192)   0.0011s   0.0041s898.9241.8
 224 bit ecdsa (nistp224)   0.0014s   0.0060s691.7166.4
 256 bit ecdsa (nistp256)   0.0017s   0.0070s597.4142.5
 384 bit ecdsa (nistp384)   0.0035s   0.0173s281.8 57.6
 521 bit ecdsa (nistp521)   0.0069s   0.0371s144.1 26.9
 163 bit ecdsa (nistk163)   0.0030s   0.0097s330.2102.7
 233 bit ecdsa (nistk233)   0.0064s   

Re: Unicode Support in sed?

2016-08-11 Thread Juan Francisco Cantero Hurtado
On Thu, Aug 11, 2016 at 11:51:06PM +0200, Ingo Schwarze wrote:
> Hi Scott,
> 
> Scott Vanderbilt wrote on Thu, Aug 11, 2016 at 12:58:17PM -0700:
> 
> > I'm trying to use sed to munge some text in HTML files, converting
> > Unicode characters to their HTML entity equivalents, however I can't
> > seem to get it to work.
> > 
> > For instance, this command has no apparent effect:
> > 
> >   sed -i -e 's/\xe2\x80\x94//g' foo.html
> > 
> > Other sed operations using ASCII arguments work fine.
> > 
> > Does sed support Unicode in this fashion?
> 
> Our sed(1) does not have *explicit* UTF-8 support yet.
> That means, /./ will not match a multibyte character, but /../ will
> match a character if its UTF-8 representation is two bytes long,
> or the last byte of one character together with the first of the
> next.  [-] ranges will not work with UTF-8 characters, //i case
> folding will not work, and so on and so forth...
> 
> However, you can still use sed(1) for your job by simply
> treating UTF-8 characters as any ordinary byte string.
> 
> I suspect your problem is that the way you enter the multibyte
> characters is incorrect, and the line shown above doesn't actually
> contain UTF-8, but only ASCII: '\\', 'x', 'e' and so on.
> 
> Let me show you an example that does work:
> 
>$ hexdump -C input.utf8
>     3e c3 a4 3c 0a  |>..<.|
>   0005
>$ hexdump -C script.sed   
>     73 2f c3 a4 2f 61 65 2f  0a |s/../ae/.|
>   0009
>$ schwarze@isnote $ sed -f script.sed input.utf8 | hexdump -C
>     3e 61 65 3c 0a  |>ae<.|
>   0005
> 
> Note how the U+00E4 = 0xc3a4 = LATIN SMALL LETTER A WITH DIAERESIS
> gets replaced.
> 
> With that help, you ought to be able to get your task done.
> 
> > The sed(1) man page is silent.
> 
> That's because nothing was done yet to make sed(1) aware of UTF-8.
> 
> > The FAQ section on Character Sets
> >  indicates that:
> > 
> >OpenBSD uses the ASCII character set by default.
> 
> Uh oh.  Ah, hrm.  Well, kind of, but not really.
> 
> The LC_CTYPE locale defaults to "C", but that's required for any
> POSIX-conforming operating system.  By default, ksh(1) emacs editing
> mode partly supports UTF-8, even when LC_CTYPE is C, but ksh(1) vi
> editing mode does not yet (i have a partial patch for that).  By
> default, xterm(1) and pod2man(1) run in UTF-8 mode on OpenBSD, while
> they default to strange hybrids of ASCII and ISO-LATIN-1 elsewhere.
> man(1) always fully supports UTF-8 input, but avoids it for output
> unless you set LC_CTYPE to SOMETHING.UTF-8 or pass it the -Tutf8
> flag.  And so on for many programs...  Even to describe the default
> for one single program, saying nothing but a single word "ASCII" or
> "UTF-8" is usually insufficient, and different programs are very
> different.
> 
> Talking about "the" default makes no sense, really.
> 
> > It also supports the Unicode (UTF-8) character set.
> 
> Ooops!  Do we really say that?  That's a bold claim...  :-o
> 
> In a way, it is true.  You can do many things with UTF-8
> characters, and arguably, that wouldn't be possible if UTF-8
> weren't supported, right?
> 
> Then again, it is not completely true.  There are still many tools
> that do not fully support UTF-8, and some that don't at all.
> 
> > but I'm not sure what bearing that has on this issue.
> 
> You are exactly right!  That statement is so imprecise that it is
> completely unclear what it is: more or less true, a bold lie, or a
> sweeping generalization?
> 
> ...
> 
> Now i'm starting to feel curious.  Let me read on:
> 
>   "The list of supported locales can be obtained by running the
>command:  locale -a"
> 
> YIKES!!  It looks like i urgently have to fix that part of the FAQ.
> As i stands, it is spreading FAQ:  Fear, Ancertainty, and Quoubt.

In addition to Ingo's advice, you can also use gnu sed (pkg_add gsed) or
perl.

-- 
Juan Francisco Cantero Hurtado http://juanfra.info



Re: Unicode Support in sed?

2016-08-11 Thread Ingo Schwarze
Hi,

Ingo Schwarze wrote on Thu, Aug 11, 2016 at 11:51:06PM +0200:
> Scott Vanderbilt wrote on Thu, Aug 11, 2016 at 12:58:17PM -0700:

>> The FAQ section on Character Sets
>> 
>> indicates that:
[...]
> YIKES!!
> It looks like i urgently have to fix that part of the FAQ.

Done, i rewrote most of it, and it is online now.

There is still much room for adding useful information, but as a
first step, at least all the bad stuff is gone now.

It still doesn't answer your question about sed(1), but even when
coming from that question, the text should be much less misleading
and confusing now.

Yours,
  Ingo



Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Theo de Raadt
> > As i said, my config with # in the password worked
> > without any escaping or quoting needed.
> > 
> 
> i understood from your mail that you'd had to escape it.

that is correct.

furthermore, some things don't have perfect escaping.

not everything is perfect.



Re: forking

2016-08-11 Thread Zé Loff
On Thu, Aug 11, 2016 at 06:05:41PM -0300, Friedrich Locke wrote:
> It does not matter what i do, i cannot fork more than +- 1900/2000 process
> on my system. Besides kern.maxproc what else is necessary to fork more
> process ?
> 
> Thanks in advance.
> 
> Some limits in my system:
> 
> etosha# sysctl
> kern.maxproc=1
> kern.maxproc: 1310 -> 1
> etosha#
> 
> sioux@etosha$ ulimit -a
> time(cpu-seconds)3600
> file(blocks) 2097152
> coredump(blocks) 0
> data(kbytes) 1048576
> stack(kbytes)10240
> lockedmem(kbytes)1048576
> memory(kbytes)   1048576
> nofiles(descriptors) 128
> processes2048
   
   this

> sioux@etosha$ ulimit -aH
> time(cpu-seconds)7200
> file(blocks) 33554432
> coredump(blocks) 32768
> data(kbytes) 1048576
> stack(kbytes)20480
> lockedmem(kbytes)1048576
> memory(kbytes)   1048576
> nofiles(descriptors) 256
> processes2500
   
   and this

man login.conf

-- 



Re: Unicode Support in sed?

2016-08-11 Thread Ingo Schwarze
Hi Scott,

Scott Vanderbilt wrote on Thu, Aug 11, 2016 at 12:58:17PM -0700:

> I'm trying to use sed to munge some text in HTML files, converting
> Unicode characters to their HTML entity equivalents, however I can't
> seem to get it to work.
> 
> For instance, this command has no apparent effect:
> 
>   sed -i -e 's/\xe2\x80\x94//g' foo.html
> 
> Other sed operations using ASCII arguments work fine.
> 
> Does sed support Unicode in this fashion?

Our sed(1) does not have *explicit* UTF-8 support yet.
That means, /./ will not match a multibyte character, but /../ will
match a character if its UTF-8 representation is two bytes long,
or the last byte of one character together with the first of the
next.  [-] ranges will not work with UTF-8 characters, //i case
folding will not work, and so on and so forth...

However, you can still use sed(1) for your job by simply
treating UTF-8 characters as any ordinary byte string.

I suspect your problem is that the way you enter the multibyte
characters is incorrect, and the line shown above doesn't actually
contain UTF-8, but only ASCII: '\\', 'x', 'e' and so on.

Let me show you an example that does work:

   $ hexdump -C input.utf8
    3e c3 a4 3c 0a  |>..<.|
  0005
   $ hexdump -C script.sed   
    73 2f c3 a4 2f 61 65 2f  0a |s/../ae/.|
  0009
   $ schwarze@isnote $ sed -f script.sed input.utf8 | hexdump -C
    3e 61 65 3c 0a  |>ae<.|
  0005

Note how the U+00E4 = 0xc3a4 = LATIN SMALL LETTER A WITH DIAERESIS
gets replaced.

With that help, you ought to be able to get your task done.

> The sed(1) man page is silent.

That's because nothing was done yet to make sed(1) aware of UTF-8.

> The FAQ section on Character Sets
>  indicates that:
> 
>OpenBSD uses the ASCII character set by default.

Uh oh.  Ah, hrm.  Well, kind of, but not really.

The LC_CTYPE locale defaults to "C", but that's required for any
POSIX-conforming operating system.  By default, ksh(1) emacs editing
mode partly supports UTF-8, even when LC_CTYPE is C, but ksh(1) vi
editing mode does not yet (i have a partial patch for that).  By
default, xterm(1) and pod2man(1) run in UTF-8 mode on OpenBSD, while
they default to strange hybrids of ASCII and ISO-LATIN-1 elsewhere.
man(1) always fully supports UTF-8 input, but avoids it for output
unless you set LC_CTYPE to SOMETHING.UTF-8 or pass it the -Tutf8
flag.  And so on for many programs...  Even to describe the default
for one single program, saying nothing but a single word "ASCII" or
"UTF-8" is usually insufficient, and different programs are very
different.

Talking about "the" default makes no sense, really.

> It also supports the Unicode (UTF-8) character set.

Ooops!  Do we really say that?  That's a bold claim...  :-o

In a way, it is true.  You can do many things with UTF-8
characters, and arguably, that wouldn't be possible if UTF-8
weren't supported, right?

Then again, it is not completely true.  There are still many tools
that do not fully support UTF-8, and some that don't at all.

> but I'm not sure what bearing that has on this issue.

You are exactly right!  That statement is so imprecise that it is
completely unclear what it is: more or less true, a bold lie, or a
sweeping generalization?

...

Now i'm starting to feel curious.  Let me read on:

  "The list of supported locales can be obtained by running the
   command:  locale -a"

YIKES!!  It looks like i urgently have to fix that part of the FAQ.
As i stands, it is spreading FAQ:  Fear, Ancertainty, and Quoubt.

Yours,
  Ingo



Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Mike Larkin
On Thu, Aug 11, 2016 at 09:39:33PM +0200, Alessandro DE LAURENZIS wrote:
> dmesg and pkg_info -t as requested:
> 

I installed fluxbox and tried to repro this. It works fine here.

Does this fail just after many ZZZs? because it looks from your dmesg that
you did a bunch of them. Does it fail after the first one?

-ml

> 
> OpenBSD 6.0-current (GENERIC.MP) #2345: Tue Aug  9 23:00:50 MDT 2016
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 3177906176 (3030MB)
> avail mem = 3077181440 (2934MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
> bios0: vendor LENOVO version "7LETD0WW (2.30 )" date 02/27/2012
> bios0: LENOVO 7735WX2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT ASF! SSDT SSDT
> SSDT SSDT
> acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(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) [...]
> 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: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 2294.66 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 199MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 2094.75 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR
> cpu1: 3MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
> 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 4 (EXP2)
> acpiprt5 at acpi0: bus 5 (EXP3)
> acpiprt6 at acpi0: bus 13 (EXP4)
> acpiprt7 at acpi0: bus 21 (PCI1)
> acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10),
> C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10),
> C1(1000@1 mwait.1), PSS
> acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
> acpitz0 at acpi0: critical temperature is 127 degC
> acpitz1 at acpi0: critical temperature is 100 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> "PNP0303" at acpi0 not configured
> "IBM0057" at acpi0 not configured
> tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: device 0x32031114 rev 0x9
> acpibat0 at acpi0: BAT0 model "42T5264" serial  1732 type LION oem
> "Panasonic"
> acpiac0 at acpi0: AC unit online
> acpithinkpad0 at acpi0
> "PNP0C14" at acpi0 not configured
> acpidock0 at acpi0: GDCK not docked (0)
> acpivideo0 at acpi0: VID_
> acpivout0 at acpivideo0: LCD0
> acpivideo1 at acpi0: VID_
> cpu0: Enhanced SpeedStep 2294 MHz: speeds: 2101, 2100, 1600, 1200, 800 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
> inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
> drm0 at inteldrm0
> intagp0 at inteldrm0
> agp0 at intagp0: aperture at 0xe000, size 0x1000
> inteldrm0: msi
> inteldrm0: 1280x800
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
> "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:21:86:94:34:8e
> 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: msi
> pci1 at ppb0 bus 2
> ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
> pci2 at ppb1 bus 3
> iwn0 at pci2 dev 0 function 0 "Intel Wireless WiFi Link 4965" rev 0x61: msi,
> MIMO 2T3R, MoW2, address 00:21:5c:75:a7:1d
> ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: msi
> pci3 

forking

2016-08-11 Thread Friedrich Locke
It does not matter what i do, i cannot fork more than +- 1900/2000 process
on my system. Besides kern.maxproc what else is necessary to fork more
process ?

Thanks in advance.

Some limits in my system:

etosha# sysctl
kern.maxproc=1
kern.maxproc: 1310 -> 1
etosha#

sioux@etosha$ ulimit -a
time(cpu-seconds)3600
file(blocks) 2097152
coredump(blocks) 0
data(kbytes) 1048576
stack(kbytes)10240
lockedmem(kbytes)1048576
memory(kbytes)   1048576
nofiles(descriptors) 128
processes2048
sioux@etosha$ ulimit -aH
time(cpu-seconds)7200
file(blocks) 33554432
coredump(blocks) 32768
data(kbytes) 1048576
stack(kbytes)20480
lockedmem(kbytes)1048576
memory(kbytes)   1048576
nofiles(descriptors) 256
processes2500



Re: fork 2k process

2016-08-11 Thread Philip Guenther
On Thu, Aug 11, 2016 at 1:01 PM, Friedrich Locke
 wrote:
> i am having problems trying to create 2k process in a very simple style. My
> environment is the following:
...
> But when i run a program to run 2000 process i got top display only 1901
> zombie, why it is not showing 2000 zombie ?
...
> The program source code is:
>
> #include "apx.h"
> #include "msc.h"
>
> int
> main(int argc, char **argv)
> {
> xlong p, x, n;
> /* int s;*/
>
> if (argc < 2) return 126;
> if (n = 0, !scn_u(, argv[1])) return 127;
> x = 0;
>
> do {
> p = apx_fork();
> if (!p) break; /* child */
> if (p == -1ul) /* fork error */
> if (errno == eagain) (void)apx_poll(NULL, 0ul, 1000ul), --x;
> else break;

So fork could be failing but you don't bother to actually report the
error?  You prefer to *guess* about the situation?

xlong for everything with comparison of pids to -1ul?  Is this an
entry in the obfuscated C contest?

No dmesg; plonk.


Philip Guenther



fork 2k process

2016-08-11 Thread Friedrich Locke
Hi folks,

i am having problems trying to create 2k process in a very simple style. My
environment is the following:

sioux@etosha$ sysctl kern.maxproc
kern.maxproc=1
sioux@etosha$ ulimit -a
...


processes2048
sioux@etosha$ ulimit -aH
...
...
...
processes 2048
$sioux@etosha$

But when i run a program to run 2000 process i got top display only 1901
zombie, why it is not showing 2000 zombie ?

The program source code is:

#include "apx.h"
#include "msc.h"

int
main(int argc, char **argv)
{
xlong p, x, n;
/* int s;*/

if (argc < 2) return 126;
if (n = 0, !scn_u(, argv[1])) return 127;
x = 0;

do {
p = apx_fork();
if (!p) break; /* child */
if (p == -1ul) /* fork error */
if (errno == eagain) (void)apx_poll(NULL, 0ul, 1000ul), --x;
else break;
/*(void)apx_wait();*/
} while (++x < n);

if (p) if (p + 1) p = 0; else p = errno;
return p;
}

And remenber, "apx" is just an prefix.



Unicode Support in sed?

2016-08-11 Thread Scott Vanderbilt
I'm trying to use sed to munge some text in HTML files, converting 
Unicode characters to their HTML entity equivalents, however I can't 
seem to get it to work.


For instance, this command has no apparent effect:

  sed -i -e 's/\xe2\x80\x94//g' foo.html

Other sed operations using ASCII arguments work fine.

Does sed support Unicode in this fashion? The sed(1) man page is silent. 
The FAQ section on Character Sets 
 indicates that:


   OpenBSD uses the ASCII character set by default. It also supports
   the Unicode (UTF-8) character set.

but I'm not sure what bearing that has on this issue.

Running OpenBSD 6.0 (GENERIC.MP) #2302: Sat Jul 23 09:33:37 MDT 2016 (amd64)

Many thanks in advance for any assistance.



5.9: vmx0: device timeout

2016-08-11 Thread Kurt Mosiejczuk
I've noticed that for 5.9, any VMs (in VMware) using vmx(4), end up putting
"vmx0: device timeout" into the dmesg a bunch when under network load.

I switched one of the VMs to vic(4) and the messages stop.  Another VM that
I haven't gotten to upgrading from 5.8 to 5.9 yet doesn't show this in its
dmesg and it's our reasonably busy web server.

Anyone else see this?  I noticed there were a bunch of changes to vmx(4)
after 5.8 as part of the network mpsafe work.

dmesg below.

--Kurt


OpenBSD 5.9 (GENERIC) #8: Thu Jul 14 20:12:37 CEST 2016

jas...@stable-59-amd64.mtier.org:/binpatchng/work-binpatch59-amd64/src/sys/arch/amd64/compile/GENERIC
real mem = 1056899072 (1007MB)
avail mem = 1020764160 (973MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (364 entries)
bios0: vendor Phoenix Technologies LTD version "6.00" date 09/17/2015
bios0: VMware, Inc. VMware Virtual Platform
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP BOOT APIC MCFG SRAT HPET WAET
acpi0: wakeup devices PCI0(S3) USB_(S1) P2P0(S3) S1F0(S3) S2F0(S3) S3F0(S3) 
S4F0(S3) S5F0(S3) S6F0(S3) S7F0(S3) S8F0(S3) S9F0(S3) S10F(S3) S11F(S3) 
S12F(S3) S13F(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 3093.38 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,MMX,FXSR,SSE,SSE2,SS,SSE3,PCLMUL,SSSE3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,AES,XSAVE,AVX,HV,NXE,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 65MHz
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpimcfg0 at acpi0 addr 0xf000, bus 0-127
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!)
acpibat0 at acpi0: BAT1 not present
acpibat1 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
pvbus0 at mainbus0: VMware
vmt0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82443BX AGP" rev 0x01
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP" rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x08
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0:  ATAPI 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x08: SMBus disabled
"VMware VMCI" rev 0x10 at pci0 dev 7 function 7 not configured
vga1 at pci0 dev 15 function 0 "VMware SVGA II" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
mpi0 at pci0 dev 16 function 0 "Symbios Logic 53c1030" rev 0x01: apic 1 int 17
mpi0: 0, firmware 1.3.41.32
scsibus2 at mpi0: 16 targets, initiator 7
sd0 at scsibus2 targ 0 lun 0:  SCSI2 0/direct fixed
sd0: 20480MB, 512 bytes/sector, 41943040 sectors
mpi0: target 0 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
ppb1 at pci0 dev 17 function 0 "VMware PCI" rev 0x02
pci2 at ppb1 bus 2
ppb2 at pci0 dev 21 function 0 "VMware PCIE" rev 0x01
pci3 at ppb2 bus 3
vmx0 at pci3 dev 0 function 0 "VMware VMXNET3" rev 0x01: apic 1 int 18, address 
00:50:56:8c:71:d1
ppb3 at pci0 dev 21 function 1 "VMware PCIE" rev 0x01
pci4 at ppb3 bus 4
ppb4 at pci0 dev 21 function 2 "VMware PCIE" rev 0x01
pci5 at ppb4 bus 5
ppb5 at pci0 dev 21 function 3 "VMware PCIE" rev 0x01
pci6 at ppb5 bus 6
ppb6 at pci0 dev 21 function 4 "VMware PCIE" rev 0x01
pci7 at ppb6 bus 7
ppb7 at pci0 dev 21 function 5 "VMware PCIE" rev 0x01
pci8 at ppb7 bus 8
ppb8 at pci0 dev 21 function 6 "VMware PCIE" rev 0x01
pci9 at ppb8 bus 9
ppb9 at pci0 dev 21 function 7 "VMware PCIE" rev 0x01
pci10 at ppb9 bus 10
ppb10 at pci0 dev 22 function 0 "VMware PCIE" rev 0x01
pci11 at ppb10 bus 11
ppb11 at pci0 dev 22 function 1 "VMware PCIE" rev 0x01
pci12 at ppb11 bus 12
ppb12 at pci0 dev 22 function 2 "VMware PCIE" rev 0x01
pci13 at ppb12 bus 13
ppb13 at pci0 dev 22 function 3 "VMware PCIE" rev 0x01
pci14 at ppb13 bus 14
ppb14 at pci0 dev 22 function 4 "VMware PCIE" rev 0x01
pci15 at ppb14 bus 15
ppb15 at pci0 dev 22 function 5 "VMware PCIE" rev 0x01
pci16 at ppb15 bus 16
ppb16 at pci0 dev 22 function 6 "VMware PCIE" rev 0x01
pci17 at ppb16 bus 17
ppb17 at pci0 dev 22 function 7 "VMware PCIE" rev 0x01
pci18 at ppb17 bus 18
ppb18 at pci0 dev 23 function 0 "VMware PCIE" rev 0x01
pci19 at ppb18 bus 19
ppb19 at pci0 dev 23 function 1 "VMware PCIE" rev 

Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Alessandro DE LAURENZIS

dmesg and pkg_info -t as requested:


OpenBSD 6.0-current (GENERIC.MP) #2345: Tue Aug  9 23:00:50 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3177906176 (3030MB)
avail mem = 3077181440 (2934MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (73 entries)
bios0: vendor LENOVO version "7LETD0WW (2.30 )" date 02/27/2012
bios0: LENOVO 7735WX2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT ASF! SSDT 
SSDT SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(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) [...]

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: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 2294.66 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR

cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz, 2094.75 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR

cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
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 4 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 13 (EXP4)
acpiprt7 at acpi0: bus 21 (PCI1)
acpicpu0 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: !C3(250@17 mwait.3@0x20), !C2(500@1 mwait.1@0x10), 
C1(1000@1 mwait.1), PSS

acpipwrres0 at acpi0: PUBS, resource for USB0, USB2, USB4, EHC0, EHC1
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"IBM0057" at acpi0 not configured
tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: device 0x32031114 rev 0x9
acpibat0 at acpi0: BAT0 model "42T5264" serial  1732 type LION oem 
"Panasonic"

acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout0 at acpivideo0: LCD0
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2294 MHz: speeds: 2101, 2100, 1600, 1200, 800 
MHz

pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
inteldrm0 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
drm0 at inteldrm0
intagp0 at inteldrm0
agp0 at intagp0: aperture at 0xe000, size 0x1000
inteldrm0: msi
inteldrm0: 1280x800
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"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:21:86:94:34:8e
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: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Wireless WiFi Link 4965" rev 0x61: 
msi, MIMO 2T3R, MoW2, address 00:21:5c:75:a7:1d

ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: msi
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801H PCIE" rev 0x03: msi
pci4 at ppb3 bus 5
ppb4 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x03: msi
pci5 at ppb4 bus 13
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
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: apic 1 int 
18
ehci1 at pci0 dev 29 function 7 "Intel 82801H 

Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Mike Larkin
On Thu, Aug 11, 2016 at 03:10:25PM +0200, Alessandro DE LAURENZIS wrote:
> Hello,
> 
> I'm reporting this without any details because actually I do not know how to
> start a debugging...
> 
> After resuming from an hibernation, restarting Fluxbox (Restart from menu or
> issuing "fluxbox-remote -Restart") systematically crashes it, causing the
> XDM login window to appear. No core generated, nothing annotated into system
> logs / Fluxbox's log.
> 
> This is on -current, Aug 10 (same behaviour with other recent, don't know
> the situation for previous ones).
> 
> Anybody noticed the same?
> 
> All the best
> 
> -- 
> Alessandro DE LAURENZIS
> [mailto:jus...@atlantide.t28.net]
> LinkedIn: http://it.linkedin.com/in/delaurenzis
> 

dmesg and pkg_info -t please.



Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Jason McIntyre
On Thu, Aug 11, 2016 at 03:53:12PM +, Michal Bozon wrote:
> > On Mon, Aug 08, 2016 at 10:23:22AM +0200, Michal Bozon wrote:
> > > Hi, I've had an issue connecting to a wireless network
> > > (by doas sh /etc/netstart $if). Its password contained
> > > '#' character(s).
> > > 
> > > Even adding "debug" keyword did not assure me
> > > whether the problem is with my password definition:
> > > wpakey s3cur3-as-#311, for illustration (was not sure
> > > if the '#' has to be escaped somehow); or somewhere
> > > else. Finally, it was the latter, but it took me a while
> > > to realize that.
> > > 
> > > Current hostname.if manpage is not absolutely clear:
> > > 
> > >   #Comments are allowed.  Anything following a comment
> > >   character is treated as a comment.
> > > 
> > > It suggests that what is before '#' might have a meaning,
> > > while the broader context of the definition strongly suggests
> > > that comment it is when '#' "keyword" is at the beginning.
> > > 
> > > Looking into /etc/netstart might also be confusing -
> > > just at the beginning, there's stripcom() function definition,
> > > which clearly strips the input line from '#' and following.
> > > However, this function is NOT applied to /etc/hostname.if,
> > > it is treated differently, entire line beginning with '#'
> > > is skipped (see # Skip comments and empty lines).
> > > 
> > > I am therefore proposing following or similar change:
> > > 
> > > --- /usr/src/share/man/man5/hostname.if.5
> > > +++ /usr/src/share/man/man5/hostname.if.5
> > > @@ -201,7 +201,7 @@
> > >  the interface, such as 64.
> > >  .It Li #
> > >  Comments are allowed.
> > > -Anything following a comment character is treated as a comment.
> > > +Line beginning with a comment character is treated as a comment.
> > >  .It Li \&! Ns Ar command
> > >  Arbitrary shell commands can be executed using this directive, as
> > >  long as they are available in the single-user environment (for
> > > 
> > 
> > hi.
> > 
> > the diff as-is is wrong. i mean it's valid to have this in your
> > hostname.if file:
> > 
> > up  # blah blah
> > 
> > that's a very common construct, and is allowed.
> > 
> > however it might be that to the list of things that should be double
> > quoted (whitespace and single quotes) we should add the comment
> > character. i'm not sure though.
> > 
> > jmc
> 
> 
> Indeed, my initial analysis was not correct, it is more, say,
> complicated.
> 
> As i said, my config with # in the password worked
> without any escaping or quoting needed.
> 

i understood from your mail that you'd had to escape it.

> !echo foo # boo
> will echo foo
> 
> !echo foo#boo
> will echo foo#boo
> 
> up # blah blah
> will work just because if fact it is ignored, because the interface is
> up-ped automatically, implicitly
> 

oh, so i chose a bad keyword to use as a test.

> dhcp # blah blah
> will NOT work, because in the end it is interpreted as cmd:
> ifconfig ath0 # blah blah   down;dhclient ath0
> 

why would that sample pass "down" to dhclient?

still, it's obvious i don;t know enough about the parsing. so i'll bow
out...

jmc



Re: hostname.if manpage enhancement: be clearer about #

2016-08-11 Thread Michal Bozon
> On Mon, Aug 08, 2016 at 10:23:22AM +0200, Michal Bozon wrote:
> > Hi, I've had an issue connecting to a wireless network
> > (by doas sh /etc/netstart $if). Its password contained
> > '#' character(s).
> > 
> > Even adding "debug" keyword did not assure me
> > whether the problem is with my password definition:
> > wpakey s3cur3-as-#311, for illustration (was not sure
> > if the '#' has to be escaped somehow); or somewhere
> > else. Finally, it was the latter, but it took me a while
> > to realize that.
> > 
> > Current hostname.if manpage is not absolutely clear:
> > 
> >   #Comments are allowed.  Anything following a comment
> >   character is treated as a comment.
> > 
> > It suggests that what is before '#' might have a meaning,
> > while the broader context of the definition strongly suggests
> > that comment it is when '#' "keyword" is at the beginning.
> > 
> > Looking into /etc/netstart might also be confusing -
> > just at the beginning, there's stripcom() function definition,
> > which clearly strips the input line from '#' and following.
> > However, this function is NOT applied to /etc/hostname.if,
> > it is treated differently, entire line beginning with '#'
> > is skipped (see # Skip comments and empty lines).
> > 
> > I am therefore proposing following or similar change:
> > 
> > --- /usr/src/share/man/man5/hostname.if.5
> > +++ /usr/src/share/man/man5/hostname.if.5
> > @@ -201,7 +201,7 @@
> >  the interface, such as 64.
> >  .It Li #
> >  Comments are allowed.
> > -Anything following a comment character is treated as a comment.
> > +Line beginning with a comment character is treated as a comment.
> >  .It Li \&! Ns Ar command
> >  Arbitrary shell commands can be executed using this directive, as
> >  long as they are available in the single-user environment (for
> > 
> 
> hi.
> 
> the diff as-is is wrong. i mean it's valid to have this in your
> hostname.if file:
> 
>   up  # blah blah
> 
> that's a very common construct, and is allowed.
> 
> however it might be that to the list of things that should be double
> quoted (whitespace and single quotes) we should add the comment
> character. i'm not sure though.
> 
> jmc


Indeed, my initial analysis was not correct, it is more, say,
complicated.

As i said, my config with # in the password worked
without any escaping or quoting needed.

!echo foo # boo
will echo foo

!echo foo#boo
will echo foo#boo

up # blah blah
will work just because if fact it is ignored, because the interface is
up-ped automatically, implicitly

dhcp # blah blah
will NOT work, because in the end it is interpreted as cmd:
ifconfig ath0 # blah blah   down;dhclient ath0



Re: Weird graphic problems with intel(4) on a Thinkpad X250

2016-08-11 Thread Lionel Riem

On 11.08.2016 10:34, Dimitris Papastamos wrote:

I have not tried 5.9 but my x250 works really well with -current and
6.0.  I suppose there have been fixes in broadwell support since 5.9.


I just upgraded to -current, and, indeed, it now works very well.
Thanks!



Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Alessandro DE LAURENZIS

On 2016-08-11 15:23, Alessandro DE LAURENZIS wrote:

Hello David,

Does restarting Fluxbox work otherwise or the crash only happens after 
resuming?


restarting it before suspend to disk works flawlessly.

Cheers


It's worth mentioning that suspending to RAM does *not* trigger the 
crash.


--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis



Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Alessandro DE LAURENZIS

Hello David,

Does restarting Fluxbox work otherwise or the crash only happens after 
resuming?


restarting it before suspend to disk works flawlessly.

Cheers

--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis



Re: Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread David Coppa
On Thu, Aug 11, 2016 at 3:10 PM, Alessandro DE LAURENZIS
 wrote:
> Hello,
>
> I'm reporting this without any details because actually I do not know how to
> start a debugging...
>
> After resuming from an hibernation, restarting Fluxbox (Restart from menu or
> issuing "fluxbox-remote -Restart") systematically crashes it, causing the
> XDM login window to appear. No core generated, nothing annotated into system
> logs / Fluxbox's log.
>
> This is on -current, Aug 10 (same behaviour with other recent, don't know
> the situation for previous ones).
>
> Anybody noticed the same?

Does restarting Fluxbox work otherwise or the crash only happens after resuming?


Ciao
David
-- 
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson



Fluxbox doesn't survive to a suspend to disk when restarted

2016-08-11 Thread Alessandro DE LAURENZIS

Hello,

I'm reporting this without any details because actually I do not know 
how to start a debugging...


After resuming from an hibernation, restarting Fluxbox (Restart from 
menu or issuing "fluxbox-remote -Restart") systematically crashes it, 
causing the XDM login window to appear. No core generated, nothing 
annotated into system logs / Fluxbox's log.


This is on -current, Aug 10 (same behaviour with other recent, don't 
know the situation for previous ones).


Anybody noticed the same?

All the best

--
Alessandro DE LAURENZIS
[mailto:jus...@atlantide.t28.net]
LinkedIn: http://it.linkedin.com/in/delaurenzis



xfreerdp fullscreen needs xrandr resolution change

2016-08-11 Thread Marko Cupać
Hi,

I have a few problems with HP t520 Thin Client Business Desktop (dmesg
below) on an unpatched OpenBSD 5.9 x64.

Less important one is that without xorg.conf ATI graphics card works
only in VESA mode.

More important one is that xfreerdp does not work in fullscreen mode
when started with the following command from xterm in openbox:
xfreerdp /v:rdp.example.org /f /kbd:0x081A /d:example.org /sec:rdp

Actually freerdp does start and screen flashes for a moment, ps shows
it as running, but I don't see anything on the screen.

After I lower the resolution and revert it back with xrandr, xfreerdp
works as expected in fullscreen:

xrandr -s 1280x1024 && xrandr -s 1920x1080

Any idea why this happens? Could it be repaired?

Thank you in advance.

OpenBSD 5.9 (GENERIC.MP) #1888: Fri Feb 26 01:20:19 MST 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3669352448 (3499MB)
avail mem = 3553943552 (3389MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xebfc0 (21 entries)
bios0: vendor AMI version "L41 v01.06" date 10/26/2015
bios0: Hewlett-Packard HP t520 Flexible Series TC
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S5
acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT SSDT DBGP SSDT
SSDT SSDT
acpi0: wakeup devices LOM_(S3) SBAZ(S3) EHC3(S3) XHC0(S3) EHC1(S3)
EHC2(S3)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD GX-212JC SOC with Radeon(TM) R2E Graphics, 1197.90 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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC
NT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI
CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB
64b/line 16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD GX-212JC SOC with Radeon(TM) R2E Graphics, 1197.75 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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,MOVBE,POPC
NT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,LONG,LAHF,CMPLEG,SVM,EAPI
CSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TOPEXT,ITSC,BMI1
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 1MB
64b/line 16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully
associative
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
ioapic1 at mainbus0: apid 4 pa 0xfec01000, version 21, 32 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (BR11)
acpiprt2 at acpi0: bus -1 (GPP0)
acpiprt3 at acpi0: bus 1 (GPP1)
acpiprt4 at acpi0: bus -1 (GPP2)
acpiprt5 at acpi0: bus -1 (GPP3)
acpicpu0 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@400 io@0x414), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 1197 MHz: speeds: 1200 1000 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 16h Root Complex" rev 0x00
vga1 at pci0 dev 1 function 0 vendor "ATI", unknown product 0x9856 rev
0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
azalia0 at pci0 dev 1 function 1 "ATI Radeon HD Audio" rev 0x00: msi
azalia0: no supported codecs
pchb1 at pci0 dev 2 function 0 "AMD AMD64 16h Host" rev 0x00
ppb0 at pci0 dev 2 function 3 "AMD AMD64 16h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G
(0x4c00), msi, address 48:0f:cf:be:cc:af
rgephy0 at re0 phy 7: RTL8251 PHY, rev. 0
"AMD CCP" rev 0x00 at pci0 dev 8 function 0 not configured
xhci0 at pci0 dev 16 function 0 "AMD Bolton xHCI" rev 0x11: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 "AMD xHCI root hub" rev 3.00/1.00 addr 1
ahci0 at pci0 dev 17 function 0 "AMD Hudson-2 SATA" rev 0x40: msi, AHCI
1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3
0/direct fixed naa.5001b444a4b5edfb
sd0: 7641MB, 512 bytes/sector, 15649200 sectors, thin
ehci0 at pci0 dev 18 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 3
int 18
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 "AMD EHCI root hub" rev 2.00/1.00 addr 1
ehci1 at pci0 dev 19 function 0 "AMD Hudson-2 USB2" rev 0x39: apic 3
int 18
usb2 at ehci1: 

cvsweb: headers of revision files are shown in plain text

2016-08-11 Thread Alessandro DE LAURENZIS

Dear misc@ readers,

I'm trying to set-up a cvsweb server (OpenBSD 5.9 i386) with stock 
httpd(8); this is the relevant part of my httpd.conf:


# Name-based web server
server $web_domain {
listen on $ext_if port 80

location "/cgi-bin/*" {
fastcgi
# The /cgi-bin directory is outside of the document root
root "/"
}

location "/cvsweb/*" {
root { "/htdocs/cvsweb", strip 1 }
}

root "/htdocs/www.atlantide.t28.net"
}

I strictly followed the guidelines in
/usr/local/share/doc/pkg-readmes/cvsweb-2.0.6p20, but ended up with the 
following: when I click on a revision number, the header is not 
recognizes as a markup language, but shown by the browser as plain text:


Content-Type: text/html




dotfiles/bashrc - view - 1.13






cellspacing="0" cellpadding="1">


alt="[BACK]" border="0" width="20" height="22">Return to href="./bashrc#rev1.13">bashrc CVS log src="/cvsweb/icons/text.gif" alt="[TXT]" border="0" width="20" 
height="22">alt="[DIR]" border="0" width="20" height="22"> Up to  href="/cgi-bin/cvsweb/#dirlist">[env] / href="/cgi-bin/cvsweb/dotfiles/#dirlist">dotfilesnoshade>


File:  href="/cgi-bin/cvsweb/#dirlist">[env] / href="/cgi-bin/cvsweb/dotfiles/#dirlist">dotfiles / href="/cgi-bin/cvsweb/dotfiles/bashrc">bashrc(href="/cgi-bin/cvsweb/~checkout~/dotfiles/bashrc?rev=1.13" 
target="cvs_checkout" 
onclick="window.open('/cgi-bin/cvsweb/~checkout~/dotfiles/bashrc?rev=1.13','cvs_checkout','resizable,scrollbars');return 
false">download)


Revision 1.13, Wed Aug 10 13:14:16 2016 UTC (19 hours, 58 
minutes ago) by just22

Branch: MAIN
CVS Tags: HEADChanges since 1.12: +2 -2 lines


Reverted commit 1.11: \[ and \] are needed for correct prompt char 
counting (e.g. when using BS)




# 
--

#  $Id: bashrc,v 1.13 2016/08/10 13:14:16 just22 Exp $
#
#  ~/.bashrc: executed by bash(1) for non-login shells
#
#  This file is sourced by all *interactive* bash shells on startup,
#  including some apparently interactive shells such as scp and rcp
#  that can't tolerate any output.  So make sure this doesn't display
#  anything or bad things will happen!
#
#  It should contain stuff that applies only to bash itself, such
#  as alias and function definitions, shell options and prompt settings
# --

# Test for an interactive shell.  There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]]; then
# Shell is non-interactive.  Be done now!
return
fi
[...]

I tried different browsers (Firefox, Surf, Chromium) and the behavior 
doesn't change. I suspected a problem with MIME types ('cause 
misbehaving files show trailing "content-type=text/x-cvsweb-markup" - 
maybe not recognized by default?); copying mime.types from an 
apache-httpd installation in /conf doens't have any effects, too.


This is my cvsweb.conf:

# -*-perl-*-
# Configuration of cvsweb.cgi, the
# CGI interface to CVS Repositories.
#
# (c) 1998-1999 H. Zeller
# 1999  H. Nordstrom 
# 2000-2002 A. MUSHA 
# 2002  V. Skyttä
#  based on work by Bill Fenner  
#
# $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.36.2.3 2002/09/23 05:30:17 
scop Exp $

# $Id: cvsweb.conf,v 1.29 2001/07/23 09:14:52 hzeller Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu 
Exp $

#
###

# Set the path for the following commands:
#   uname, cvs, rlog, rcsdiff
#   gzip (if you enable $allow_compress)
#   tar, rm, zip (if you enable $allow_tar)
$command_path = '/bin:/usr/bin:/usr/local/bin';

# Search the above directories for each command
for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
$CMD{$_} = search_path($_);
}

# The name of the operating system implementation
chomp($uname = `$CMD{uname}`);

##
# CVS Root
##
# CVSweb can handle several CVS-Repositories
# at once. Enter a short symbolic names and the
# full path of these repositories here.
# NOTE that the symbolic names may not contain
# whitespaces.
# Note, that cvsweb.cgi currently needs to have physical access
# to the CVS repository so :pserver:some...@xyz.com:/data/cvsroot
# won't work!

# 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
# Listed in the order specified:
@CVSrepositories = (
#   'local'   => ['Local Repository', '/home/cvs'],
#   'freebsd' => ['FreeBSD',  '/home/ncvs'],
#   'openbsd' => ['OpenBSD',  '/home/ncvs'],
#   'netbsd'  => ['NetBSD',   '/home/ncvs'],
#   'ruby'=> ['Ruby', '/var/anoncvs/ruby'],
'env' => ['Env',  '/cvs/env.cvsrepo'],
'prj' => 

Re: Weird graphic problems with intel(4) on a Thinkpad X250

2016-08-11 Thread Dimitris Papastamos
On Thu, Aug 11, 2016 at 09:56:37AM +0200, Lionel Riem wrote:
> Hello,
> 
> I have 5.9 installed on a Thinkpad X250 (Broadwell, Intel HD Graphics
> 5500). On this machine, by default, Xorg uses modesetting(4) and vesa(4)
> instead of intel(4). The performance is not great (stuttering videos,
> for example, or slow mouse movements when Firefox tries to display
> "graphic heavy" pages). I have had better performance on a Thinkpad X230.
> 
> When forcing Xorg to use intel(4) instead, I get really weird problems:
> http://imgur.com/a/KEYzb (this is supposed to be i3 with Firefox open).
> 
> Someone on #OpenBSD (Zelest) reported encountering the same weird
> problems on a Thinkpad X1 (2015, Broadwell, Intel HD Graphics 5500 as
> well) when using intel(4). Here's his screenshot:
> http://imgur.com/a/c3cvJ

I have not tried 5.9 but my x250 works really well with -current and
6.0.  I suppose there have been fixes in broadwell support since 5.9.



Re: Weird graphic problems with intel(4) on a Thinkpad X250

2016-08-11 Thread ludovic coues
2016-08-11 9:56 GMT+02:00 Lionel Riem :
> When forcing Xorg to use intel(4) instead, I get really weird problems:
> http://imgur.com/a/KEYzb (this is supposed to be i3 with Firefox open).
>

>
> Is it a bug? Are we doing something wrong? Thanks for your help.
>

You mean something wrong like forcing a different driver to be used ?
There is certainly a reason for why X choose to use vesa(4) instead of
intel(4). I would bet the reason is "intel graphics 5500 is not yet
fully supported".

Maybe things work better under current/OpenBSD 6.0. Maybe patch are needed.

-- 

Cordialement, Coues Ludovic
+336 148 743 42



Weird graphic problems with intel(4) on a Thinkpad X250

2016-08-11 Thread Lionel Riem
Hello,

I have 5.9 installed on a Thinkpad X250 (Broadwell, Intel HD Graphics
5500). On this machine, by default, Xorg uses modesetting(4) and vesa(4)
instead of intel(4). The performance is not great (stuttering videos,
for example, or slow mouse movements when Firefox tries to display
"graphic heavy" pages). I have had better performance on a Thinkpad X230.

When forcing Xorg to use intel(4) instead, I get really weird problems:
http://imgur.com/a/KEYzb (this is supposed to be i3 with Firefox open).

Someone on #OpenBSD (Zelest) reported encountering the same weird
problems on a Thinkpad X1 (2015, Broadwell, Intel HD Graphics 5500 as
well) when using intel(4). Here's his screenshot:
http://imgur.com/a/c3cvJ

Is it a bug? Are we doing something wrong? Thanks for your help.

 Start /var/run/dmesg.boot 
OpenBSD 5.9 (GENERIC.MP) #8: Thu Jul 14 20:12:22 CEST 2016

jas...@stable-59-amd64.mtier.org:/binpatchng/work-binpatch59-amd64/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8277159936 (7893MB)
avail mem = 8022102016 (7650MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xacbfd000 (64 entries)
bios0: vendor LENOVO version "N10ET36W (1.15 )" date 06/19/2015
bios0: LENOVO 20CM004UMZ
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC HPET ECDT APIC MCFG SSDT SSDT SSDT SSDT
SSDT SSDT SSDT ASF! SSDT SSDT PCCT SSDT UEFI MSDM BATB FPDT UEFI DMAR
acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) XHCI(S3) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.60 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
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.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
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) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
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) i7-5600U CPU @ 2.60GHz, 2494.22 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
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 -1 (EXP3)
acpicpu0 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@233 mwait.1@0x40), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1
acpipwrres1 at acpi0: NVP3, resource for PEG_
acpipwrres2 at acpi0: NVP2, resource for PEG_
acpitz0 at acpi0: critical temperature is 128 degC
acpibtn0 at acpi0: LID_
acpibtn1 at 

Re: thunderbird segfaults

2016-08-11 Thread Stefan Wollny
Am 08/08/16 um 17:21 schrieb Theo Buehler:
> 
> A fix for thunderbird is being worked on:
> 

THANK YOU - THANK YOU - THANK YOU!!!

Just updated via ports and thunderbird is fine again!