Re: Profiling code execution on amd64?

2011-01-13 Thread Steve Kargl
On Thu, Jan 13, 2011 at 10:08:30PM -0500, Ryan Stone wrote: > I would suggest using hwpmc for profiling: > > # kldload hwpmc > # pmcstat -S unhalted-cycles -O /tmp/samples.out ../penetration > # pmcstat -R /tmp/samples.out -G /tmp/penetration.txt > > > You can also get pmcstat to generate gprof-

Re: Profiling code execution on amd64?

2011-01-13 Thread Ryan Stone
I would suggest using hwpmc for profiling: # kldload hwpmc # pmcstat -S unhalted-cycles -O /tmp/samples.out ../penetration # pmcstat -R /tmp/samples.out -G /tmp/penetration.txt You can also get pmcstat to generate gprof-compatible output with -g, but I never use the mode so I'm really not sure w

Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.

2011-01-13 Thread Jung-uk Kim
On Thursday 13 January 2011 06:20 pm, Ariff Abdullah wrote: > On Thu, 13 Jan 2011 15:24:52 -0500 > > Jung-uk Kim wrote: > > On Thursday 13 January 2011 01:14 pm, Jung-uk Kim wrote: > > > On Wednesday 12 January 2011 10:22 pm, Ariff Abdullah wrote: > > > > On Wed, 12 Jan 2011 09:53:03 -0600 > > > >

ale(4) causes panic after r217323

2011-01-13 Thread Aryeh Friedman
I have already told jhb about this and he provided a patch that failed maybe someone else has a solution. Problem: As soon as ale(4) switches from DOWN to UP kernel panics due to lock state switch How to repeat: ifconfig ale0 192.168.2.2 ___ freebsd-

Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.

2011-01-13 Thread Ariff Abdullah
On Thu, 13 Jan 2011 15:24:52 -0500 Jung-uk Kim wrote: > On Thursday 13 January 2011 01:14 pm, Jung-uk Kim wrote: > > On Wednesday 12 January 2011 10:22 pm, Ariff Abdullah wrote: > > > On Wed, 12 Jan 2011 09:53:03 -0600 > > > > > > eculp wrote: > > > > Quoting Ariff Abdullah : > > > > > On Wed, 12

Re: My ZFS v28 Testing Experience

2011-01-13 Thread Pawel Jakub Dawidek
On Wed, Jan 12, 2011 at 11:03:19PM -0400, Chris Forgeron wrote: > I've been testing out the v28 patch code for a month now, and I've yet to > report any real issues other than what is mentioned below. > > I'll detail some of the things I've tested, hopefully the stability of v28 in > FreeBSD wi

Re: why panic(9) ?

2011-01-13 Thread Daniel Nebdal
On Wed, Jan 12, 2011 at 1:43 PM, Nils Holland wrote: > C. P. Ghost wrote: > >> As far as I know, Windows NT is a microkernel arch, and >> faulty drivers, often provided by external vendors would not >> bring that system (as much as we hate or despise its >> Windows OS personality that runs on top

Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.

2011-01-13 Thread Jung-uk Kim
On Thursday 13 January 2011 01:14 pm, Jung-uk Kim wrote: > On Wednesday 12 January 2011 10:22 pm, Ariff Abdullah wrote: > > On Wed, 12 Jan 2011 09:53:03 -0600 > > > > eculp wrote: > > > Quoting Ariff Abdullah : > > > > On Wed, 12 Jan 2011 22:51:29 +0800 > > > > Ariff Abdullah wrote: > > > > > > >

Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.

2011-01-13 Thread Jung-uk Kim
On Wednesday 12 January 2011 10:22 pm, Ariff Abdullah wrote: > On Wed, 12 Jan 2011 09:53:03 -0600 > > eculp wrote: > > Quoting Ariff Abdullah : > > > On Wed, 12 Jan 2011 22:51:29 +0800 > > > Ariff Abdullah wrote: > > > > > > [] > > > > > >> Try disabling mtrr, machdep.disable_mtrrs=0 through

Profiling code execution on amd64?

2011-01-13 Thread Steve Kargl
How does one profile one's code on freebsd-amd64? It seems that gprof is broken. troutmask:kargl[234] time ../penetration CPU time: 7.327 min Start time: 2011-01-13 08:59:18.419 Stop time: 2011-01-13 09:06:39.082 CPU time: 7.34 min 440.68 real 440.25 user 0.11 sys troutmask

unknown mtx_assert at /usr/src/sys/x86/x86/io_apic.c:161

2011-01-13 Thread Michael Jung
Links to crash info below. http://216.26.153.6/bounds http://216.26.153.6/config.txt http://216.26.153.6/ddb.txt http://216.26.153.6/info.1 http://216.26.153.6/msgbuf.txt http://216.26.153.6/panic.txt http://216.26.153.6/ version.txt

Re: console freeze after "ifconfig wlan0 scan" with wi(4) pccard device

2011-01-13 Thread Chris Brennan
On Wed, Jan 12, 2011 at 7:56 PM, Anton Shterenlikht wrote: > but still can't connect to the gateway: > > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ping: sendto: No route to host > ^C > --- 192.168.1.1 ping statistics --- > 3

Intel 10GBase-LR Ethernet card detected as 10GBase-SR

2011-01-13 Thread sthaug
I have a server with an Intel X520-LR1 Ethernet card, which is a 10GBase-LR card: http://ark.intel.com/Product.aspx?id=41164 The card contains the Intel 82599ES controller: http://ark.intel.com/Product.aspx?id=41282 pciconf -lv shows: ix0@pci0:28:0:0:class=0x02 card=0x00068086

Re: Intel 10GBase-LR Ethernet card detected as 10GBase-SR

2011-01-13 Thread sthaug
> I have a server with an Intel X520-LR1 Ethernet card, which is a > 10GBase-LR card: ... > The problem is that this card is shown by ifconfig as a 10GBase-SR card: ... > I made a 1-line patch to the 8.2-RC1 code, enclosed below, and now have > ifconfig showing the expected value: Problem report a

Re: R: Recent mouse freeze problem with X, different window managers, any browser and flash.

2011-01-13 Thread eculp
Quoting Ariff Abdullah : On Wed, 12 Jan 2011 09:53:03 -0600 eculp wrote: Quoting Ariff Abdullah : > On Wed, 12 Jan 2011 22:51:29 +0800 > Ariff Abdullah wrote: >> > [] >> >> Try disabling mtrr, machdep.disable_mtrrs=0 through >> boot prompt or /boot/loader.conf. >> > > Grr.. should be mac

R: ahci timeout

2011-01-13 Thread Barbara
> >>From : nde...@gmail.com >> >>On 27 Dec, 2010, at 21:20 , Barbara wrote: >> >>> >>> As my old PATA hard disk was failing, I had to replace it with a new SATA >>> drive where I moved my FreeBSDs installations, as PATA drives are not easy >to >>> find these days. >>> So I had to move one of