PDA

View Full Version : Kernel install failure


glennzo
15th November 2009, 11:31 AM
Can anyone translate the following into human understandable terms please?
Downloading Packages:
kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686.rpm | 21 MB 00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686 1/1
E: Failed to install sha512hmac
mkinitrd failed
Non-fatal POSTIN scriptlet failure in rpm package kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686
warning: %post(kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686) scriptlet failed, exit status 1

Installed:
kernel-PAE.i686 0:2.6.32-0.33.rc5.git1.fc13

So the kernel was installed but there were errors. When I list /boot I see this.
[glenn@fedora12 ~>$ ls /boot/
config-2.6.31.5-122.fc12.i686 System.map-2.6.31.5-122.fc12.i686
config-2.6.31.5-122.fc12.i686.PAE System.map-2.6.31.5-122.fc12.i686.PAE
config-2.6.31.5-127.fc12.i686 System.map-2.6.31.5-127.fc12.i686
config-2.6.31.5-127.fc12.i686.PAE System.map-2.6.31.5-127.fc12.i686.PAE
config-2.6.32-0.33.rc5.git1.fc13.i686 System.map-2.6.32-0.33.rc5.git1.fc13.i686
config-2.6.32-0.33.rc5.git1.fc13.i686.PAE System.map-2.6.32-0.33.rc5.git1.fc13.i686.PAE
efi vmlinuz-2.6.31.5-122.fc12.i686
grub vmlinuz-2.6.31.5-122.fc12.i686.PAE
grub2 vmlinuz-2.6.31.5-127.fc12.i686
initramfs-2.6.31.5-122.fc12.i686.img vmlinuz-2.6.31.5-127.fc12.i686.PAE
initramfs-2.6.31.5-122.fc12.i686.PAE.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686
initramfs-2.6.31.5-127.fc12.i686.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686.PAE
initramfs-2.6.31.5-127.fc12.i686.PAE.img

There is no initramfs for the Fedora 13 kernel, probably because mkinitrd failed. What to do?

Nokia
15th November 2009, 02:37 PM
Perhaps reinstalling it with yum install --nogpgcheck -d9 would be more helpfull

leigh123linux
15th November 2009, 02:43 PM

Can anyone translate the following into human understandable terms please?
Downloading Packages:
kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686.rpm | 21 MB 00:09
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686 1/1
E: Failed to install sha512hmac
mkinitrd failed
Non-fatal POSTIN scriptlet failure in rpm package kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686
warning: %post(kernel-PAE-2.6.32-0.33.rc5.git1.fc13.i686) scriptlet failed, exit status 1

Installed:
kernel-PAE.i686 0:2.6.32-0.33.rc5.git1.fc13 So the kernel was installed but there were errors. When I list /boot I see this.
[glenn@fedora12 ~>$ ls /boot/
config-2.6.31.5-122.fc12.i686 System.map-2.6.31.5-122.fc12.i686
config-2.6.31.5-122.fc12.i686.PAE System.map-2.6.31.5-122.fc12.i686.PAE
config-2.6.31.5-127.fc12.i686 System.map-2.6.31.5-127.fc12.i686
config-2.6.31.5-127.fc12.i686.PAE System.map-2.6.31.5-127.fc12.i686.PAE
config-2.6.32-0.33.rc5.git1.fc13.i686 System.map-2.6.32-0.33.rc5.git1.fc13.i686
config-2.6.32-0.33.rc5.git1.fc13.i686.PAE System.map-2.6.32-0.33.rc5.git1.fc13.i686.PAE
efi vmlinuz-2.6.31.5-122.fc12.i686
grub vmlinuz-2.6.31.5-122.fc12.i686.PAE
grub2 vmlinuz-2.6.31.5-127.fc12.i686
initramfs-2.6.31.5-122.fc12.i686.img vmlinuz-2.6.31.5-127.fc12.i686.PAE
initramfs-2.6.31.5-122.fc12.i686.PAE.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686
initramfs-2.6.31.5-127.fc12.i686.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686.PAE
initramfs-2.6.31.5-127.fc12.i686.PAE.img
There is no initramfs for the Fedora 13 kernel, probably because mkinitrd failed. What to do?



Try


su
dracut -f /boot/initramfs-2.6.32-0.33.rc5.git1.fc13.i686.PAE.img 2.6.32-0.33.rc5.git1.fc13.i686.PAE


It failed because mkinitrd has been replaced by dracut.

Nokia
15th November 2009, 02:45 PM
Try


su
dracut -f /boot/initramfs-2.6.32-0.33.rc5.git1.fc13.i686.PAE.img 2.6.32-0.33.rc5.git1.fc13.i686.PAE
It failed because mkinitrd has been replaced by dracut.

So why the %post still invokes mkinitrd ?

leigh123linux
15th November 2009, 02:48 PM
So why the %post still invokes mkinitrd ?

I don't know, try asking @ #fedora-kernel

leigh123linux
15th November 2009, 03:23 PM
Ok there seems to be a missing kernel dependency

https://bugzilla.redhat.com/show_bug.cgi?id=537619


su
yum install hmaccalc
yum reinstall kernel-PAE

glennzo
15th November 2009, 03:34 PM
Too late. Took your first advice but had to take the long way around.....

[root@fedora12 glenn]# dracut -f /boot/initramfs-2.6.32-0.33.rc5.git1.fc13.i686.PAE.img 2.6.32-0.33.rc5.git1.fc13.i686.PAE
E: Failed to install sha512hmac
[root@fedora12 glenn]# yum whatprovides */sha512hmac
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* rawhide: ftp.us.unixeria.com
* rpmfusion-free-rawhide: mirror.liberty.edu
* rpmfusion-nonfree-rawhide: mirror.liberty.edu
adobe-linux-i386/filelists | 140 kB 00:00
google/filelists | 10 kB 00:00
koji-i386/filelists_db | 14 MB 00:06
rawhide/filelists_db | 15 MB 00:05
http://mirror.liberty.edu/pub/rpmfusion/free/fedora/development/i386/os/repodata/ce2be0a879feee47b8e4f26df8989bfc3e5806eb7bd4940794 b817f2e4f2a0bc-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 : http://mirror.liberty.edu/pub/rpmfusion/free/fedora/development/i386/os/repodata/ce2be0a879feee47b8e4f26df8989bfc3e5806eb7bd4940794 b817f2e4f2a0bc-filelists.sqlite.bz2
Trying other mirror.
rpmfusion-free-rawhide/filelists_db | 337 kB 00:00
http://mirror.liberty.edu/pub/rpmfusion/nonfree/fedora/development/i386/os/repodata/4bc1454a59d8a6b79604e478fab7af0fe9a40891ea8777032d 2992d4b4b2bade-filelists.sqlite.bz2: [Errno 14] HTTP Error 404 : http://mirror.liberty.edu/pub/rpmfusion/nonfree/fedora/development/i386/os/repodata/4bc1454a59d8a6b79604e478fab7af0fe9a40891ea8777032d 2992d4b4b2bade-filelists.sqlite.bz2
Trying other mirror.
rpmfusion-nonfree-rawhide/filelists_db | 60 kB 00:00
hmaccalc-0.9.11-1.fc12.i686 : Tools for computing and checking HMAC values for files
Repo : koji-i386
Matched from:
Filename : /usr/bin/sha512hmac



hmaccalc-0.9.11-1.fc12.i686 : Tools for computing and checking HMAC values for files
Repo : rawhide
Matched from:
Filename : /usr/bin/sha512hmac



[root@fedora12 glenn]# yum install hmaccalc
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* rawhide: ftp.us.unixeria.com
* rpmfusion-free-rawhide: mirror.liberty.edu
* rpmfusion-nonfree-rawhide: mirror.liberty.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package hmaccalc.i686 0:0.9.11-1.fc12 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ================================================== =====
Package Arch Version Repository Size
================================================== ================================================== =====
Installing:
hmaccalc i686 0.9.11-1.fc12 koji-i386 19 k

Transaction Summary
================================================== ================================================== =====
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 19 k
Is this ok [y/N]: y
Downloading Packages:
hmaccalc-0.9.11-1.fc12.i686.rpm | 19 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : hmaccalc-0.9.11-1.fc12.i686 1/1

Installed:
hmaccalc.i686 0:0.9.11-1.fc12

Complete!
[root@fedora12 glenn]# dracut -f /boot/initramfs-2.6.32-0.33.rc5.git1.fc13.i686.PAE.img 2.6.32-0.33.rc5.git1.fc13.i686.PAE
[root@fedora12 glenn]# ls /boot/
config-2.6.31.5-122.fc12.i686 initramfs-2.6.32-0.33.rc5.git1.fc13.i686.PAE.img
config-2.6.31.5-122.fc12.i686.PAE System.map-2.6.31.5-122.fc12.i686
config-2.6.31.5-127.fc12.i686 System.map-2.6.31.5-122.fc12.i686.PAE
config-2.6.31.5-127.fc12.i686.PAE System.map-2.6.31.5-127.fc12.i686
config-2.6.32-0.33.rc5.git1.fc13.i686 System.map-2.6.31.5-127.fc12.i686.PAE
config-2.6.32-0.33.rc5.git1.fc13.i686.PAE System.map-2.6.32-0.33.rc5.git1.fc13.i686
efi System.map-2.6.32-0.33.rc5.git1.fc13.i686.PAE
grub vmlinuz-2.6.31.5-122.fc12.i686
grub2 vmlinuz-2.6.31.5-122.fc12.i686.PAE
initramfs-2.6.31.5-122.fc12.i686.img vmlinuz-2.6.31.5-127.fc12.i686
initramfs-2.6.31.5-122.fc12.i686.PAE.img vmlinuz-2.6.31.5-127.fc12.i686.PAE
initramfs-2.6.31.5-127.fc12.i686.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686
initramfs-2.6.31.5-127.fc12.i686.PAE.img vmlinuz-2.6.32-0.33.rc5.git1.fc13.i686.PAE

Nokia
15th November 2009, 05:12 PM
Do you notice anything different from .31 series ?

glennzo
15th November 2009, 05:25 PM
Just this minute got it booted up. I was away from the computers for a while after I created the initramfs file, then, since Ubuntu9.10's GRUB2 is running things, I had to boot Ubuntu and use the sudo update-grub script to bring in the new Fedora kernel. Only then was I able to reboot and load the Fedora 13 kernel.

Now, sometimes I'm not that bright. What do you mean "from the .31 series? Looks like F12 was .31 also.

Nokia
15th November 2009, 05:46 PM
I asked if you saw anything different booting/running F13 .32rc5 kernel compared with F12 .31 series kernels.

glennzo
15th November 2009, 05:58 PM
32 it is. A couple error messages while booting. This one, about 10 times.

Nov 15 12:37:25 fedora12 udevd[354]: NAME="%k" is superfluous and breaks kernel supplied names, please remove it from /etc/udev/rules.d/99-fuse.rules:1

OainjaQakanj
16th November 2009, 04:07 PM
Helm me to join testing. How to upgrade to 13?

bob
16th November 2009, 04:11 PM
F12 hasn't yet been released and 13 is still a dream to the devs. I'd wait until they are ready to release F13 Alpha, which will be several months away. Just my opinion though. I'm sure one of the guys who's got things running will give you tips.

OainjaQakanj
16th November 2009, 04:14 PM
So actually what is happening here is that some guys build custom kernels. I see some like f13 in first text..

leigh123linux
16th November 2009, 04:32 PM
So actually what is happening here is that some guys build custom kernels. I see some like f13 in first text..


If you want to try F13 rawhide, install the F12 RC and edit the repos and enable rawhide then run yum update.

glennzo
16th November 2009, 06:41 PM
Hi,
i have reported similar problems with FC3..now i am trying FC10 in a different machine...but i get this error...
[root@localhost HCL]# yum check-update
Loaded plugins: refresh-packagekit
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
....now if it is caused due to proxy, please tell me what will be the remedy..because i cannot avoid it...
thanks..njpcX

A few problems here njpcX. You've hijacked a thread, just happens to be mine but that makes no difference. Secondly, you've posted a question in the Fedora 13 / rawhide forum which has absoultely nothing to do with Fedora 13 / rawhide. I'm going to move your post to the appropriate forum. Maybe there you will get a helpful reply. In the meanwhile, have a look at the posting guidelines, http://fedoraforum.org/?view=guide.

Jongi
19th November 2009, 08:19 PM
Just this minute got it booted up. I was away from the computers for a while after I created the initramfs file, then, since Ubuntu9.10's GRUB2 is running things, I had to boot Ubuntu and use the sudo update-grub script to bring in the new Fedora kernel. Only then was I able to reboot and load the Fedora 13 kernel.

Now, sometimes I'm not that bright. What do you mean "from the .31 series? Looks like F12 was .31 also.

why not install fedora's grub to the fedora partition (or the fedora /boot partition if it is seperate).

then create, in Ubuntu a file called /etc/grub,d/50_personal. Make that file executable with chmod +x. In that file have

#!/bin/sh
cat << EOF
menuentry "Fedora 12" {
set root=(hdx,y)
chainloader +1
}
EOF

Then run update-grub in Ubuntu. This way you have Ubuntu's grub2 always chainloading the Fedora grub and you do not need to edit everytime you install a new kernel?

OainjaQakanj
19th November 2009, 08:21 PM
Enable repos? And upgrade? Sure, and need to have more precisely. I am not newbie but far from pro. So give some hint's I figure out rest. I am using 12A now. Should I reinstall RC?

glennzo
20th November 2009, 12:29 AM
why not install fedora's grub to the fedora partition (or the fedora /boot partition if it is seperate).

then create, in Ubuntu a file called /etc/grub,d/50_personal. Make that file executable with chmod +x. In that file have

#!/bin/sh
cat << EOF
menuentry "Fedora 12" {
set root=(hdx,y)
chainloader +1
}
EOF

Then run update-grub in Ubuntu. This way you have Ubuntu's grub2 always chainloading the Fedora grub and you do not need to edit everytime you install a new kernel?
Thank you for your input Jongi. I'd rather learn how to deal effectively with grub2 instead of hanging on to grub1, after all, it's likely that grub2 will be adopted by most all flavors of Linux in the not too distant future.

Jongi
20th November 2009, 08:36 PM
Thank you for your input Jongi. I'd rather learn how to deal effectively with grub2 instead of hanging on to grub1, after all, it's likely that grub2 will be adopted by most all flavors of Linux in the not too distant future.

the file path should be /etc/grub.d/50_personal ( a dot and not a comma) -> you can call the file anything other than the names already in that directory

and remember of course that unlike grub1, grub2 starts its partitions from 1 ie hd(0,1) <grub2> instead of hd(0,0) <grub1>