If your system crashes at random for a period of time, perform a memory test before entering the bug report or supporting requests. If your system crashes when a specific action occurs and the situation is similar (reproducible), you can try the following steps, try to reproduce the system crash in the text console (Control + Alt + F1) when
If your system crashes at random for a period of time, perform a memory test before entering the bug report or supporting requests. If your system crashes when a specific action occurs and the situation is similar (reproducible), you can try the following steps:
If possible, try to reproduce the system crash in the text console (Control + Alt + F1)
When the system crashes, press Alt + SysRq + 1 and then Alt + SysRq + t. If you are using the text console, you should see a set of trace information printed on the screen. If the system persists, the information will be recorded in the/var/log/kern. log file and can be seen in the output of the dmesg command. This information indicates the cause of the crash and should contain this information when any problem report is submitted.
Remote Solution
Many system crashes involve the X Window, and you cannot copy the prompt to the screen
Information. The best way is to use another computer to remotely log on to this computer.
On this computer
Install openssh-server on (if your computer can connect to the Internet, make sure that your account password is correct ).
On another computer
Install openssh-client. If the above is a windows system, install Putty, which is a free SSH client. If the MacOSX system is used, it comes with the SHH client.
Get this computer
Obtain the IP address by using the ifconfig command. If both computers are Ubuntu7.04 or MacOSX, you can replace the IP address with the computer name (for example, mycomputer. local.
Connect to this computer
, Such as the ssh myuser@192.168.1.3.
Run
Sudo cat/proc/kmsg.
Start a SHH session, just like
Tail-f/var/log/syslog or other commands.
Copy the prompt information.
Monitor any error information in SSH to submit an error report.