Hide Forgot
Description of problem: Upgrading the kernel to 3.1.4 fails to install the initramfs-3.1.4-1.fc16.x86_64.img Version-Release number of selected component (if applicable): 3.1.4-1.fc16.x86_64 How reproducible: Steps to Reproduce: 1. $ sudo yum upgrade 2. ls /boot Actual results: config-3.1.2-1.fc16.x86_64 lost+found config-3.1.4-1.fc16.x86_64 memtest86+-4.20 efi System.map-3.1.2-1.fc16.x86_64 elf-memtest86+-4.20 System.map-3.1.4-1.fc16.x86_64 grub vmlinuz-3.1.2-1.fc16.x86_64 grub2 vmlinuz-3.1.4-1.fc16.x86_64 initramfs-3.1.2-1.fc16.x86_64.img Expected results: initramfs-3.1.4-1.fc16.x86_64.img should be included in the list. Additional info: The file is listed by $ rpm -ql kernel-3.1.4 /boot/System.map-3.1.4-1.fc16.x86_64 /boot/config-3.1.4-1.fc16.x86_64 /boot/initramfs-3.1.4-1.fc16.x86_64.img /boot/vmlinuz-3.1.4-1.fc16.x86_64 /etc/ld.so.conf.d/kernel-3.1.4-1.fc16.x86_64.conf /lib/modules/3.1.4-1.fc16.x86_64 ... I then downloaded http://ftp.jaist.ac.jp/pub/Linux/Fedora/updates/16/x86_64/kernel-3.1.4-1.fc16.x86_64.rpm and ran $ rpm2cpio kernel-3.1.4-1.fc16.x86_64.rpm | cpio -idmv This extracted all the files from the kernel except the initramfs. $ ls boot config-3.1.4-1.fc16.x86_64 vmlinuz-3.1.4-1.fc16.x86_64 System.map-3.1.4-1.fc16.x86_64 Is it possible that the initramfs file is not included in the rpm?
(In reply to comment #0) > Description of problem: > Upgrading the kernel to 3.1.4 fails to install the > initramfs-3.1.4-1.fc16.x86_64.img Do you have any errors in your yum.log or dracut.log or messages pertaining to this update? > I then downloaded > http://ftp.jaist.ac.jp/pub/Linux/Fedora/updates/16/x86_64/kernel-3.1.4-1.fc16.x86_64.rpm > and ran > $ rpm2cpio kernel-3.1.4-1.fc16.x86_64.rpm | cpio -idmv > > This extracted all the files from the kernel except the initramfs. > $ ls boot > config-3.1.4-1.fc16.x86_64 vmlinuz-3.1.4-1.fc16.x86_64 > System.map-3.1.4-1.fc16.x86_64 > > Is it possible that the initramfs file is not included in the rpm? It's entirely expected that the initramfs is not in the RPM itself. The initramfs is created after the kernel RPM is installed in a %posttrans scriptlet that runs the 'new-kernel-pkg' binary, which runs depmod and creates the initramfs. It's likely something went amiss running this scriptlet an left you without the initramfs. If you reinstall the kernel via RPM itself, it will probably work this time. Note: none of this is really a kernel problem, but unless you have an error message that points to either dracut or new-kernel-pkg I don't know which package to move this to.
Do you have any errors in your yum.log or dracut.log or messages pertaining to this update? No errors in the logs. > It's entirely expected that the initramfs is not in the RPM itself. The > initramfs is created after the kernel RPM is installed in a %posttrans > scriptlet that runs the 'new-kernel-pkg' binary, which runs depmod and creates > the initramfs. Thanks for the clue. > It's likely something went amiss running this scriptlet an left you without the > initramfs. If you reinstall the kernel via RPM itself, it will probably work > this time. I reinstalled from the RPM itself, and initially it failed stating that I was running out of disk space in /var/tmp. Now I have increased the size of the /var/tmp partition and can now install from the RPM. I can also install kernel-3.1.5 via yum, so I think that this has solved the problem. > Note: none of this is really a kernel problem, but unless you have an error > message that points to either dracut or new-kernel-pkg I don't know which > package to move this to.
Closing per comment #2.