Re: disklabel(8): refactor readlabel() for a better placed pledge

2016-06-14 Thread Theo Buehler
On Tue, Jun 07, 2016 at 08:51:27AM +0200, Theo Buehler wrote: > On Sun, May 29, 2016 at 10:55:48PM +0200, Theo Buehler wrote: > > The readlabel() function in disklabel() does two things: it reads the > > disklabel from the device using a ioctl() and then parses it into some > > strings. We can't

Re: armv7 / efi failure on imx6q SabreLite

2016-06-14 Thread Matthieu Herrb
On Mon, Jun 13, 2016 at 01:18:12PM +1000, Jonathan Gray wrote: > On Sun, Jun 12, 2016 at 07:48:24PM +0200, Matthieu Herrb wrote: > > Hi, > > > > I'm trying to convert my SabreLite board to boot via efiboot, but > > without success so far. > > > > I'm using the nitrogen6q u-boot from ports > > >

Re: armv7 / efi failure on imx6q SabreLite

2016-06-14 Thread Jonathan Gray
On Tue, Jun 14, 2016 at 08:29:09AM +0200, Matthieu Herrb wrote: > On Mon, Jun 13, 2016 at 12:43:59PM +0200, Mark Kettenis wrote: > > > Date: Sun, 12 Jun 2016 19:48:24 +0200 > > > From: Matthieu Herrb > > > > > > Hi, > > > > > > I'm trying to convert my SabreLite board to boot

Re: splraise for sparc

2016-06-14 Thread patrick keshishian
On Mon, Jun 13, 2016 at 11:29:13AM +1000, David Gwynne wrote: > this is kind of like the change i just made to sparc64. > > sparc created instances of inline functions for each of the splfoo > calls. this provides an splraise call and turns splfoo into a macro > to splraise(IPL_FOO). > > the spl

Better alignment of `netstat -nr' for IPv6 addresses

2016-06-14 Thread Masao Uebayashi
`netstat -r' uses 34 columns for "Destination" and 30 for "Gateway". As these two columns have the same notation, these columns could also have the same length. 30 is too short for SLAAC addresses with longer interface names: % echo -n 'fe80:::::%vether99' | wc 0 1

rt_addr & source address selection

2016-06-14 Thread Martin Pieuchot
Instead of dereferencing ``rt->rt_ifa'' to get the address, let's use ``rt_addr''. ok? Index: netinet/in_pcb.c === RCS file: /cvs/src/sys/netinet/in_pcb.c,v retrieving revision 1.206 diff -u -p -r1.206 in_pcb.c --- netinet/in_pcb.c

Re: `rt_addr' or the end of `rt_ifa'

2016-06-14 Thread Martin Pieuchot
On 10/06/16(Fri) 09:43, Florian Obser wrote: > Any reason you are not adding the free(9) sizes in rtrequest(), too? Because ``rt->rt_addr'' might be NULL, so I can't dereference it to get the size of the allocated memory chunk.

Kill nd6_output()

2016-06-14 Thread Martin Pieuchot
It's no longer doing anything, so let's remove it, ok? Index: net/pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.975 diff -u -p -r1.975 pf.c --- net/pf.c7 Jun 2016 01:31:54 - 1.975 +++ net/pf.c8

merge urtwn(4) into rtwn(4)

2016-06-14 Thread Stefan Sperling
This (unfortunately rather large) diff merges urtwn(4) into rtwn(4). Removes bloat caused by having 2 separate drivers: ic/rtwn.c | 448 ++ ic/rtwnvar.h | 38 pci/if_rtwn.c | 126 ++- usb/if_urtwn.c | 2378 + 4 files

Re: IP_SENDSRCADDR [2/2] : add cmsg support

2016-06-14 Thread Martin Pieuchot
On 14/06/16(Tue) 13:49, Jeremie Courreges-Anglas wrote: > Vincent Gross writes: > > On Mon, 13 Jun 2016 19:57:15 +0200 > > Jeremie Courreges-Anglas wrote: > >> Vincent Gross writes: > >> > Le Mon, 13 Jun 2016 07:35:16 +0200, > >> >

Re: Kill nd6_output()

2016-06-14 Thread Florian Obser
There is a typo in a comment in nd6.c. s/nd6_resove/nd6_resolve/ With that fixed OK florian@ On Tue, Jun 14, 2016 at 11:52:02AM +0200, Martin Pieuchot wrote: > It's no longer doing anything, so let's remove it, ok? > > Index: net/pf.c >

(u)ral remove ralink url

2016-06-14 Thread Martijn van Duren
Hello tech@, It appears that http://www.ralinktech.com isn't available anymore. OK to remove? martijn@ Index: ral.4 === RCS file: /cvs/src/share/man/man4/ral.4,v retrieving revision 1.108 diff -u -p -r1.108 ral.4 --- ral.4 7

Re: IP_SENDSRCADDR [2/2] : add cmsg support

2016-06-14 Thread Jeremie Courreges-Anglas
Vincent Gross writes: > On Mon, 13 Jun 2016 19:57:15 +0200 > Jeremie Courreges-Anglas wrote: > >> Vincent Gross writes: >> >> > Le Mon, 13 Jun 2016 07:35:16 +0200, >> > j...@wxcvbn.org (Jeremie Courreges-Anglas) a écrit : >> > >> >>

Re: Fix return value of OF_getprop() when name has a '@' in it

2016-06-14 Thread Tom Cosgrove
>>> Tom Cosgrove 12-Jun-16 22:05 >>> > > In OF_getprop(), if the "name" property doesn't exist it is synthesised > from the unit name. If that synthesised property has an "@" in it, we > truncate the name just before the "@", but we currently continue to return > the full length of the unit name.

Re: Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Amit Kulkarni
On Tue, Jun 14, 2016 at 8:41 AM, Marc Peters wrote: > Hi, > > i just did an installation of a HP DL360 Gen9 to test UEFI installations > with 5.9. I just accepted most of the defaults and did this for the > disklabels, too. I wanted to checkout the sources to do release builds,

Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Marc Peters
Hi, i just did an installation of a HP DL360 Gen9 to test UEFI installations with 5.9. I just accepted most of the defaults and did this for the disklabels, too. I wanted to checkout the sources to do release builds, but the autolayout didn't create enough inodes to do so: [snip] U

Re: (u)ral remove ralink url

2016-06-14 Thread Stuart Henderson
On 2016/06/14 14:54, Martijn van Duren wrote: > Hello tech@, > > It appears that http://www.ralinktech.com isn't available anymore. > OK to remove? > > martijn@ It's MediaTek now.

Re: IP_SENDSRCADDR [2/2] : add cmsg support

2016-06-14 Thread Jeremie Courreges-Anglas
Martin Pieuchot writes: > On 14/06/16(Tue) 13:49, Jeremie Courreges-Anglas wrote: >> Vincent Gross writes: >> > On Mon, 13 Jun 2016 19:57:15 +0200 >> > Jeremie Courreges-Anglas wrote: >> >> Vincent Gross writes: >> >>

Re: Fix return value of OF_getprop() when name has a '@' in it

2016-06-14 Thread Mark Kettenis
> Date: Tue, 14 Jun 2016 14:33:14 +0100 (BST) > From: Tom Cosgrove > > >>> Tom Cosgrove 12-Jun-16 22:05 >>> > > > > In OF_getprop(), if the "name" property doesn't exist it is synthesised > > from the unit name. If that synthesised property has an "@" in it,

Re: Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Jeremie Courreges-Anglas
Amit Kulkarni writes: > On Tue, Jun 14, 2016 at 8:41 AM, Marc Peters wrote: > >> Hi, >> >> i just did an installation of a HP DL360 Gen9 to test UEFI installations >> with 5.9. I just accepted most of the defaults and did this for the >> disklabels, too. I

Re: Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Otto Moerbeek
On Tue, Jun 14, 2016 at 06:14:05PM +0200, Jeremie Courreges-Anglas wrote: > Marc Peters writes: > > > Hi, > > > > i just did an installation of a HP DL360 Gen9 to test UEFI installations > > with 5.9. I just accepted most of the defaults and did this for the > > disklabels,

Re: Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Otto Moerbeek
On Tue, Jun 14, 2016 at 03:41:11PM +0200, Marc Peters wrote: > Hi, > > i just did an installation of a HP DL360 Gen9 to test UEFI installations > with 5.9. I just accepted most of the defaults and did this for the > disklabels, too. I wanted to checkout the sources to do release builds, > but

Re: Not enough inodes on /usr for ports/xenocara

2016-06-14 Thread Otto Moerbeek
On Tue, Jun 14, 2016 at 06:14:05PM +0200, Jeremie Courreges-Anglas wrote: > Marc Peters writes: > > > Hi, > > > > i just did an installation of a HP DL360 Gen9 to test UEFI installations > > with 5.9. I just accepted most of the defaults and did this for the > > disklabels,

Re: MBIM Patch (Round 3)

2016-06-14 Thread Gerhard Roth
On 10.06.2016 14:41, Bryan Vyhmeister wrote: On Fri, Jun 10, 2016 at 09:43:36AM +0200, Gerhard Roth wrote: Hmm, I don't see the missing break. It is still stuck in the same state trying to turn on the radio and always getting non-confirmative resonses. If the break before "case UMB_S_RADIO:"

Re: MBIM Patch (Round 3)

2016-06-14 Thread Bryan Vyhmeister
On Tue, Jun 14, 2016 at 11:56:14PM +0100, Stuart Henderson wrote: > As far as I can make out, the FCC auth is to enable the radio rather > than anything else, the command has to be sent over (qmi-over-)MBIM. > I haven't had time to get a linux install to see how it behaves there > but I would

Re: MBIM Patch (Round 3)

2016-06-14 Thread Bryan Vyhmeister
On Tue, Jun 14, 2016 at 11:17:56PM +0200, Gerhard Roth wrote: > Well, the device still refuses to turn on the radio and without it, > there's no chance to register with the provider. > > That you see more information now is just due to the fact, that the > state machine now continues beyond the

set art_walk up for an mpsafe world

2016-06-14 Thread David Gwynne
this tweaks art_walk in preparation for a world where the table may be updated on another cpu. at the moment we're relying on the big lock to serialise updates, so this adds big lock calls in the right place. jmatthew@ has a diff to serialise changes with a mutex, so those kernel lock calls can