extract-vmlinux script doesn't work with ARM kernels

Bug #1050453 reported by Matt Waddel
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Ubuntu

Bug Description

The extract-vmlinux script that is included in the linux-headers-(version) package doesn't work with ARM vmlinuz kernels. The script fails with the following message: "Cannot find vmlinux."

Looking at the script everything seems to execute correctly, but after stripping off the header and running the result through gunzip an elf file is expected. The result is not recognized as an elf file, so the script fails.

/usr/src/linux-headers-$(uname -r)/scripts/extract-vmlinux /boot/vmlinuz-$(uname -r) > /tmp/vmlinux
extract-vmlinux: Cannot find vmlinux.

The scripts works with an x86 kernel.

Fathi Boudra (fboudra)
affects: linux-linaro → linaro-ubuntu
Revision history for this message
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.