Dumping logs
When facing an issue on a unique hardware configuration on the end user side it may prove useful to submit system logs to Dasharo team for diagnosis and possibly problem solution. This section describes how to dump various logs from a running system.
System information
One may use Dasharo Tools Suite HCL report or fwdump-docker image to gather all the hardware configuration information from a running system. The usage of the tools should result in an archive containing various logs from the running system. Submit them via email to contact@dasharo.com or use Dasharo pastebin.
coreboot logs
When already migrated to Dasharo, it is possible to retrieve firmware logs from
coreboot on a running system. A utility called cbmem
can be used for that
purpose. By obtaining the logs Dasharo team will be able to locate any issues
with the firmware. This method requires Secure Boot to be disabled.
Short instruction how to compile and use cbmem
on Ubuntu 22.04 live CD:
- Launch Ubuntu 22.04 live CD and choose to
Try Ubuntu
. - Right click on the desktop and choose
Open in Terminal
. -
Install required packages:
sudo apt-get install -y build-essential libpci-dev
-
Navigate to tmpfs:
cd /tmp
. -
Download and extract coreboot source:
wget https://coreboot.org/releases/coreboot-4.17.tar.xz tar xvf coreboot-4.17.tar.xz
-
Compile cbmem utility:
cd coreboot-4.17/util/cbmem make
-
Obtain the coreboot logs:
sudo ./cbmem -1 > coreboot.log
-
Check if the file
coreboot.log
contains coreboot logs and send them to Dasharo team via email or pastebin.