Re: arm64: add a new MID

2016-11-24 Thread Theo de Raadt
OK with me. The selection of those numbers used to follow various other "standards", but that is not important these days. > this adds an MID entry for arm64. That's the next reasonable one in the > list. > > ok? > > Patrick > > diff --git a/sys/sys/exec.h b/sys/sys/exec.h > index cd0a8c4..8b

arm64: add a new MID

2016-11-24 Thread Patrick Wildt
Hi, this adds an MID entry for arm64. That's the next reasonable one in the list. ok? Patrick diff --git a/sys/sys/exec.h b/sys/sys/exec.h index cd0a8c4..8bcfc04 100644 --- a/sys/sys/exec.h +++ b/sys/sys/exec.h @@ -287,6 +287,7 @@ struct exec { #defineMID_HPPA154 /* hppa *

GPT->softraid0: Failed to install bootblocks

2016-11-24 Thread Leo Unglaub
Hey, i am trying to install OpenBSD on a Raid1 created by softraid0. My drives are sd0 and sd1. The created raid1 is sd3. The install works fine until OpenBSD tryes to write the bootblocks. But it fails with the error message: "Failed to install bootblocks". If its not possible to do this set

Re: LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Patrick Wildt
On Fri, Nov 25, 2016 at 12:44:44AM +0100, Joerg Sonnenberger wrote: > On Fri, Nov 25, 2016 at 12:37:10AM +0100, Patrick Wildt wrote: > > This diff makes LLVM do all the OpenBSD stuff for AArch64. > > > > ok? > > If you plan to submit this upstream, you should also update the test > cases accordin

Re: LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Joerg Sonnenberger
On Fri, Nov 25, 2016 at 12:37:10AM +0100, Patrick Wildt wrote: > This diff makes LLVM do all the OpenBSD stuff for AArch64. > > ok? If you plan to submit this upstream, you should also update the test cases accordingly. Joerg

arm64: add ELF machine id for AArch64

2016-11-24 Thread Patrick Wildt
Hi, ARM IHI 0056B, the ELF spec for the ARM 64-bit Architecture, specifies the following for the ELF e_machine attribute: An object file conforming to this specification must have the value EM_AARCH64 (183, 0xB7). ok? Patrick diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h index 5b24563..

LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Patrick Wildt
Hi, a clang binary using the AArch64 backend currently does not use proper OpenBSD defines and specifics. This is because we don't tell clang to use OpenBSD target info if it encounters an AArch64 target. This diff makes LLVM do all the OpenBSD stuff for AArch64. ok? Patrick diff --git a/gnu/

Re: Fixup tsleeps in vio(4) and make them interruptable

2016-11-24 Thread Mike Belopuhov
On Wed, Nov 23, 2016 at 21:52 +0100, Stefan Fritsch wrote: > On Wed, 23 Nov 2016, Mike Belopuhov wrote: > > This fixes up tsleep priorities in vio(4) and makes sleeps > > interruptable so that ifconfig can be killed with ^C. Tested > > on qemu with a previous diff that makes vio(4) hang there. > >

Re: vio(4): fixup crash on up/down

2016-11-24 Thread Mike Belopuhov
On Wed, Nov 23, 2016 at 21:10 +0100, Stefan Fritsch wrote: > On Wed, 23 Nov 2016, Rafael Zalamena wrote: > > > > Maybe something like this is enough already (untested): > > > > I tried your diff without Mike's if_vio diff and it doesn't panic anymore, > > however it doesn't work. > > > > vioX ca

Re: [PATCH] List Sierra Wireless EM7455 as supported umb(4) device

2016-11-24 Thread Bryan Vyhmeister
On Thu, Nov 24, 2016 at 06:56:42PM +, Jason McIntyre wrote: > ah. i have a habit of committing diffs from developers because i keep > losing track of who has commit. this time i'm giving oks to people > without commit... > > fixed, thanks for the mail, and sorry about the (perpetual) confusion

Re: List Ericsson N5321gw as supported umb(4) device

2016-11-24 Thread Ingo Feinerer
On Thu, Nov 24, 2016 at 07:01:52PM +0100, Otto Moerbeek wrote: > On Wed, Nov 23, 2016 at 08:56:53PM +0100, Ingo Feinerer wrote: > > the "Lenovo N5321gw" is working for me with umb(4) > > (https://marc.info/?l=openbsd-misc&m=147992993614369&w=2). So mention it > > as a supported device in umb.4? > >

Re: [PATCH] List Sierra Wireless EM7455 as supported umb(4) device

2016-11-24 Thread Jason McIntyre
On Thu, Nov 24, 2016 at 10:36:42AM -0800, Bryan Vyhmeister wrote: > On Wed, Nov 23, 2016 at 04:20:25PM -0800, Bryan Vyhmeister wrote: > > I forgot about adding the newly supported Sierra Wireless EM7455 to the > > umb(4) man page. > > > > Bryan > > > > > > Index: share/man/man4/umb.4 > > ===

Re: [PATCH] List Sierra Wireless EM7455 as supported umb(4) device

2016-11-24 Thread Bryan Vyhmeister
On Wed, Nov 23, 2016 at 04:20:25PM -0800, Bryan Vyhmeister wrote: > I forgot about adding the newly supported Sierra Wireless EM7455 to the > umb(4) man page. > > Bryan > > > Index: share/man/man4/umb.4 > === > RCS file: /cvs/src/sh

Re: List Ericsson N5321gw as supported umb(4) device

2016-11-24 Thread Otto Moerbeek
On Wed, Nov 23, 2016 at 08:56:53PM +0100, Ingo Feinerer wrote: > Hi, > > the "Lenovo N5321gw" is working for me with umb(4) > (https://marc.info/?l=openbsd-misc&m=147992993614369&w=2). So mention it > as a supported device in umb.4? > > (Lenovo seems to call it Ericsson N5321gw on its support si

Re: Possible typos in find(1) man page

2016-11-24 Thread Senthil Kumar M
Hi Otto, Thank you for the clarifications. Indeed reading the man page more carefully I understood the difference between option and expression, and using -prune. Sorry for the noise. Senthil On Thu, 24 Nov 2016, Otto Moerbeek wrote: > On Thu, Nov 24, 2016 at 04:42:37PM +0100, Senthil Kumar

Re: Possible typos in find(1) man page

2016-11-24 Thread Otto Moerbeek
On Thu, Nov 24, 2016 at 04:42:37PM +0100, Senthil Kumar M wrote: > Hello Tech, > > In the find(1) man page, for the option `-f': > > -f path > Specifies a file hierarchy for find to traverse. File > hierarchies may be specified without the -f option if they are >

Re: LLVM: add Makefile support for AArch64

2016-11-24 Thread Pascal Stumpf
On Thu, 24 Nov 2016 16:16:19 +0100, Patrick Wildt wrote: > Hi, > > this diff allows us to build clang with AArch64 support. It's based on > the ARM lib Makefiles modified to compile the AArch64 code. > > ok? Looks good to me, and the aarch64/arm64 naming thing can always be bikeshed later. ok.

Possible typos in find(1) man page

2016-11-24 Thread Senthil Kumar M
Hello Tech, In the find(1) man page, for the option `-f': -f path Specifies a file hierarchy for find to traverse. File hierarchies may be specified without the -f option if they are given immediately after any other options. shouldn't this be `before' i

LLVM: add Makefile support for AArch64

2016-11-24 Thread Patrick Wildt
Hi, this diff allows us to build clang with AArch64 support. It's based on the ARM lib Makefiles modified to compile the AArch64 code. ok? Patrick diff --git a/gnu/usr.bin/clang/Makefile.arch b/gnu/usr.bin/clang/Makefile.arch index b372b68..3883c5e 100644 --- a/gnu/usr.bin/clang/Makefile.arch

Re: vio(4): fixup crash on up/down

2016-11-24 Thread Rafael Zalamena
On Wed, Nov 23, 2016 at 09:10:44PM +0100, Stefan Fritsch wrote: > On Wed, 23 Nov 2016, Rafael Zalamena wrote: > > > > Maybe something like this is enough already (untested): > > > > I tried your diff without Mike's if_vio diff and it doesn't panic anymore, > > however it doesn't work. > > > > vi