misc arm kernel output wonder

2016-06-09 Thread Artturi Alm
Hi, is the toolchain somehow excessively naive only on arm, or is the output like this to be expected, and what other archs are also running with? I'm pointing at the bhi looping back to "mov r3, #0" instead of straight to "str r3, [r1]" as ridiculous by the compiler even if no additional flags

Re: pool related crashes, but "kernel did no panic"

2016-06-09 Thread Alexey Suslikov
On Tue, May 31, 2016 at 7:16 PM, Theo de Raadt wrote: >> is exactly 80 characters long (such a long printf violates "80 chars" >> rule, isn't it?). > > there is no hard and fast rule for that at all; printing extra newlines > has other downsides such as the screen

Update floppy58 and miniroot58 to *59.fs in www/

2016-06-09 Thread Tom Cosgrove
... to bring in line with sparc64.html (Didn't update vax.html as it's been discontinued) Thanks Tom Index: www/alpha.html === RCS file: /home/OpenBSD/cvs/www/alpha.html,v retrieving revision 1.276 diff -u -p -u -r1.276

Re: Update floppy58 and miniroot58 to *59.fs in www/

2016-06-09 Thread Theo Buehler
On Wed, Jun 08, 2016 at 09:15:29PM +0100, Tom Cosgrove wrote: > ... to bring in line with sparc64.html fixed, thanks!

Spelling correction for www/armv7.html

2016-06-09 Thread Tom Cosgrove
Thanks Tom Index: www/armv7.html === RCS file: /home/OpenBSD/cvs/www/armv7.html,v retrieving revision 1.26 diff -u -p -u -r1.26 armv7.html --- www/armv7.html 29 May 2016 14:44:33 - 1.26 +++ www/armv7.html 9 Jun

Re: Spelling correction for www/armv7.html

2016-06-09 Thread Theo Buehler
fixed, thanks.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 16:19:14 +0100 Stuart Henderson wrote: > On 2016/06/09 15:29, Stuart Henderson wrote: > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > I would be glad to hear from some people trying this with a real MBIM > > > device. > > > > So I have a Dell-branded

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 16:19, Stuart Henderson wrote: > On 2016/06/09 15:29, Stuart Henderson wrote: > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > I would be glad to hear from some people trying this with a real MBIM > > > device. > > > > So I have a Dell-branded Sierra MC8805, but I don't seem able

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 15:29, Stuart Henderson wrote: > On 2016/06/08 15:08, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > So I have a Dell-branded Sierra MC8805, but I don't seem able to > get it to recognise my SIM card (which I can see

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 15:29:34 +0100 Stuart Henderson wrote: > On 2016/06/08 15:08, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > So I have a Dell-branded Sierra MC8805, but I don't seem able to > get it to

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On Thu, 9 Jun 2016 17:37:54 +0200 Gerhard Roth wrote: > On Thu, 9 Jun 2016 16:19:14 +0100 Stuart Henderson > wrote: > > On 2016/06/09 15:29, Stuart Henderson wrote: > > > On 2016/06/08 15:08, Gerhard Roth wrote: > > > > I would be glad to hear from

Re: MBIM Patch (Round 3)

2016-06-09 Thread joshua stein
On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: > Hi Gerhard, > > Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > > > +.\" Copyright (c) 2016 genua mbH > > + * Copyright (c) 2016 genua mbH > > These kinds of Copyright notices without the name of the actual author >

Re: Set prio when bypassing pf(4)

2016-06-09 Thread Henning Brauer
* Mike Belopuhov [2016-06-08 22:49]: > We have discussed this here with henning and benno and think that > this diff should go in. OK mikeb heh, ROP (relayed ok protocol)? :) quite surprised that there is equipment blocking traffic based on prio... pretty broken. but

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 12:35, Bryan Vyhmeister wrote: > On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: > > I would be glad to hear from some people trying this with a real MBIM > > device. > > I have a Sierra Wireless EM7455 MBIM device that I purchased with my > ThinkPad X260. I am very

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> Date: Wed, 8 Jun 2016 15:08:52 +0200 > From: Gerhard Roth > > Here comes the next version of the MBIM driver. > > Changes since last version: > > - incorporated suggestions from mpi@ > > - renamed to "umb" > Only file "mbim.h" which contains MBIM protocol

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/09 22:59, Mark Kettenis wrote: > It seems this device needs some additional poking to select alternate > interface settings. Currently playing around with that. But in case > you're curious, the lsusb -v output for this device is: Oh lsusb -v, that is a good idea, and interesting.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 21:35, Bryan Vyhmeister wrote: On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: I would be glad to hear from some people trying this with a real MBIM device. I have a Sierra Wireless EM7455 MBIM device that I purchased with my ThinkPad X260. I am very excited for

Re: MBIM Patch (Round 3)

2016-06-09 Thread Ingo Schwarze
Hi Joshua, joshua stein wrote on Thu, Jun 09, 2016 at 12:21:26PM -0500: > On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: >> Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: >>> +.\" Copyright (c) 2016 genua mbH >>> + * Copyright (c) 2016 genua mbH >> These kinds of

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Wed, Jun 08, 2016 at 03:08:52PM +0200, Gerhard Roth wrote: > I would be glad to hear from some people trying this with a real MBIM > device. I have a Sierra Wireless EM7455 MBIM device that I purchased with my ThinkPad X260. I am very excited for this driver to make it into OpenBSD. I am a

Re: MBIM Patch (Round 3)

2016-06-09 Thread Marcus Glocker
On Thu, Jun 09, 2016 at 12:21:26PM -0500, joshua stein wrote: > On Thu, 09 Jun 2016 at 19:04:27 +0200, Ingo Schwarze wrote: > > Hi Gerhard, > > > > Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > > > > > +.\" Copyright (c) 2016 genua mbH > > > + * Copyright (c) 2016 genua mbH > >

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 19:04, Ingo Schwarze wrote: Hi Gerhard, Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: +.\" Copyright (c) 2016 genua mbH + * Copyright (c) 2016 genua mbH These kinds of Copyright notices without the name of the actual author are misleading. The purpose of a

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 17:52, Gerhard Roth wrote: But: this payload is only 13 bytes but the length field says 14 bytes (0x0d). Studid me. Can't even read single digit hex values anymore :(

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > From: Mark Kettenis > > > Date: Wed, 8 Jun 2016 15:08:52 +0200 > > From: Gerhard Roth > > > > I would be glad to hear from some people trying this with a real MBIM > > device. > > Sierra Wireless

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 09.06.2016 23:42, Mark Kettenis wrote: Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) From: Mark Kettenis Date: Wed, 8 Jun 2016 15:08:52 +0200 From: Gerhard Roth I would be glad to hear from some people trying this with a real MBIM device.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote: > If you're using the latest version of the driver, the 'ifconfig ubm0 inet > ...' isn't required anymore. > > But you probably have to set the default route after the interface is > up. Good to know. Thanks! > Hmm, around here apart

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 09:58:10PM +0100, Stuart Henderson wrote: > You're getting further than me. > > Though, looking at list posts, it does seem that Lenovo is another > vendor which requires the command being referred to as "fcc auth" > in order to connect, at least in some of their cards.

Typo in comment in arm/undefined.c

2016-06-09 Thread Tom Cosgrove
Thanks Tom Index: sys/arch/arm/arm/undefined.c === RCS file: /home/OpenBSD/cvs/src/sys/arch/arm/arm/undefined.c,v retrieving revision 1.7 diff -u -p -u -r1.7 undefined.c --- sys/arch/arm/arm/undefined.c31 Jan 2016 00:14:50

Re: MBIM Patch (Round 3)

2016-06-09 Thread Gerhard Roth
On 10.06.2016 00:22, Stuart Henderson wrote: On 2016/06/10 00:10, Mark Kettenis wrote: From: Gerhard Roth Date: Thu, 9 Jun 2016 23:48:23 +0200 On 09.06.2016 23:42, Mark Kettenis wrote: Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) From: Mark Kettenis

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/10 00:10, Mark Kettenis wrote: > > From: Gerhard Roth > > Date: Thu, 9 Jun 2016 23:48:23 +0200 > > > > On 09.06.2016 23:42, Mark Kettenis wrote: > > >> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > > >> From: Mark Kettenis > > >> > >

Re: MBIM Patch (Round 3)

2016-06-09 Thread Mark Kettenis
> From: Gerhard Roth > Date: Thu, 9 Jun 2016 23:48:23 +0200 > > On 09.06.2016 23:42, Mark Kettenis wrote: > >> Date: Thu, 9 Jun 2016 22:59:28 +0200 (CEST) > >> From: Mark Kettenis > >> > >>> Date: Wed, 8 Jun 2016 15:08:52 +0200 > >>> From: Gerhard

Re: MBIM Patch (Round 3)

2016-06-09 Thread Bryan Vyhmeister
On Thu, Jun 09, 2016 at 10:31:58PM +0200, Gerhard Roth wrote: > If that doesn't help, please set UMB_DEBUG and set umb_debug to 5. I left that break commented out which perhaps I shouldn't have but below is the output when I set an apn and bring umb0 up. OpenBSD 6.0-beta (GENERIC.MP) #0: Thu

tetris(6): clear row zero when eliding a row

2016-06-09 Thread Theo Buehler
The tetris playing field has an extra row on top of the visible rows. It is possible and not an error to place a tile in such a way that it occupies a square of this invisible row (the game ends when the next tile starts out on an already occupied square). The problem with this is that there's a

Re: MBIM Patch (Round 3)

2016-06-09 Thread Stuart Henderson
On 2016/06/08 15:08, Gerhard Roth wrote: > I would be glad to hear from some people trying this with a real MBIM > device. So I have a Dell-branded Sierra MC8805, but I don't seem able to get it to recognise my SIM card (which I can see from my Huawei umsm). # ifconfig umb0 pin apn x #

Re: opendev(3) tweak

2016-06-09 Thread Theo Buehler
On Tue, Mar 15, 2016 at 12:32:16PM -0600, Theo de Raadt wrote: > I am simply saying that pledge before opendev() makes no sense, > because opendev() does not gaurantee the type of descriptor it is > opening. I noticed that this patch is still uncommitted since nobody ok'd it. Sorry about that.

Re: MBIM Patch (Round 3)

2016-06-09 Thread Ingo Schwarze
Hi Gerhard, Gerhard Roth wrote on Wed, Jun 08, 2016 at 03:08:52PM +0200: > +.\" Copyright (c) 2016 genua mbH > + * Copyright (c) 2016 genua mbH These kinds of Copyright notices without the name of the actual author are misleading. The purpose of a Copyright notice is to inform the reader who