svn commit: r231576 - head/sys/net80211

2012-02-12 Thread Adrian Chadd
Author: adrian Date: Mon Feb 13 07:47:36 2012 New Revision: 231576 URL: http://svn.freebsd.org/changeset/base/231576 Log: Correct the 802.11s mesh configuration structure and related tidbits. * Change the mesh IE size to be IEEE80211_MESH_CONF_SZ rather than the size of the structure;

svn commit: r231575 - head/etc/devd

2012-02-12 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 13 07:47:16 2012 New Revision: 231575 URL: http://svn.freebsd.org/changeset/base/231575 Log: Re-generate /etc/devd/usb.conf MFC after:1 day Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf ==

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Andrey Zonov
On 13.02.2012 0:56, Dmitry Morozovsky wrote: On Mon, 13 Feb 2012, Andrey Zonov wrote: [snip] Please don't. Even if you can't write the pidfile, you should run the service. The same as for pidfile_open() failure as documented in example. Feel free to warn about problem with writing to pidfile,

svn commit: r231573 - head/sys/dev/ata

2012-02-12 Thread Ed Maste
Author: emaste Date: Mon Feb 13 01:44:12 2012 New Revision: 231573 URL: http://svn.freebsd.org/changeset/base/231573 Log: Fix panic after "WARNING - ATA_IDENTIFY taskqueue timeout" When performing a firmware upgrade via atacontrol[1] the subsequent command may time out producing the error

svn commit: r231572 - head/sys/ufs/ffs

2012-02-12 Thread Kirk McKusick
Author: mckusick Date: Mon Feb 13 01:33:39 2012 New Revision: 231572 URL: http://svn.freebsd.org/changeset/base/231572 Log: Missing conditions in checking whether an inode has been written. Found and tested by: Peter Holm MFC after: 2 weeks (to 9 only) Modified: head/sys/ufs/

svn commit: r231571 - head/sys/dev/ath

2012-02-12 Thread Adrian Chadd
Author: adrian Date: Mon Feb 13 00:28:41 2012 New Revision: 231571 URL: http://svn.freebsd.org/changeset/base/231571 Log: Attempt to address some potential vap->iv_bss race conditions. There are unfortunately a number of situations where vap->iv_bss is changed or freed by some code in net

svn commit: r231568 - head/usr.sbin/periodic

2012-02-12 Thread Brooks Davis
Author: brooks Date: Sun Feb 12 23:18:05 2012 New Revision: 231568 URL: http://svn.freebsd.org/changeset/base/231568 Log: Prevent periodic scripts that run longer than the expected period from starting up before the previous script finishes. This prevents an infinite number of them from pil

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Jos Backus
On Feb 12, 2012 1:32 PM, "Mikolaj Golub" wrote: > > > On Sun, 12 Feb 2012 12:56:58 -0800 Jos Backus wrote: > > JB> Right. So why not add a Unix socket listener to daemon(8) so the rc.d > JB> script can send commands over the socket instead of using the pidfile? > JB> This is what supervise/svc

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Mikolaj Golub
On Sun, 12 Feb 2012 12:56:58 -0800 Jos Backus wrote: JB> Right. So why not add a Unix socket listener to daemon(8) so the rc.d JB> script can send commands over the socket instead of using the pidfile? JB> This is what supervise/svc let you do today. JB> I don't understand why this solution

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Dmitry Morozovsky
On Mon, 13 Feb 2012, Andrey Zonov wrote: [snip] > > Please don't. Even if you can't write the pidfile, you should run the > > service. The same as for pidfile_open() failure as documented in > > example. Feel free to warn about problem with writing to pidfile, but > > don't treat it as critial er

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Jos Backus
On Sun, Feb 12, 2012 at 12:41 PM, Andrey Zonov wrote: > On 13.02.2012 0:02, Pawel Jakub Dawidek wrote: >> >> On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote: >>> >>>  AZ>  Check return code from pidfile_write() function.  I saw many times >>>  AZ>  when pid could not be written becau

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Andrey Zonov
On 13.02.2012 0:02, Pawel Jakub Dawidek wrote: On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote: AZ> Check return code from pidfile_write() function. I saw many times AZ> when pid could not be written because of there is not enough free AZ> space (but file was created). U

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Pawel Jakub Dawidek
On Sat, Feb 11, 2012 at 12:35:27PM +0200, Mikolaj Golub wrote: > Thank you. Here are the patches I would like to commit if there are no > objections or other suggestions: > > http://people.freebsd.org/~trociny/daemon/daemon.spawn.1.patch The patch looks good to me. I'd just fix style nit: please

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Pawel Jakub Dawidek
On Sun, Feb 12, 2012 at 09:06:55PM +0200, Mikolaj Golub wrote: > AZ> Check return code from pidfile_write() function. I saw many times > AZ> when pid could not be written because of there is not enough free > AZ> space (but file was created). Unfortunately, I have no suggestions > AZ> how to

Re: svn commit: r231559 - in head/sys: amd64/conf conf i386/conf

2012-02-12 Thread Scott Long
On Feb 12, 2012, at 7:55 AM, Robert Millan wrote: > Author: rmh > Date: Sun Feb 12 14:55:27 2012 > New Revision: 231559 > URL: http://svn.freebsd.org/changeset/base/231559 > > Log: > Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" > target processing them as if they wer

svn commit: r231565 - head/sys/conf

2012-02-12 Thread Robert Millan
Author: rmh Date: Sun Feb 12 19:29:34 2012 New Revision: 231565 URL: http://svn.freebsd.org/changeset/base/231565 Log: Fix a typo. Approved by: kib (mentor) Reported by: lwhsu, Niclas Zeising MFC after:5 days Modified: head/sys/conf/WITHOUT_SOURCELESS_HOST Modified: head/sys/

Re: svn commit: r230869 - head/usr.sbin/daemon

2012-02-12 Thread Mikolaj Golub
On Sat, 11 Feb 2012 16:16:16 +0400 Andrey Zonov wrote: AZ> On 11.02.2012 14:35, Mikolaj Golub wrote: >> >> Thank you. Here are the patches I would like to commit if there are no >> objections or other suggestions: >> >> http://people.freebsd.org/~trociny/daemon/daemon.spawn.1.patch >> http

svn commit: r231564 - in head: lib/libc/db/man lib/libc/gen lib/libc/net lib/libc/rpc lib/libc/sys lib/libcam lib/libdevstat lib/libradius sbin/bsdlabel sbin/newfs_msdos share/man/man4 share/man/ma...

2012-02-12 Thread Ed Schouten
Author: ed Date: Sun Feb 12 18:29:56 2012 New Revision: 231564 URL: http://svn.freebsd.org/changeset/base/231564 Log: Globally replace u_int*_t from (non-contributed) man pages. The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people wi

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-12 Thread Niclas Zeising
On 2012-02-12 17:43, Robert Millan wrote: > El 4 de febrer de 2012 9:48, Niclas Zeising ha escrit: >>> +++ head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST Sat Feb 4 00:54:43 >>> 2012(r230972) >>> @@ -0,0 +1,10 @@ >>> +# >>> +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that include so

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-12 Thread Robert Millan
El 6 de febrer de 2012 17:48, Jung-uk Kim ha escrit: > On Friday 03 February 2012 07:54 pm, Robert Millan wrote: >> +nodevice       ti > > Tigon 1 and 2 had open-sourced firmware.  In fact, I believe wpaul > developed custom firmware for FreeBSD and the (early?) sources are > still available here:

Re: svn commit: r230972 - in head: share/mk sys/amd64/conf sys/i386/conf sys/modules sys/modules/drm sys/modules/sound/driver sys/modules/usb tools/build/options

2012-02-12 Thread Robert Millan
El 4 de febrer de 2012 9:48, Niclas Zeising ha escrit: >> +++ head/sys/amd64/conf/WITHOUT_SOURCELESS_HOST       Sat Feb  4 00:54:43 >> 2012        (r230972) >> @@ -0,0 +1,10 @@ >> +# >> +# WITHOUT_SOURCELESS_UCODE -- Disable drivers that include sourceless >                        ^ > This se

svn commit: r231563 - head/etc/rc.d

2012-02-12 Thread Andriy Gapon
Author: avg Date: Sun Feb 12 14:58:50 2012 New Revision: 231563 URL: http://svn.freebsd.org/changeset/base/231563 Log: start watchdogd before most of other daemons/servers The main benefit is that watchdogd would shutdown after most of other daemons/servers and thus, for example, would re

svn commit: r231559 - in head/sys: amd64/conf conf i386/conf

2012-02-12 Thread Robert Millan
Author: rmh Date: Sun Feb 12 14:55:27 2012 New Revision: 231559 URL: http://svn.freebsd.org/changeset/base/231559 Log: Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" target processing them as if they were standalone kernel config files. Approved by: kib (mentor

svn commit: r231558 - head/sys/conf

2012-02-12 Thread Andriy Gapon
Author: avg Date: Sun Feb 12 14:54:19 2012 New Revision: 231558 URL: http://svn.freebsd.org/changeset/base/231558 Log: newvers.sh: unbreak git/git-svn support MFC after:2 weeks Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

Re: svn commit: r231543 - head/sys/netgraph

2012-02-12 Thread Julian Elischer
On 2/11/12 9:14 PM, Max Khon wrote: Author: fjoe Date: Sun Feb 12 05:14:12 2012 New Revision: 231543 URL: http://svn.freebsd.org/changeset/base/231543 Log: - Use fixed-width integer types. - Prefer to use C99 stdint types. nice.. pitty it was written in 96 :-) good work This fixes