Re: Profiling code execution on amd64?

2011-01-17 Thread Fabien Thomas
Last time i've used it it was working but I dont think it is really useful now (from my POV) because you cant have a global view of the system with it and all other reports overlap. With the current state you have: - top mode for fast lookup - text output (replace gprof for me) - kcachegrind

Re: FreeBSD 8.1 re0 shows half duplex

2011-01-17 Thread Bjoern A. Zeeb
On Sun, 16 Jan 2011, Jeremy Chadwick wrote: On Mon, Jan 17, 2011 at 05:08:33AM +, Martin Wilke wrote: Howdy Guys, I have a strange problem, I'm on FreeBSD 8.1 and ifconfig re0 shows half-duplex (see output) and the download speed is damn slow, maximum 20 kbps. I'm not sure how to debug

fatal kernel trap (cpu 1): trap vector = 0x14 (Page Not Present)

2011-01-17 Thread Anton Shterenlikht
On ia64 r216732 I got this panic: - - - - - - - - - - Prior Console Output - - - - - - - - - - cr.iip = 0xe482b8a0 cr.ipsr = 0x210080a6038 (ac,mfl,mfh,ic,i,dt,dfh,rt,cpl=0,it,ri=1) cr.isr = 0xa02 (code=0,vector=0,w,ei=1,ed) cr.ifa =

Re: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Mike Tancsa
On 1/16/2011 9:45 PM, Mike Tancsa wrote: On 1/16/2011 6:17 PM, Marek Salwerowicz wrote: Hi all, what modules to kernel should I load in order to make use of hardware watchdog installed in Soekris net5501 ? Hi, Try adding option CPU_SOEKRIS Sorry, for the 5501 thats

Re: Known LoR when taking bringing up bge(4) after system in multiuser?

2011-01-17 Thread Sergey Kandaurov
On 20 February 2010 03:25, Garrett Cooper yanef...@gmail.com wrote: Hi,    I came across the following LoR: lock order reversal:  1st 0xc56aae04 if_afdata (if_afdata) @ /usr/home/garrcoop/ipcvs/freebsd/src/sys/net/if_llatbl.c:130  2nd 0xc58a1d80 radix node head (radix node head) @

Re: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Mike Tancsa
On 1/17/2011 11:07 AM, Marek Salwerowicz wrote: Hi, Try adding option CPU_SOEKRIS Sorry, for the 5501 thats option CPU_GEODE ---Mike I have added both. Is there any possible test to check if watchdog really does reboot ? Just start /usr/sbin/watchdogd and then kill

Re: Profiling code execution on amd64?

2011-01-17 Thread Steve Kargl
On Mon, Jan 17, 2011 at 09:45:44AM +0100, Fabien Thomas wrote: Last time i've used it it was working but I dont think it is really useful now (from my POV) because you cant have a global view of the system with it and all other reports overlap. To what does 'it' refer? With the current

uma_zalloc_arg: zone 256 with non-sleepable exclusive rw ifnet_rw @ /usr/src/sys/net/if.c:414

2011-01-17 Thread Sergey Kandaurov
Hi, I see this malloc with non-sleepable on current during boot. It's strange that I don't see it if I boot via pxe/nfs. if_alloc() calls ifindex_alloc_locked() under IFNET_WLOCK() which might call if_grow(). Looks like a regression from r196553. igb6: Intel(R) PRO/1000 Network Connection

Re: ale(4) causes panic after r217323

2011-01-17 Thread Andrey V. Elsukov
On 14.01.2011 03:37, Aryeh Friedman wrote: 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 I

[RFC]: tautological compares in amd64 GENERIC

2011-01-17 Thread Roman Divacky
hi, clang found these problems in our amd64 GENERIC: some of these may be real bugs lurking in our code - can the respective owners of the subsystems take a look? The bugs cover all areas from ufs/vm to net*/security. Thank you! roman cam/cam_periph.c:530:28: warning: comparison of unsigned

Re: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Marek Salwerowicz
Hi, Try adding option CPU_SOEKRIS Sorry, for the 5501 thats option CPU_GEODE ---Mike I have added both. Is there any possible test to check if watchdog really does reboot ? Just start /usr/sbin/watchdogd and then kill the process? -- Marek Salwerowicz

Re: [Soekris] Soekris net5501 - how to use hardware watchdog?

2011-01-17 Thread Marek Salwerowicz
I have added both. Is there any possible test to check if watchdog really does reboot ? Just start /usr/sbin/watchdogd and then kill the process? Yes, but make sure you do kill -9, not just kill OK, it does reboot :) Thanks for your help ! -- Marek Salwerowicz

Re: cosmetic nit in mmc.c

2011-01-17 Thread Alexander Motin
Michael Butler wrote: In the process of making the sdhci driver work with my laptop, I noted a cosmetic issue where the SD card's serial number is not correctly reported (it's always zero). Possible patch attached, Thank you. I've committed such patch to the HEAD at r217509: --- mmc.c

Re: Known LoR when taking bringing up bge(4) after system in multiuser?

2011-01-17 Thread Garrett Cooper
On Mon, Jan 17, 2011 at 7:44 AM, Sergey Kandaurov pluk...@gmail.com wrote: On 20 February 2010 03:25, Garrett Cooper yanef...@gmail.com wrote: Hi,    I came across the following LoR: lock order reversal:  1st 0xc56aae04 if_afdata (if_afdata) @

[head tinderbox] failure on ia64/ia64

2011-01-17 Thread FreeBSD Tinderbox
TB --- 2011-01-18 02:17:33 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2011-01-18 02:17:33 - starting HEAD tinderbox run for ia64/ia64 TB --- 2011-01-18 02:17:33 - cleaning the object tree TB --- 2011-01-18 02:17:44 - cvsupping the source tree TB --- 2011-01-18 02:17:44 -