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

2011-05-23 Thread Andrey V. Elsukov
On 23.05.2011 6:29, Warner Losh wrote: Looking at one of my flash drives that shows the problem: da0: 15423MB (31588351 512 byte sectors: 255H 63S/T 1966C) GEOM_PART: partition 1 has end offset beyond last LBA: 31588350 31588325 So why does gpart think the last LBA is 25 less than it

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

2011-05-23 Thread Poul-Henning Kamp
In message 4dd9f0a3@freebsd.org, Andrey V. Elsukov writes: There is another opinion: http://www.boot-us.com/gloss02.htm There is the convention that partitions should always start and end on *= cylinder boundaries*. It is actually more weird than that: The rule is that the starting or

Re: svn commit: r222094 - head/share/misc

2011-05-23 Thread Ulrich Spörlein
On Sun, 22.05.2011 at 20:16:47 +1000, Edwin Groothuis wrote: On 22/05/2011, at 7:29 PM, Ulrich Spörlein wrote: On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: Author: edwin Date: Thu May 19 13:09:39 2011 New Revision: 222094 URL:

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

2011-05-23 Thread Andriy Gapon
on 10/05/2011 19:44 Jung-uk Kim said the following: Author: jkim Date: Tue May 10 16:44:16 2011 New Revision: 221743 URL: http://svn.freebsd.org/changeset/base/221743 Log: Add SC_PIXEL_MODE to GENERIC for amd64 and i386. Requested by: many What about options VESA ?

svn commit: r222210 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
const char gzip_version[] = FreeBSD gzip 20110523; #ifndef SMALL static const char gzip_copyright[] = \ @@ -314,7 +314,7 @@ main(int argc, char **argv) dflag = cflag = 1; #ifdef SMALL -#define OPT_LIST 123456789cdhltV +#define OPT_LIST 123456789cdhlV #else #define

svn commit: r222211 - head/usr.bin/gzip

2011-05-23 Thread Xin LI
Author: delphij Date: Mon May 23 09:40:21 2011 New Revision: 11 URL: http://svn.freebsd.org/changeset/base/11 Log: Match symbolic link handling behavior with GNU gzip, bzip2 and xz: When we are operating on a symbolic link pointing to an existing file, bail out by default, but go

Re: svn commit: r222094 - head/share/misc

2011-05-23 Thread Edwin Groothuis
On 23/05/2011, at 6:00 PM, Ulrich Spörlein wrote: On Sun, 22.05.2011 at 20:16:47 +1000, Edwin Groothuis wrote: On 22/05/2011, at 7:29 PM, Ulrich Spörlein wrote: On Thu, 19.05.2011 at 13:09:39 +, Edwin Groothuis wrote: Author: edwin Date: Thu May 19 13:09:39 2011 New Revision:

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Bjoern A. Zeeb
On May 22, 2011, at 10:01 PM, Warner Losh wrote: On May 22, 2011, at 3:30 PM, Mark Linimon wrote: On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Alex Dupre
Mark Linimon ha scritto: If we move away from amd64, we are going to need a _substantial_ amount of work on ports. Yup, as we constantly need to patch ports to correctly support amd64. It was during my fighting with gmp (and mozilla) configure that I discovered the existence of the

svn commit: r222212 - stable/8/usr.sbin/ifmcstat

2011-05-23 Thread Sergey Kandaurov
Author: pluknet Date: Mon May 23 13:02:04 2011 New Revision: 12 URL: http://svn.freebsd.org/changeset/base/12 Log: MFC r222025: Fix manual section number for netstat(1). Modified: stable/8/usr.sbin/ifmcstat/ifmcstat.8 Directory Properties: stable/8/usr.sbin/ifmcstat/ (props

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

2011-05-23 Thread Pan Tsu
Andriy Gapon a...@freebsd.org writes: on 10/05/2011 19:44 Jung-uk Kim said the following: Author: jkim Date: Tue May 10 16:44:16 2011 New Revision: 221743 URL: http://svn.freebsd.org/changeset/base/221743 Log: Add SC_PIXEL_MODE to GENERIC for amd64 and i386. Requested by:

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

2011-05-23 Thread Andriy Gapon
on 23/05/2011 16:11 Pan Tsu said the following: Andriy Gapon a...@freebsd.org writes: on 10/05/2011 19:44 Jung-uk Kim said the following: Author: jkim Date: Tue May 10 16:44:16 2011 New Revision: 221743 URL: http://svn.freebsd.org/changeset/base/221743 Log: Add SC_PIXEL_MODE to

svn commit: r222213 - head/sys/netinet

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 13:51:57 2011 New Revision: 13 URL: http://svn.freebsd.org/changeset/base/13 Log: A number of quite incremental refinements to struct inpcbinfo's definition: (1) Add a locking guide for inpcbinfo. (2) Annotate inpcbinfo fields with synchronisation

svn commit: r222214 - stable/8/sys/powerpc/aim

2011-05-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon May 23 14:16:45 2011 New Revision: 14 URL: http://svn.freebsd.org/changeset/base/14 Log: MFC r221981: Remove a useless check that could break early boot if the page zero routines are called too early in the boot process. Modified:

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

2011-05-23 Thread Warner Losh
On May 22, 2011, at 11:29 PM, Andrey V. Elsukov wrote: On 23.05.2011 6:29, Warner Losh wrote: Looking at one of my flash drives that shows the problem: da0: 15423MB (31588351 512 byte sectors: 255H 63S/T 1966C) GEOM_PART: partition 1 has end offset beyond last LBA: 31588350 31588325

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread John Baldwin
On Monday, May 23, 2011 8:05:12 am Bjoern A. Zeeb wrote: On May 22, 2011, at 10:01 PM, Warner Losh wrote: On May 22, 2011, at 3:30 PM, Mark Linimon wrote: On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls

svn commit: r222215 - in head/sys: netinet netinet6

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 15:23:18 2011 New Revision: 15 URL: http://svn.freebsd.org/changeset/base/15 Log: Move from passing a wildcard boolean to a general set up lookup flags into in_pcb_lport(), in_pcblookup_local(), and in_pcblookup_hash(), and similarly for IPv6

svn commit: r222216 - head/sys/kern

2011-05-23 Thread Jaakko Heinonen
Author: jh Date: Mon May 23 16:40:44 2011 New Revision: 16 URL: http://svn.freebsd.org/changeset/base/16 Log: In init_dynamic_kenv(), ignore environment strings exceeding the KENV_MNAMELEN + 1 + KENV_MVALLEN + 1 length limit to avoid buffer overflow in getenv(). Currenly loader(8)

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

2011-05-23 Thread Doug Barton
I don't know enough about the topic to know what's best, however what I would like to add to the conversation is that it would be nice if we did it the same way that windows and linux do it, because otherwise you end up with messages like these: GEOM: ad0s2: geometry does not match label

svn commit: r222217 - head/sys/netinet

2011-05-23 Thread Robert Watson
Author: rwatson Date: Mon May 23 19:32:02 2011 New Revision: 17 URL: http://svn.freebsd.org/changeset/base/17 Log: Continue to refine inpcb reference counting and locking, in preparation for reworking of inpcbinfo locking: (1) Convert inpcb reference counting from manually

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Dimitry Andric
On 2011-05-23 14:05, Bjoern A. Zeeb wrote: Is there an authoritative source for these names? With regard to the 'triple' or 'quad' strings, e.g. arch-vendor-os or arch-vendor-os-abi, the canonical source is really GNU config.guess, which is used in autoconf, gettext, and most other GNU tools.

Re: svn commit: r222183 - head/lib/clang

2011-05-23 Thread Dimitry Andric
On 2011-05-22 23:30, Mark Linimon wrote: On Sun, May 22, 2011 at 10:22:56PM +0200, Roman Divacky wrote: The problem here is deeper in my opinion. What FreeBSD calls amd64 the rest of the world (ie. linux) calls x86_64, I think that instead of this we should teach llvm/clang about amd64. Maybe

svn commit: r222218 - head/sys/conf

2011-05-23 Thread Ruslan Ermilov
Author: ru Date: Mon May 23 19:57:12 2011 New Revision: 18 URL: http://svn.freebsd.org/changeset/base/18 Log: expr - sh arithmetic expansion Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r222219 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 19:58:08 2011 New Revision: 19 URL: http://svn.freebsd.org/changeset/base/19 Log: Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected

svn commit: r222220 - head/sys/kern

2011-05-23 Thread Ruslan Ermilov
Author: ru Date: Mon May 23 19:59:01 2011 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: BKVASIZE was bumped to 16k more than a decade ago. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r222222 - head/sys/dev/acpica

2011-05-23 Thread Jung-uk Kim
Author: jkim Date: Mon May 23 20:12:36 2011 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: Decrease ACPI-fast timecounter quality to 900 and increase HPET timecounter quality to 950. HPET on modern platforms usually have better resolution and lower latency than

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

2011-05-23 Thread Warner Losh
On May 23, 2011, at 12:44 PM, Doug Barton wrote: I don't know enough about the topic to know what's best, however what I would like to add to the conversation is that it would be nice if we did it the same way that windows and linux do it, because otherwise you end up with messages like

svn commit: r222223 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 20:18:09 2011 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. Modified:

svn commit: r222224 - head/sbin/hastd

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 20:59:50 2011 New Revision: 24 URL: http://svn.freebsd.org/changeset/base/24 Log: To handle BIO_FLUSH and BIO_DELETE requests in secondary worker we need to use ioctl(2). This is why we can't use capsicum for now to sandbox secondary. Capsicum is still

svn commit: r222225 - head/sys/geom/gate

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 21:00:37 2011 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: Recognize BIO_FLUSH requests and pass them to userland. MFC after:1 week Modified: head/sys/geom/gate/g_gate.c Modified: head/sys/geom/gate/g_gate.c

svn commit: r222226 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:00:56 2011 New Revision: 26 URL: http://svn.freebsd.org/changeset/base/26 Log: Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary

svn commit: r222227 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:11:46 2011 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. Modified: head/sys/dev/msk/if_msk.c

svn commit: r222228 - in head/sbin: hastctl hastd

2011-05-23 Thread Pawel Jakub Dawidek
Author: pjd Date: Mon May 23 21:15:19 2011 New Revision: 28 URL: http://svn.freebsd.org/changeset/base/28 Log: Keep statistics on number of BIO_READ, BIO_WRITE, BIO_DELETE and BIO_FLUSH requests as well as number of activemap updates. Number of BIO_WRITEs and activemap updates

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

2011-05-23 Thread Wilko Bulte
Quoting Poul-Henning Kamp, who wrote on Mon, May 23, 2011 at 06:56:30AM + .. In message 4dd9f0a3@freebsd.org, Andrey V. Elsukov writes: There is another opinion: http://www.boot-us.com/gloss02.htm There is the convention that partitions should always start and end on *= cylinder

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

2011-05-23 Thread Poul-Henning Kamp
In message 20110523210915.ga3...@freebie.xs4all.nl, Wilko Bulte writes: Quoting Poul-Henning Kamp, who wrote on Mon, May 23, 2011 at 06:56:30AM + .. This requirement dates back to smart BIOS'es and ST-506 drives which couldn't ask the drive for its geometry. WD1003 anyone? Hehe, I just

Re: svn commit: r222143 - in head/sys: net netinet netinet6

2011-05-23 Thread Oleksandr Tymoshenko
On 20/05/2011 12:12 PM, Qing Li wrote: Author: qingli Date: Fri May 20 19:12:20 2011 New Revision: 222143 URL: http://svn.freebsd.org/changeset/base/222143 Log: The statically configured (permanent) ARP entries are removed when an interface is brought down, even though the interface

svn commit: r222229 - head/sys/conf

2011-05-23 Thread Warner Losh
Author: imp Date: Mon May 23 21:32:45 2011 New Revision: 29 URL: http://svn.freebsd.org/changeset/base/29 Log: Test against no rather than yes for MK_KERNEL_SYMBOLS Also, change DEBUG back to DEBUG_FLAGS in kmod.mk. The latter accidentally snuck in with my backwards compat fix.

svn commit: r222230 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:51:47 2011 New Revision: 30 URL: http://svn.freebsd.org/changeset/base/30 Log: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_mskreg.h Modified: head/sys/dev/msk/if_msk.c

svn commit: r222231 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:56:04 2011 New Revision: 31 URL: http://svn.freebsd.org/changeset/base/31 Log: When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. Modified: head/sys/dev/msk/if_msk.c

svn commit: r222232 - head/share/man/man4

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 22:02:15 2011 New Revision: 32 URL: http://svn.freebsd.org/changeset/base/32 Log: Add 88E8075 Yukon Supreme to the list of supported hardware list. Modified: head/share/man/man4/msk.4 Modified: head/share/man/man4/msk.4

svn commit: r222233 - head/sys/fs/nfsclient

2011-05-23 Thread Rick Macklem
Author: rmacklem Date: Mon May 23 22:31:42 2011 New Revision: 33 URL: http://svn.freebsd.org/changeset/base/33 Log: Set the MNT_NFS4ACLS flag for an NFSv4 client mount if the NFSv4 server supports it. Requested by trasz. MFC after:2 weeks Modified:

svn commit: r222234 - head/sys/mips/include

2011-05-23 Thread Attilio Rao
Author: attilio Date: Mon May 23 23:35:50 2011 New Revision: 34 URL: http://svn.freebsd.org/changeset/base/34 Log: Merge r221846 from largeSMP project branch: Fix arguments passing to _long() version of atomic function for mips. The native implementation is bogus in that regard

svn commit: r222239 - head/sys/powerpc/ps3

2011-05-23 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue May 24 02:19:45 2011 New Revision: 39 URL: http://svn.freebsd.org/changeset/base/39 Log: Add RTC support for the LV1 clock on the PS3. The hypervisor won't let us set it, but it's better than nothing. Modified: head/sys/powerpc/ps3/ps3bus.c Modified:

svn commit: r222240 - head/sys/dev/ath/ath_hal/ar5416

2011-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 05:34:45 2011 New Revision: 40 URL: http://svn.freebsd.org/changeset/base/40 Log: Add in descriptions for TX descriptor fields ctl8-11 - these fields control the antenna control bits for the four TX series and the TPC settings for TX series 1, 2, 3.

svn commit: r222241 - head/sys/dev/ath/ath_hal/ar5416

2011-05-23 Thread Adrian Chadd
Author: adrian Date: Tue May 24 05:49:02 2011 New Revision: 41 URL: http://svn.freebsd.org/changeset/base/41 Log: Use the new per-series antenna and TPC definitions when setting ctl8-11. This should hopefully make it clearer to developers what is going on and when TPC is being