Date: Fri, 23 Apr 2010 21:08:15 +0530 From: "C. Jayachandran" <c.jayachandran@gmail.com> To: Randall Stewart <rrs@lakerest.net> Cc: freebsd-mips@freebsd.org Subject: Re: Crashes with the current -HEAD Message-ID: <w2p98a59be81004230838g62588c1z8374a031a1dc0295@mail.gmail.com> In-Reply-To: <79B7AA80-4D2D-4A5C-973D-4D0FB22E2D85@lakerest.net> References: <g2v98a59be81004230638q91b48b47i99ec64a137790bbc@mail.gmail.com> <79B7AA80-4D2D-4A5C-973D-4D0FB22E2D85@lakerest.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--000e0cd1b72c39e05f0484e937ab Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 23, 2010 at 8:48 PM, Randall Stewart <rrs@lakerest.net> wrote: > JC: > > My crash is different... hmmm I have not tried one without SMP... need > to do that. > > What I am seeing is a spin lock held to long.. I could fix this, but I hit the crash I reported immediately after that. So I reverted my changes to the HEAD and the crash was still there without the changes. I've attached a fix for the smp_rendezvous hang - in the LMEM macros, the pmap_invalidate_page will call smp_rendezvous with interrupts disabled. If two threads do this it hangs beacuse smp_rendezvous needs interrupts enabled so that it can do IPI. (patch also at http://sites.google.com/site/cjayachandran/files). > sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/edit_cfg.sh > /usr/src/lib/ncurses/ncurses/ncurses_cfg.h term.h.new > ** edit: HAVE_TCGETATTR 1 > spin lock 0x804c91f4 (smp rendezvous) held by 0xcb943270 (tid 100205) too > long > panic: spin lock held too long > cpuid = 2 > KDB: enter: panic > ~~ > > I think this is probably a different issue... It smells like a recursive > call > to the spin lock... possibly.. but I have not had time to dig too deep into > it... and for some reason we don't enter DDB... even though I manually > entered it before starting the buildworld to make sure it would > work ;-o > > I will have to find the specific panic and put an enter DDB in there and > see if that will work ;-) JC. --000e0cd1b72c39e05f0484e937ab--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?w2p98a59be81004230838g62588c1z8374a031a1dc0295>