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.co

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 : > > There are some implementations that > > use FreeBSD kernel, and which could potentially benefit from providing > > its own value for __FreeBSD_kernel. > > Act

Re: /usr/home vs /home

2011-11-22 Thread Thomas Mueller
> 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 directori

Re: /usr/home vs /home

2011-11-22 Thread Hendrik Hasenbein
On 22.11.2011 11:30, "Thomas Mueller > 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 n

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 >> 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 >>> typi

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 pu

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 lik

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 : > > There are some implementations that > > use FreeBSD kernel, and which could potentially benefit from providing > > its own value for __FreeBSD_kernel. > > Actu

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.c

Re: /usr/home vs /home

2011-11-22 Thread C. P. Ghost
On Tue, Nov 22, 2011 at 11:30 AM, <"Thomas Mueller 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 reasons since modifyi

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 (L

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 mailin

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 wrot

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

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 h

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 9

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 <> device using the image file provided." We have added firmware download command to atacontrol at work, for which I have attache

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 > >

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 > ef

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) +++ sys

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

2011-11-22 Thread Robert Millan
2011/11/22 John Baldwin : > 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 that defining it w

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

2011-11-22 Thread Ed Schouten
Hi Robert, * Robert Millan , 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 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 : >> +#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 terribly

Re: buildworld race?

2011-11-22 Thread Ivan Klymenko
В Tue, 22 Nov 2011 19:35:22 +0100 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 -j

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 : > > 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 descri

Re: buildworld race?

2011-11-22 Thread Ivan Klymenko
В Tue, 22 Nov 2011 21:20:10 +0200 Ivan Klymenko пишет: > В Tue, 22 Nov 2011 19:35:22 +0100 > 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

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

2011-11-22 Thread Robert Millan
2011/11/22 John Baldwin : >> 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 around in k

Re: buildworld race?

2011-11-22 Thread Navdeep Parhar
On Tue, Nov 22, 2011 at 10:35 AM, Andreas Tobler 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 powerpc64 while doing a m

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 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 пишет: > 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 -j

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 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. Con

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 : >>> Is __FreeBSD_version defined if __FreeBSD_kernel__ is defined >>> on kFreeBSD? >> >> Not currently (except for

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 gpt

[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 - /usr

[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 - /u

[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 - /usr

[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 - /usr/bin/csu

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: > http://lists.freebsd.org/pipermail

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 http://lists.freebsd.org/mailman/listinfo/freebsd-curre

[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 - /usr/bin/c

[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 - /usr/bin

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 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 on it in the

[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 - /usr/bin/c

[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 - /usr

[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 - /usr

[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 - /usr/bin/c

[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 - /u

[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 - /usr/bin/csu

[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 declara

[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 - /usr/bin/c

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 : > 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

[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 - /usr/bin