ksh garbage printing

2014-10-03 Thread Martin Natano
The following patch fixes a bug in ksh I reported some time ago (http://marc.info/?l=openbsd-bugs&m=137292039914229&w=2). I committed this patch to Bitrig in December 2013; it seems to work fine so far. Here the bug report inline for reference. > Description: When using a keybinding that s

[PATCH] Add GeForce GTX 460M PCI ID

2014-10-03 Thread Seth Jackson
Add PCI ID for my GeForce GTX 460M. Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1744 diff -u -p -r1.1744 pcidevs --- pcidevs 3 Oct 2014 23:59:10 - 1.1744 +++ pcidevs 4 Oct 2014 0

Re: splnet() and SIOCSIFADDR

2014-10-03 Thread Alexander Bluhm
On Thu, Sep 11, 2014 at 10:49:33AM +0200, Martin Pieuchot wrote: > --- netinet6/in6.c26 Aug 2014 21:44:29 - 1.140 > +++ netinet6/in6.c11 Sep 2014 08:45:29 - > @@ -561,8 +560,10 @@ in6_control(struct socket *so, u_long cm > } > > case SIOCDIFADDR_IN6: > +

Re: syslogd libevent

2014-10-03 Thread Alexander Bluhm
Hi, After some preparation, I can convert syslogd to use libevent now. ok? bluhm Index: usr.sbin/syslogd/Makefile === RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/syslogd/Makefile,v retrieving revision 1.5 diff -u -p -u -p -r1.5

Re: armv7: banana pi, Allwinner A20 board

2014-10-03 Thread SASANO Takayoshi
Hi, > When using > > OpenBSD 5.6 (RAMDISK-SUNXI) #3: Sun Aug 31 18:46:49 EDT 2014 > > could you drop into config (pass -c to boot) and try to "disable echi"? What shoud I do pass "boot -c" string to armv7 kernel? On i386/amd64 bootloader simply type it but armv7 uses U-Boot. Tweak uEnv.txt? -

Re: USB stack change needed for xhci(4)

2014-10-03 Thread Mike Larkin
On Fri, Oct 03, 2014 at 07:58:11PM +0200, Mark Kettenis wrote: > > Date: Thu, 2 Oct 2014 12:20:14 +0200 > > From: Martin Pieuchot > > > > Our USB stack contains a hack needed for ehci(4) and ohci(4) that > > breaks xhci(4). The diff below moves this hack in these drivers, > > and makes it possi

Re: fusefs_quotactl return value

2014-10-03 Thread Ted Unangst
On Fri, Oct 03, 2014 at 20:33, Martin Natano wrote: > fusefs_quotactl() unconditionally returns zero, despite fusefs not > supporting quotas. I think it should return EOPNOTSUPP. At least that > is what cd9660, udf, fuse, msdosfs, tmpfs and nfs do. > > cheers, > natano > > --- fuse_vfsops.c.orig

Re: nofault mappings

2014-10-03 Thread Mark Kettenis
> Date: Tue, 30 Sep 2014 23:12:10 +0200 (CEST) > From: Mark Kettenis > > The diff below intorduces a new flag for mmap(2) that creates mappings > that cannot fault. Normally, if you mmap a file, and your mapping is > larger than the mapped file, memory access to full pages beyond the > end of th

fusefs_quotactl return value

2014-10-03 Thread Martin Natano
fusefs_quotactl() unconditionally returns zero, despite fusefs not supporting quotas. I think it should return EOPNOTSUPP. At least that is what cd9660, udf, fuse, msdosfs, tmpfs and nfs do. cheers, natano --- fuse_vfsops.c.orig Thu Sep 11 14:53:36 2014 +++ fuse_vfsops.c Thu Sep 11 14:54:2

Re: USB stack change needed for xhci(4)

2014-10-03 Thread Mark Kettenis
> Date: Thu, 2 Oct 2014 12:20:14 +0200 > From: Martin Pieuchot > > Our USB stack contains a hack needed for ehci(4) and ohci(4) that > breaks xhci(4). The diff below moves this hack in these drivers, > and makes it possible to have a working xhci(4) in GENERIC. > > I'd like this diff to be tes

hack for carp in IPv6 source address selection

2014-10-03 Thread Stefan Sperling
The IPv6 source address selection algorithm breaks ties by performing a bitwise match of each candidate source address against the destination address. The longest matching source address wins, regardless of which interface the source address came from. In my carp setup, this is causing a problem.

Re: [patch]lock and unlock like GnuRCS

2014-10-03 Thread Otto Moerbeek
On Thu, Oct 02, 2014 at 12:56:10AM +0100, Nicholas Marriott wrote: > > OTOH, check out what we do with rcs -L and -U... I kinda like that, because it tells you exactly what it is doing. -Otto > > > On Thu, Oct 02, 2014 at 12:54:13AM +0100, Nicholas Marriott wrote: > > Matching GNU RC

Re: armv7: banana pi, Allwinner A20 board

2014-10-03 Thread Jonathan Gray
On Thu, Oct 02, 2014 at 09:16:43PM +0200, Patrick Wildt wrote: > Hi, > > I remember that there has been an issue, only seen on Cortex-A7/A15, like the > Allwinner A20. > > The fix for that issue is somewhere here[0]. > > Try this[1] kernel and have a look if it has the same issue or not. > > I