knlist_empty locking fix

2012-01-26 Thread Doug Ambrisko
Ran into problems with running kqueue/aio with WITNESS etc. Sometimes things are locked sometimes not. knlist_remove is called telling it whether it is locked or not ie: extern voidknlist_remove(struct knlist *knl, struct knote *kn, int islocked); so I changed: extern int

Re: [ptrace] please review follow fork/exec changes

2012-01-26 Thread Dmitry Mikulin
On 01/26/2012 04:23 AM, Kostik Belousov wrote: On Wed, Jan 25, 2012 at 03:48:04PM -0800, Dmitry Mikulin wrote: Thanks for taking a look at it. I'll try to explain the changes the best I can: the work was done nearly 6 months ago... I would certainly appreciate some more words describing the

Re: timeouts too long bug again...

2012-01-26 Thread Chuck Swiger
On Jan 26, 2012, at 11:08 AM, Luigi Rizzo wrote: > In sep.2009 i noticed that usleep() select() and friends (including > the in-kernel callouts) would consistently take one tick longer > than they should, and committed a fix to sys/kern/kern_timeout.c > to HEAD and RELENG_8 Sounds like the tvtohz(

timeouts too long bug again...

2012-01-26 Thread Luigi Rizzo
In sep.2009 i noticed that usleep() select() and friends (including the in-kernel callouts) would consistently take one tick longer than they should, and committed a fix to sys/kern/kern_timeout.c to HEAD and RELENG_8 http://svnweb.freebsd.org/base?view=revision&revision=197137 http://svnweb.freeb

Re: LSI supported mps(4) driver available

2012-01-26 Thread Johan Hendriks
Kenneth D. Merry schreef: On Tue, Jan 24, 2012 at 15:42:57 +0100, Johan Hendriks wrote: Kenneth D. Merry schreef: The LSI-supported version of the mps(4) driver that supports their 6Gb SAS HBAs as well as WarpDrive controllers, is available here: http://people.freebsd.org/~ken/lsi/mps_lsi.2012

[patch] fstat: print the owner process for UNIX domain sockets

2012-01-26 Thread Sergey Kandaurov
Hi. This patch adds support for fstat(1) to identify which process opened the specified socket file, to bring in line with regular files. E.g.: # fstat /var/run/devd.pipe USER CMD PID FD MOUNT INUM MODE SZ|DV R/W NAME root devd12594* local stream fe0

Re: [ptrace] please review follow fork/exec changes

2012-01-26 Thread Kostik Belousov
On Wed, Jan 25, 2012 at 03:48:04PM -0800, Dmitry Mikulin wrote: > Thanks for taking a look at it. I'll try to explain the changes the best I > can: the work was done nearly 6 months ago... > > >I would certainly appreciate some more words describing the changes. > > > >What is the goal of introdu

Re: msk0: watchdog timeout interface hang

2012-01-26 Thread Kim Culhan
On Wed, Jan 25, 2012 at 3:26 PM, Kim Culhan wrote: > Running 10-curent from 01-20-12 > the msk0 interface hung, on the console: > > msk0: watchdog timeout > msk0: prefetch unit stuck? > msk0: initialization failed: no memory for Rx buffers > > Verbose boot dmesg output attached. This additional d

Re: [patch] pam_exec: use program exit code instead of PAM_SYSTEM_ERR

2012-01-26 Thread Gleb Kurtsou
On (24/01/2012 15:25), Jean-S?bastien P?dron wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > If the specified program exits with non-zero, current implementation > of pam_exec(8) logs this code and return PAM_SYSTEM_ERR. Therefore, > applications have no idea what went wrong

Re: nullfs broken on powerpc

2012-01-26 Thread Milan Obuch
On Wed, 25 Jan 2012 22:00:26 +0100 Andreas Tobler wrote: > On 25.01.12 21:29, Eitan Adler wrote: > > On Wed, Jan 25, 2012 at 2:50 PM, Milan > > Obuch wrote: > >> On Wed, 25 Jan 2012 14:21:23 +0200 > >> Kostik Belousov wrote: > >> [ snip ] > Tracing pid 1442 tid 100095 td 0x2d6b000 >