Re: [RFQ] make witness panic an option

2012-11-16 Thread Alfred Perlstein
On 11/15/12 11:22 PM, Andriy Gapon wrote: on 16/11/2012 01:20 Alfred Perlstein said the following: We need to enable developers to skip these areas and test their own code. I wish that there was a magic knob to ignore build breakages, so that the developers could test how their own code compile

Build and Release automation with Perl.

2012-11-16 Thread white.heron white
Dear All, I am keen to know if you have any guideline for Build and Release Automation with Perl Language. I am interested to drill down further to explore this field. Kindly advised. Thanks.   Regards, MT TAJUDIN ___ freebsd-hackers@freebsd.org mail

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-16 Thread Attilio Rao
On Fri, Nov 16, 2012 at 7:54 AM, Andriy Gapon wrote: > on 16/11/2012 00:58 Ryan Stone said the following: >> At work we have some custom watchdog hardware that sends an NMI upon >> expiry. We've modified the kernel to panic when it receives the watchdog >> NMI. I've been trying the "stop_schedul

Re: [RFQ] make witness panic an option

2012-11-16 Thread Attilio Rao
On Fri, Nov 16, 2012 at 7:19 AM, Andriy Gapon wrote: > on 16/11/2012 01:38 Attilio Rao said the following: >> On Thu, Nov 15, 2012 at 8:51 PM, Andriy Gapon wrote: >>> on 15/11/2012 22:00 Adrian Chadd said the following: But I think my change is invaluable for development, where you want to >

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-16 Thread Andriy Gapon
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 00:58 Ryan Stone said the following: >>> At work we have some custom watchdog hardware that sends an NMI upon >>> expiry. We've modified the kernel to panic when it receives

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-16 Thread Attilio Rao
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 00:58 Ryan Stone said the following: At work we have some custom watchdog hardware that sends an NMI upon

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-16 Thread Andriy Gapon
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 00:58 Ryan Stone said the following: > At work we have

Re: LK_SHARED/LK_DOWNGRADE adjustments to lock.9 manual page

2012-11-16 Thread Andriy Gapon
on 15/11/2012 23:44 Attilio Rao said the following: > Do you think you can test this patch?: > http://www.freebsd.org/~attilio/lockmgr_forcerec.patch I will use this patch in my tree, but I think that it is effectively already quite well tested by using INVARIANTS+WITNESS. -- Andriy Gapon _

Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Mark Saad
All I wanted to share with you my method for network installs of FreeBSD 9.1-RCn . This does not use PC-BSD just stock FreeBSD. This should work on 9.0-RELEASE is known to work on 9.1-RC's and BETA. I decided to use pc-sysinstall in place of bsdinstall as pc-sysinstall supported using a config fi

Re: [RFQ] make witness panic an option

2012-11-16 Thread Adrian Chadd
On 16 November 2012 00:26, Alfred Perlstein wrote: > Adding another option to tag asserts so that it was sort of like: > > KASSERT((cond, section, "string")); would be interesting, then you could > turn KASSERTS on based on "vfs" or possibly file by file. That's orthogonal to my developer-focuse

Re: [RFQ] make witness panic an option

2012-11-16 Thread Alfred Perlstein
On 11/16/12 10:18 AM, Adrian Chadd wrote: On 16 November 2012 00:26, Alfred Perlstein wrote: Adding another option to tag asserts so that it was sort of like: KASSERT((cond, section, "string")); would be interesting, then you could turn KASSERTS on based on "vfs" or possibly file by file. Th

Equivalent of linux F_SETLEASE/F_GETLEASE

2012-11-16 Thread Sushanth Rai
Is there a equivalent of Linux "Leases" functionality in FreeBSD ? If not, are there any plans of adding it in the future release? Thanks, Sushanth ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

clang mangling some static struct names?

2012-11-16 Thread Navdeep Parhar
On a very recent clang-built HEAD, I see that some static structures have a ".n" appended to their name. For example, this declaration in the cxgbe driver now results in a t4_list.0 symbol in the KLD: static SLIST_HEAD(, adapter) t4_list; # nm if_cxgbe.ko | grep t4_list 0020 b t4_li

Re: clang mangling some static struct names?

2012-11-16 Thread Roman Divacky
Yes, it does that. iirc so that you can have things like void foo(int cond) { if (cond) { static int i = 7; } else { static int i = 8; } } working correctly. I dont know why scsi_low_statics is there multiple times. On Fri, Nov 16, 2012 at 12:36:13PM -0800, Navdeep Parhar wrote: >

Re: clang mangling some static struct names?

2012-11-16 Thread Navdeep Parhar
On 11/16/12 13:49, Roman Divacky wrote: > Yes, it does that. iirc so that you can have things like > > void foo(int cond) { > if (cond) { > static int i = 7; > } else { > static int i = 8; > } > } > > working correctly. It's not appending the .n everywhere. And when it does, I don

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: All I wanted to share with you my method for network installs of FreeBSD 9.1-RCn . This does not use PC-BSD just stock FreeBSD. This should work on 9.0-RELEASE is known to work on 9.1-RC's and BETA. I decided to use pc-sysinstall in place of bsdinstall as p

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: Useful paths on /export, /export/install/freebsd/9.1/{i386,amd64} this is the contents of the install media rsync'd to a local filesystem Do you have a way to choose either i386 or amd64 installs? 5 I changed my rc.conf to start a simple shell script and

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config just does Actually, it does work on a real machine. It stalls on a VirtualBox VM during or after the NFS root mount. ___ freebsd-hackers@free

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Mark Saad
On Nov 16, 2012, at 8:44 PM, Warren Block wrote: > On Fri, 16 Nov 2012, Warren Block wrote: > >> Trying to start this from SYSLINUX almost works. My menu config just does > > Actually, it does work on a real machine. It stalls on a VirtualBox VM > during or after the NFS root mount. Stran

Fwd: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Mark Saad
> > On Nov 16, 2012, at 8:35 PM, Warren Block wrote: > >> On Fri, 16 Nov 2012, Mark Saad wrote: >> >>> Useful paths on /export, /export/install/freebsd/9.1/{i386,amd64} >>> this is the contents of the install media rsync'd to a local filesystem >> >> Do you have a way to choose either i386 or

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: On Nov 16, 2012, at 8:44 PM, Warren Block wrote: On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config just does Actually, it does work on a real machine. It stalls on a VirtualBox VM during or aft

[Not this year] Re: FreeBSD in Google Code-In 2012? You can help too!

2012-11-16 Thread Wojciech A. Koszek
On Fri, Nov 02, 2012 at 08:13:18PM +, Wojciech A. Koszek wrote: > On Tue, Oct 16, 2012 at 10:19:57AM +, Wojciech A. Koszek wrote: > > (cross-posted message; please keep discussion on freebsd-hackers@) > > > > Hello, > > > > Last year FreeBSD qualified for Google Code-In 2011 event--contes