Re: old style kernel configuration

2012-11-25 Thread Jeremie Le Hen
Hi! On Thu, Nov 22, 2012 at 05:38:58PM +0100, Mateusz Guzik wrote: > > # make buildkernel ... KERNFAST=1 Is it documented somewhere? I was using NO_CLEAN=1. -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons. __

Re: old style kernel configuration

2012-11-25 Thread Mateusz Guzik
On Sun, Nov 25, 2012 at 11:28:48AM +0100, Jeremie Le Hen wrote: > Hi! > > On Thu, Nov 22, 2012 at 05:38:58PM +0100, Mateusz Guzik wrote: > > > > # make buildkernel ... KERNFAST=1 > > Is it documented somewhere? I was using NO_CLEAN=1. > Yep, build(7). -- Mateusz Guzik _

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Attilio Rao
On Fri, Nov 16, 2012 at 2:47 PM, Andriy Gapon wrote: > on 16/11/2012 16:41 Attilio Rao said the following: >> On Fri, Nov 16, 2012 at 1:18 PM, Andriy Gapon wrote: >>> on 16/11/2012 14:30 Attilio Rao said the following: On Fri, Nov 16, 2012 at 7:54 AM, Andriy Gapon wrote: > on 16/11/2012

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 12:29 PM, Attilio Rao wrote: > On Fri, Nov 16, 2012 at 2:47 PM, Andriy Gapon wrote: >> on 16/11/2012 16:41 Attilio Rao said the following: >>> On Fri, Nov 16, 2012 at 1:18 PM, Andriy Gapon wrote: on 16/11/2012 14:30 Attilio Rao said the following: > On Fri, Nov 1

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Thu, Nov 15, 2012 at 04:39:55PM +, Attilio Rao wrote: > On 11/15/12, Adrian Chadd wrote: > > On 15 November 2012 05:27, Giovanni Trematerra > > wrote: > > > >> I really do think that is a very bad idea. > >> When a locking assertion fails you have just to stop your mind and > >> think what

Re: [RFQ] make witness panic an option

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek wrote: > On Thu, Nov 15, 2012 at 04:39:55PM +, Attilio Rao wrote: >> On 11/15/12, Adrian Chadd wrote: >> > On 15 November 2012 05:27, Giovanni Trematerra >> > wrote: >> > >> >> I really do think that is a very bad idea. >> >> When a locki

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Andriy Gapon
on 25/11/2012 14:29 Attilio Rao said the following: > I think the patch you propose makes such effects even worse, because > it disables interrupts in generic_stop_cpus(). > What I suggest to do, is the following: > - The CPU which wins the race for generic_stop_cpus also signals the > CPUs it is w

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: > On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek > wrote: > > WITNESS is a development tool. We don't ship production kernels with > > WITNESS even compiled in. What is more efficient use of developer time: > > going through full

Re: [RFQ] make witness panic an option

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek wrote: > On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: >> On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek >> wrote: >> > WITNESS is a development tool. We don't ship production kernels with >> > WITNESS even compiled in. W

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: > On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek wrote: > > On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: > >> On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek > >> wrote: > >> > WITNESS is a development tool.

Re: [RFQ] make witness panic an option

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 1:47 PM, Pawel Jakub Dawidek wrote: > On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: >> On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek >> wrote: >> > On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: >> >> On Sun, Nov 25, 2012 at 12:39 PM, P

Re: old style kernel configuration

2012-11-25 Thread Wojciech Puchar
and - what are the man differences between the old and new ways. and it is starting to turn into a flame/bikeshed. i just don't see what's wrong in SIMPLE procedure that just use existing C compiler and just sys sources Thanks for the information. I'll restore the documentation with update

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 12:55 PM, Andriy Gapon wrote: > on 25/11/2012 14:29 Attilio Rao said the following: >> I think the patch you propose makes such effects even worse, because >> it disables interrupts in generic_stop_cpus(). >> What I suggest to do, is the following: >> - The CPU which wins t

Re: [RFQ] make witness panic an option

2012-11-25 Thread Pawel Jakub Dawidek
On Sun, Nov 25, 2012 at 01:48:23PM +, Attilio Rao wrote: > On Sun, Nov 25, 2012 at 1:47 PM, Pawel Jakub Dawidek wrote: > > On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: > >> On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek > >> wrote: > >> > On Sun, Nov 25, 2012 at 12:42:1

Re: [RFQ] make witness panic an option

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 2:06 PM, Pawel Jakub Dawidek wrote: > On Sun, Nov 25, 2012 at 01:48:23PM +, Attilio Rao wrote: >> On Sun, Nov 25, 2012 at 1:47 PM, Pawel Jakub Dawidek >> wrote: >> > On Sun, Nov 25, 2012 at 01:37:19PM +, Attilio Rao wrote: >> >> On Sun, Nov 25, 2012 at 1:12 PM, Pa

Re: [RFQ] make witness panic an option

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 1:12 PM, Pawel Jakub Dawidek wrote: > On Sun, Nov 25, 2012 at 12:42:16PM +, Attilio Rao wrote: >> On Sun, Nov 25, 2012 at 12:39 PM, Pawel Jakub Dawidek >> wrote: >> > WITNESS is a development tool. We don't ship production kernels with >> > WITNESS even compiled in. W

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Andriy Gapon
on 25/11/2012 16:01 Attilio Rao said the following: > On Sun, Nov 25, 2012 at 12:55 PM, Andriy Gapon wrote: >> on 25/11/2012 14:29 Attilio Rao said the following: >>> I think the patch you propose makes such effects even worse, because >>> it disables interrupts in generic_stop_cpus(). >>> What I

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Tim Kientzle
On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: > > On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: > >> >> On Nov 24, 2012, at 11:13 AM, Alexander Yerenkow wrote: >> >>> >>> >>> 2012/11/24 Tim Kientzle >>> On Nov 7, 2012, at 8:09 AM, Alexander Yerenkow wrote: >>> > Such expe

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 3:39 PM, Andriy Gapon wrote: > on 25/11/2012 16:01 Attilio Rao said the following: >> On Sun, Nov 25, 2012 at 12:55 PM, Andriy Gapon wrote: >>> on 25/11/2012 14:29 Attilio Rao said the following: I think the patch you propose makes such effects even worse, because >>>

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Andriy Gapon
on 25/11/2012 20:05 Attilio Rao said the following: > If you really want to do something like that please rename > s/generic_stop_cpus/generic_stop_butself() or similar convention and I > may be not opposed to it. As we discussed before, anything else besides "all but self" does not make sense. S

Re: postfix mail server infected ?

2012-11-25 Thread trafdev
Hi. Can you please point me to some discussions and solutions related to this problem? Thanks. On Sun Nov 25 02:43:10 2012, Kim Culhan wrote: On Sat, November 24, 2012 1:08 pm, trafdev wrote: > Hi. I've a dedicated stand-alone FreeBSD server: > > uname -a > FreeBSD trafd-website-freebsd 9.0-RE

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Tim Kientzle
On Nov 11, 2012, at 12:46 PM, Adrian Chadd wrote: > On 11 November 2012 12:39, Oleksandr Tymoshenko wrote: > >> At the moment HDMI output works only in a sense of video output for simple >> frame buffer. I'm trying to get GPU support ported but not sure how much time >> it will take. Eventually

Re: [RFQ] make witness panic an option

2012-11-25 Thread Adrian Chadd
The reason I haven't yet committed it is I'd like to sit down with Attilio one-on-one and figure out the _right_ way to do this. There's a time for shit-stirring and a time for getting stuff done; this is neither of those times. I don't mind taking my time on this one. Adrian __

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-25 Thread Attilio Rao
On Sun, Nov 25, 2012 at 7:20 PM, Andriy Gapon wrote: > on 25/11/2012 20:05 Attilio Rao said the following: >> If you really want to do something like that please rename >> s/generic_stop_cpus/generic_stop_butself() or similar convention and I >> may be not opposed to it. > > As we discussed before

Re: FreeBSD needs Git to ensure repo integrity

2012-11-25 Thread Dag-Erling Smørgrav
grarpamp writes: > Any of hundreds of committer and admin accounts could be compromised > with the attacker silently editing the repo. FUD. Committer accounts don't have direct access to the repo. DES -- Dag-Erling Smørgrav - d...@des.no ___ freebsd-

Incorrect use of posix_memalign() (was: Re: svn commit: r243405 - in stable/9: include lib/libc/stdlib)

2012-11-25 Thread Jilles Tjoelker
On Thu, Nov 22, 2012 at 03:19:53PM +, Ed Schouten wrote: > Author: ed > Date: Thu Nov 22 15:19:53 2012 > New Revision: 243405 > URL: http://svnweb.freebsd.org/changeset/base/243405 > Log: > MFC r229848: > Add aligned_alloc(3). > The C11 folks reinvented the wheel by introducing an

"not" user display in top

2012-11-25 Thread Nikos Vassiliadis
Hi, The attached patch adds 'not' functionality to the interactive u command in top so one can select all processes not owned by a user. This happens when the username is prefixed with a minus. Example display for -root: CPU: 0.0% user, 0.0% nice, 0.1% system, 0.0% interrupt, 99.9% idle Me

Running kgdb in batch mode.

2012-11-25 Thread Sushanth Rai
Basically I would like to get kernel backtrace of a bunch of threads from the live kernel under some conditions. When the condition is seen I would like to run kgdb, collect kernel backtrace of specific threads and exit. Is there a way run kgdb in batch mode ? Or any other way to get the stack t

Re: FreeBSD on RaspberryPi

2012-11-25 Thread Oleksandr Tymoshenko
On 2012-11-25, at 9:32 AM, Tim Kientzle wrote: > > On Nov 24, 2012, at 8:01 PM, Oleksandr Tymoshenko wrote: > >> >> On 2012-11-24, at 4:47 PM, Tim Kientzle wrote: >> >> .. skipped .. >> Tim, >> >> I'm almost done with getting kernel working with latest raspberry Pi >> firmware. Just ne