Re: ZFS DEADLKRES

2010-02-20 Thread Attilio Rao
2010/2/18 Marcin Cieslak : > My r203753 amd64 laptop falls into the deadlock situation > every night while running periodic daily script. I am pretty > certain this is related to ZFS. > > I have enabled DEADLKRES in the kernel. I even have > a separate dump partition (not used for swap). May you r

Re: time doesn't work?

2010-02-25 Thread Attilio Rao
2010/2/17 Pyun YongHyeon : > On Wed, Feb 17, 2010 at 01:12:53PM -0800, Xin LI wrote: >> Hi, >> >> On Sun, Feb 14, 2010 at 10:20 AM, Gavin Atkinson >> wrote: >> >> /mnt: write failed, filesystem is full >> >> gzip: write: No space left on device >> >> gzip: output file: randomfile.gz wrong size (16

Re: time doesn't work?

2010-02-25 Thread Attilio Rao
2010/2/25 Pyun YongHyeon : > On Thu, Feb 25, 2010 at 04:48:28PM +0100, Attilio Rao wrote: >> 2010/2/17 Pyun YongHyeon : >> > On Wed, Feb 17, 2010 at 01:12:53PM -0800, Xin LI wrote: >> >> Hi, >> >> >> >> On Sun, Feb 14, 2010 at 10:20 AM, Ga

Re: minidump fails on SMP machines

2010-02-28 Thread Attilio Rao
2010/2/28 Andrew Brampton : > Hello, > > When many interrupts are firing on my amd64 SMP machine, and a panic > occurs, dump will fail with the error "Attempt to write outside dump > device boundaries". This problem has been discussed before[1][2], and > I even filled a PR about it last year[3]. >

Re: FreeBSD 9-CURRENT (and 8.0) on MacMini (rev. 3,1)

2010-04-04 Thread Attilio Rao
2010/4/4 Phil Regnauld : > Hi everyone, > > Wasn't sure where to post this, so I'll try here as it involves -CURRENT > as well, and effort is probably best spent there. > > Have acquired a MacMini "Server" model (4 GB RAM, 2 x 500 GB disk, and > no optical drive) to build a workshop training server

Re: ZFS DEADLKRES

2010-04-08 Thread Attilio Rao
2010/2/22 Marcin Cieslak : > > > > On Sat, 20 Feb 2010, Attilio Rao wrote: > >> 2010/2/18 Marcin Cieslak : >>> >>> My r203753 amd64 laptop falls into the deadlock situation >>> every night while running periodic daily script. I am pretty >>&g

Re: Removing USB keyboard after filesystems synced causes panic with destroyed mutex twa(4)?

2010-04-13 Thread Attilio Rao
2010/3/13 Garrett Cooper : > On Wed, Mar 10, 2010 at 9:58 PM, Garrett Cooper wrote: >> On Wed, Mar 10, 2010 at 2:07 PM, Tom Couch >> wrote: >>> Hi FreeBSD-current, >>>     My name is Tom Couch, >>> I am part of the 3ware driver team recently acquired by LSI. >>> I believe Giovanni's patch, below

Re: Removing USB keyboard after filesystems synced causes panic with destroyed mutex twa(4)?

2010-04-13 Thread Attilio Rao
2010/4/13 Attilio Rao : > 2010/3/13 Garrett Cooper : >> On Wed, Mar 10, 2010 at 9:58 PM, Garrett Cooper wrote: >>> On Wed, Mar 10, 2010 at 2:07 PM, Tom Couch >>> wrote: >>>> Hi FreeBSD-current, >>>>     My name is Tom Couch, >>>&

Re: panic: deadlkres: possible deadlock detected

2010-04-19 Thread Attilio Rao
2010/4/19 Erik Cederstrand : > Hi > > I'm testing ClangBSD in a VirtualBox client and ran into a panic on the > client, but I don't think it's clang-related. I haven't tried kernel > debugging before. I tried getting a backtrace as described in > http://old.nabble.com/Re%3A-ia64--%3E-panic%3A-de

Re: panic: deadlkres: possible deadlock detected

2010-04-20 Thread Attilio Rao
2010/4/20 Erik Cederstrand : > > Den 19/04/2010 kl. 17.03 skrev Attilio Rao: > >> 2010/4/19 Erik Cederstrand : >>> Hi >>> >>> I'm testing ClangBSD in a VirtualBox client and ran into a panic on the >>> client, but I don't think it

Re: Strange disk problem

2010-04-20 Thread Attilio Rao
2010/4/20 David Ehrmann : > Initially, I noticed a problem where reading a file on this machine seemed > to stop--something like a video would just stop playing.  At first, I > thought it was the machine, but a new motherboard, CPU, and RAM later, the > problem persists.  The network card uses a di

Re: MAXCPU preparations

2010-09-27 Thread Attilio Rao
2010/9/27 Sean Bruno : > Does this look like an appropriate modification to libmemstat? > > Sean > > > //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4 > - /home/seanbru/ybsd_7/src/lib/libmemstat/memstat.h > @@ -28,12 +28,13 @@ > >  #ifndef _MEMSTAT_H_ >  #define        _MEMSTAT_H_ > +

Re: MAXCPU preparations

2010-09-27 Thread Attilio Rao
2010/9/27 Sean Bruno : > On Mon, 2010-09-27 at 08:53 -0700, Julian Elischer wrote: >> On 9/27/10 8:26 AM, Sean Bruno wrote: >> > Does this look like an appropriate modification to libmemstat? >> > >> > Sean >> > >> > >> > //depot/yahoo/ybsd_7/src/lib/libmemstat/memstat.h#4 >> > - /home/seanbru

[PATCH] Netdump for review and testing -- preliminary version

2010-09-28 Thread Attilio Rao
In the last weeks I worked for porting the netdump infrastructure to FreeBSD-CURRENT on the behalf of Sandvine Incorporated. Netdump is a framework that aims for handling kernel coredumps over the TCP/IP suite in order to dump to a separate machine than the running one. That may be used on an inter

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-09-29 Thread Attilio Rao
2010/9/29 Sergey Kandaurov : > [just don't know what namely need to test, so] > > All made according to your instructions. > The only way I could trigger netdump was > to run its ddb command by hand. Neither > debug.kdb.enter nor debug.kdb.panic don't do it. You probabilly need to use KDB_UNATTEND

Re: Examining the VM splay tree effectiveness

2010-09-30 Thread Attilio Rao
2010/9/30 Andre Oppermann : > On 30.09.2010 19:24, Roman Divacky wrote: >> >> are you aware of Summer of Code 2008 project by Mayur Shardul? > > I remember that there was this project but I never saw any numbers > or other outcome of it.  Haven't checked p4 to look at the code > though. The final

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-10-08 Thread Attilio Rao
2010/9/28 Attilio Rao : > In the last weeks I worked for porting the netdump infrastructure to > FreeBSD-CURRENT on the behalf of Sandvine Incorporated. > Netdump is a framework that aims for handling kernel coredumps over > the TCP/IP suite in order to dump to a separate mach

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-10-13 Thread Attilio Rao
2010/10/9 Robert Watson : > On Fri, 8 Oct 2010, Attilio Rao wrote: > >>> GENERAL FRAMEWORK ARCHITECTURE >>> >>> Netdump is composed, right now, by an userland "server" and a kernel >>> "client". The former is run on the target

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-10-14 Thread Attilio Rao
2010/10/14 Robert N. M. Watson : > > On 13 Oct 2010, at 18:46, Ryan Stone wrote: > >> On Fri, Oct 8, 2010 at 9:15 PM, Robert Watson wrote: >>> +               /* >>> +                * get and fill a header mbuf, then chain data as an >>> extended >>> +                * mbuf. >>> +                

Re: [PATCH] Netdump for review and testing -- preliminary version

2010-10-14 Thread Attilio Rao
2010/10/14 Robert N. M. Watson : > > On 14 Oct 2010, at 15:10, Attilio Rao wrote: > >>> My concern is less about occasional lost dumps that destabilising the >>> dumping process: calls into the memory allocator can currently trigger a >>> lot of interesting be

Re: panic: sched_priority: invalid priority 2906: nice 0, ticks 122865664 ftick 516947 ltick 517947 tick pri 2726

2010-11-29 Thread Attilio Rao
2010/11/29 Alexander Motin : > On 29.11.2010 17:07, John Baldwin wrote: >> >> On Friday, November 26, 2010 4:38:49 pm David Rhodus wrote: >>> >>> I hit this panic on my NFS server. >>> >>> -DR >>> >>> coke.fun dumped core - see /var/crash/vmcore.2 >>> >>> Fri Nov 26 14:50:48 UTC 2010 >>> >>> FreeBS

Re: Lock order reversal .

2010-12-07 Thread Attilio Rao
2010/12/7 Erik Cederstrand : > > Den 07/12/2010 kl. 10.20 skrev Garrett Cooper: > >> On Dec 7, 2010, at 12:26 AM, Mehmet Erol Sanliturk >> wrote: >> >>> A Dmesg.TXT is attached having a lock order reversal . >> >>    The mount LOR is well known. > > I see that this is the standard response to lot

Re: Call for Test and Review: bwn(4) - another Broadcom Wireless driver

2010-05-06 Thread Attilio Rao
2010/5/6 Weongyo Jeong : > On Sun, Apr 25, 2010 at 10:42:16PM +0200, Gustau P?rez wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> >> >> I've been testing the driver for a few time with AMD64/CURRENT. A >> >> few time ago I started to see messages like : >> >> >> >> bwn0: unsupporte

Re: LOR: ufs vs bufwait

2010-05-08 Thread Attilio Rao
2010/5/8 Ulrich Spörlein : > On Sat, 08.05.2010 at 18:00:50 +0200, Attilio Rao wrote: >> 2010/5/8 Ulrich Spörlein : >> > On Sat, 08.05.2010 at 12:20:05 +0200, Ulrich Spörlein wrote: >> >> This LOR also is not yet listed on the LOR page, so I guess it&#x

Re: LOR: ufs vs bufwait

2010-05-08 Thread Attilio Rao
2010/5/9 Jeff Roberson : > On Sat, 8 May 2010, Ulrich Sp?rlein wrote: > >> On Sat, 08.05.2010 at 18:00:50 +0200, Attilio Rao wrote: >>> >>> 2010/5/8 Ulrich Sp?rlein : >>>> >>>> On Sat, 08.05.2010 at 12:20:05 +0200, Ulrich Sp?rlein wrote: >&

Re: LOR: ufs vs bufwait

2010-05-10 Thread Attilio Rao
2010/5/10 Peter Jeremy : > On 2010-May-08 12:20:05 +0200, Ulrich Spörlein wrote: >>This LOR also is not yet listed on the LOR page, so I guess it's rather >>new. I do use SUJ. >> >>lock order reversal: >> 1st 0xc48388d8 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:502 >> 2nd 0xec0fe304 bufwait (bufw

Re: LOR: ufs vs bufwait

2010-05-12 Thread Attilio Rao
2010/5/12 Jeff Roberson : > On Wed, 12 May 2010, Ulrich Sp?rlein wrote: > >> On Mon, 10.05.2010 at 22:53:32 +0200, Attilio Rao wrote: >>> >>> 2010/5/10 Peter Jeremy : >>>> >>>> On 2010-May-08 12:20:05 +0200, Ulrich Sp?rlein >>>>

Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD

2010-05-31 Thread Attilio Rao
2010/5/31 Kostik Belousov : > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: >> On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: >> > On Sat, May 29, 2010 at 03:02:40PM +0200, Roman Divacky wrote: >> >> hi, >> >> >> >> ClangBSD was updated to LLVM/clang revision 104832 which is what

Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD

2010-05-31 Thread Attilio Rao
2010/5/31 Roman Divacky : > On Mon, May 31, 2010 at 12:54:29PM +0200, Attilio Rao wrote: >> 2010/5/31 Kostik Belousov : >> > On Mon, May 31, 2010 at 12:03:17AM -0600, Scott Long wrote: >> >> On May 30, 2010, at 7:58 AM, Kostik Belousov wrote: >> >> > On

Re: panic in deadlkres

2010-06-28 Thread Attilio Rao
2010/6/28 John Baldwin : > On Friday 25 June 2010 4:52:22 pm pluknet wrote: >> On 25 June 2010 13:50, Anton Yuzhaninov wrote: >> > I've got panic on 9-current from Jun 25 2010 >> > >> > May be this is bug in deadlock resolver >> > >> > panic: blockable sleep lock (sleep mutex) process lock @ >> >

Re: SUJ panic on new directory rename

2010-07-04 Thread Attilio Rao
Is this core updates somewhere? (With, possibly, a copy of your kernel binaries?) Attilio 2010/7/3 Mateusz Guzik : > Hi, > > I've got the following panic while running kernel as of r209343: > > Kernel page fault with the following non-sleepable locks held: > exclusive sleep mutex Softdep Lock (So

Re: SUJ panic on new directory rename

2010-07-04 Thread Attilio Rao
2010/7/4 Peter Holm : > On Sun, Jul 04, 2010 at 09:42:08PM +0200, Attilio Rao wrote: >> Is this core updates somewhere? (With, possibly, a copy of your kernel >> binaries?) >> >> Attilio >> > > Some more info here: > > http://people.freebsd.org/~pho/st

Re: SUJ panic on new directory rename

2010-07-04 Thread Attilio Rao
2010/7/4 Attilio Rao : > 2010/7/4 Peter Holm : >> On Sun, Jul 04, 2010 at 09:42:08PM +0200, Attilio Rao wrote: >>> Is this core updates somewhere? (With, possibly, a copy of your kernel >>> binaries?) >>> >>> Attilio >>> >> >> So

Re: deadlkres() panic

2010-07-07 Thread Attilio Rao
2010/7/1 Bryan Venteicher : > On a recent -current, I got the following panic from deadlkres: > > Assertion wchan != NULL failed at /usr/src-nfs/sys/kern/subr_sleepqueue.c:680 > > Tracing pid 0 tid 100058 td 0xff00024bf7a0 > kdb_enter() at kdb_enter+0x3d > panic() at panic+0x176 > sleepq_type()

Re: Interactivity problems

2010-07-12 Thread Attilio Rao
2010/7/12 Doug Barton : > Howdy, > > I use -current on my laptop as my regular X platform, and for the last > few months I've been noticing that interactivity problems have been > getting a lot worse, by which I mean that if I have something running in > the background that is either disk or cpu in

Re: ath / 802.11n performance issues and timer code

2011-09-27 Thread Attilio Rao
2011/9/27 John Baldwin : > On Monday, September 26, 2011 11:36:26 pm Adrian Chadd wrote: >> .. and as a follow up (and cc'ing attillo and freebsd-mips, in case >> it's relevant to other platforms and there's a MIPS specific thing to >> fix): >> >> * 2128: mi_switch to idle >> * 2129: kern_clocksour

Re: FreeBSD 9-Beta3 on X300 2 problems

2011-09-28 Thread Attilio Rao
2011/9/27 crsnet.pl : >> Hi, > > Hello, thanks for reply. >> >> Please try to do this without wlan loaded at all (not just down, but >> build your wifi support as a module.) >> Then try without X, see whether it's related to that or not. >> > First i make kldunload if_iwn. > When i try to suspend f

Re: beta2 panic: VAPPEND without VWRITE

2011-10-01 Thread Attilio Rao
Can you please show the panic message? Attilio 2011/10/1 Harald Schmalzbauer : > Hello, > > I got the following panic with 9.0-beta2: > > cpuid = 0 > KDB: enter: panic > [ thread pid 1445 tid 100126 ] > Stopped at      kbd_enter+0x2b: movq    $0,0x918a52(%rip) > db> bt > Tracing pid 1445 tid 1001

Re: smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-10-31 Thread Attilio Rao
2011/10/28 : > On Fri, Oct 28, 2011 at 8:37 AM, Ryan Stone wrote: >> I'm seeing issues on a unicore systems running a derivative of FreeBSD >> 8.2-RELEASE if something calls mem_range_attr_set.  It turns out that >> the root cause is a bug in smp_rendezvous_cpus.  The first part of >> smp_rendezv

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-07 Thread Attilio Rao
2011/11/7 Arnaud Lacombe : > Hi, > > On Sat, Nov 5, 2011 at 10:13 AM, Kostik Belousov wrote: >> On Fri, Nov 04, 2011 at 06:03:39PM +0200, Kostik Belousov wrote: >> >> Below is the KBI patch after vm_page_bits_t merge is done. >> Again, I did not spent time converting all in-tree consumers >> from

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-07 Thread Attilio Rao
2011/11/7 Attilio Rao : > 2011/11/7 Arnaud Lacombe : >> Hi, >> >> On Sat, Nov 5, 2011 at 10:13 AM, Kostik Belousov wrote: >>> On Fri, Nov 04, 2011 at 06:03:39PM +0200, Kostik Belousov wrote: >>> >>> Below is the KBI patch after vm_page_bits_

Re: svn commit: r227333 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/kern sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2011-11-08 Thread Attilio Rao
2011/11/8 Attilio Rao : > Author: attilio > Date: Tue Nov  8 10:18:07 2011 > New Revision: 227333 > URL: http://svn.freebsd.org/changeset/base/227333 > > Log: >  Introduce the option VFS_ALLOW_NONMPSAFE and turn it on by default on >  all the architectures. >  The option

Re: Using Instruction Pointer address in debug interfaces [Was: Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]]

2011-11-08 Thread Attilio Rao
2011/11/8 Arnaud Lacombe : > Hi, > > On Mon, Nov 7, 2011 at 2:03 PM, Arnaud Lacombe wrote: >> On Mon, Nov 7, 2011 at 4:36 AM, Attilio Rao wrote: >>> 2011/11/7 Arnaud Lacombe : >>>> Hi, >>>> >>>> On Sat, Nov 5, 2011 at 10:13 AM, Kosti

Re: [amd64] Reproducible cold boot failure (reboot succeeds) in -CURRENT

2011-11-10 Thread Attilio Rao
2011/11/10 Stefan Esser : > For a few weeks I have been suffering from a problem that requires manual > intervention to get my home workstation boot -CURRENT. > > The kernel panics at varying places and with different panic messages, e.g. > (hand transcribed since kernel dumps don't work at that st

Re: [amd64] Reproducible cold boot failure (reboot succeeds) in -CURRENT

2011-11-11 Thread Attilio Rao
Can you try rebuilding your kernel and modules from scratch and see if it fixes your problem? Attilio 2011/11/11 Stefan Esser : > Am 10.11.2011 11:32, schrieb Attilio Rao: >> >> 2011/11/10 Stefan Esser: >>> >>> I can produce further debug output on demand,

Re: [PATCH] Intel Sandy Bridge support for hwpmc

2011-11-13 Thread Attilio Rao
2011/11/13 Davide Italiano : > On Sun, Nov 13, 2011 at 9:52 PM, Davide Italiano > wrote: >> Good evening folks. >> During last days I've written a patch to add sandy bridge support to >> hwpmc. Until now, the most recent Intel processor microarchitecture >> supported was Westmere. >> Testing is ap

Re: [PATCH] Intel Sandy Bridge support for hwpmc

2011-11-13 Thread Attilio Rao
2011/11/13 Davide Italiano : > On Sun, Nov 13, 2011 at 9:56 PM, Attilio Rao wrote: >> 2011/11/13 Davide Italiano : >>> On Sun, Nov 13, 2011 at 9:52 PM, Davide Italiano >>> wrote: >>>> Good evening folks. >>>> During last days I've written

Re: [PATCH] Intel Sandy Bridge support for hwpmc

2011-11-13 Thread Attilio Rao
2011/11/13 Davide Italiano : > On Sun, Nov 13, 2011 at 9:52 PM, Davide Italiano > wrote: >> Good evening folks. >> During last days I've written a patch to add sandy bridge support to >> hwpmc. Until now, the most recent Intel processor microarchitecture >> supported was Westmere. >> Testing is ap

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-15 Thread Attilio Rao
2011/11/7 Kostik Belousov : > On Mon, Nov 07, 2011 at 11:45:38AM -0600, Alan Cox wrote: >> Ok.  I'll offer one final suggestion.  Please consider an alternative >> suffix to "func".  Perhaps, "kbi" or "KBI".  In other words, something >> that hints at the function's reason for existing. > > Sure. B

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-15 Thread Attilio Rao
2011/11/15 : > On Tue, Nov 15, 2011 at 10:15 AM, Attilio Rao wrote: >> 2011/11/7 Kostik Belousov : >>> On Mon, Nov 07, 2011 at 11:45:38AM -0600, Alan Cox wrote: >>>> Ok.  I'll offer one final suggestion.  Please consider an alternative >>>> suffix

Re: Stop scheduler on panic

2011-11-17 Thread Attilio Rao
2011/11/17 Andriy Gapon : > on 17/11/2011 21:09 John Baldwin said the following: >> On Thursday, November 17, 2011 11:58:03 am Andriy Gapon wrote: >>> on 17/11/2011 18:37 John Baldwin said the following: On Thursday, November 17, 2011 4:47:42 am Andriy Gapon wrote: > on 17/11/2011 10:34 An

Re: Stop scheduler on panic

2011-11-17 Thread Attilio Rao
2011/11/17 : > On Thu, Nov 17, 2011 at 12:54 PM, Attilio Rao wrote: >> 2011/11/17 Andriy Gapon : >>> BTW, it is my opinion that we really should not let the debugger code call >>> mi_switch for any reason. >> >> Yes, I agree with this, this is why

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-18 Thread Attilio Rao
2011/11/16 Kostik Belousov : > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote: >> 2011/11/7 Kostik Belousov : >> > On Mon, Nov 07, 2011 at 11:45:38AM -0600, Alan Cox wrote: >> >> Ok.  I'll offer one final suggestion.  Please consider an alternati

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-18 Thread Attilio Rao
2011/11/18 Kostik Belousov : > On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: >> 2011/11/16 Kostik Belousov : >> > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote: >> >> 2011/11/7 Kostik Belousov : >> >> > On Mon, Nov

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-18 Thread Attilio Rao
2011/11/18 Attilio Rao : > 2011/11/18 Kostik Belousov : >> On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: >>> 2011/11/16 Kostik Belousov : >>> > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio Rao wrote: >>> >> 2011/11/7 Kostik Belousov

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/18 Attilio Rao : > 2011/11/18 Attilio Rao : >> 2011/11/18 Kostik Belousov : >>> On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: >>>> 2011/11/16 Kostik Belousov : >>>> > On Tue, Nov 15, 2011 at 07:15:01PM +0100, Attilio

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 05:37:33PM +0100, Attilio Rao wrote: >> 2011/11/18 Attilio Rao : >> > Please consider: >> > http://www.freebsd.org/~attilio/mutexfileline2.patch >> >> This is now committed as r227758,227759, you

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
It looks good to me. Attilio 2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 07:02:14PM +0100, Attilio Rao wrote: >> 2011/11/20 Kostik Belousov : >> > +#define        vm_page_lock_assert(m, a)       \ >> > +    vm_page_lock_assert_KBI((m), (a), LOCK_FILE, L

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Attilio Rao : > 2011/11/18 Attilio Rao : >> 2011/11/18 Attilio Rao : >>> 2011/11/18 Kostik Belousov : >>>> On Fri, Nov 18, 2011 at 11:40:28AM +0100, Attilio Rao wrote: >>>>> 2011/11/16 Kostik Belousov : >>>>> > On Tue, Nov

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: >> This other patch converts sx to a similar interface which cleans up vm_map.c: >> http://www.freebsd.org/~attilio/sxfileline.patch >> >> What do you think about it? > &

Re: vm_page_t related KBI [Was: Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3]

2011-11-20 Thread Attilio Rao
2011/11/20 Kostik Belousov : > On Sun, Nov 20, 2011 at 08:22:38PM +0100, Attilio Rao wrote: >> 2011/11/20 Kostik Belousov : >> > On Sun, Nov 20, 2011 at 08:04:21PM +0100, Attilio Rao wrote: >> >> This other patch converts sx to a similar interface which cleans

Re: Stop scheduler on panic

2011-11-21 Thread Attilio Rao
2011/11/21 John Baldwin : > On Friday, November 18, 2011 4:59:32 pm Andriy Gapon wrote: >> on 17/11/2011 23:38 John Baldwin said the following: >> > On Thursday, November 17, 2011 4:35:07 pm John Baldwin wrote: >> >> Hmmm, you could also make critical_exit() not perform deferred preemptions >> >> i

Re: Stop scheduler on panic

2011-12-02 Thread Attilio Rao
2011/12/2 John Baldwin : > On 12/2/11 5:05 AM, Andriy Gapon wrote: >> >> on 02/12/2011 06:36 John Baldwin said the following: >>> >>> Ah, ok (I had thought SCHEDULER_STOPPED was going to always be true when >>> kdb was >>> active).  But I think these two changes should cover critical_exit() ok. >>>

Re: Stop scheduler on panic

2011-12-02 Thread Attilio Rao
2011/12/2 John Baldwin : > On 12/2/11 12:18 PM, Attilio Rao wrote: >> >> 2011/12/2 John Baldwin: >>> >>> On 12/2/11 5:05 AM, Andriy Gapon wrote: >>>> >>>> >>>> on 02/12/2011 06:36 John Baldwin said the following: >>>>

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/2 Andriy Gapon : > on 02/12/2011 20:40 John Baldwin said the following: >> On 12/2/11 12:18 PM, Attilio Rao wrote: >>> 2011/12/2 John Baldwin: >>>> On 12/2/11 5:05 AM, Andriy Gapon wrote: >>>>> >>>>> on 02/12/2011 06:36 John Bal

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/4 Andriy Gapon : > on 21/11/2011 18:58 Attilio Rao said the following: >> I would be very in favor about having a 'thread trampoline for KDB', >> thus that it can use locks. > > I keep hearing the suggestion to add this trampoline, but I admit that I do &

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/4 Andriy Gapon : > on 02/12/2011 19:18 Attilio Rao said the following: >> BTW, I'm waiting for the details to settle (including the patch we >> have been discussing internally about binding to CPU0 during ACPI >> shutdown) > > I do not see strong interdepen

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/11/13 Kostik Belousov : > I was tricked into finishing the work by Andrey Gapon, who developed > the patch to reliably stop other processors on panic.  The patch > greatly improves the chances of getting dump on panic on SMP host. > Several people already saw the patchset, and I remember that

Re: Stop scheduler on panic

2011-12-06 Thread Attilio Rao
2011/12/6 Andriy Gapon : > on 06/12/2011 20:34 Attilio Rao said the following: > [snip] >> - I'm not entirely sure, why we want to disable interrupts at this >> moment (before to stop other CPUs)?: > > Because I believe that stop_cpus_hard() should run in a con

Re: Stop scheduler on panic

2011-12-07 Thread Attilio Rao
2011/12/7 Andriy Gapon : > on 07/12/2011 00:11 Attilio Rao said the following: >> I'd just change this check on panicstr: >> @@ -606,9 +603,13 @@ kdb_trap(int type, int code, struct trapframe *tf) >>       intr = intr_disable(); >> >>  #ifdef SMP >> -

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/14 Mike Tancsa : > On 12/13/2011 7:01 PM, m...@freebsd.org wrote: >> >> Has anyone experiencing problems tried to set sysctl >> kern.sched.steal_thresh=1 ? >> >> I don't remember what our specific problem at $WORK was, perhaps it >> was just interrupt threads not getting serviced fast enou

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/13 Jeremy Chadwick : > On Mon, Dec 12, 2011 at 02:47:57PM +0100, O. Hartmann wrote: >> > Not fully right, boinc defaults to run on idprio 31 so this isn't an >> > issue. And yes, there are cases where SCHED_ULE shows much better >> > performance then SCHED_4BSD.  [...] >> >> Do we have any

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/15 Mike Tancsa : > On 12/15/2011 11:26 AM, Attilio Rao wrote: >> >> Hi Mike, >> was that just the same codebase with the switch SCHED_4BSD/SCHED_ULE? > > Hi Attilio, >        It was the same codebase. > > >> Could you retry the bench checking

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/15 Mike Tancsa : > On 12/15/2011 11:42 AM, Attilio Rao wrote: >> >> I'm thinking now to a better test-case for this: can you try that on a >> tmpfs volume? > > There is enough RAM in the box so that it should not touch the disk, and > I was sending the

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/15 Jeremy Chadwick : > On Thu, Dec 15, 2011 at 05:26:27PM +0100, Attilio Rao wrote: >> 2011/12/13 Jeremy Chadwick : >> > On Mon, Dec 12, 2011 at 02:47:57PM +0100, O. Hartmann wrote: >> >> > Not fully right, boinc defaults to run on idprio 31 so this isn&#

Re: SCHED_ULE should not be the default

2011-12-15 Thread Attilio Rao
2011/12/15 Mike Tancsa : > On 12/15/2011 11:56 AM, Attilio Rao wrote: >> So, as very first thing, can you try the following: >> - Same codebase, etc. etc. >> - Make the test 4 times, discard the first and ministat for the other 3 >> - Reboot >> - Change the steal_

Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server

2011-12-16 Thread Attilio Rao
2011/12/16 Arnaud Lacombe : > Hi, > > On Thu, Dec 15, 2011 at 2:32 AM, O. Hartmann > wrote: >> Just saw this shot benchmark on Phoronix dot com today: >> >> http://www.phoronix.com/scan.php?page=news_item&px=MTAyNzA >> > it might be worth highlighting that despite Oracle Linux 6.1 Server is > usin

Re: Sleeping thread (tid 100033, pid 16): panic in FreeBSD 10.0-CURRENT/amd64 r228662

2011-12-20 Thread Attilio Rao
2011/12/20 John Baldwin : > On Saturday, December 17, 2011 10:41:15 pm m...@freebsd.org wrote: >> On Sat, Dec 17, 2011 at 5:45 PM, Alexander Kabaev wrote: >> > On Sun, 18 Dec 2011 01:09:00 +0100 >> > "O. Hartmann" wrote: >> > >> >> Sleeping thread (tid 100033, pid 16) owns a non sleepable lock >>

Re: Sleeping thread (tid 100033, pid 16): panic in FreeBSD 10.0-CURRENT/amd64 r228662

2011-12-20 Thread Attilio Rao
2011/12/20 John Baldwin : > On Tuesday, December 20, 2011 9:20:09 am Attilio Rao wrote: >> 2011/12/20 John Baldwin : >> > On Saturday, December 17, 2011 10:41:15 pm m...@freebsd.org wrote: >> >> On Sat, Dec 17, 2011 at 5:45 PM, Alexander Kabaev >> >> w

Re: [panic] intr_event_execute_handlers() - Corrupted DWARF expression

2012-01-28 Thread Attilio Rao
2012/1/19 John Baldwin : > On Thursday, January 19, 2012 11:02:57 am Glen Barber wrote: >> On Thu, Jan 19, 2012 at 10:50:45AM -0500, John Baldwin wrote: >> > On Wednesday, January 18, 2012 5:01:37 pm Glen Barber wrote: >> > > Hi, >> > > >> > > I'm running -CURRENT from about 5 days ago: >> > > >> >

Re: svn commit: r227333 - in head: . sys/amd64/conf sys/arm/conf sys/conf sys/i386/conf sys/ia64/conf sys/kern sys/mips/conf sys/pc98/conf sys/powerpc/conf sys/sparc64/conf

2012-01-28 Thread Attilio Rao
2011/11/8 Attilio Rao : > 2011/11/8 Attilio Rao : >> Author: attilio >> Date: Tue Nov  8 10:18:07 2011 >> New Revision: 227333 >> URL: http://svn.freebsd.org/changeset/base/227333 >> >> Log: >>  Introduce the option VFS_ALLOW_NONMPSAFE and turn

Re: TUNABLE_INT vs TUNABLE_INT_FETCH

2012-08-23 Thread Attilio Rao
On 8/23/12, Luigi Rizzo wrote: > Hi, > I am a bit unclear on what are the pros and cons of using > TUNABLE_INT vs TUNABLE_INT_FETCH within a device driver. TUNABLE_INT is basically the "statically initializer" version of TUNABLE_INT_FETCH. In short terms, you will use TUNABLE_INT_FETCH() in norma

Re: TUNABLE_INT vs TUNABLE_INT_FETCH

2012-08-23 Thread Attilio Rao
On Thu, Aug 23, 2012 at 5:05 PM, Luigi Rizzo wrote: > On Thu, Aug 23, 2012 at 03:52:56PM +0100, Attilio Rao wrote: >> On 8/23/12, Luigi Rizzo wrote: >> > Hi, >> > I am a bit unclear on what are the pros and cons of using >> > TUNABLE_INT vs TUNA

Re: Clang as default compiler November 4th

2012-09-11 Thread Attilio Rao
On 9/11/12, Brooks Davis wrote: > On Tue, Sep 11, 2012 at 01:45:18PM +0300, Konstantin Belousov wrote: >> On Mon, Sep 10, 2012 at 04:12:07PM -0500, Brooks Davis wrote: >> > For the past several years we've been working towards migrating from >> > GCC to Clang/LLVM as our default compiler. We inte

Re: Clang as default compiler November 4th

2012-09-11 Thread Attilio Rao
On Tue, Sep 11, 2012 at 4:56 PM, Garrett Cooper wrote: > On Sep 11, 2012, at 8:35 AM, Daniel Eischen wrote: > >> On Tue, 11 Sep 2012, Konstantin Belousov wrote: >> >>> On Tue, Sep 11, 2012 at 02:06:49PM +0200, Roman Divacky wrote: We currently dont compile 4680 ports (out of 23857). Top

Re: MPSAFE VFS -- List of upcoming actions

2012-09-18 Thread Attilio Rao
On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao wrote: > 2012/7/4 Attilio Rao : >> 2012/6/29 Attilio Rao : >>> As already published several times, according to the following plan: >>> http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS >>> >> >> I still hav

Re: MPSAFE VFS -- List of upcoming actions

2012-09-19 Thread Attilio Rao
On Wed, Sep 19, 2012 at 4:47 AM, Kevin Oberman wrote: > On Tue, Sep 18, 2012 at 7:48 PM, Attilio Rao wrote: >> On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao wrote: >>> 2012/7/4 Attilio Rao : >>>> 2012/6/29 Attilio Rao : >>>>> As already published s

Re: MPSAFE VFS -- List of upcoming actions

2012-09-19 Thread Attilio Rao
On 9/19/12, Kevin Oberman wrote: > On Wed, Sep 19, 2012 at 12:30 AM, Attilio Rao wrote: >> On Wed, Sep 19, 2012 at 4:47 AM, Kevin Oberman wrote: >>> On Tue, Sep 18, 2012 at 7:48 PM, Attilio Rao >>> wrote: >>>> On Fri, Jul 13, 2012 at 12:18 AM, Attilio

Re: MPSAFE VFS -- List of upcoming actions

2012-09-20 Thread Attilio Rao
On Fri, Sep 21, 2012 at 1:22 AM, Attilio Rao wrote: [ trimm ] > > You can use the branch directly or this patch against -CURRENT at 240752: > http://www.freebsd.org/~attilio/fuse_import/fuse_240752.patch > > In order to test this work, then, you just need to patch (or use > d

Re: MPSAFE VFS -- List of upcoming actions

2012-09-20 Thread Attilio Rao
On Wed, Sep 19, 2012 at 3:48 AM, Attilio Rao wrote: > On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao wrote: >> 2012/7/4 Attilio Rao : >>> 2012/6/29 Attilio Rao : >>>> As already published several times, according to the following plan: >>>> htt

Re: MPSAFE VFS -- List of upcoming actions

2012-09-28 Thread Attilio Rao
On Wed, Sep 26, 2012 at 12:02 PM, Harald Schmalzbauer wrote: > schrieb Harald Schmalzbauer am 25.09.2012 20:24 (localtime): >> schrieb Attilio Rao am 21.09.2012 02:22 (localtime): >>> On Wed, Sep 19, 2012 at 3:48 AM, Attilio Rao wrote: >>>> On Fri, Jul 13, 2012 a

Re: MPSAFE VFS -- List of upcoming actions

2012-10-08 Thread Attilio Rao
On Fri, Sep 28, 2012 at 4:47 PM, Harald Schmalzbauer wrote: > schrieb Attilio Rao am 28.09.2012 16:18 (localtime): >> On Wed, Sep 26, 2012 at 12:02 PM, Harald Schmalzbauer >> wrote: >>> ... >> After many people willing to test fuse on STABLE_9, I made this patch &

Re: MPSAFE VFS -- List of upcoming actions

2012-10-10 Thread Attilio Rao
On Wed, Oct 10, 2012 at 6:15 AM, Kevin Oberman wrote: > On Mon, Oct 8, 2012 at 7:57 AM, Attilio Rao wrote: >> On Fri, Sep 28, 2012 at 4:47 PM, Harald Schmalzbauer >> wrote: >>> schrieb Attilio Rao am 28.09.2012 16:18 (localtime): >>>> On Wed, Sep 26, 2

Re: MPSAFE VFS -- List of upcoming actions

2012-10-10 Thread Attilio Rao
On Wed, Oct 10, 2012 at 6:15 AM, Kevin Oberman wrote: > On Mon, Oct 8, 2012 at 7:57 AM, Attilio Rao wrote: >> On Fri, Sep 28, 2012 at 4:47 PM, Harald Schmalzbauer >> wrote: >>> schrieb Attilio Rao am 28.09.2012 16:18 (localtime): >>>> On Wed, Sep 26, 2

Re: MPSAFE VFS -- List of upcoming actions

2012-10-13 Thread Attilio Rao
On Fri, Sep 21, 2012 at 1:22 AM, Attilio Rao wrote: > On Wed, Sep 19, 2012 at 3:48 AM, Attilio Rao wrote: >> On Fri, Jul 13, 2012 at 12:18 AM, Attilio Rao wrote: >>> 2012/7/4 Attilio Rao : >>>> 2012/6/29 Attilio Rao : >>>>> As already published s

Re: Problem with fuse.ko

2012-10-16 Thread Attilio Rao
On Tue, Oct 16, 2012 at 6:53 PM, AN wrote: > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #26 r241612: Tue Oct 16 > 13:03:26 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 > > I loaded the module with kldload fuse.ko > > # kldstat > Id Refs AddressSize Name >

MPSAFE VFS -- update

2012-10-18 Thread Attilio Rao
Following the plan reported here: http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS We are now at the state where all non-MPSAFE filesystems are disconnected by the three. At this point we can proceed with the import of a revised kib's patch as reported in that page. This will mean effectively remove

Re: mounting ntfs partition

2012-10-21 Thread Attilio Rao
On Sun, Oct 21, 2012 at 12:53 PM, Raoul wrote: > Hi, > > Trying to mount a partition from type ntfs > with the following conditions i get: > > R241700, with fusefs-libs in sync. > > kldload fuse > fuse loaded > mount -t ntfs /dev/daXsX > not supported! > mount_ntfs /dev/daXsX >

Re: mounting ntfs partition

2012-10-21 Thread Attilio Rao
On 10/21/12, Raoul MEGELAS wrote: > On Sun, 21 Oct 2012 14:04:46 +0100 > Attilio Rao wrote: > Hi Attilio, > > >> On Sun, Oct 21, 2012 at 12:53 PM, Raoul wrote: >> Hi, >>> >>> Trying to mount a partition from type ntfs >>> with the following

Re: mounting ntfs partition

2012-10-21 Thread Attilio Rao
On Sun, Oct 21, 2012 at 10:55 PM, Raoul MEGELAS wrote: > sorry for posting 2 times the same message! > > > On Sun, 21 Oct 2012 22:07:36 +0100 > Attilio Rao wrote: > >>On 10/21/12, Raoul MEGELAS wrote: >>> On Sun, 21 Oct 2012 14:04:46 +0100 >>> Attilio R

  1   2   >