Bug 13814 - initrd.img lacks sdhci-pci driver after install on eMMC
Summary: initrd.img lacks sdhci-pci driver after install on eMMC
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA4-64-OK mga4-32-ok
Keywords: validated_update
Depends on: 11812
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-28 11:49 CEST by Josua Dietze
Modified: 2015-04-30 23:58 CEST (History)
4 users (show)

See Also:
Source RPM: dracut
CVE:
Status comment:


Attachments

Description Josua Dietze 2014-07-28 11:49:22 CEST
Installed M.4 on an Intel NUC machine (DE3815TYKHE) which has a basic eMMC device built in. The install medium was a current (7/2014) Mageia-4.1-dual-DVD.iso from USB.

Installation went fine, eMMC was recognized. However, booting after the completed installation failed because the root fs was not found. No eMMC block device.

It turned out that the boot installer did forget to include the sdhci drivers in the initrd. I edited the initrd image on a different M.4 system and added the missing driver modules from the identical kernel. Then I installed the new initrd via the rescue system.

Afterwards, I could boot normally from the eMMC.

Depends on bug #11812.
Josua Dietze 2014-07-28 11:49:56 CEST

Depends on: (none) => 11812

Thierry Vignaud 2014-07-29 01:01:28 CEST

CC: (none) => thierry.vignaud
Assignee: bugsquad => mageia
Source RPM: (none) => dracut

Comment 1 Colin Guthrie 2014-07-29 11:15:46 CEST
Interesting.

This would appear to be the similar to: https://bugzilla.redhat.com/show_bug.cgi?id=1063556

Which was fixed by: http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=a0b2c69441f10659cb847cbcf6fa95efdd00289f

But then fixed fully via:
http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=827ec27a9c36755095dda899eff75cdae78b2120

I'll try and prepare an updated dracut package for mga4 shortly.
Comment 2 Colin Guthrie 2014-07-29 11:40:52 CEST
Could you try dracut-034-12.2.mga4 from core/updates_testing when it hits your local mirror and report back?

Thanks!
Comment 3 Marja Van Waes 2014-08-01 14:23:12 CEST
(In reply to Colin Guthrie from comment #2)
> Could you try dracut-034-12.2.mga4 from core/updates_testing when it hits
> your local mirror and report back?
> 
> Thanks!

@ Josua Dietze

I just saw you haven't used our Bugzilla a lot.

Only in case you don't know yet: answering to a bugzilla mail does not work, so please go to https://bugs.mageia.org/show_bug.cgi?id=13814 and report back to Colin in a new comment.

Thanks :-D

CC: (none) => marja11

Comment 4 Josua Dietze 2014-08-01 14:42:11 CEST
Thanks, Marja - but I just did not get around to testing the new package yet.

BTW, I had my share of 'bug interaction' in several distributions. You may find my name as 'upstream' in the usb-modeswitch package.
Comment 5 Josua Dietze 2014-08-01 23:10:28 CEST
O.K., just updated dracut to test package dracut-034-12.2.mga4.

Short version: eMMC still not recognized

Long version:

I ran "dracut --force" and a new initrd was generated. Booting with this failed, "/dev/mmcblk0p1 not found".

Unfortunately, I could not save the "rdsosreport.txt" from the debug console as suggested, because there was annother issue with the new initrd which prevented the USB host to work properly; so I could not use any of my keyboards (tried several) and therefore had no control whatsoever.

Anyway, after switching back to my 'custom' initrd, I checked the content of the new initrd. It seems there is still a module missing. My working setup shows this line in "lsmod" output:

mmc_core    120667  3 mmc_block,sdhci,sdhci_pci

The one that is missing in the new initrd is "sdhci_pci". There is only "sdhci" in the "host" subfolder.
Comment 6 Josua Dietze 2015-04-25 12:08:14 CEST
No change regarding this dracut problem during the last kernel update (3.14.32-desktop-1.mga4).

Again I had to manually edit the initrd image, add the "sdhci_pci" module and generate updated "modules.dep" files.
Comment 7 Thomas Backlund 2015-04-25 12:28:58 CEST
I pushed a dracut-034-12.3.mga4 to Core Updates Testing that should hopefully fix this.

Can you test and confirm if it fixes the issue

CC: (none) => tmb

Comment 8 Josua Dietze 2015-04-25 17:03:10 CEST
I can confirm that dracut-034-12.3.mga4 from Updates_Testing solves the problem.

The image file created by it boots my system without requiring manual corrections.

Thanks a lot!
Comment 9 Thomas Backlund 2015-04-25 21:35:26 CEST
Ok, I assume you tested on x86_64 ?

Assigning to QA...

Advisory:
dracut failed to properly add all the needed modules to initrd
for supporting booting from sd cards. This update fixes that.


SRPM:
dracut-034-12.3.mga4.src.rpm

i586:
dracut-034-12.3.mga4.i586.rpm

x86_64:
dracut-034-12.3.mga4.x86_64.rpm

Assignee: mageia => qa-bugs

Comment 10 Josua Dietze 2015-04-25 23:55:27 CEST
Sorry - yes, my system with the embedded MMC drive is x86_64.
Comment 11 Thomas Backlund 2015-04-25 23:58:41 CEST
ok, noting that on whiteboard then...

Whiteboard: (none) => MGA4-64-OK

Comment 12 claire robinson 2015-04-28 17:43:56 CEST
Tested with kernel updates i586 & x86_64, no regression noted. 

Specific hardware to test the bugfix unavailable but reported fixed by Josua in comment 8.

Whiteboard: MGA4-64-OK => MGA4-64-OK mga4-32-ok

Comment 13 claire robinson 2015-04-28 19:10:08 CEST
Validating. Advisory uploaded.

Please push to 4 updates

Thanks
claire robinson 2015-04-28 19:10:22 CEST

Keywords: (none) => validated_update
Whiteboard: MGA4-64-OK mga4-32-ok => advisory MGA4-64-OK mga4-32-ok
CC: (none) => sysadmin-bugs

Thierry Vignaud 2015-04-30 21:34:33 CEST

Component: Installer => RPM Packages

Comment 14 Mageia Robot 2015-04-30 23:58:07 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0041.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.