xxd -g1 /boot/vmlinuz-4.4.0-31-generic | grep -C1 "1f 8b 08"
4500 ...
4510 ...
echo 'ibase=16; 4501' | bc
sudo dd bs=1 skip=17665 if=/boot/vmlinuz-4.4.0-31-generic 
of=/home/martin/vmlinux.gz
xxd -g1 -l4 /home/martin/vmlinux.gz
sudo gunzip /home/martin/vmlinux.gz
sudo crash /home/martin/vmlinux

martin@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

martin@ubuntu:~$ uname -r
4.4.0-31-generic

wget 
http://launchpadlibrarian.net/272688484/linux-image-4.4.0-31-generic-dbgsym_4.4.0-31.50_i386.ddeb
sudo dpkg -i linux-image-4.4.0-31-generic-dbgsym_4.4.0-31.50_i386.ddeb

after install debug symbol, still have error

martin@ubuntu:~$ sudo crash ./vmlinux

crash 7.0.3
Copyright (C) 2002-2013  Red Hat, Inc.
Copyright (C) 2004, 2005, 2006, 2010  IBM Corporation
Copyright (C) 1999-2006  Hewlett-Packard Co
Copyright (C) 2005, 2006, 2011, 2012  Fujitsu Limited
Copyright (C) 2006, 2007  VA Linux Systems Japan K.K.
Copyright (C) 2005, 2011  NEC Corporation
Copyright (C) 1999, 2002, 2007  Silicon Graphics, Inc.
Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux, Inc.
This program is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions.  Enter "help copying" to see the conditions.
This program has absolutely no warranty.  Enter "help warranty" for details.
 
crash: ./vmlinux: no .gnu_debuglink section

crash: ./vmlinux: no debugging data available

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to