Re: Upgrading from 5.8 to 5.9: Can't install patches

2016-08-18 Thread trondd
On Thu, August 18, 2016 7:34 pm, Jay Hart wrote:
>
> Next I downloaded all 25 patches but patch 002 failed to install and I
> think its because I need to
> download and untar src.tar.gz and sys.tar.gz.  My thinking is the source
> tree I installed under
> 5.8, is still 5.8, not 5.9.

Correct.  The installer does not install/update the source for you.  You
have to get it yourself by downloading the tarballs or via CVS.

Tim.



Upgrading from 5.8 to 5.9: Can't install patches

2016-08-18 Thread Jay Hart
I followed the directions to a "T" detailing upgrading an existing 5.8 install 
to 5.9.  I
installed all filesets except for games.  Removed the files that needed to be 
removed, updated my
packages.  All seems well.

Next I downloaded all 25 patches but patch 002 failed to install and I think 
its because I need to
download and untar src.tar.gz and sys.tar.gz.  My thinking is the source tree I 
installed under
5.8, is still 5.8, not 5.9.

I don't have immediate access to the box so I cant' get you the exact error, 
but my thinking is I
need to install the src code files.

Am I moving in the right direction?

Thanks,

Jay



Re: Support for Intel XL710 NIC

2016-08-18 Thread Tinker

On 2016-08-18 05:55, Theo de Raadt wrote:

On 2016-08-17 23:16, Eric Furman wrote:
> On Wed, Aug 17, 2016, at 01:53 PM, Chris Cappuccio wrote:
>> ML mail [mlnos...@yahoo.com] wrote:
>> > Hi,
>> >
>> > Will OpenBSD 6.0 support the Intel XL710 network interface cards?
>> >
>>
>> I think someone was working on the Intel 40Gbps chipset but don't
>> remember
>> who. In any event, the first releast that might include this code is
>> OpenBSD 6.1. The 6.0 release is already set.
>>
>
> It might be available sooner, in -current, if someone were to buy some
> and send them to the project. I suggest the OP since he requested
> this support. I would, but they are in the $400-$500 range and that
> is too pricey for me at the moment.

Just about the chip, at least several XL710 cards support the "40GSFP+
CR4 to 4x SFP+ break out cable", which makes a dual-port XL710 card
deliver *8x* separate 10gbit ethernet connections.

That makes it the highest-ethernet connector density card available
today to the best of my awareness.

Here's how it looks
http://www.10gtek.com/QSFP+-(40G)-to-4x-SFP+-(10G)-Cable-191 (there 
are

more manufacturers).


That's great, really appreciate your input "tinker"

..

We haven't got a Hemi.  Haven't got a spare CRX either.

It sounds like you have access to such expensive hardware in your day
job.

..

I suspect your feelings of entitlement towards your paycheque is the
problem.

I'm am very glad I walked away from that trap 25 years ago, because
that allowed me to work with people who give a shit beyond posturing
on a mailing list using non-future-enhancing short-term phrases like
'That makes it the highest-ethernet connector density card available
today to the best of my awareness."

I'm glad your words got you somewhere "tinker".  Around here, you
come off like a dick who didn't help everyone.


No paycheck, no expensive hardware here, and not an agent -

I was reading up about how to cram as many ethernet connectors in a 
server as possible recently, and came across the XL710 chip as the most 
effective solution for that.


It does so in a really unstandard way, through that hybrid "one port is 
either one or four ports" thing, so I just wanted to mention that now 
that it was discussed here, because I guess it's relevant but could be 
missed.


If I had such a card, it would be useless for me as it's currently not 
supported :)


Emailed a manufacturer and asked them to donate as listed on  
http://www.openbsdfoundation.org/donations.html .




Re: 404 error

2016-08-18 Thread Stuart Henderson
On 2016-08-18, Victor Escobar  wrote:
> I don't know if I'm reaching the right party, but I wanted to report a 
> 404 error for this page: http://www.openbsd.org/vax-simh.html
>
> DuckDuckGo seems to have it cached since it shows up in the search 
> results (keywords: OpenBSD VAX SimH).

OpenBSD/VAX was discontinued after 5.8 and this page got removed in the
great website cull of 2016, archive.org has a copy:

http://web.archive.org/web/20160702081305/http://www.openbsd.org/vax-simh.html

Or it's in cvs's Attic.



404 error

2016-08-18 Thread Victor Escobar
I don't know if I'm reaching the right party, but I wanted to report a 
404 error for this page: http://www.openbsd.org/vax-simh.html


DuckDuckGo seems to have it cached since it shows up in the search 
results (keywords: OpenBSD VAX SimH).


Regards,

Victor Escobar



Re: php7.0 fail on stable

2016-08-18 Thread Thuban
* Frank Groeneveld  le [18-08-2016
22:07:07 +0200]:
> On Thu, Aug 18, 2016 at 09:09:38PM +0200, Thuban wrote:
> > Hello,
> > I was trying to build php7.0 with ports, but it fails (see configure
> > failure below).
> >
> > I'm running on 5.9 with stable patches (for both ports and src of
> > course).
> >
> > It seems that configure doesn't recognise the "--with-apxs" option".
>
> It's missing a dependency, see this thread:
> http://marc.info/?t=14605309296=1=2
>
> This should be fixed in 6.0, but for 5.9 you can work around it by
> installing apache-httpd before compiling php.
>
> Frank


Thanks!

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: ispec - PSK - issues

2016-08-18 Thread Maurice Janssen
No problems with Android 5.0.2.

-Original Message-
From: Justin Mayes 
To: Raul Miller , Maurice Janssen 
Cc: Steve Clement , OpenBSD general usage list 

Sent: do, 18 aug. 2016 21:59
Subject: Re: ispec - PSK - issues

Hello all - 



I was also recently trying to do a simple ipsec/l2tp vpn. I found that it works 
fine for everything except my android 5.1.1 device. The odd thing is that when 
I watch the log and/or isakmpd output I can see it connect fine, authenticate 
to l2tp and so on then it immediately disconnects and says that the client 
caused the disconnection. When I google I see all sorts of issues with android 
but mostly related to 6+. I can even see in the log that npppd successfully 
authenticates my android and creates a tunnel, android just kills it all after 
1 second for some reason. Can anyone confirm that android 5.1.1 works with 
openbsd ipsec/l2tp before I spend more hours trying to figure out why just this 
android device is not working? Here is that tail of the log where l2tp is 
killed right after starting.





npppd[860]: ppp id=20 layer=base logtype=TUNNELSTART user="mike" duration=0sec 
layer2=L2TP layer2from=x.x.x.x:1701 auth=MS-CHAP-V2  ip=10.0.0.103 iface=pppx0

npppd[860]: ppp id=20 layer=base Using pipex=yes

npppd[860]: ppp id=20 layer=lcp terminated by peer

npppd[860]: l2tpd ctrl=21 RecvStopCCN result=GENERAL/1 error=none/0 
tunnel_id=13671 message=""

npppd[860]: l2tpd ctrl=21 call=1 SendCDN result=ADMINISTRATIVE_REASON/3

npppd[860]: l2tpd ctrl=21 call=1 logtype=PPPUnbind

npppd[860]: ppp id=20 layer=base logtype=TUNNELUSAGE user="mike" duration=0sec 
layer2=L2TP layer2from=x.x.x.x:1701 auth=MS-CHAP-V2 data_in=213bytes,9packets 
data_out=219bytes,10packets error_in=0 error_out=0 mppe=no iface=pppx0

npppd[860]: l2tpd ctrl=21 Received CDN in 'cleanup-wait' state

npppd[860]: l2tpd ctrl=21 logtype=Finished





Justin





-Original Message-

From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Raul 
Miller

Sent: Tuesday, July 26, 2016 7:14 AM

To: Maurice Janssen 

Cc: Steve Clement ; OpenBSD general usage list 


Subject: Re: ispec - PSK - issues



On Tue, Jul 26, 2016 at 2:08 AM, Maurice Janssen  wrote:

>>https://code.google.com/p/android/issues/detail?id=196939

>

> Yeah, that's the link I wanted to send.  Somehow I managed to copy the 

> wrong link in my previous email.



I have been seeing a lot of copy errors myself, where I performed the 
keyboard action to trigger a copy but paste gives me something from an older 
context.



I'm sure a lot of people put a lot of time into making things work this way...



--

Raul



Re: php7.0 fail on stable

2016-08-18 Thread Frank Groeneveld
On Thu, Aug 18, 2016 at 09:09:38PM +0200, Thuban wrote:
> Hello,
> I was trying to build php7.0 with ports, but it fails (see configure
> failure below).
> 
> I'm running on 5.9 with stable patches (for both ports and src of
> course).
> 
> It seems that configure doesn't recognise the "--with-apxs" option".

It's missing a dependency, see this thread:
http://marc.info/?t=14605309296=1=2

This should be fixed in 6.0, but for 5.9 you can work around it by
installing apache-httpd before compiling php.

Frank



Re: ispec - PSK - issues

2016-08-18 Thread Justin Mayes
Hello all - 

I was also recently trying to do a simple ipsec/l2tp vpn. I found that it works 
fine for everything except my android 5.1.1 device. The odd thing is that when 
I watch the log and/or isakmpd output I can see it connect fine, authenticate 
to l2tp and so on then it immediately disconnects and says that the client 
caused the disconnection. When I google I see all sorts of issues with android 
but mostly related to 6+. I can even see in the log that npppd successfully 
authenticates my android and creates a tunnel, android just kills it all after 
1 second for some reason. Can anyone confirm that android 5.1.1 works with 
openbsd ipsec/l2tp before I spend more hours trying to figure out why just this 
android device is not working? Here is that tail of the log where l2tp is 
killed right after starting.


npppd[860]: ppp id=20 layer=base logtype=TUNNELSTART user="mike" duration=0sec 
layer2=L2TP layer2from=x.x.x.x:1701 auth=MS-CHAP-V2  ip=10.0.0.103 iface=pppx0
npppd[860]: ppp id=20 layer=base Using pipex=yes
npppd[860]: ppp id=20 layer=lcp terminated by peer
npppd[860]: l2tpd ctrl=21 RecvStopCCN result=GENERAL/1 error=none/0 
tunnel_id=13671 message=""
npppd[860]: l2tpd ctrl=21 call=1 SendCDN result=ADMINISTRATIVE_REASON/3
npppd[860]: l2tpd ctrl=21 call=1 logtype=PPPUnbind
npppd[860]: ppp id=20 layer=base logtype=TUNNELUSAGE user="mike" duration=0sec 
layer2=L2TP layer2from=x.x.x.x:1701 auth=MS-CHAP-V2 data_in=213bytes,9packets 
data_out=219bytes,10packets error_in=0 error_out=0 mppe=no iface=pppx0
npppd[860]: l2tpd ctrl=21 Received CDN in 'cleanup-wait' state
npppd[860]: l2tpd ctrl=21 logtype=Finished


Justin


-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Raul 
Miller
Sent: Tuesday, July 26, 2016 7:14 AM
To: Maurice Janssen 
Cc: Steve Clement ; OpenBSD general usage list 

Subject: Re: ispec - PSK - issues

On Tue, Jul 26, 2016 at 2:08 AM, Maurice Janssen  wrote:
>>https://code.google.com/p/android/issues/detail?id=196939
>
> Yeah, that's the link I wanted to send.  Somehow I managed to copy the 
> wrong link in my previous email.

I have been seeing a lot of copy errors myself, where I performed the 
keyboard action to trigger a copy but paste gives me something from an older 
context.

I'm sure a lot of people put a lot of time into making things work this way...

--
Raul



php7.0 fail on stable

2016-08-18 Thread Thuban
Hello,
I was trying to build php7.0 with ports, but it fails (see configure
failure below).

I'm running on 5.9 with stable patches (for both ports and src of
course).

It seems that configure doesn't recognise the "--with-apxs" option".



===>  Configuring for php-7.0.2
Using /usr/ports/pobj/php-7.0.2/config.site (generated)
/usr/bin/perl /usr/ports/infrastructure/bin/pkg_subst
-DMODPHP_CONFIG_PATH=/var/www/conf -DSV=70 -DPV=7.0 -D^MODULE_NAME=
-DMACHINE_ARCH=amd64 -DARCH=amd64 -DHOMEPAGE=http://www.php.net/
-D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=php-7.0.2
-DMAINTAINER=Robert\ Nagy\ \ -D^BASE_PKGPATH=lang/php/7.0
-D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local
-D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var -i -B /usr/ports/pobj/php-7.0.2
/usr/ports/pobj/php-7.0.2/php-7.0.2/main/php_ini.c
configure: WARNING: unrecognized options: --enable-sqlite-utf8,
--with-apxs, --enable-zend-multibyte, --enable-fastcgi, --with-t1lib,
--enable-ucd-snmp-hack, --disable-silent-rules, --disable-gtk-doc
configure: loading site script /usr/ports/pobj/php-7.0.2/config.site
checking for grep that handles long lines and -e... (cached)
/usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking build system type... x86_64-unknown-openbsd5.9
checking host system type... x86_64-unknown-openbsd5.9
checking target system type... x86_64-unknown-openbsd5.9
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... no
checking if compiler supports -R... yes
checking for gawk... (cached) awk
checking if awk is broken... no
checking for bison... yacc
checking for bison version... invalid
configure: WARNING: This bison version is not supported for regeneration
of the Zend/PHP parsers (found: none, min: 204, excluded: ).
checking for re2c... re2c
checking for re2c version... 0.15.3 (ok)
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking whether /dev/arandom exists... yes
checking for global register variables support... no
checking for pthreads_cflags...
checking for pthreads_lib...

Configuring SAPI modules
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using
--with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is
displayed)

The output of /usr/local/sbin/apxs2 follows:
./configure[6900]: /usr/local/sbin/apxs2: not found
configure: error: Aborting
*** Error 127 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2750
'/usr/ports/pobj/php-7.0.2/.configure_done': @for d in
/usr/ports/pobj/php...)
*** Error 1 in /usr/ports/lang/php/7.0
(/usr/ports/infrastructure/mk/bsd.port.mk:2495 'all')


--
/Thuban/

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Re: Decisions to use OpenBSD only

2016-08-18 Thread jsg
 Yep, Ditto Ditto Ditto
 Did that years ago and haven't looked back..

 :)



Decisions to use OpenBSD only

2016-08-18 Thread Kapfhammer, Stefan
Good morning people at misc@,

now for a year I used Windows 7 Pro and OpenBSD 5.8/5.9
in a multiboot installation on my Ultrabook Toshiba Portege Z930-12C
very well. Mostly all components in the Portege are well supported
since longer time (was not 3 years ago, when I bought it :-(  )
MEI = Management Engine Interface? I believe no one needs ;)

After the anniversary update this month, I decided to get my
free copy of Windows 10 and use it also as a multiboot installation.
HORROR installation. Cleaned up sd0 with dc3dd, partitioned with
my beloved OpenBSD fdisk, Starting with giving windows 80, 100
120 GB disk space, nothing worked, would not install. Installed
Windows 10 alone and reading out the mbr table to adjust my
setup. No way. Partitioning with OpenBSD fdisk same way as
Windows did, Windows would not format nor install on the
partition I choose. So I have given up entirely on Windows 10.

The year I had the multiboot installation on Win7Pro and OpenBSD
I converted my workflow and files mostly over to LibreOffice,
GIMP and some others, which I used in parallel on both OS.

What I am missing a bit, is the BlackBerry and BlackBerry Enterprise Server
support (BES12), but my service provider offers a Outlook Web App
to have my PIM data on notebook and handheld.
What I will say, it is no pain for me.
(Even he opened access for me, that I can use standards to access
mail only and use my beloved MUA mutt :-)   )

Thank you to Microsoft to make it such a pain to use their latest OS
as dual boot installation. That made the decision for me very, very
easy to take the step to fully work only with OpenBSD.

And of course, thank you Theo and all the developers of the base
system and the ports tree to have that system grown up in a way
that is well supported, even on exotic machines. Having a secure,
reliable and performant system. Having programs like LibreOffice,
Firefox, VLC, GIMP, Postscript, PDF and many, many more.

Even printing with a Brother MFC-9140CDN over network or USB,
connected to my APU2 or directly with USB works

with ONLY the standard installation of lpd(8)
of the 4.3BSD Line printer spooler (Yay!)
No dependencies! Of course the Printer has an
integrated print server with 6 queues for txt, bin, ps, pcl ;)
Mostly using txt output from console or ps output from Firefox/Libreoffice.

And I am pretty sure, that even faxing out from the notebook over
the Brother machine, will work in the next few weeks, as I have time
to gather the required informations.

Thank you very much developers, maintainers, list and irc supporters
who spent time on supporting people to stay with OpenBSD, to motivate
people to read faq's, man pages and other documentations. To get
people ready to even help other people with particular problems.




Regards,
-stefan

dmesg v5.9 patchlevel #23 no customizations
* anonymized MAC addr / serials
** not configured (only 1)


OpenBSD 5.9-stable (GENERIC.MP) #0: Sun Aug  7 11:07:54 CEST 2016
s...@system23.sphinx.eska:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8445812736 (8054MB)
avail mem = 8185647104 (7806MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xcacff000 (42 entries)
bios0: vendor TOSHIBA version "Version 6.80" date 06/25/2013
bios0: TOSHIBA PORTEGE Z930
acpi0 at bios0: rev 0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA BOOT MSDM SLIC SSDT SSDT SSDT
SSDT DMAR FPDT
acpi0: wakeup devices LANC(S4) HDEF(S3) USBB(S4) RP02(S4) PXSX(S4) RP04(S4)
PXSX(S4) USBC(S4) EHC1(S4) EHC2(S4) XHC_(S4) PWRB(S4) LID_(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) i7-3667U CPU @ 2.00GHz, 1895.98 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,AR
AT
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) i7-3667U CPU @ 2.00GHz, 1895.69 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX
,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,A
ES,XSAVE,AVX,F16C,RDRAND,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS,SENSOR,AR
AT
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-3667U CPU @ 2.00GHz, 1895.69 MHz
cpu2: