Re: workaround for buggy bios_memmap?

2018-03-05 Thread Mike Larkin
On Tue, Mar 06, 2018 at 01:46:58PM +0900, Naoki Fukaumi wrote: > Hi tech@, > > I'm using FreeBSD bhyve to run OpenBSD/amd64 VM for testing biosboot. > (well, I know efiboot works fine on bhyve, but I want to try biosboot) > > it seems bhyve's BIOS has buggy(?) entry in bios_memmap(E820 table). >

vmt: implement disk quiesce protocol with vfs_stall

2018-03-05 Thread Jonathan Matthew
A few days ago we ran into a situation where we wanted to clone a VM running on VMWare to investigate some filesystem problems, but couldn't because vmt(4) doesn't implement the protocol VMWare uses to quiesce disks to allow for clean snapshots. As it happens, we recently got vfs_stall(), which

workaround for buggy bios_memmap?

2018-03-05 Thread Naoki Fukaumi
Hi tech@, I'm using FreeBSD bhyve to run OpenBSD/amd64 VM for testing biosboot. (well, I know efiboot works fine on bhyve, but I want to try biosboot) it seems bhyve's BIOS has buggy(?) entry in bios_memmap(E820 table). >> OpenBSD/amd64 BOOT 3.34 boot> m m Region 0: type 1 at 0x0 for 639KB

ipmi(4): don't panic if ipmi_sendcmd() fails

2018-03-05 Thread Naoki Fukaumi
Hi tech@, sending IPMI command can fail for some reason (e.g. during BMC reset, and possibly BMC is just busy?), then it should be better to return error than panic(). --- sys/dev/ipmi.c +++ sys/dev/ipmi.c @@ -1039,10 +1039,10 @@ ipmi_cmd_poll(struct ipmi_cmd *c) {

Re: Patch to add 2 words to share/dict/web2

2018-03-05 Thread Theo de Raadt
> On 2018/03/05 17:14, Kurt Mosiejczuk wrote: > > It was annoying me that "aspirational" wasn't in common spellcheck > > dictionaries and afresh@ suggested I submit a patch to at least get > > the situation corrected for OpenBSD. > > > > Before getting around to this, I noticed "supremacist"

Re: mfii(4): add bio(4) support

2018-03-05 Thread Naoki Fukaumi
Hi, From: YASUOKA Masahiko Subject: Re: mfii(4): add bio(4) support Date: Tue, 06 Mar 2018 08:14:44 +0900 (JST) >> most parts are taken from mfi(4), plus fix for rebuilding (bioctl -R). > > Do I understand the rebuilding problem correctly? > > - mfii_makegood() and

Re: Patch to add 2 words to share/dict/web2

2018-03-05 Thread STeve Andre'
On 03/05/18 19:16, Stuart Henderson wrote: On 2018/03/05 17:14, Kurt Mosiejczuk wrote: It was annoying me that "aspirational" wasn't in common spellcheck dictionaries and afresh@ suggested I submit a patch to at least get the situation corrected for OpenBSD. Before getting around to this, I

Re: Patch to add 2 words to share/dict/web2

2018-03-05 Thread Stuart Henderson
On 2018/03/05 17:14, Kurt Mosiejczuk wrote: > It was annoying me that "aspirational" wasn't in common spellcheck > dictionaries and afresh@ suggested I submit a patch to at least get > the situation corrected for OpenBSD. > > Before getting around to this, I noticed "supremacist" wasn't there >

Patch to add 2 words to share/dict/web2

2018-03-05 Thread Kurt Mosiejczuk
It was annoying me that "aspirational" wasn't in common spellcheck dictionaries and afresh@ suggested I submit a patch to at least get the situation corrected for OpenBSD. Before getting around to this, I noticed "supremacist" wasn't there either so added that. Index: share/dict/web2

Re: mfii(4): add bio(4) support

2018-03-05 Thread YASUOKA Masahiko
Hi, > most parts are taken from mfi(4), plus fix for rebuilding (bioctl -R). Do I understand the rebuilding problem correctly? - mfii_makegood() and mfii_makespare() are added before sending the rebuild command to fix the problem - The problem doesn't happen with mfi(4) On Mon, 05 Mar 2018

Re: handle updates via Adj-RIB-Out

2018-03-05 Thread Job Snijders
Claudio, How best to test this change proposal? Should this maybe be tested on one of the yycix route servers? I'll let it run on my home router, if that doesn't cause issues in a week or so; we can consider rs2.yycix.ca Kind regards, Job On Fri, Mar 02, 2018 at 04:55:23PM +0100, Claudio

Re: A patch that fixes /usr/games/hack

2018-03-05 Thread tonypony76
The following patch is a slight improvement of the patch that I posted on Thursday. In particular, this patch places saved games exactly where the man page says they should be placed. This patch, together with the patch that prevents segmentation faults

Re: SA_RESETHAND race (or the mpv(1) hanging story)

2018-03-05 Thread Hiltjo Posthuma
On Fri, Mar 02, 2018 at 02:18:46PM +0100, Hiltjo Posthuma wrote: > On Wed, Feb 21, 2018 at 02:15:07PM +0100, Martin Pieuchot wrote: > > Diff below fixes a race in signal handling that can be triggered when > > a multi-threaded process installs a signal handler with SA_RESETHAND. > > > > I

Re: update ifstated parser

2018-03-05 Thread Rob Pierce
On Mon, Feb 26, 2018 at 05:10:43PM -0600, Michael Graves wrote: > Hello > > I use ifstated(8) to track the state of the the external interface that is > configured via dhcp and based upon the state, (re)configure a VXLAN > interface. > The ifstated.conf currently looks like > > === > exif="em0"

mfii(4): add bio(4) support

2018-03-05 Thread Naoki Fukaumi
Hi tech@, This patch adds bio(4) support for mfii(4). # with "mfii(4): use MFII_FUNCTION_PASSTHRU_IO for MFI commands" most parts are taken from mfi(4), plus fix for rebuilding (bioctl -R). --- sys/dev/ic/mfireg.h +++ sys/dev/ic/mfireg.h @@ -139,6 +139,9 @@ #define MR_DCMD_CONF_GET

mfii(4): use MFII_FUNCTION_PASSTHRU_IO for MFI commands

2018-03-05 Thread Naoki Fukaumi
Hi tech@, while trying to add bio(4) support to mfii(4), we noticed that SAS2208 based card with cache memory hangs on boot. https://marc.info/?t=14773842861=1=2 after investigation, we made conclusion that MPII SCSI PASSTHRU feature need to be used for sending MFI commands (such as DCMD_*)