mkinitrd reports error "File format not recognized" from /usr/bin/strip
Issue
- When trying to build an initrd.img for the kernel ,getting the below error:
# mkinitrd -v -f initrd $(uname -r)
...
/usr/bin/strip: /lib/modules/2.6.18-274.el5/kernel/drivers/usb/host/uhci-hcd.ko: File format not recognized
/usr/bin/strip: /lib/modules/2.6.18-274.el5/kernel/fs/jbd/jbd.ko: File format not recognized
/usr/bin/strip: /lib/modules/2.6.18-274.el5/kernel/fs/ext3/ext3.ko: File format not recognized
...
Environment
- Red Hat Enterprise Linux 5
- binutils-2.17.50.0.6-9.0.1.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
