Re: Make sysctl_file more smp friendly

2015-05-11 Thread Philip Guenther
Vitaliy, As I told you directly last week, proposing changes in anticipation of future work requires some sort of plan about that future work. Without some sort of model for locking the access paths, it's impossible to judge whether the proposed change is useful or pointless. On Fri, 8 May

Re: UPD regression with

2015-05-11 Thread David Higgs
> On May 11, 2015, at 8:21 PM, David Higgs wrote: > > On Mon, May 11, 2015 at 8:07 PM, Alexander Hall >wrote: > Upgrading to the latest snapshot, I noticed my upd sensors had been > disturbingly crippled. > > uhidev0 at uhub4 port 1 configuration 1 interface 0 "EATO

Re: UPD regression with

2015-05-11 Thread David Higgs
On Mon, May 11, 2015 at 8:07 PM, Alexander Hall wrote: > Upgrading to the latest snapshot, I noticed my upd sensors had been > disturbingly crippled. > > uhidev0 at uhub4 port 1 configuration 1 interface 0 "EATON Eaton 3S" rev > 2.00/1.00 addr 2 > uhidev0: iclass 3/0, 32 report ids > upd0 at u

UPD regression with

2015-05-11 Thread Alexander Hall
Upgrading to the latest snapshot, I noticed my upd sensors had been disturbingly crippled. uhidev0 at uhub4 port 1 configuration 1 interface 0 "EATON Eaton 3S" rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 32 report ids upd0 at uhidev0 Diff below is what happens from upd.c r1.13 to r1.14. -hw.se

Brainy: Kernel Use-after-free & Memory Leak in hifn

2015-05-11 Thread Maxime Villard
Hi, I put here two bugs among others: sys/dev/pci/hifn7751.c 2757 if (!(m0->m_flags & M_EXT)) m_freem(m0); len = MCLBYTES; totlen -= len; m0->m_pkthdr.len = m0->m_len = len; mlast = m0; ---

Re: vfs_shutdown would like to do polled I/O at least on panic

2015-05-11 Thread Mark Kettenis
> Date: Mon, 11 May 2015 16:54:54 +0200 > From: Mike Belopuhov > > On Fri, May 08, 2015 at 20:28 +0200, Mark Kettenis wrote: > > > Date: Fri, 8 May 2015 20:15:58 +0200 > > > From: Mike Belopuhov > > > > > > On Fri, May 08, 2015 at 12:34 +0200, Mike Belopuhov wrote: > > > > > I think tsleep(9) a

Re: vfs_shutdown would like to do polled I/O at least on panic

2015-05-11 Thread Mike Belopuhov
On Fri, May 08, 2015 at 20:28 +0200, Mark Kettenis wrote: > > Date: Fri, 8 May 2015 20:15:58 +0200 > > From: Mike Belopuhov > > > > On Fri, May 08, 2015 at 12:34 +0200, Mike Belopuhov wrote: > > > > I think tsleep(9) and msleep(9) need to release and re-acquire the > > > > kernel lock in the "col

Re: Async upd(4) - patch 7/7

2015-05-11 Thread Martin Pieuchot
On 2015-05-07 04:19, David Higgs wrote: On Apr 30, 2015, at 7:09 AM, Martin Pieuchot wrote: [...] Your tweaks were good, so I tweaked it further: - When submit fails, invalidate affected sensors as described above. - When invalidating sensors, do it recursively. - When battery is not present,

Re: OpenBSD on Kosagi Novena open-source ARM board/desktop/laptop

2015-05-11 Thread Damien Miller
On Mon, 11 May 2015, Jonathan Gray wrote: > Index: imxesdhc.c > === > RCS file: /cvs/src/sys/arch/armv7/imx/imxesdhc.c,v > retrieving revision 1.7 > diff -u -p -r1.7 imxesdhc.c > --- imxesdhc.c8 May 2015 03:38:26 - 1

Re: OpenBSD on Kosagi Novena open-source ARM board/desktop/laptop

2015-05-11 Thread Stefan Sperling
On Mon, May 11, 2015 at 02:49:14PM +1000, Jonathan Gray wrote: > Getting at the atheros wlan/mini pcie slot would need something along > the lines of Patrick's imxpcibr work. And once you're there you'll need AR9285 support in athn(4) as well. Or swap in a supported card. I suppose there's no wif

Re: process stuck in a sched_yield() loop

2015-05-11 Thread Stuart Henderson
On 2015/05/09 16:31, Philip Guenther wrote: > On Thu, 7 May 2015, David Coppa wrote: > > Can somebody with the necessary skills help me with this? > > > > $ cd /usr/ports/devel/libinotify/ && make clean fake && make test > > > > I remember this used to work... Now, most of the times, the > > 'ch

Re: OpenBSD on Kosagi Novena open-source ARM board/desktop/laptop

2015-05-11 Thread Jonathan Gray
On Mon, May 11, 2015 at 04:31:30PM +1000, Damien Miller wrote: > On Mon, 11 May 2015, Jonathan Gray wrote: > > > > If you can get an installation completed (the imxenet is pretty flaky, > > > possibly because of an all-0 MAC address), then you'll also need to > > > copy bsd*.IMX.umg to the /boot p