Re: svn commit: r196200 - in head: etc/mtree include sys/dev/mfi usr.sbin usr.sbin/mfiutil

2009-08-24 Thread Scott Long
Stefan Bethke wrote: Am 23.08.2009 um 16:38 schrieb Jeremie Le Hen: Wouldn't it be more reasonable to use a standard suffix for all dedicated admin utility such as vidcontrol, memcontrol, kbdcontrol: % 59# find /bin /sbin /usr/bin /usr/sbin -name \*control | wc -l % 25 % 60# find /bin /

svn commit: r196529 - head/sys/kern

2009-08-24 Thread Warner Losh
Author: imp Date: Tue Aug 25 06:25:59 2009 New Revision: 196529 URL: http://svn.freebsd.org/changeset/base/196529 Log: Rather than havnig enabled/disabled, implement a max queue depth. While usually not an issue, this firewalls bugs in the code that may run us out of memory. Fix a memor

svn commit: r196528 - head/sbin/savecore

2009-08-24 Thread Ulf Lilleengen
Author: lulf Date: Tue Aug 25 06:21:45 2009 New Revision: 196528 URL: http://svn.freebsd.org/changeset/base/196528 Log: - Add a SIGINFO handler for savecore. Modified: head/sbin/savecore/savecore.c Modified: head/sbin/savecore/savecore.c ==

svn commit: r196527 - head/sbin/route

2009-08-24 Thread Philippe Charnier
Author: charnier Date: Tue Aug 25 04:09:09 2009 New Revision: 196527 URL: http://svn.freebsd.org/changeset/base/196527 Log: ANSIfy functions declarations, adjust prototypes. Rename local variable to not conflict with err(). Modified: head/sbin/route/route.c Modified: head/sbin/route/route.

svn commit: r196526 - head/share/man/man5

2009-08-24 Thread Xin LI
Author: delphij Date: Tue Aug 25 01:04:15 2009 New Revision: 196526 URL: http://svn.freebsd.org/changeset/base/196526 Log: Add a missing .El. Founded by: make manlint Modified: head/share/man/man5/tmpfs.5 Modified: head/share/man/man5/tmpfs.5 ==

svn commit: r196525 - head/lib/libc/db/hash

2009-08-24 Thread Xin LI
Author: delphij Date: Mon Aug 24 23:44:07 2009 New Revision: 196525 URL: http://svn.freebsd.org/changeset/base/196525 Log: Consider flag == 0 as the same of flag == R_NEXT. This change will restore a historical behavior that has been changed by revision 190491, and has seen to break exim.

svn commit: r196524 - in head/sys: dev/syscons i386/isa

2009-08-24 Thread Xin LI
Author: delphij Date: Mon Aug 24 22:35:53 2009 New Revision: 196524 URL: http://svn.freebsd.org/changeset/base/196524 Log: Fix VESA modes and allow 8bit depth modes. PR: i386/124902 Submitted by: paradox MFC after:2 months Modified: head/sys/dev/syscons/scvgarndr.c h

Re: svn commit: r196478 - head/etc

2009-08-24 Thread Doug Barton
Christoph Mallon wrote: > Doug Barton schrieb: >> Author: dougb >> Date: Sun Aug 23 19:52:47 2009 >> New Revision: 196478 >> URL: http://svn.freebsd.org/changeset/base/196478 >> >> Log: >> Prior to the dire warning about values of network_interfaces other than >> AUTO the biggest mistake users

svn commit: r196523 - head/etc

2009-08-24 Thread Doug Barton
Author: dougb Date: Mon Aug 24 22:05:08 2009 New Revision: 196523 URL: http://svn.freebsd.org/changeset/base/196523 Log: Improve the case test to detect the presence of lo0 in the list of network_interfaces. Submitted by: Christoph Mallon Modified: head/etc/network.subr Modified: hea

svn commit: r196522 - head/release

2009-08-24 Thread John Baldwin
Author: jhb Date: Mon Aug 24 21:56:41 2009 New Revision: 196522 URL: http://svn.freebsd.org/changeset/base/196522 Log: Invoke the recently added mm-mtree.sh release script to store a pre-built mergemaster mtree database in the 'base' dist. MFC after:3 days Modified: head/release/Ma

svn commit: r196521 - in head/release: . scripts

2009-08-24 Thread John Baldwin
Author: jhb Date: Mon Aug 24 21:55:43 2009 New Revision: 196521 URL: http://svn.freebsd.org/changeset/base/196521 Log: Fix a few issues with the lib32 dist so that it includes ldd32. - Use a better find invocation to purge empty directories from all the dist trees during a release build.

svn commit: r196520 - in head/sys: dev/acpica isa

2009-08-24 Thread John Baldwin
Author: jhb Date: Mon Aug 24 21:51:46 2009 New Revision: 196520 URL: http://svn.freebsd.org/changeset/base/196520 Log: Tweak the way that the ACPI and ISA bus drivers match hint devices to BIOS-enumerated devices: - Assume a device is a match if the memory and I/O ports match even if the

svn commit: r196519 - head/sys/net

2009-08-24 Thread Jack F Vogel
Author: jfv Date: Mon Aug 24 21:04:51 2009 New Revision: 196519 URL: http://svn.freebsd.org/changeset/base/196519 Log: When bridging LRO is causing a problem, the believe that it would work as long as all interfaces have TSO seems to be false, until the matter gets sorted out just disable

svn commit: r196518 - head/sys/dev/ixgbe

2009-08-24 Thread Jack F Vogel
Author: jfv Date: Mon Aug 24 20:41:51 2009 New Revision: 196518 URL: http://svn.freebsd.org/changeset/base/196518 Log: A couple of changes: first, make header split on by default and remove from its dependency on LRO, my tests have shown that its always beneficial, even when doing bridging.

svn commit: r196517 - head/sys/dev/alc

2009-08-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 24 20:37:15 2009 New Revision: 196517 URL: http://svn.freebsd.org/changeset/base/196517 Log: Don't try to power down PHY when alc(4) failed to map the device. This fixes system crash when mapping alc(4) device failed in device attach. Reported by: Jim < st

svn commit: r196516 - in head/sys: dev/re pci

2009-08-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 24 18:58:13 2009 New Revision: 196516 URL: http://svn.freebsd.org/changeset/base/196516 Log: Add RTL8168DP/RTL8111DP device id. While I'm here append "8111D" to the description of RTL8168D as RL_HWREV_8168D can be either RTL8168D or RTL8111D. PR: kern/137

svn commit: r196515 - head/share/examples/cvsup

2009-08-24 Thread Ken Smith
Author: kensmith Date: Mon Aug 24 18:43:22 2009 New Revision: 196515 URL: http://svn.freebsd.org/changeset/base/196515 Log: Update example for RELENG_8. Modified: head/share/examples/cvsup/stable-supfile Modified: head/share/examples/cvsup/stable-supfile =

Re: svn commit: r196460 - head/sys/kern

2009-08-24 Thread Bruce Evans
On Tue, 25 Aug 2009, Bruce Evans wrote: On Sun, 23 Aug 2009, Jilles Tjoelker wrote: I think poll on fifos should instead be fixed by closing the half-connection corresponding to writing from fi_readsock to fi_writesock. I have tried this out, see attached patch. With the patch, pipepoll only g

Re: svn commit: r196460 - head/sys/kern

2009-08-24 Thread Bruce Evans
On Sun, 23 Aug 2009, Jilles Tjoelker wrote: I think poll on fifos should instead be fixed by closing the half-connection corresponding to writing from fi_readsock to fi_writesock. I have tried this out, see attached patch. With the patch, pipepoll only gives "expected POLLHUP; got POLLIN | POLLH

svn commit: r196514 - head/usr.sbin/ppp

2009-08-24 Thread Brian Somers
Author: brian Date: Mon Aug 24 17:19:45 2009 New Revision: 196514 URL: http://svn.freebsd.org/changeset/base/196514 Log: When ``ppp -direct'' is invoked by a program that uses pipe(2) to create stdin and stdout, don't blindly try to use stdin as a bi-directional channel. Instead, detect the

svn commit: r196513 - head/usr.sbin/ppp

2009-08-24 Thread Brian Somers
Author: brian Date: Mon Aug 24 17:18:17 2009 New Revision: 196513 URL: http://svn.freebsd.org/changeset/base/196513 Log: When realloc()ing device memory for transfer to another ppp process, don't continue to use the realloc()d pointer - it might have changed! Remove some stray diagnostics

Re: svn commit: r196403 - in head/sys: dev/aac dev/acpica dev/adb dev/amdtemp dev/amr dev/ata dev/atkbdc dev/bktr dev/drm dev/ips dev/mfi dev/mlx dev/mmc dev/pccbb dev/pst dev/rp dev/sound/pci/hda d

2009-08-24 Thread Attilio Rao
2009/8/20 John Baldwin : > Author: jhb > Date: Thu Aug 20 19:17:53 2009 > New Revision: 196403 > URL: http://svn.freebsd.org/changeset/base/196403 > > Log: > Temporarily revert the new-bus locking for 8.0 release. It will be > reintroduced after HEAD is reopened for commits by r...@. Thanks a l

svn commit: r196512 - in head/sys: amd64/amd64 amd64/linux32 compat/ia32 i386/i386 i386/linux kern sys

2009-08-24 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 24 16:19:47 2009 New Revision: 196512 URL: http://svn.freebsd.org/changeset/base/196512 Log: Fix handling of .note.ABI-tag section for GNU systems [1]. Handle GNU/Linux according to LSB Core Specification 4.0, Chapter 11. Object Format, 11.8. ABI note tag. Also

Re: svn commit: r196506 - in head/sys: kern sys

2009-08-24 Thread Bruce Evans
On Mon, 24 Aug 2009, Ed Schouten wrote: * Bruce Evans wrote: CONS_DRIVER() was a good interface, unlike CONSOLE_DRIVER(). Removing it completes the bitrot in the support for cn_dbctl, and completes removal of cn_checkc's good name at the driver level. cn_dbctl is still needed to unbreak sysc

svn commit: r196511 - head/tools/kerneldoc/subsys

2009-08-24 Thread Alexander Leidinger
Author: netchild Date: Mon Aug 24 13:10:55 2009 New Revision: 196511 URL: http://svn.freebsd.org/changeset/base/196511 Log: - Update config to doxygen 1.5.2 (I use this with 1.5.9). - Add linprocfs and linsysfs to the linuxulator dox. - Take the generated includes from the .m files from a su

svn commit: r196510 - head/sys/net

2009-08-24 Thread Robert Watson
Author: rwatson Date: Mon Aug 24 12:52:05 2009 New Revision: 196510 URL: http://svn.freebsd.org/changeset/base/196510 Log: Make if_grow static -- it's not used outside of if.c, and with the internals destined to change, it's better if it remains that way. MFC after:3 days Modified:

Re: svn commit: r196506 - in head/sys: kern sys

2009-08-24 Thread Ed Schouten
Hi Bruce, * Bruce Evans wrote: > CONS_DRIVER() was a good interface, unlike CONSOLE_DRIVER(). Removing it > completes the bitrot in the support for cn_dbctl, and completes removal > of cn_checkc's good name at the driver level. > > cn_dbctl is still needed to unbreak sysctl's support for ddb (s

Re: svn commit: r196506 - in head/sys: kern sys

2009-08-24 Thread Bruce Evans
On Mon, 24 Aug 2009, Ed Schouten wrote: Log: Allow multiple console devices per driver without insane code duplication. Say, a driver wants to have multiple console devices to pick from, you would normally write down something like this: CONSOLE_DRIVER(dev1); CONSOLE_DRIVER(

svn commit: r196509 - head/sys/netinet

2009-08-24 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 24 11:46:40 2009 New Revision: 196509 URL: http://svn.freebsd.org/changeset/base/196509 Log: This fixes a bug where the value set by SCTP_PARTIAL_DELIVERY_POINT was not honored, if the socket buffer size was not 4 times that large. Approved by: rrs (mentor)

svn commit: r196508 - head/lib/libc/stdlib

2009-08-24 Thread Ed Schouten
Author: ed Date: Mon Aug 24 11:16:44 2009 New Revision: 196508 URL: http://svn.freebsd.org/changeset/base/196508 Log: Our implementation of granpt(3) could be valid in the future. When I wrote the pseudo-terminal driver for the MPSAFE TTY code, Robert Watson and I agreed the best way to i

svn commit: r196507 - head/sys/netinet

2009-08-24 Thread Randall Stewart
Author: rrs Date: Mon Aug 24 11:13:32 2009 New Revision: 196507 URL: http://svn.freebsd.org/changeset/base/196507 Log: This fixes two bugs in the NR-Sack code: 1) When calculating the table offset for sliding the sack array, the two byte values must be "ored" together in order for

svn commit: r196506 - in head/sys: kern sys

2009-08-24 Thread Ed Schouten
Author: ed Date: Mon Aug 24 10:53:30 2009 New Revision: 196506 URL: http://svn.freebsd.org/changeset/base/196506 Log: Allow multiple console devices per driver without insane code duplication. Say, a driver wants to have multiple console devices to pick from, you would normally write down

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

2009-08-24 Thread Marko Zec
On Monday 24 August 2009 12:14:09 Marko Zec wrote: > Author: zec > Date: Mon Aug 24 10:14:09 2009 > New Revision: 196504 > URL: http://svn.freebsd.org/changeset/base/196504 > > Log: > When moving ifnets from one vnet to another, and the ifnet > has ifaddresses of AF_LINK type which thus have an

svn commit: r196505 - head/sys/kern

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:16:19 2009 New Revision: 196505 URL: http://svn.freebsd.org/changeset/base/196505 Log: When "jail -c vnet" request fails, the current code actually creates and leaves behind an orphaned vnet. This change ensures that such vnets get released. This change

svn commit: r196504 - head/sys/net

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:14:09 2009 New Revision: 196504 URL: http://svn.freebsd.org/changeset/base/196504 Log: When moving ifnets from one vnet to another, and the ifnet has ifaddresses of AF_LINK type which thus have an embedded if_index "backpointer", we must update that if_index b

svn commit: r196503 - in head/sys: fs/nfsclient nfsclient rpc

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:09:30 2009 New Revision: 196503 URL: http://svn.freebsd.org/changeset/base/196503 Log: Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet context inside the RPC code. Temporarily set td's cred to mount's cred before calling socreate(

svn commit: r196502 - head/sys/netinet

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:06:02 2009 New Revision: 196502 URL: http://svn.freebsd.org/changeset/base/196502 Log: Introduce a div_destroy() function which takes over per-vnet cleanup tasks from the existing modevent / MOD_UNLOAD handler, and register div_destroy() in protosw as per-vnet

svn commit: r196501 - head/sys/kern

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:03:41 2009 New Revision: 196501 URL: http://svn.freebsd.org/changeset/base/196501 Log: When registering a protocol to an existing protocol domain via pf_proto_register(), iterate over all existing vnets to call protosw_init() and thus the appropriate .pr_init(

svn commit: r196500 - head/usr.sbin/kbdcontrol

2009-08-24 Thread Ed Schouten
Author: ed Date: Mon Aug 24 09:17:01 2009 New Revision: 196500 URL: http://svn.freebsd.org/changeset/base/196500 Log: Unhardcode 0x100 inside kbdcontrol. In preparation for Unicode support for the keyboard layer, we'd better get rid of all the hardcoded 0x100/0xff constants in kbdcontrol.

svn commit: r196499 - head/sys/dev/xen/console

2009-08-24 Thread Ed Schouten
Author: ed Date: Mon Aug 24 08:27:42 2009 New Revision: 196499 URL: http://svn.freebsd.org/changeset/base/196499 Log: Cleanups to the Xen console driver: - Use CONSOLE_DRIVER() instead of the deprecated CONS_DRIVER() declaration. - This means we cannot use cn_checkc anymore, which is s