Bug: Soft lockup detected on CPU#0!

James McDonald james
Mon Jul 16 16:40:14 PDT 2007


Net Llama! wrote:
> 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.
>
>   
Thanks I think I will put this one right next to Kurts "Accessing LVM 
Volumes from a boot CD howto"




More information about the Linux-users mailing list