Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 15:47:08 +0200
From:      Lefteris Tsintjelis <lefty@ene.asda.gr>
To:        Doug White <dwhite@gumbysoft.com>
Cc:        stable@freebsd.org
Subject:   Re: Machine Freezes with SMP+APIC enabled.
Message-ID:  <3FB8D15C.947E52B1@ene.asda.gr>
References:  <3FAE5958.6B162FAF@ene.asda.gr> <20031111180355.A66327@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug White wrote:
> 
> On Sun, 9 Nov 2003, Lefteris Tsintjelis wrote:
> 
> > I have been experiencing random machine freezes when using SMP (Hyper
> > threading) the past week. There are no core dumps or error messages
> > displayed anywhere. Load is very minimum.  When SMP/Hyperthreading is
> > disabled machine works with no problems at full load.
> 
> Hm, smells like Giant deadlock.
> 
Hi Doug,

and thank you for all the info. The motherboard of the PC decided to 
finally die on me last week so it looks like it was a hardware deadlock. 
I got it replaced and cvsup to the latest STABLE. It has been working 
very STABLE the past couple of days.

Best Regards,
Lefteris Tsintjelis

> dwhite's Form Letter on Debugging Giant Deadlocks
> 
> If you are experiencing problems with CURRENT locking up hard, it may be
> due to a deadlock against the Giant mutex, which controls large parts of
> the kernel.  Symptoms include:
> 
> . No response to any input
>         . System video console
>         . Network (ping)
> 
> To debug this, you will need to set up a serial console with some special
> kernel options.  Instructions for booting with serial console are in the
> Handbook, but you will have to compile with the following kernel options:
> 
> options DDB
> options BREAK_TO_DEBUGGER
> options WITNESS
> options INVARIANTS
> options INVARIANTS_SUPPORT
> 
> Make sure your serial console is capable of sending a Break signal. If
> not, use "ALT_BREAK_TO_DEBUGGER" instead of "BREAK_TO_DEBUGGER".
> 
> Enable the serial console and boot the system. Turn on terminal logging.
> In loader, stop the boot and type "boot -v" at the OK prompt to get
> additional info during the boot process.
> 
> Once the system is up, trigger the hang. When the system hangs, issue the
> Break signal (or if you have used ALT_BREAK_TO_DEBUGGER, press Enter ~ ^E
> b (tilde, Ctrl-E, b)).
> 
> If you get the db> prompt, then your hang is probably due to a Giant
> deadlock. If not, then something else may be at fault.
> 
> Once in db>, run the following two commands and capture their output using
> your terminal's logging capability:
> 
> show locks
> tr
> 
> Take these and the boot -v output, put them on a webpage, and send a
> message to current@freebsd.org carefully explaining what you did to
> trigger the hang.
> 
> Good luck!
> 
> >
> > Best,
> > Lefteris Tsintjelis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB8D15C.947E52B1>