svn commit: r216350 - head/sys/kern

2010-12-10 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Dec 10 08:33:56 2010 New Revision: 216350 URL: http://svn.freebsd.org/changeset/base/216350 Log: Refactor fork1() to make it easier to follow. No functional changes. Reviewed by: kib (earlier version) Tested by:pho Modified: head/sys/kern/kern_fork.c Modi

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Andriy Gapon
on 10/12/2010 03:10 Erik Trulsson said the following: > On Fri, Dec 10, 2010 at 12:36:57AM +0200, Andriy Gapon wrote: >> on 10/12/2010 00:14 Bruce Cran said the following: >>> Since it appears that disks are still using the CHS fields despite >>> having been obsolete since ATA-7 I guess it makes se

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Cran
On Fri, 10 Dec 2010 02:00:23 +0100 Erik Trulsson wrote: > Modern drives do not really report 'the current CHS geometry'. They > report a fake geometry that normally do not have anything do with the > actual geometry. (As an example just about all modern ATA/SATA drives > report having 16 heads,

svn commit: r216351 - head/lib/csu/ia64

2010-12-10 Thread Tijl Coosemans
Author: tijl Date: Fri Dec 10 08:53:06 2010 New Revision: 216351 URL: http://svn.freebsd.org/changeset/base/216351 Log: Add a .note.ABI-tag section to ia64 startup files by linking crtbrand.c in crt1.o. On other architectures crtbrand.c is included from crt1.c, but that's not a C source code

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Cran
On Fri, 10 Dec 2010 10:12:34 +1100 (EST) Bruce Evans wrote: > The BIOS has little control over the mode. It can't enforce LBA if > the drive supports CHS. It can't force any particular CHS mode since > the driver may set any CHS mode. ata used to reset the drive in the > probe and in reinit.

svn commit: r216352 - stable/8/sys/sys

2010-12-10 Thread Konstantin Belousov
Author: kib Date: Fri Dec 10 10:37:53 2010 New Revision: 216352 URL: http://svn.freebsd.org/changeset/base/216352 Log: MFC r216149: Add SLIST_SWAP() macro. Approved by: re (bz) Modified: stable/8/sys/sys/queue.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/am

svn commit: r216353 - stable/8/sys/kern

2010-12-10 Thread Konstantin Belousov
Author: kib Date: Fri Dec 10 10:48:54 2010 New Revision: 216353 URL: http://svn.freebsd.org/changeset/base/216353 Log: MFC r216150, r216158: If unix socket has a unix socket attached as the rights that has a unix socket attached as the rights that has a unix socket attached as the rights .

svn commit: r216354 - stable/8/tools/regression/sockets/unix_gc

2010-12-10 Thread Konstantin Belousov
Author: kib Date: Fri Dec 10 11:02:59 2010 New Revision: 216354 URL: http://svn.freebsd.org/changeset/base/216354 Log: MFC r216151: Extend the unix gc regression test to cover the case of r216150. Approved by:re (bz) Modified: stable/8/tools/regression/sockets/unix_gc/unix_gc.c Dir

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Evans
On Fri, 10 Dec 2010, Erik Trulsson wrote: On Thu, Dec 09, 2010 at 10:14:58PM +, Bruce Cran wrote: On Thu, 9 Dec 2010 19:58:56 +1100 (EST) Bruce Evans wrote: I had understood the ATA_FLAG_54_58 backwards. It tells us if the drive is not so old that it doesn't support IDENTIFY records for

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Bruce Evans
On Fri, 10 Dec 2010, Bruce Cran wrote: On Fri, 10 Dec 2010 10:12:34 +1100 (EST) Bruce Evans wrote: The BIOS has little control over the mode. It can't enforce LBA if the drive supports CHS. It can't force any particular CHS mode since the driver may set any CHS mode. ata used to reset the

svn commit: r216355 - head/sys/dev/ieee488

2010-12-10 Thread Joerg Wunsch
Author: joerg Date: Fri Dec 10 14:04:41 2010 New Revision: 216355 URL: http://svn.freebsd.org/changeset/base/216355 Log: Fix __retval vs. retval confusion: retval is meant to store the (userland) pointer where data is to be returned by ibask() (currently unimplemented), while __retval holds

svn commit: r216356 - stable/8/sys/netinet

2010-12-10 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 10 14:06:50 2010 New Revision: 216356 URL: http://svn.freebsd.org/changeset/base/216356 Log: MFC r216192: Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in thi

svn commit: r216357 - stable/7/sys/netinet

2010-12-10 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 10 14:07:08 2010 New Revision: 216357 URL: http://svn.freebsd.org/changeset/base/216357 Log: MFC r216192: Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in thi

svn commit: r216358 - head/sys/dev/le

2010-12-10 Thread Tijl Coosemans
Author: tijl Date: Fri Dec 10 15:05:49 2010 New Revision: 216358 URL: http://svn.freebsd.org/changeset/base/216358 Log: Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io. Approved by: kib (mentor) Modified: head/sys/dev/le/if_le_pci.c Modified: head/sys/dev/le/if

svn commit: r216359 - stable/8/sys/netinet6

2010-12-10 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 10 15:37:54 2010 New Revision: 216359 URL: http://svn.freebsd.org/changeset/base/216359 Log: MFC r216277: Loosen the locking in nd6-free() again after r216022 (r216118 in stable/8) to avoid a LOR and a recursed lock. Reported by:delphij Test

Re: svn commit: r216358 - head/sys/dev/le

2010-12-10 Thread John Baldwin
On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote: > Author: tijl > Date: Fri Dec 10 15:05:49 2010 > New Revision: 216358 > URL: http://svn.freebsd.org/changeset/base/216358 > > Log: > Use SYS_RES_IOPORT instead of PCIM_CMD_PORTEN when calling pci_enable_io. > > Approved by:

Re: svn commit: r216358 - head/sys/dev/le

2010-12-10 Thread John Baldwin
On Friday, December 10, 2010 11:36:17 am Tijl Coosemans wrote: > On Friday 10 December 2010 16:31:36 John Baldwin wrote: > > On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote: > >> Author: tijl > >> Date: Fri Dec 10 15:05:49 2010 > >> New Revision: 216358 > >> URL: http://svn.freebsd.or

Re: svn commit: r216358 - head/sys/dev/le

2010-12-10 Thread Tijl Coosemans
On Friday 10 December 2010 16:31:36 John Baldwin wrote: > On Friday, December 10, 2010 10:05:49 am Tijl Coosemans wrote: >> Author: tijl >> Date: Fri Dec 10 15:05:49 2010 >> New Revision: 216358 >> URL: http://svn.freebsd.org/changeset/base/216358 >> >> Log: >> Use SYS_RES_IOPORT instead of PCIM

Re: svn commit: r216269 - head/sys/geom/part

2010-12-10 Thread Warner Losh
From: Matthew Jacob > Geometry is still important. Trying booting a USB flash drive on all > BIOS' with a 63/255 geometry instead of a 64/32 geometry. At least most modern BIOSes I've had to deal with can be configured to use packet mode which makes the problem go away... Don't know if I'm luc

Re: svn commit: r216295 - in head/usr.sbin/bsnmpd: . tools tools/bsnmptools tools/libbsnmptools

2010-12-10 Thread Pawel Worach
On Dec 8, 2010, at 15:30, Shteryana Shopova wrote: > Author: syrinx > Date: Wed Dec 8 14:30:25 2010 > New Revision: 216295 > URL: http://svn.freebsd.org/changeset/base/216295 > > Log: > Add bsnmpd(1)'s SNMP client tools (including SNMPv3 support) to the base > system. > > Sponsored by: The

Re: svn commit: r216295 - in head/usr.sbin/bsnmpd: . tools tools/bsnmptools tools/libbsnmptools

2010-12-10 Thread Garrett Cooper
On Fri, Dec 10, 2010 at 11:07 AM, Pawel Worach wrote: > On Dec 8, 2010, at 15:30, Shteryana Shopova wrote: >> Author: syrinx >> Date: Wed Dec  8 14:30:25 2010 >> New Revision: 216295 >> URL: http://svn.freebsd.org/changeset/base/216295 >> >> Log: >>  Add bsnmpd(1)'s SNMP client tools (including SN

svn commit: r216360 - head/sys/dev/iicbus

2010-12-10 Thread Andreas Tobler
Author: andreast Date: Fri Dec 10 20:27:50 2010 New Revision: 216360 URL: http://svn.freebsd.org/changeset/base/216360 Log: On the Xserve G5 we find the LM75 instead of the DS1775. The core functionality is the same, a difference is that the DS1775 has a better precision than the LM75. But w

svn commit: r216361 - in head: sbin/camcontrol sys/cam sys/cam/scsi

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 10 21:38:51 2010 New Revision: 216361 URL: http://svn.freebsd.org/changeset/base/216361 Log: Fix a few issues related to the XPT_GDEV_ADVINFO CCB. camcontrol.c: In buildbusdevlist(), don't attempt to get call getdevid() for an unconfigured device, e

svn commit: r216362 - in head/sys/dev: alc jme

2010-12-10 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 10 21:43:20 2010 New Revision: 216362 URL: http://svn.freebsd.org/changeset/base/216362 Log: Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg, jhb, attilio Modified: head/sys/dev/alc/if_alc.c head/sys/dev/jme/if_jme.c Modified: he

svn commit: r216363 - head/sys/dev/mps

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 10 21:45:10 2010 New Revision: 216363 URL: http://svn.freebsd.org/changeset/base/216363 Log: Fix an event handling bug with the mps(4) driver. This bug manifested itself after repeated device arrivals and departures. The root of the problem was that the last ent

svn commit: r216364 - head/sys/dev/ieee488

2010-12-10 Thread Joerg Wunsch
Author: joerg Date: Fri Dec 10 22:20:11 2010 New Revision: 216364 URL: http://svn.freebsd.org/changeset/base/216364 Log: Implement more of __ibsta: END and SRQI status bits (taken out of the uPD7210 IRQ status). MFC after:1 week Modified: head/sys/dev/ieee488/ibfoo.c Modified: hea

svn commit: r216365 - head/sys/amd64/conf

2010-12-10 Thread Robert Watson
Author: rwatson Date: Fri Dec 10 22:22:01 2010 New Revision: 216365 URL: http://svn.freebsd.org/changeset/base/216365 Log: Derive the XENHVM kernel from GENERIC, adding only the options required to support PV drivers (such as xenpci), and non-adptive locking (along with a comment about why).

svn commit: r216366 - stable/8/sys/dev/ixgbe

2010-12-10 Thread Jack F Vogel
Author: jfv Date: Fri Dec 10 22:59:09 2010 New Revision: 216366 URL: http://svn.freebsd.org/changeset/base/216366 Log: Remove bogus logic in the TX path, when using VLANs and HW_TAGGING in IPv6 the tag is not yet in the frame, and thus an ICMP6 packet fails this condition and does not get

svn commit: r216368 - head/sys/dev/mps

2010-12-10 Thread Kenneth D. Merry
Author: ken Date: Sat Dec 11 00:36:35 2010 New Revision: 216368 URL: http://svn.freebsd.org/changeset/base/216368 Log: Fix setting LUN numbers in the mps(4) driver. Prior to this change, the addressing method wasn't getting set, and so the LUN field could be set incorrectly in some instan