Skip to content

Instantly share code, notes, and snippets.

@milabs
Created December 10, 2014 10:15
Show Gist options
  • Save milabs/89b2ab783803c090163c to your computer and use it in GitHub Desktop.
Save milabs/89b2ab783803c090163c to your computer and use it in GitHub Desktop.
Where to get debug symbols for kernel X
Q: Where to get debug symbols for kernel X?
A: http://ddebs.ubuntu.com/pool/main/l/linux/
codename=$(lsb_release -c | awk '{print $2}')
sudo tee /etc/apt/sources.list.d/ddebs.list << EOF
deb http://ddebs.ubuntu.com/ ${codename} main restricted universe multiverse
deb http://ddebs.ubuntu.com/ ${codename}-security main restricted universe multiverse
deb http://ddebs.ubuntu.com/ ${codename}-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com/ ${codename}-proposed main restricted universe multiverse
EOF
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ECDCAD72428D7C01
sudo apt-get update
sudo apt-get install linux-image-$(uname -r)-dbgsym
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment