[PATCH] Allow softraid crypto to work with write-protected keys

2016-05-16 Thread bytevolcano
Softraid currently opens the key disk as read + write. This isn't necessary when just *reading* from the key disk. This patch allows for softraid crypto to mount volumes with write-protected keydisks (eg. Kanguru Flash Blu: https://www.kanguru.com/storage-accessories/flash-blu30.shtml). Also

remove special vlan ioctls in ifconfig

2016-05-16 Thread David Gwynne
the vlan ioctls have been superseded by the generic ifparent and vnetid ioctls, and will eventually go away. this removes the vlan ioctl handling from ifconfig. however, to continue to support existing vlan interface configuration files (/etc/hostname.vlan*), the command line options have been

Re: Accept cnmac as a valid rootdev from uboot on octeon

2016-05-16 Thread Kim Lidström
Visa Hankala wrote: > On Mon, May 16, 2016 at 01:39:31AM +0200, Kim Lidström wrote: > > I am nfs booting my edgerouter lite and didn't like to have to manually > > enter 'cnmac0' > > as my root device every boot. > > > > This is what I came up with. I stole the idea from macppc

Re: Accept cnmac as a valid rootdev from uboot on octeon

2016-05-16 Thread Visa Hankala
On Mon, May 16, 2016 at 01:39:31AM +0200, Kim Lidström wrote: > I am nfs booting my edgerouter lite and didn't like to have to manually > enter 'cnmac0' > as my root device every boot. > > This is what I came up with. I stole the idea from macppc and modified > it a little. > > Am I way off

Re: sendbug subject

2016-05-16 Thread lists
Mon, 16 May 2016 00:01:59 +0200 Jeremie Courreges-Anglas > "trondd" writes: > > > On Sun, May 15, 2016 1:22 pm, Juan Francisco Cantero Hurtado wrote: > >> On Sun, May 15, 2016 at 06:43:16PM +0200, Jeremie Courreges-Anglas wrote: > >>> "Ted Unangst"

Re: Is loss of read-only /usr permanent?

2016-05-16 Thread Stuart Henderson
On 2016/05/16 14:22, Craig Skinner wrote: > On 2016-05-14 Sat 12:25 PM |, RD Thrush wrote: > > > > Thanks, Craig. That is much better than what I proposed > > > > Another solution occured to me Bob;- > > ro /usr > rw /usr/lib (an additional mount point) > > If power was lost during boot,

Re: armv7 bus_dmamap_sync(9) fix

2016-05-16 Thread Jonathan Gray
On Mon, May 16, 2016 at 12:53:54AM +0200, Mark Kettenis wrote: > So Theo's SROP mitigation diff made my armv7 machine completely > unstable. Filesystem-related panics, random core dumps, files with > blocks of zeroes on them, etc. > > Looking at the changes in question, there is no way they're >

Re: Is loss of read-only /usr permanent?

2016-05-16 Thread Craig Skinner
On 2016-05-14 Sat 12:25 PM |, RD Thrush wrote: > > Thanks, Craig. That is much better than what I proposed > Another solution occured to me Bob;- ro /usr rw /usr/lib (an additional mount point) If power was lost during boot, most of /usr would be unaffected. The mods I mailed earlier could

Re: armv7 bus_dmamap_sync(9) fix

2016-05-16 Thread Mark Kettenis
> Date: Mon, 16 May 2016 18:32:53 +1000 > From: Jonathan Gray > > After consulting an older version of the ARM ARM it seems the cp15 > barriers were introduced with armv6 so just do the compiler hint. ok kettenis@ > Index: atomic.h >

Re: cleanup pppd auth

2016-05-16 Thread Stuart Henderson
On 2016/05/16 00:17, Jeremie Courreges-Anglas wrote: > "Ted Unangst" writes: > > > While making a small change to pppd, I noticed there is a lot of PAM and > > shadow code which is not relevant to us. The aspiring developer may then > > switch to bsd auth or even just

Re: Accept cnmac as a valid rootdev from uboot on octeon

2016-05-16 Thread Kim Lidström
Hmm, alright. This didn't turn out as good as I expected after some more testing. Right now I am getting loads and loads of cnmac0: cannot allocate gather buffer from free pool allocator cnmac0: failed to transmit packet in my dmesg. What am I missing here? Is there an init function

Re: armv7 bus_dmamap_sync(9) fix

2016-05-16 Thread Jonathan Gray
On Mon, May 16, 2016 at 02:21:26PM +1000, Jonathan Gray wrote: > On Mon, May 16, 2016 at 01:01:01PM +1000, Jonathan Gray wrote: > > On Mon, May 16, 2016 at 12:53:54AM +0200, Mark Kettenis wrote: > > > So Theo's SROP mitigation diff made my armv7 machine completely > > > unstable.

new mainboard: hangs if left for a long time untouched, no xvideo support, no dri support.

2016-05-16 Thread Gregory Edigarov
Hi, Just in case somebody interested, the first problem (hangs) is most annoying: dmesg: OpenBSD 6.0-beta (GENERIC.MP) #2: Sun May 15 13:36:36 EEST 2016 r...@lbld12.duckdns.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17037791232 (16248MB) avail mem = 16516952064 (15751MB) mpath0