Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:common:troubleshooting:capture-log

Capture Running Log

This guide is for users of Ubuntu Linux.

You can capture information from the running system log to diagnose abnormal behaviour and unexpected outputs.

Login via a Serial Terminal

Connect your PC to the SBC using a Serial Debug Tool.

The default account and password of Ubuntu Linux is as follows:

  • khadas - default account user name
  • khadas - default password

Running Log Capture

After logging in with the serial Terminal, you can capture the running system log via the following commands.

Fetch System Version Information

khadas@Khadas:~$ cat /etc/fenix-release > ~/system-version.log

Fetch System Kernel Information

khadas@Khadas:~$ sudo dmesg > ~/kernel.log

Fetch System Log Information

khadas@Khadas:~$ sudo tar cvzf ~/systemlog.tgz /var/log/

Send Log File

When reporting problems to Khadas Community or support@khadas.com, you can save the log file from your SBC into an SD card, and then send it off to us using your PC.

Last modified: 2023/03/23 21:25 by nick