Re: base system multi-booting in MBR

2018-01-31 Thread YASUOKA Masahiko
On Wed, 31 Jan 2018 17:05:57 -0500 Bryan Steele wrote: > On Wed, Jan 31, 2018 at 10:41:48PM +0100, Christian Weisgerber wrote: >> Alexei Malinin: >> >> > If the base system supported multi-booting in MBR would the community be >> > interested in it? >> >> It should be easy to

Re: syslog.conf(5): example about logging by sender

2018-01-31 Thread Todd C. Miller
On Thu, 01 Feb 2018 01:55:18 +0200, Kapetanakis Giannis wrote: > On 01/02/18 00:06, Todd C. Miller wrote: > > > > Shouldn't this be: > > > > # Log everything coming from host bastion to a separate file > > ++bastion /var/log/bastion > > *.* > > +* > > how

Re: syslog.conf(5): example about logging by sender

2018-01-31 Thread Kapetanakis Giannis
On 01/02/18 00:06, Todd C. Miller wrote: Shouldn't this be: # Log everything coming from host bastion to a separate file ++bastion /var/log/bastion *.* +* how about # Log everything coming from host bastion to a separate file ++bastion

Re: syslog.conf(5): example about logging by sender

2018-01-31 Thread Todd C. Miller
On Wed, 31 Jan 2018 20:44:10 +0100, Landry Breuil wrote: > the default etc/syslog.conf has a commented out example for by-prog > logging, but nothing for by-host logging. I fighted a bit with it; so > why not providing an example in the EXAMPLES section of the manpage ? I recently did the same

Re: base system multi-booting in MBR

2018-01-31 Thread Bryan Steele
On Wed, Jan 31, 2018 at 10:41:48PM +0100, Christian Weisgerber wrote: > Alexei Malinin: > > > If the base system supported multi-booting in MBR would the community be > > interested in it? > > It should be easy to adapt FreeBSD's boot0. I don't remember any > demand for it, and now MBR is on

Re: base system multi-booting in MBR

2018-01-31 Thread Christian Weisgerber
Alexei Malinin: > If the base system supported multi-booting in MBR would the community be > interested in it? It should be easy to adapt FreeBSD's boot0. I don't remember any demand for it, and now MBR is on its way out... https://svnweb.freebsd.org/base/head/stand/i386/boot0/boot0.S boot0 +

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
On Wed, Jan 31, 2018 at 07:51:08PM +0100, Jeremie Courreges-Anglas wrote: > On Wed, Jan 31 2018, Patrick Wildt wrote: > > On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: > >> On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > >> > Hi, > >> > > >> >

syslog.conf(5): example about logging by sender

2018-01-31 Thread Landry Breuil
Hi, the default etc/syslog.conf has a commented out example for by-prog logging, but nothing for by-host logging. I fighted a bit with it; so why not providing an example in the EXAMPLES section of the manpage ? Landry Index: syslog.conf.5

Re: bridge(4): protected interface (port)

2018-01-31 Thread Tom Smyth
On 31 January 2018 at 16:21, Martin Pieuchot wrote: > Thanks for all the feedbacks I received. Diff below addresses multiple > points after discussion with dlg@ and martijn@: > > - Stop using the word 'group' which confuse people. Instead talk of > 'protected domain'.

Re: iwn: handle RUN->{SCAN,AUTH,ASSOC} transitions correctly

2018-01-31 Thread Gonzalo L. Rodriguez
On [31/01/18] [01:53P], Kevin Lo wrote: ; On Wed, Jan 31, 2018 at 01:25:10PM +0100, Stefan Sperling wrote: ; > ; > If iwn(4) is in associated state (status: active), and I run: ; > ; > ifconfig iwn0 scan ; > ; > it loses link (status: no network) and never comes back while the ; > LED keeps

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Jeremie Courreges-Anglas
On Wed, Jan 31 2018, Patrick Wildt wrote: > On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: >> On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: >> > Hi, >> > >> > this diff allows us to load the Intel microcode much earlier. So far >> > we load it

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
On Wed, Jan 31, 2018 at 09:46:52AM -0800, Mike Larkin wrote: > On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > > Hi, > > > > this diff allows us to load the Intel microcode much earlier. So far > > we load it after the CPUs have identified and then have to update the > > CPU

Re: amd64: much earlier Intel microcode loading

2018-01-31 Thread Mike Larkin
On Wed, Jan 31, 2018 at 05:12:03PM +0100, Patrick Wildt wrote: > Hi, > > this diff allows us to load the Intel microcode much earlier. So far > we load it after the CPUs have identified and then have to update the > CPU flags afterwards. This is not good since we have to assume that > those

Re: bridge(4): protected interface (port)

2018-01-31 Thread Martin Pieuchot
On 22/01/18(Mon) 16:23, Martin Pieuchot wrote: > Diff below adds a new feature to bridge(4), similar to Cisco's Protected > Port but with more possibilities. > > The idea is to prevent traffic to flow between some members of a bridge(4). > For example: > - you want to prevent some of your

base system multi-booting in MBR

2018-01-31 Thread Alexei Malinin
Hello. If the base system supported multi-booting in MBR would the community be interested in it? -- Alexei Malinin

amd64: much earlier Intel microcode loading

2018-01-31 Thread Patrick Wildt
Hi, this diff allows us to load the Intel microcode much earlier. So far we load it after the CPUs have identified and then have to update the CPU flags afterwards. This is not good since we have to assume that those updates can remove and add instructions and other features. We need to load

Re: if_media: add media types for 802.11ac

2018-01-31 Thread Stefan Sperling
On Wed, Jan 31, 2018 at 04:20:39PM +0100, Mark Kettenis wrote: > Shouldn't these new entries be _VHT_ instead of _HT_? Yes, they should. Thanks for checking! It seems I'm a rather sloppy copy/paste editor today. Index: if_media.h

Re: if_media: add media types for 802.11ac

2018-01-31 Thread Mark Kettenis
> Date: Wed, 31 Jan 2018 14:59:24 +0100 > From: Stefan Sperling > > On Wed, Jan 31, 2018 at 02:49:38PM +0100, Stefan Sperling wrote: > > bwfm(4) will do 11ac (Very High Throughput), so add media types for it. > > > > ok? > > phessler points out that I botched the

Re: if_media: add media types for 802.11ac

2018-01-31 Thread Stefan Sperling
On Wed, Jan 31, 2018 at 02:49:38PM +0100, Stefan Sperling wrote: > bwfm(4) will do 11ac (Very High Throughput), so add media types for it. > > ok? phessler points out that I botched the IFM_IEEE80211_11AC macro. Fixed: Index: if_media.h

Re: iwn: handle RUN->{SCAN,AUTH,ASSOC} transitions correctly

2018-01-31 Thread Kevin Lo
On Wed, Jan 31, 2018 at 01:25:10PM +0100, Stefan Sperling wrote: > > If iwn(4) is in associated state (status: active), and I run: > > ifconfig iwn0 scan > > it loses link (status: no network) and never comes back while the > LED keeps blinking. I need to run 'ifconfig iwn0 down' to

if_media: add media types for 802.11ac

2018-01-31 Thread Stefan Sperling
bwfm(4) will do 11ac (Very High Throughput), so add media types for it. ok? Index: if_media.h === RCS file: /cvs/src/sys/net/if_media.h,v retrieving revision 1.40 diff -u -p -r1.40 if_media.h --- if_media.h 15 Nov 2017 01:11:45

Re: Use FREF()...

2018-01-31 Thread Alexander Bluhm
On Mon, Jan 29, 2018 at 01:02:41PM +0100, Martin Pieuchot wrote: > ...instead of incrementing f_count directly, ok? OK bluhm@ > Index: nfs/nfs_syscalls.c > === > RCS file: /cvs/src/sys/nfs/nfs_syscalls.c,v > retrieving revision

iwn: handle RUN->{SCAN,AUTH,ASSOC} transitions correctly

2018-01-31 Thread Stefan Sperling
If iwn(4) is in associated state (status: active), and I run: ifconfig iwn0 scan it loses link (status: no network) and never comes back while the LED keeps blinking. I need to run 'ifconfig iwn0 down' to recover. What happens is the driver goes to SCAN state and sends a scan command to

Re: iwn/iwm: ignore missed beacons during background scan

2018-01-31 Thread Stefan Sperling
On Wed, Jan 24, 2018 at 06:42:42PM +0100, Stefan Sperling wrote: > I just observed iwn(4) firmware reporting a missed beacon event > during a background scan: > > Jan 24 18:24:50 laptop /bsd: iwn0: begin background scan > Jan 24 18:24:57 laptop /bsd: iwn0: sending probe_req to xx:xx:xx:xx:xx:xx