Description of problem: After compiling and installing a custom kernel, running dracut to create a custom initramfs file, completes with 0 error code, but has ERRORs in the output for not finding modules. I am running the 2.6.35.6-46 kernel, but the Fedora generic not my custom at the time of the error. Version-Release number of selected component (if applicable): dracut-006-3.fc14.src.rpm How reproducible: Every time. Steps to Reproduce: 1. Compile a custom kernel from fedora wiki procedure 2. run command /sbin/dracut -f -H -v --debug dracut-2.6.35.6-46.20101021.fc14.x86_64.img 2.6.35.6-46.20101021.fc14.x86_64 > dracut_output 2>&1 3. examine the output with less dracut_output, search for RROR Actual results: Find ERROR messages for modules not found Expected results: No ERROR messages (worked fine in FC12). Additional info: These are ERRORs from my attempt, yours will probably differ. ERROR: modinfo: could not find module fuse ERROR: modinfo: could not find module cpufreq_ondemand ERROR: modinfo: could not find module powernow_k8 ERROR: modinfo: could not find module freq_table ERROR: modinfo: could not find module mperf ERROR: modinfo: could not find module uinput ERROR: modinfo: could not find module parport ERROR: modinfo: could not find module edac_core ERROR: modinfo: could not find module soundcore ERROR: modinfo: could not find module k8temp ERROR: modinfo: could not find module shpchp ERROR: modinfo: could not find module edac_mce_amd ERROR: modinfo: could not find module forcedeth ERROR: modinfo: could not find module nouveau ERROR: modinfo: could not find module ttm ERROR: modinfo: could not find module drm_kms_helper ERROR: modinfo: could not find module drm ERROR: modinfo: could not find module video ERROR: modinfo: could not find module i2c_core
fixed with: http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=6bde7a17bedde5f4917d3a337eafeac7bd55b7b1
I installed the patch to install in the /usr/share/dracut/modules.d/90kernel-modules directory. I verified that the builtin.bin had been added to the file. I then ran the command above again. The ERRORs were still there. However, the builtin.bin had been successfully added. (see output at the end, I was going to attach it as a file, but that doesn't seem to be available). So, at least in my case, this doesn't seem to fix the problem. Thanks for your help. //usr/share/dracut/modules.d/90kernel-modules/install@5(): inst /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@330(inst): case $# in //usr/share/dracut/dracut-functions@345(inst): for x in inst_symlink inst_script inst_binary inst_simple //usr/share/dracut/dracut-functions@346(inst): inst_symlink /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@298(inst_symlink): local src=/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin target=/tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin realsrc //usr/share/dracut/dracut-functions@299(inst_symlink): [[ -L /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] //usr/share/dracut/dracut-functions@299(inst_symlink): return 1 //usr/share/dracut/dracut-functions@345(inst): for x in inst_symlink inst_script inst_binary inst_simple //usr/share/dracut/dracut-functions@346(inst): inst_script /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@286(inst_script): [[ -f /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] //usr/share/dracut/dracut-functions@287(inst_script): local line //usr/share/dracut/dracut-functions@288(inst_script): read -r -n 80 line //usr/share/dracut/dracut-functions@290(inst_script): [[ -n yes ]] ///usr/share/dracut/dracut-functions@290(inst_script): tr -c -d '[:print:][:space:]' ///usr/share/dracut/dracut-functions@290(inst_script): echo -n $'\260\a\364W' //usr/share/dracut/dracut-functions@290(inst_script): line=W //usr/share/dracut/dracut-functions@291(inst_script): shebang_regex='(#! *)(/[^ ]+).*' //usr/share/dracut/dracut-functions@292(inst_script): [[ W =~ (#! *)(/[^ ]+).* ]] //usr/share/dracut/dracut-functions@292(inst_script): return 1 //usr/share/dracut/dracut-functions@345(inst): for x in inst_symlink inst_script inst_binary inst_simple //usr/share/dracut/dracut-functions@346(inst): inst_binary /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@244(inst_binary): local bin target ///usr/share/dracut/dracut-functions@245(inst_binary): find_binary /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ///usr/share/dracut/dracut-functions@233(find_binary): local 'binpath=/bin /sbin /usr/bin /usr/sbin' p ///usr/share/dracut/dracut-functions@234(find_binary): [[ -z '' ]] ///usr/share/dracut/dracut-functions@234(find_binary): [[ -x /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] ///usr/share/dracut/dracut-functions@235(find_binary): for p in '$binpath' ///usr/share/dracut/dracut-functions@236(find_binary): [[ -x /bin//lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] ///usr/share/dracut/dracut-functions@235(find_binary): for p in '$binpath' ///usr/share/dracut/dracut-functions@236(find_binary): [[ -x /sbin//lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] ///usr/share/dracut/dracut-functions@235(find_binary): for p in '$binpath' ///usr/share/dracut/dracut-functions@236(find_binary): [[ -x /usr/bin//lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] ///usr/share/dracut/dracut-functions@235(find_binary): for p in '$binpath' ///usr/share/dracut/dracut-functions@236(find_binary): [[ -x /usr/sbin//lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] ///usr/share/dracut/dracut-functions@238(find_binary): return 1 //usr/share/dracut/dracut-functions@245(inst_binary): bin= //usr/share/dracut/dracut-functions@245(inst_binary): return 1 //usr/share/dracut/dracut-functions@345(inst): for x in inst_symlink inst_script inst_binary inst_simple //usr/share/dracut/dracut-functions@346(inst): inst_simple /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@202(inst_simple): local src target //usr/share/dracut/dracut-functions@203(inst_simple): [[ -f /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] //usr/share/dracut/dracut-functions@204(inst_simple): src=/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@204(inst_simple): target=/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@205(inst_simple): [[ -d /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] //usr/share/dracut/dracut-functions@206(inst_simple): [[ -e /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin ]] //usr/share/dracut/dracut-functions@207(inst_simple): inst_dir /lib/modules/2.6.35.6-46.20101021.fc14.x86_64/ //usr/share/dracut/dracut-functions@172(inst_dir): local dir=/lib/modules/2.6.35.6-46.20101021.fc14.x86_64/ //usr/share/dracut/dracut-functions@173(inst_dir): [[ -e /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64/ ]] //usr/share/dracut/dracut-functions@176(inst_dir): local file= //usr/share/dracut/dracut-functions@177(inst_dir): local IFS=/ //usr/share/dracut/dracut-functions@178(inst_dir): for part in '$dir' //usr/share/dracut/dracut-functions@179(inst_dir): '[' -z '' ']' //usr/share/dracut/dracut-functions@179(inst_dir): continue //usr/share/dracut/dracut-functions@178(inst_dir): for part in '$dir' //usr/share/dracut/dracut-functions@179(inst_dir): '[' -z lib ']' //usr/share/dracut/dracut-functions@180(inst_dir): file=/lib //usr/share/dracut/dracut-functions@181(inst_dir): [[ -e /tmp/initramfs.GMXYJZ/lib ]] //usr/share/dracut/dracut-functions@181(inst_dir): continue //usr/share/dracut/dracut-functions@178(inst_dir): for part in '$dir' //usr/share/dracut/dracut-functions@179(inst_dir): '[' -z modules ']' //usr/share/dracut/dracut-functions@180(inst_dir): file=/lib/modules //usr/share/dracut/dracut-functions@181(inst_dir): [[ -e /tmp/initramfs.GMXYJZ/lib/modules ]] //usr/share/dracut/dracut-functions@183(inst_dir): '[' -L /lib/modules ']' //usr/share/dracut/dracut-functions@192(inst_dir): mkdir -p /tmp/initramfs.GMXYJZ/lib/modules //usr/share/dracut/dracut-functions@178(inst_dir): for part in '$dir' //usr/share/dracut/dracut-functions@179(inst_dir): '[' -z 2.6.35.6-46.20101021.fc14.x86_64 ']' //usr/share/dracut/dracut-functions@180(inst_dir): file=/lib/modules/2.6.35.6-46.20101021.fc14.x86_64 //usr/share/dracut/dracut-functions@181(inst_dir): [[ -e /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64 ]] //usr/share/dracut/dracut-functions@183(inst_dir): '[' -L /lib/modules/2.6.35.6-46.20101021.fc14.x86_64 ']' //usr/share/dracut/dracut-functions@192(inst_dir): mkdir -p /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64 //usr/share/dracut/dracut-functions@209(inst_simple): dinfo 'Installing /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin' //usr/share/dracut/dracut-functions@71(dinfo): [[ -n yes ]] //usr/share/dracut/dracut-functions@71(dinfo): echo 'I: Installing /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin' I: Installing /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@72(dinfo): [[ -w /var/log/dracut.log ]] //usr/share/dracut/dracut-functions@210(inst_simple): cp -pfL /lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin /tmp/initramfs.GMXYJZ/lib/modules/2.6.35.6-46.20101021.fc14.x86_64//modules.builtin.bin //usr/share/dracut/dracut-functions@346(inst): return 0
Sorry, you are right. Those who can read have an advantage... I should read more carefully. You get the errors on initramfs creation time.. not runtime.
Try this: http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=54b01e99d3c9436b74abac66990c081d260b1124
I haven't tried the fix yet (won't have time till later), but it appears that it is nothing more than routing errors to the bit bucket. Does that mean the ERRORs are spurious and can be safely ignored?
(In reply to comment #5) > I haven't tried the fix yet (won't have time till later), but it appears that > it is nothing more than routing errors to the bit bucket. Does that mean the > ERRORs are spurious and can be safely ignored? right
The change made the ERROR messages go away. But doesn't it make more sense to rename the output as WARNING or NOTE, instead of throwing it away?
(In reply to comment #7) > The change made the ERROR messages go away. > > But doesn't it make more sense to rename the output as WARNING or NOTE, instead > of throwing it away? No, it's ok this way.
dracut-006-6.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/dracut-006-6.fc14
This was really operator error. When I was compiling the kernel, I was trying to use my finely tuned custom configuration file from F12. However, I always got these errors with it. So I bit the bullet and used the Fedora configuration file, and went through it to create a new customized configuration. Once I did, the dracut errors went away, and everything was fine again. So there probably wasn't any error in dracut to begin with.
dracut-006-6.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update dracut'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/dracut-006-6.fc14
dracut-006-6.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.