Re: svn commit: r253215 - head/lib/msun/src

2013-07-13 Thread Bruce Evans
On Sat, 13 Jul 2013, Tijl Coosemans wrote: On 2013-07-12 11:14, Bruce Evans wrote: On Thu, 11 Jul 2013, Tijl Coosemans wrote: On 2013-07-11 22:03, Tijl Coosemans wrote: ... isnan(double) is part of SUSv2. It should be visible when compiling with -D_XOPEN_SOURCE=500. I think you need something

svn commit: r253333 - in head/usr.sbin/bsdconfig/share: media packages

2013-07-13 Thread Devin Teske
Author: dteske Date: Sun Jul 14 03:08:52 2013 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: Re-implement $probe_only aspect of f_media_get_TYPE() (where TYPE is cdrom, nfs, ftp, http, httpproxy, etc.) and f_device_get() (abstract method for calling aforementi

Re: svn commit: r253314 - head/sys/net

2013-07-13 Thread Adrian Chadd
I'll double-check at work on Monday and commit an update. Thanks! -adrian On 13 July 2013 01:21, Mikolaj Golub wrote: > On Sat, Jul 13, 2013 at 04:25:03AM +, Adrian Chadd wrote: > >> +static int >> +lagg_sysctl_active(SYSCTL_HANDLER_ARGS) >> +{ >> + struct lagg_softc *sc = (struct lag

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Adrian Chadd
[snip] Sweet. It sounds like we're all on the right track and finding various entry places where there's no default vnet context and there should be. Just note that in my patch I only set a default vnet context if there isn't already one. I recall there being _some_ device attach stuff that occur

svn commit: r253332 - head/sys/dev/usb/input

2013-07-13 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jul 13 22:39:56 2013 New Revision: 253332 URL: http://svnweb.freebsd.org/changeset/base/253332 Log: Allow regular off-the-shelf keyboards to be overclocked like so-called "Gamers Keyboards" by adding a tunable, "hw.usb.ukbd.pollrate", which can fix the polling rate

svn commit: r253331 - head/sys/fs/fuse

2013-07-13 Thread Pedro F. Giffuni
Author: pfg Date: Sat Jul 13 22:06:41 2013 New Revision: 253331 URL: http://svnweb.freebsd.org/changeset/base/253331 Log: Add creation timestamp (birthtime) support for fuse. I was keeping this #ifdef'd for reference with the MacFUSE change[1] but on second thought, this is a FreeBSD-only

svn commit: r253330 - head/sys/dev/isp

2013-07-13 Thread Matt Jacob
Author: mjacob Date: Sat Jul 13 21:24:25 2013 New Revision: 253330 URL: http://svnweb.freebsd.org/changeset/base/253330 Log: When fiddling with options of which registers to copy out for a mailbox command and which registers to copy back in when the command completes, the bits being set need

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 12:45:13PM -0700, Craig Rodrigues wrote: > OK, just to double check, based on reading your post: > http://lists.freebsd.org/pipermail/svn-src-all/2013-July/071848.html , > with Marko's kldload/kldunload change, you encountered kernel panics in PF > and IPFW? Yes. Also in l

Re: svn commit: r253215 - head/lib/msun/src

2013-07-13 Thread Tijl Coosemans
On 2013-07-12 11:14, Bruce Evans wrote: > On Thu, 11 Jul 2013, Tijl Coosemans wrote: >> On 2013-07-11 22:03, Tijl Coosemans wrote: >>> On 2013-07-11 21:36, David Chisnall wrote: On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: >> @@ -227,8 +250,6 @@ doubleexpm1(double); >> double

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Craig Rodrigues
On Sat, Jul 13, 2013 at 11:33 AM, Mikolaj Golub wrote: > > Currently I don't have any pluggable device so my testing would not be > very useful. I tried Marko's patch to test kldload/kldunload change, > which is not in your patch. OK, just to double check, based on reading your post: http://list

svn commit: r253328 - head/sys/i386/i386

2013-07-13 Thread Konstantin Belousov
Author: kib Date: Sat Jul 13 19:42:52 2013 New Revision: 253328 URL: http://svnweb.freebsd.org/changeset/base/253328 Log: Create a proper stack frame for i386 version of bcopy(), despite the function is leaf. The frame allows ddb to not loose the direct caller of bcopy() in backtrace.

svn commit: r253327 - head/sys/kern

2013-07-13 Thread Konstantin Belousov
Author: kib Date: Sat Jul 13 19:36:18 2013 New Revision: 253327 URL: http://svnweb.freebsd.org/changeset/base/253327 Log: Assert that runningbufspace does not underflow. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r253326 - head/sys/kern

2013-07-13 Thread Konstantin Belousov
Author: kib Date: Sat Jul 13 19:34:34 2013 New Revision: 253326 URL: http://svnweb.freebsd.org/changeset/base/253326 Log: There is no need to count waiters for the runningbufspace. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c =

svn commit: r253325 - head/sys/kern

2013-07-13 Thread Konstantin Belousov
Author: kib Date: Sat Jul 13 19:32:50 2013 New Revision: 253325 URL: http://svnweb.freebsd.org/changeset/base/253325 Log: Allow to call clock_gettime() on the clock id for zombie process. Reported by: Petr Salinger PR: threads/180496 Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r253276 - head/sys/fs/fuse

2013-07-13 Thread Pedro Giffuni
On 13.07.2013 12:44, Gleb Kurtsou wrote: On (12/07/2013 17:22), Pedro F. Giffuni wrote: Author: pfg Date: Fri Jul 12 17:22:59 2013 New Revision: 253276 URL: http://svnweb.freebsd.org/changeset/base/253276 Log: Add creation timestamp (birthtime) support for fuse. This is based on simil

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 11:04:23AM -0700, Craig Rodrigues wrote: > Can you try this combination of patches: > > (1) Combine Adrian and Marko's patches, but omit Marko's changes to > kldload/kldunload: > > http://people.freebsd.org/~rodrigc/vnet-patch-adrian+marko.txt > > (2) Revert my Bluetoo

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Craig Rodrigues
On Sat, Jul 13, 2013 at 7:18 AM, Mikolaj Golub wrote: > On Sat, Jul 13, 2013 at 02:18:26PM +0300, Mikolaj Golub wrote: > > > I wonder if it fails on current too? It looks this code is not there > > any more. I will try. > > Yes. It crashes on current too. In pfattach(). Also, loading ipfw and > i

Re: svn commit: r253276 - head/sys/fs/fuse

2013-07-13 Thread Gleb Kurtsou
On (12/07/2013 17:22), Pedro F. Giffuni wrote: > Author: pfg > Date: Fri Jul 12 17:22:59 2013 > New Revision: 253276 > URL: http://svnweb.freebsd.org/changeset/base/253276 > > Log: > Add creation timestamp (birthtime) support for fuse. > > This is based on similar support in MacFUSE. Looks

svn commit: r253323 - head/sys/cam/scsi

2013-07-13 Thread Alexander Motin
Author: mav Date: Sat Jul 13 15:34:37 2013 New Revision: 253323 URL: http://svnweb.freebsd.org/changeset/base/253323 Log: When printing opcode description, map T_NODEVICE to Direct Access Device to handle REPORT LUNS, etc. Modified: head/sys/cam/scsi/scsi_all.c Modified: head/sys/cam/scsi/

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Warner Losh
On Jul 12, 2013, at 11:40 PM, Adrian Chadd wrote: > Here's what I have running on my stable/9 VIMAGE laptop. > http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-detach.diff > How's this look to put into -HEAD? Apart from the style issues (no space after !), I wonder why newbus

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 02:18:26PM +0300, Mikolaj Golub wrote: > I wonder if it fails on current too? It looks this code is not there > any more. I will try. Yes. It crashes on current too. In pfattach(). Also, loading ipfw and ipfw_nat causes panics in ipfw_init() and ipfw_nat_init(). Although t

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 01:39:52PM +0200, Marko Zec wrote: > I fear both Adrian's and my patch fall short of addressing the issue of > generic USB device attach handling in VIMAGE kernels, i.e. the patches > discussed in this thread might be OK for preventing panics with ng_ubt, but > what abou

svn commit: r253322 - in head/sys/cam: . scsi

2013-07-13 Thread Alexander Motin
Author: mav Date: Sat Jul 13 13:35:09 2013 New Revision: 253322 URL: http://svnweb.freebsd.org/changeset/base/253322 Log: Improve handling of 0x3F/0x0E "Reported LUNs data has changed" and 0x25/0x00 "Logical unit not supported" errors. First initiates specific target rescan, second -- destr

svn commit: r253321 - head/lib/msun/src

2013-07-13 Thread David Chisnall
Author: theraven Date: Sat Jul 13 13:04:38 2013 New Revision: 253321 URL: http://svnweb.freebsd.org/changeset/base/253321 Log: Cleaner support for type qualifiers. Submitted by: Pasi Parviainen Modified: head/lib/msun/src/math.h Modified: head/lib/msun/src/math.h ===

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Marko Zec
On Saturday 13 July 2013 09:31:19 Mikolaj Golub wrote: > On Fri, Jul 12, 2013 at 10:40:08PM -0700, Adrian Chadd wrote: > > Here's what I have running on my stable/9 VIMAGE laptop. > > > > http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-de > >tach.diff > > > > How's this look to

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 03:31:34AM -0700, Craig Rodrigues wrote: > > I experimented with Marko's patch, and found that the kernel crashed > inside the code which initializes PF. > /usr/home/rodrigc/freebsd/9/sys/modules/pf/../../contrib/pf/net/pf_ioctl.c:295 > 295 { > (kgdb) l > 290 > 29

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Craig Rodrigues
On Sat, Jul 13, 2013 at 12:31 AM, Mikolaj Golub wrote: > > Your patch looks similar to Marko's: > > > http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20121115/0824ca85/attachment.diff > > > > Also, as I understand, after handling vnet context in > device_probe_and_attach(), there

svn commit: r253319 - head/lib/msun/src

2013-07-13 Thread David Chisnall
Author: theraven Date: Sat Jul 13 10:10:45 2013 New Revision: 253319 URL: http://svnweb.freebsd.org/changeset/base/253319 Log: Ensure that the _Generic() macro in math.h works with qualified types. tgmath.h contains the same bugs and so should be fixed in the same way. Modified: head/lib

Re: svn commit: r253314 - head/sys/net

2013-07-13 Thread Mikolaj Golub
On Sat, Jul 13, 2013 at 04:25:03AM +, Adrian Chadd wrote: > +static int > +lagg_sysctl_active(SYSCTL_HANDLER_ARGS) > +{ > + struct lagg_softc *sc = (struct lagg_softc *)arg1; > + struct lagg_port *lp; > + int error; > + > + /* LACP tracks active links automatically, the others

svn commit: r253318 - head/lib/libc/gen

2013-07-13 Thread Hiroki Sato
Author: hrs Date: Sat Jul 13 08:17:55 2013 New Revision: 253318 URL: http://svnweb.freebsd.org/changeset/base/253318 Log: Fix mdoc syntax. Pointed out by: joeld Modified: head/lib/libc/gen/sysctl.3 Modified: head/lib/libc/gen/sysctl.3 ==

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Craig Rodrigues
On Fri, Jul 12, 2013 at 10:40 PM, Adrian Chadd wrote: > Here's what I have running on my stable/9 VIMAGE laptop. > > > http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-detach.diff > > How's this look to put into -HEAD? > > Your patch overlaps with a patch proposed by Marko her

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Mikolaj Golub
On Fri, Jul 12, 2013 at 10:40:08PM -0700, Adrian Chadd wrote: > Here's what I have running on my stable/9 VIMAGE laptop. > > http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-detach.diff > > How's this look to put into -HEAD? Your patch looks similar to Marko's: http://lists.

svn commit: r253316 - head/sys/conf

2013-07-13 Thread Rui Paulo
Author: rpaulo Date: Sat Jul 13 07:17:18 2013 New Revision: 253316 URL: http://svnweb.freebsd.org/changeset/base/253316 Log: Fix the urtwnfw definitions. We can now use urtwnfw in kernel config files. Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r253315 - head/sys/modules

2013-07-13 Thread Justin Hibbits
Author: jhibbits Date: Sat Jul 13 07:16:45 2013 New Revision: 253315 URL: http://svnweb.freebsd.org/changeset/base/253315 Log: Clean up the modules list for PowerPC. powerpc64 has MACHINE_CPUARCH of powerpc. While here, sort the list. Modified: head/sys/modules/Makefile Modified: head/sy