bsdgrep: does anyone see this?

2011-11-22 Thread poyopoyo
Hi, On the latest -CURRENT of r227785, I found bsdgrep acts differently from GNU grep; bsdgrep -R exits at first unreadable directory. == $ bsdgrep -R ddb /etc/ /etc/defaults/rc.conf:ddb_enable=NO # Set to YES to load ddb scripts at boot. /etc/defaults/rc.conf:ddb_config=/etc/ddb.conf

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Kostik Belousov
On Mon, Nov 21, 2011 at 06:39:26PM +0100, Robert Millan wrote: (replying with Debian hat this time) 2011/11/21 Kostik Belousov kostik...@gmail.com: There are some implementations that use FreeBSD kernel, and which could potentially benefit from providing its own value for

Re: /usr/home vs /home

2011-11-22 Thread Thomas Mueller mueller6727
In the old days home was typically a separate partition that was mounted on /home. If you didn't have a partition the installer would create /usr/home and symlink /home to it. The root was also typically an independent partition, so it made sense not to clutter it up with home directories.

Re: /usr/home vs /home

2011-11-22 Thread Hendrik Hasenbein
On 22.11.2011 11:30, Thomas Mueller mueller6727@bellsouth.net wrote: In the old days home was typically a separate partition that was mounted on /home. If you didn't have a partition the installer would create /usr/home and symlink /home to it. The root was also typically an independent

Re: /usr/home vs /home

2011-11-22 Thread O. Hartmann
On 11/22/11 12:08, Hendrik Hasenbein wrote: On 22.11.2011 11:30, Thomas Mueller mueller6727@bellsouth.net wrote: In the old days home was typically a separate partition that was mounted on /home. If you didn't have a partition the installer would create /usr/home and symlink /home to it.

RLIMIT_DATA and malloc(3) use of mmap(2)

2011-11-22 Thread Kostik Belousov
I was reminded about the patch I wrote for Igor Sysoev some time ago. The issue the patch tries to handle is that jemalloc uses mmap() instead of sbrk() for pages allocation, and thus RLIMIT_DATA limit is no longer effective to put the bounds on the process heap. Since reverting to sbrk for such

Re: did SVN r227753 (locale changes) break something?

2011-11-22 Thread David Chisnall
On 22 Nov 2011, at 00:21, Michael Butler wrote: #0 0x283eb243 in fprintf () from /lib/libc.so.7 This looks suspicious. uselocale() does not call fprintf(). In fact, nothing in xlocale.c does - fprintf() accesses the current locale, so calling it from anywhere in the setlocale() path is

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 12:39:26 pm Robert Millan wrote: (replying with Debian hat this time) 2011/11/21 Kostik Belousov kostik...@gmail.com: There are some implementations that use FreeBSD kernel, and which could potentially benefit from providing its own value for

Re: did SVN r227753 (locale changes) break something?

2011-11-22 Thread David Chisnall
It's entirely possible - please can you compile libc with debug symbols? The back trace isn't very informative... David On 22 Nov 2011, at 00:21, Michael Butler wrote: VLC (multimedia/vlc) on my -current now crashes leaving a trace like this .. imb@toshi:/home/imb gdb `which vlc` vlc.core

Re: /usr/home vs /home

2011-11-22 Thread C. P. Ghost
On Tue, Nov 22, 2011 at 11:30 AM, Thomas Mueller mueller6727@bellsouth.net wrote: But I don't see any advantage to putting /, /usr, and /var on separate partitions. Tom Regarding separate /usr and /var: the advantage is that you can keep /usr read-only which is also important for security

Re: did SVN r227753 (locale changes) break something?

2011-11-22 Thread Michael Butler
On 11/22/11 08:37, David Chisnall wrote: Do you have valgrind installed? It would probably also be helpful to see the results from that. With symbols for libc .. #0 xlocale_retain (val=0x0) at atomic.h:363 363 ATOMIC_ASM(add, long, addl %1,%0, ir, v); [New Thread 28804300 (LWP

Re: did SVN r227753 (locale changes) break something?

2011-11-22 Thread David Chisnall
On 22 Nov 2011, at 14:00, Michael Butler wrote: On 11/22/11 08:52, David Chisnall wrote: Please can you try this patch? ... That works :-) Thanks! Fixed in head (r227818), thanks for the report! David ___ freebsd-current@freebsd.org mailing

Re: ixgbe and fast interrupts

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 12:36:15 pm Luigi Rizzo wrote: On Mon, Nov 21, 2011 at 11:29:29AM -0500, John Baldwin wrote: On Friday, November 18, 2011 5:04:58 pm Luigi Rizzo wrote: On Fri, Nov 18, 2011 at 11:16:00AM -0800, Doug Barton wrote: On 11/18/2011 09:54, Luigi Rizzo wrote:

Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion.

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 1:05:28 pm Nathan Whitehorn wrote: On 11/21/11 11:52, John Baldwin wrote: On Saturday, November 19, 2011 7:07:58 pm Nathan Whitehorn wrote: On 11/18/11 17:09, nev...@tx.net wrote: If you are performating a manual partion in 9.0-RC2 bsdinstall and you delete

Re: loader crash / BTX halted on 9.0-RC2 DVD with AMD pseudo-RAID

2011-11-22 Thread John Baldwin
On Monday, November 21, 2011 1:45:36 pm John Nielsen wrote: This weekend I downloaded the Freebsd 9.0 RC2 amd64 ISO image and burned it to a DVD. I have a computer that currently runs Windows 7 but I plan to install FreeBSD on it in the near future so I booted it up from the DVD to check the

Re: 9.0-RC2 - bsdinstall miscount of remaining diskspace after partition deletion.

2011-11-22 Thread Nathan Whitehorn
On 11/22/11 07:46, John Baldwin wrote: On Monday, November 21, 2011 1:05:28 pm Nathan Whitehorn wrote: On 11/21/11 11:52, John Baldwin wrote: On Saturday, November 19, 2011 7:07:58 pm Nathan Whitehorn wrote: On 11/18/11 17:09, nev...@tx.net wrote: If you are performating a manual partion in

RE: Adding disk firmware programming capability to camcontrol

2011-11-22 Thread Nima Misaghian
Hi, Sorry for the late reply. As I mentioned in the man page, the fwdownload command currently only supports SCSI disks. fwdownload: Program firmware of the named SCSI device using the image file provided. We have added firmware download command to atacontrol at work, for which I have

Re: RLIMIT_DATA and malloc(3) use of mmap(2)

2011-11-22 Thread Kostik Belousov
On Tue, Nov 22, 2011 at 07:43:57PM +0400, Maxim Dounin wrote: Hello! On Tue, Nov 22, 2011 at 02:44:10PM +0200, Kostik Belousov wrote: I was reminded about the patch I wrote for Igor Sysoev some time ago. The issue the patch tries to handle is that jemalloc uses mmap() instead of sbrk()

Re: RLIMIT_DATA and malloc(3) use of mmap(2)

2011-11-22 Thread Maxim Dounin
Hello! On Tue, Nov 22, 2011 at 02:44:10PM +0200, Kostik Belousov wrote: I was reminded about the patch I wrote for Igor Sysoev some time ago. The issue the patch tries to handle is that jemalloc uses mmap() instead of sbrk() for pages allocation, and thus RLIMIT_DATA limit is no longer

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Robert Millan
On Tue, Nov 22, 2011 at 11:35:15AM +0200, Kostik Belousov wrote: I am fine with __FreeBSD_kernel being empty, please submit the patch. Here. -- Robert Millan Index: sys/sys/param.h === --- sys/sys/param.h (revision 227580) +++

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Robert Millan
2011/11/22 John Baldwin j...@freebsd.org: Is __FreeBSD_version defined if __FreeBSD_kernel__ is defined on kFreeBSD? Not currently (except for kernel-space code), but if all the checks that use __FreeBSD_version are like the one you describe, I think it'd make sense. But we need to make sure

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Ed Schouten
Hi Robert, * Robert Millan r...@freebsd.org, 2022 18:53: +#undef __FreeBSD_kernel__ +#define __FreeBSD_kernel__ So why not remove the #undef and not let the compiler define it at all? -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpNzLA7HWcFI.pgp Description: PGP signature

buildworld race?

2011-11-22 Thread Andreas Tobler
Anyone seen this too? make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and powerpc64 while doing a make -j4 buildworld. Continuing with -DNO_CLEAN -j1 completes the build. Thanks, Andreas

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Robert Millan
Hi Ed, 2011/11/22 Ed Schouten e...@80386.nl: +#undef __FreeBSD_kernel__ +#define __FreeBSD_kernel__ So why not remove the #undef and not let the compiler define it at all? Well I have no objection if the #undef is removed. I don't understand why you consider it a problem though. It's not

Re: buildworld race?

2011-11-22 Thread Ivan Klymenko
В Tue, 22 Nov 2011 19:35:22 +0100 Andreas Tobler andreast-l...@fgznet.ch пишет: Anyone seen this too? make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and powerpc64 while doing a make -j4 buildworld. Continuing

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread John Baldwin
On Tuesday, November 22, 2011 12:59:19 pm Robert Millan wrote: 2011/11/22 John Baldwin j...@freebsd.org: Is __FreeBSD_version defined if __FreeBSD_kernel__ is defined on kFreeBSD? Not currently (except for kernel-space code), but if all the checks that use __FreeBSD_version are like the one

Re: buildworld race?

2011-11-22 Thread Ivan Klymenko
В Tue, 22 Nov 2011 21:20:10 +0200 Ivan Klymenko fi...@ukr.net пишет: В Tue, 22 Nov 2011 19:35:22 +0100 Andreas Tobler andreast-l...@fgznet.ch пишет: Anyone seen this too? make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Robert Millan
2011/11/22 John Baldwin j...@freebsd.org: Not currently (except for kernel-space code), but if all the checks that use __FreeBSD_version are like the one you describe, I think it'd make sense. I can think of cases where you might want it exposed (e.g. in the parts of net-snmp that grovel

Re: buildworld race?

2011-11-22 Thread Navdeep Parhar
On Tue, Nov 22, 2011 at 10:35 AM, Andreas Tobler andreast-l...@fgznet.ch wrote: Anyone seen this too? Yes, I've been running into this error too. Navdeep make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and

Re: ee (easy editor) bugged on 9.0?

2011-11-22 Thread Jason Edwards
On Sun, Nov 20, 2011 at 11:02 PM, Stefan Bethke s...@lassitu.de wrote: Am 20.11.2011 um 14:41 schrieb Jason Edwards: Some of you asked for the environmental settings. Using 'env' the output begins with: -- on console -- TERM=cons25 SHELL=/usr/local/bin/bash -- via SSH -- TERM=xterm

Re: buildworld race?

2011-11-22 Thread Ivan Klymenko
В Tue, 22 Nov 2011 19:35:22 +0100 Andreas Tobler andreast-l...@fgznet.ch пишет: Anyone seen this too? make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and powerpc64 while doing a make -j4 buildworld. Continuing

Re: 0 Re: buildworld race?

2011-11-22 Thread Andreas Tobler
On 22.11.11 22:26, Ivan Klymenko wrote: В Tue, 22 Nov 2011 19:35:22 +0100 Andreas Toblerandreast-l...@fgznet.ch пишет: Anyone seen this too? make: don't know how to make /usr/obj/export/devel/fbsd/src/tmp/usr/lib/libkrb5.a. Stop *** Error code 2 Happens on amd64 and powerpc64 while doing a

Re: [PATCH] Detect GNU/kFreeBSD in user-visible kernel headers

2011-11-22 Thread Larry Rosenman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/22/2011 1:21 PM, John Baldwin wrote: On Tuesday, November 22, 2011 12:59:19 pm Robert Millan wrote: 2011/11/22 John Baldwin j...@freebsd.org: Is __FreeBSD_version defined if __FreeBSD_kernel__ is defined on kFreeBSD? Not currently (except

Remote access to HP Proliant hardware available to fix the problem with failing booting 9.0 on ciss(4), HP SmartArray P410i

2011-11-22 Thread Palle Girgensohn
Hi, When installing 9.0 RC1 on our HP servers, we of course wanted to use gpt intead of fdisk. However, it doesn't work. First I tried gptzfsboot, it failed with an error (see this thread: http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026175.html) Second, I tried a standard

[head tinderbox] failure on powerpc/powerpc

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-22 21:46:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-22 21:46:00 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-11-22 21:46:00 - cleaning the object tree TB --- 2011-11-22 21:46:23 - cvsupping the source tree TB --- 2011-11-22 21:46:23 -

[head tinderbox] failure on powerpc64/powerpc

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-22 22:16:15 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-22 22:16:15 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2011-11-22 22:16:15 - cleaning the object tree TB --- 2011-11-22 22:16:33 - cvsupping the source tree TB --- 2011-11-22 22:16:33 -

[head tinderbox] failure on sparc64/sparc64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-22 23:20:12 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-22 23:20:12 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2011-11-22 23:20:13 - cleaning the object tree TB --- 2011-11-22 23:20:31 - cvsupping the source tree TB --- 2011-11-22 23:20:31 -

[head tinderbox] failure on arm/arm

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 00:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 00:20:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-11-23 00:20:00 - cleaning the object tree TB --- 2011-11-23 00:20:30 - cvsupping the source tree TB --- 2011-11-23 00:20:30 -

Re: Remote access to HP Proliant hardware available to fix the problem with failing booting 9.0 on ciss(4), HP SmartArray P410i

2011-11-22 Thread Sean Bruno
On Tue, 2011-11-22 at 14:59 -0800, Palle Girgensohn wrote: Hi, When installing 9.0 RC1 on our HP servers, we of course wanted to use gpt intead of fdisk. However, it doesn't work. First I tried gptzfsboot, it failed with an error (see this thread:

pam problems

2011-11-22 Thread Michael Butler
Whatever was just changed in the libpam family, it breaks courier-authdaemond: authdaemond: in openpam_load_module(): no pam_unix.so found imb ___ freebsd-current@freebsd.org mailing list

[head tinderbox] failure on ia64/ia64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 01:11:27 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 01:11:27 - starting HEAD tinderbox run for ia64/ia64 TB --- 2011-11-23 01:11:27 - cleaning the object tree TB --- 2011-11-23 01:11:39 - cvsupping the source tree TB --- 2011-11-23 01:11:39 -

[head tinderbox] failure on amd64/amd64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 00:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 00:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2011-11-23 00:20:00 - cleaning the object tree TB --- 2011-11-23 00:20:52 - cvsupping the source tree TB --- 2011-11-23 00:20:52 -

Re: loader crash / BTX halted on 9.0-RC2 DVD with AMD pseudo-RAID

2011-11-22 Thread John Nielsen
On Nov 22, 2011, at 10:26 AM, John Baldwin j...@freebsd.org wrote: On Monday, November 21, 2011 1:45:36 pm John Nielsen wrote: This weekend I downloaded the Freebsd 9.0 RC2 amd64 ISO image and burned it to a DVD. I have a computer that currently runs Windows 7 but I plan to install FreeBSD

[head tinderbox] failure on mips/mips

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 02:28:45 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 02:28:45 - starting HEAD tinderbox run for mips/mips TB --- 2011-11-23 02:28:45 - cleaning the object tree TB --- 2011-11-23 02:28:54 - cvsupping the source tree TB --- 2011-11-23 02:28:54 -

[head tinderbox] failure on sparc64/sparc64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 03:22:16 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 03:22:16 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2011-11-23 03:22:16 - cleaning the object tree TB --- 2011-11-23 03:22:25 - cvsupping the source tree TB --- 2011-11-23 03:22:25 -

[head tinderbox] failure on powerpc/powerpc

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 02:50:13 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 02:50:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-11-23 02:50:13 - cleaning the object tree TB --- 2011-11-23 02:50:24 - cvsupping the source tree TB --- 2011-11-23 02:50:24 -

[head tinderbox] failure on i386/i386

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 00:20:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 00:20:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-11-23 00:20:00 - cleaning the object tree TB --- 2011-11-23 00:20:53 - cvsupping the source tree TB --- 2011-11-23 00:20:53 -

[head tinderbox] failure on powerpc64/powerpc

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 03:10:38 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 03:10:38 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2011-11-23 03:10:38 - cleaning the object tree TB --- 2011-11-23 03:10:48 - cvsupping the source tree TB --- 2011-11-23 03:10:48 -

[head tinderbox] failure on arm/arm

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 05:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 05:10:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-11-23 05:10:00 - cleaning the object tree TB --- 2011-11-23 05:10:15 - cvsupping the source tree TB --- 2011-11-23 05:10:15 -

[PATCH] Detect GNU/kFreeBSD in user-visible kernel headers (v2)

2011-11-22 Thread Robert Millan
Here we go again :-) Out of the kernel headers that are installed in /usr/include/ hierracy, there are some which include support multiple operating systems (usually FreeBSD and other *BSD flavours). This patch adds support to detect GNU/kFreeBSD as well. In all cases, we match the same

[head tinderbox] failure on ia64/ia64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 06:00:12 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 06:00:12 - starting HEAD tinderbox run for ia64/ia64 TB --- 2011-11-23 06:00:12 - cleaning the object tree TB --- 2011-11-23 06:00:18 - cvsupping the source tree TB --- 2011-11-23 06:00:18 -

Re: Remote access to HP Proliant hardware available to fix the problem with failing booting 9.0 on ciss(4), HP SmartArray P410i

2011-11-22 Thread Palle Girgensohn
23 nov 2011 kl. 02:20 skrev Sean Bruno sean...@yahoo-inc.com: On Tue, 2011-11-22 at 14:59 -0800, Palle Girgensohn wrote: Hi, When installing 9.0 RC1 on our HP servers, we of course wanted to use gpt intead of fdisk. However, it doesn't work. First I tried gptzfsboot, it failed with an

[head tinderbox] failure on amd64/amd64

2011-11-22 Thread FreeBSD Tinderbox
TB --- 2011-11-23 05:10:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-11-23 05:10:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2011-11-23 05:10:00 - cleaning the object tree TB --- 2011-11-23 05:10:28 - cvsupping the source tree TB --- 2011-11-23 05:10:28 -