sendbug categories

2017-09-03 Thread Michael W. Bombardieri
Hello, Are sparc and vax still considered valid categories for sendbug or should people now use only sparc64? - Michael Index: sendbug.c === RCS file: /cvs/src/usr.bin/sendbug/sendbug.c,v retrieving revision 1.78 diff -u -p -u -r1.

Re: lex: action_m4_define

2017-09-03 Thread Michael W. Bombardieri
I forgot to mention that action_m4_define() was previously removed from upstream flex here: https://github.com/westes/flex/commit/925549475edb3c8921227fdd96aa0d90a2c0745a On Sun, Aug 27, 2017 at 06:41:31PM +0800, Michael W. Bombardieri wrote: > Hello, > > In lex(1) the function action_m4_define()

[PATCH 2/3] VMD: Place log_trace statements in key places

2017-09-03 Thread Carlos Cardenas
Add log_trace statements in key places to assist with troubleshooting. diff --git usr.sbin/vmd/config.c usr.sbin/vmd/config.c index 9ea87eb86e8..623a9b9d4f3 100644 --- usr.sbin/vmd/config.c +++ usr.sbin/vmd/config.c @@ -81,14 +81,18 @@ config_purge(struct vmd *env, unsigned int reset) stru

[PATCH 0/3] VMD: Prevent from crashing

2017-09-03 Thread Carlos Cardenas
This patch series contains: 1) Add log_trace function (enabled when starting vmd with -vvv) 2) Place plenty of log_trace statements in key places to assist with troubleshooting and debugging 3) Add new error code when attempting to stop a non-running vm (used by vmctl) Prevent vmd from cr

[PATCH 1/3] VMD: Add log_trace log target

2017-09-03 Thread Carlos Cardenas
Add log_trace log target for when verbose > 2 diff --git usr.sbin/vmd/log.c usr.sbin/vmd/log.c index a6b0db9c264..55578f11e40 100644 --- usr.sbin/vmd/log.c +++ usr.sbin/vmd/log.c @@ -40,6 +40,8 @@ void log_info(const char *, ...) __attribute__((__format__ (printf, 1, 2))); void log

[PATCH 3/3] VMD: Prevent vmd crashing when stopping a stopped vm

2017-09-03 Thread Carlos Cardenas
* Fix logic handling stopping a VM. Prevents VMD from crashing. * Add additional error code to notify the user that a vm cannot be stopped when not running. * Add additional log_trace statements. diff --git usr.sbin/vmctl/vmctl.c usr.sbin/vmctl/vmctl.c index 64d82ca847d..5fb7fbfd74c 100644 ---

ftp: leak in progressmeter()

2017-09-03 Thread Scott Cheloha
Hi, In ftp(1), when displaying the progress meter while not running in verbose mode, if a transfer is aborted and a subsequent transfer is started, we leak title. Given that we only ever print the first 25 bytes of the remote file name we can definitely display the title without going to strdup(3

acpibat: don't be strict about _BIX being too big

2017-09-03 Thread joshua stein
For some reason on at least the ThinkPad X1C 5th Gen, Lenovo makes _BIX return a package with size 21 instead of 20, adding an int at the end after the OEM string value (I'm guessing to be used as an OEM int value). The template that _BIX writes into: Name (BX0I, Package (0x15)

cwm: Don't ignore case when sorting exec menu

2017-09-03 Thread ben
Hi tech@, I wasn't able to execute "zzz" (lower case) from the exec menu in cwm. It skipped over it when ordering the search results because "ZZZ" (upper case) was already there. This is my first patch, so please let me know if anything else is needed. Thanks, Ben Index: app/cwm/search.c

iwn/iwm/wpi: scanning for 2 vs 5 GHz APs

2017-09-03 Thread Stefan Sperling
Starting out in associated (not down!) state: ifconfig iwn0 down; ifconfig iwn0 scan shows 2 GHz and 5 GHz APs, whereas just ifconfig iwn0 scan does not show all APs. The diff below makes both cases show all APs. ok? Index: ieee80211.c ==

iwn: faster association on 5GHz

2017-09-03 Thread Stefan Sperling
For a long time I have observed that iwn takes much longer when connecting to a 5GHz AP compared to a 2GHz AP. I think I have finally figured out why. After enabling debug printfs in the driver I've observed that the Tx-done interrupt usually reports an error the first time an auth request is sent

Re: ksh: history file is corrupt

2017-09-03 Thread Jeremie Courreges-Anglas
On Thu, Aug 24 2017, Stuart Henderson wrote: > On 2017/08/24 17:42, Jeremie Courreges-Anglas wrote: >> On Wed, Aug 23 2017, Stuart Henderson wrote: >> > On 2017/08/15 11:57, Jeremie Courreges-Anglas wrote: >> >> CVSROOT: /cvs >> >> Module name: src >> >> Changes by: j...@cvs.openbsd.o

Re: DMAC-driver, bus_dma & ofw_dmac

2017-09-03 Thread David Gwynne
> On 2 Sep 2017, at 2:37 pm, Artturi Alm wrote: > > Hi, > > i've been slowly looking at bringing dma for some of the lesser sunxis, > and have reached the point where i'm unsure what to do next beyond > testing the functionality w/spreading SoC-specific hacks "for testing".. > > now even if i