Bug 928673 - mkinitrd doesn't find kernel
Summary: mkinitrd doesn't find kernel
Status: RESOLVED DUPLICATE of bug 908454
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: 201503*
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ludwig Nussel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-27 06:00 UTC by Volker Kuhlmann
Modified: 2015-05-09 21:48 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Kuhlmann 2015-04-27 06:00:38 UTC
# mkinitrd 
No kernel found in /boot or bad modules dir in /lib/modules

Looking at the script it's probably because

/usr/bin/get_kernel_version /boot/zImage-3.16.7-11-default
/usr/bin/get_kernel_version /boot/zImage-3.19.3-1-default

etc. produce no output.

# rpm -qf /usr/bin/get_kernel_version
aaa_base-13.2+git20150309.be5760c-1.1.armv7hl
# uname -a
Linux linux 3.19.3-1-default #1 SMP Thu Mar 26 17:34:34 UTC 2015 (f10e7fc) armv7l armv7l armv7l GNU/Linux

Problem occurs on all of these systems:
openSUSE-13.2-ARM-JeOS-cubieboard.armv7l-1.12.1-Build33.6.raw.xz
openSUSE-Factory-ARM-JeOS-cubieboard.armv7l-1.12.1-Build269.1.raw.xz
openSUSE-Factory-ARM-JeOS-cubieboard.armv7l-1.12.1-Build293.8.raw.xz
Comment 1 Chenzi Cao 2015-04-28 10:11:37 UTC
Hi Ludwig, I'm not sure whether it is right to assign it to you, please feel free to reassign whenever necessary, thank you!
Comment 2 Ludwig Nussel 2015-04-28 12:14:02 UTC
dup of 908454

*** This bug has been marked as a duplicate of bug 908454 ***
Comment 3 Volker Kuhlmann 2015-05-09 21:48:27 UTC
Using file may not be so simple:

# file /boot/zImage-3.19.3-1-default
/boot/zImage-3.19.3-1-default: Linux kernel ARM boot executable zImage (little-endian)
# file -v
file-5.19

Any reason not to use just the file name (or link name, don't de-reference)?