Re: Why is intr taking up so much cpu?

2010-07-19 Thread Doug Barton
On Sun, 18 Jul 2010, Kostik Belousov wrote: When intr time starts accumulating again, try to do "procstat -kk " and correlate the clock thread tid with the backtrace. Might be, it helps to guess what callouts are eating the CPU. Ok, I thought I was going to be able to do this easily but I didn

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Doug Barton
On Sun, 18 Jul 2010, Dan Nelson wrote: You can also use dtrace to get a count of callouts and their time spent. Run this for a few seconds then hit ^C: Okey dokey, here you go: http://people.freebsd.org/~dougb/normal-dtrace.txt http://people.freebsd.org/~dougb/bad-dtrace.txt Thanks again,

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Dan Nelson
In the last episode (Jul 19), Doug Barton said: > I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and > rebooted. I decided to try your script before things went sideways so I'd > have an idea of what to expect, and it didn't work: > > dtrace: failed to initialize dtrace: D

firefox is stuck in getbuf()

2010-07-19 Thread David Xu
With newest -HEAD code, firefox is stuck in getbuf(). top last pid: 1814; load averages: 0.00, 0.05, 0.07 up 0+00:37:11 10:54:01 135 processes: 1 running, 134 sleeping CPU: 3.7% user, 0.0% nice, 0.6% system, 0.0% interrupt, 95.7% idle Mem: 259

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Doug Barton
On Tue, 20 Jul 2010, Max Laier wrote: Just a stab in the dark, did you "kldload dtraceall"? KDTRACE_HOOKS just adds the needed linkage for the dtrace modules to work. No, I had not done that, in fact, I didn't even know I needed those modules. I use MODULES_OVERRIDE so I had to add dtrace, c

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Max Laier
On Tuesday 20 July 2010 04:33:01 Doug Barton wrote: > On Mon, 19 Jul 2010, Chris Ruiz wrote: > > On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton wrote: > >> I added options KDTRACE_HOOKS to my kernel config, built a new kernel, > >> and rebooted. I decided to try your script before things went sidewa

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Navdeep Parhar
On Mon, Jul 19, 2010 at 07:33:01PM -0700, Doug Barton wrote: > On Mon, 19 Jul 2010, Chris Ruiz wrote: > > >On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton wrote: > >>I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and > >>rebooted. I decided to try your script before things we

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Doug Barton
On Mon, 19 Jul 2010, Chris Ruiz wrote: On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton wrote: I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and rebooted. I decided to try your script before things went sideways so I'd have an idea of what to expect, and it didn't work: d

Re: Problem with ZFS version 15

2010-07-19 Thread Alexander Best
On Mon, Jul 19, 2010 at 08:31:11PM -0500, Sam Fourman Jr. wrote: > On Mon, Jul 19, 2010 at 7:37 PM, Alexander Best wrote: > > how about adding a periodic script to /etc/periodic/daily to backup the > > information? > > > > the idea was raised a long time ago already, but was abandoned [1]. > > >

Re: Problem with ZFS version 15

2010-07-19 Thread Sam Fourman Jr.
On Mon, Jul 19, 2010 at 7:37 PM, Alexander Best wrote: > how about adding a periodic script to /etc/periodic/daily to backup the > information? > > the idea was raised a long time ago already, but was abandoned [1]. > > cheers. > alex > I think that is a good idea, if you have a script to do tha

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Chris Ruiz
On Mon, Jul 19, 2010 at 8:03 PM, Doug Barton wrote: > I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and > rebooted. I decided to try your script before things went sideways so I'd > have an idea of what to expect, and it didn't work: > > dtrace: failed to initialize dtrace

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Doug Barton
I added options KDTRACE_HOOKS to my kernel config, built a new kernel, and rebooted. I decided to try your script before things went sideways so I'd have an idea of what to expect, and it didn't work: dtrace: failed to initialize dtrace: DTrace device not available on system Is there somethi

Re: Problem with ZFS version 15

2010-07-19 Thread Alexander Best
how about adding a periodic script to /etc/periodic/daily to backup the information? the idea was raised a long time ago already, but was abandoned [1]. cheers. alex [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/86388 On Mon, Jul 19, 2010 at 03:24:58PM -0700, Xin LI wrote: > -BEGIN PG

Re: Problem with ZFS version 15

2010-07-19 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2010/07/19 14:37, Sam Fourman Jr. wrote: >> If you have previous saved gpart information (e.g. start/end) then you >> can safely destroy and re-create the GPT partitions without destroying >> the data. >> >> Note that you may need to backup and dd

Re: Problem with ZFS version 15

2010-07-19 Thread Sam Fourman Jr.
> If you have previous saved gpart information (e.g. start/end) then you > can safely destroy and re-create the GPT partitions without destroying > the data. > > Note that you may need to backup and dd the first and last sector of > your hard drive before proceeding. > Could someone post a example

Re: Problem with ZFS version 15

2010-07-19 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 2010/07/17 06:40, Michael Gusek wrote: > Hi, > > i updated my 8.1-PRERELEASE to ZFS version 15. The patch > http://people.freebsd.org/~mm/patches/zfs/v15/head-v15-v3.patch applies fine > and after reboot i upgrade my pool successfully to v

Re: Call for testers: wireless module for bsnmpd(1)

2010-07-19 Thread Shteryana Shopova
Hi all, Thanks for the feedback and comments. I've uploaded an updated tarball at http://people.freebsd.org/~syrinx/snmp/snmp_wlan-20100719-01.tar . On Sun, Jul 11, 2010 at 8:23 PM, Gabor PALI wrote: > > A few comments: > > - I think there should be bsnmpd(1) instead of bsnm

Re: [panic] Race in IEEE802.11 layer towards device drivers

2010-07-19 Thread Hans Petter Selasky
Hi AK, I've committed your patches to USB P4. I've made some additional patches. Can you check and verify everything? http://p4web.freebsd.org/@@181189?ac=10 Also please compile a kernel with WITNESS enabled to catch any LOR's, hence we introduced another mutex. --HPS

Re: current + mpt = panic: Bad link elm 0xffffff80002d6480 next->prev != elm

2010-07-19 Thread Ståle Kristoffersen
On 2010-07-18 at 14:20, Marius Strobl wrote: > > > Downgrading now... > > > > And it crashed again, with current from r209598... > > > > Ok, this at least means that your problem isn't caused by the recent > changes to mpt(4) as the pre-r209599 version only differed from the > 8-STABLE one in a

[CFR] devfs improvements

2010-07-19 Thread Jaakko Heinonen
Hi, I have been working on some devfs improvements and I am now posting the patch for wider review and testing. Especially testing from people using multiple devfs mounts and/or symbolic links would be useful. The patch: http://people.freebsd.org/~jh/patches/devfs.7.diff Notable change

Re: Can't make distribution TARGET_ARCH=... after r209510

2010-07-19 Thread Mykola Dzham
M. Warner Losh wrote: > In message: <20100718.171610.338707487962422543@bsdimp.com> > "M. Warner Losh" writes: > : In message: <20100718210154.ga94...@laptop.levsha.me> > : Mykola Dzham writes: > : : Hi! > : : Attemt to make jail with different target arch on tinderbo

Re: Why is intr taking up so much cpu?

2010-07-19 Thread Kostik Belousov
On Sun, Jul 18, 2010 at 10:06:06PM -0700, Doug Barton wrote: > On 07/18/10 12:41, Kostik Belousov wrote: > > On Sun, Jul 18, 2010 at 12:21:00PM -0700, Doug Barton wrote: > >> On 07/18/10 03:30, Kostik Belousov wrote: > >>> On Sun, Jul 18, 2010 at 01:14:41AM -0700, Doug Barton wrote: > On Sat,