El 2014-11-16 20:33, Alexander Graf escribió: Hi,
Am 16.11.2014 um 16:34 schrieb Andreas Färber <afaerber@suse.de>:
Hi,
Am 15.11.2014 um 20:38 schrieb Oscar C: While building a JeOS image for sunxi I found a problem with the current version of dracut (0.37) in factory. It doesn't include the needed kernel module (sunxi-mmc) when creating the initrd. After the first boot the root partition cannot be found. This seems to be already fixed in dracut 0.38 (see bug https://bugzilla.redhat.com/show_bug.cgi?id=1097301) not only for sunxi but also for other boards. The solutions are:
- Patch the current dracut to include sunxi-mmc (the patch is rather trivial). - Update dracut in factory to 0.38 and squash all the new bugs that can appear.
Our JeOS kiwi files used to have a wildcard rule to include mmc drivers.
Personally I add the respective module(s) to my /etc/sysconfig/kernel. The same issue as for MMC exists for AHCI (INITRD_MODULES="ahci_sunxi").
Thanks for the update on dracut.
Right, we also have similar logic in place already for other boards. Please check out config.sh :)
Thanks for the hint. I discovered why even though in config.sh there's a line adding sunxi-mmc to dracut, I doesn't work: if [[ "$kiwi_iname" == *"-cubietruck" ]] || [[ "$kiwi_iname" == *"-cubieboard*" ]]; then # Old initrd config file sed -i 's/INITRD_MODULES="/INITRD_MODULES="sunxi-mmc /' /etc/sysconfig/kernel # New dracut (initrd) config file echo 'add_drivers+="sunxi-mmc"' > /etc/dracut.conf.d/sunxi_modules.conf fi I will prepare a SR with all the fixes needed to boot the cubieboard. -- Cheers -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org