tails-debugging-info 822 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

debug_command() {
    echo
    echo "===== output of command $@ ====="
    "$@"
}

debug_file() {
    echo
    echo "===== content of $1 ====="
    cat $1
}

15 16 17
debug_command /usr/sbin/dmidecode -s system-manufacturer
debug_command /usr/sbin/dmidecode -s system-product-name
debug_command /usr/sbin/dmidecode -s system-version
18 19 20 21 22
debug_command "/bin/dmesg"
debug_command "/bin/lsmod"
debug_command "/usr/bin/lspci"

debug_file "/etc/X11/xorg.conf"
23 24 25
debug_file "/proc/asound/cards"
debug_file "/proc/asound/devices"
debug_file "/proc/asound/modules"
26
debug_file "/var/log/Xorg.0.log"
27 28
debug_file "/var/log/gdm3/:0-slave.log"
debug_file "/var/log/gdm3/:0-greeter.log"
29
debug_file "/var/log/live-persist"
30 31
debug_file "/var/log/live/boot.log"
debug_file "/var/log/live/config.log"
32
debug_file "/var/lib/gdm3/tails.persistence"