Bug: Soft lockup detected on CPU#0!

Net Llama! netllama
Mon Jul 16 15:44:32 PDT 2007


On Tue, 17 Jul 2007, James McDonald wrote:
> Net Llama! wrote:
>> On Mon, 16 Jul 2007, Michael Hipp wrote:
>>
>> You need to setup a serial console to capture the full output.  I've never
>> seen a CPU soft lockup that didn't include a backtrace.
>>
>>
> How would one set up a serial console is it simply a matter of plugging
> a laptop with a terminal program into the serial port of the server ?
> How do you capture the full backtrace?

Yes, you need two systems.  The system that is crashing, and another 
system.  Both must have a serial port.  You connect a serial cable (AKA 
null modem cable) between the two systems.

On the system that is crashing, append the following to the end of the 
kernel line in grub:
console=ttyS0,115200 console=tty0

then reboot that system.

On the system that will be capturing the output, just run:
screen -L -S serial-console /dev/ttyS0 115200

You should see the full dmesg output inside the screen session, and also 
have it written to screenlog.0 for review later on.

When the crashing systme crashes, you'll get the full crash output.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org



More information about the Linux-users mailing list