yum - problem installing kernel
Oldman
talbotscott at cox.net
Wed May 24 15:06:20 UTC 2006
On Tue, 2006-05-23 at 23:08 -0400, Barry K. Myrvold wrote:
> Any help would be appreciated:
> I have not been able to install new kernels. When I run yum update, all
> new packages from the various repositories install successfully, except
> yum has been stalling on the installation of updated kernels.
> For example, I recently ran 'yum update' but it stalled while installing
> kernel-smp-2.6.16-1.2122_FC5. After a while I gave up and hit Crl-C
> shutting yum down.
> I then downloaded the rpm and attempted to install it to the same effect
> - it stalled at some point during the installation process. I hit
> Ctrl-C and got the following mesage:
> error: %post(kernel-smp-2.6.16-1.2122_FC5.i686) scriptlet failed, signal 2
>
> Now, the computer can't decided whether that kernel is installed or not
> - see below:
> [barry at localhost Desktop]$ sudo rpm -ivh
> kernel-smp-2.6.16-1.2122_FC5.i686.rpm
> Preparing... ###########################################
> [100%]
> package kernel-smp-2.6.16-1.2122_FC5 is already installed
> [barry at localhost Desktop]$ sudo rpm -e kernel-smp-2.6.16-1.2122_FC5.i686.rpm
> error: package kernel-smp-2.6.16-1.2122_FC5.i686.rpm is not installed
>
IOT rpm -e a file use the package name (i.e without .rpm extension at
minimum.) try this:
sudo rpm -e kernel-smp-2.6.16-1.2122_FC5
> Here's rpm -q kernel-smp:
> kernel-smp-2.6.15-1.2054_FC5
> kernel-smp-2.6.16-1.2111_FC5
> kernel-smp-2.6.16-1.2122_FC5
>
> and grub.conf looks like this (no 2122 kernel!):
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE: You have a /boot partition. This means that
> # all kernel and initrd paths are relative to /boot/, eg.
> # root (hd0,0)
> # kernel /vmlinuz-version ro root=/dev/sda3
> # initrd /initrd-version.img
> #boot=/dev/sda
> default=1
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> #hiddenmenu
> title Memtest86 v3.2
> kernel /memtest86-3.2
> title Fedora Core (2.6.16-1.2111_FC5smp)
> root (hd0,0)
> kernel /vmlinuz-2.6.16-1.2111_FC5smp ro root=LABEL=/
> initrd /initrd-2.6.16-1.2111_FC5smp.img
> title Fedora Core (2.6.15-1.2054_FC5smp)
> root (hd0,0)
> kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
> initrd /initrd-2.6.15-1.2054_FC5smp.img
>
I'm not sure of this, but, as a guess I believe grubby uses the grub
sections as a template when a kernel is installed. Just for giggles try
moving your Memtest86 & its associated kernel line to the bottom of the
list.
The only other thing I can think of, check how full your /boot
partition is. (use df command) if it is short take a look in there and
see if there is a bunch of stuff you don't need in there.
HTH
Scott
> Not sure if this information is relevant, but here's lspci (the machine
> is a relatively dated Dell Precision dual Pentium III/1000 GH)
> 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
> bridge (rev 03)
> 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP
> bridge (rev 03)
> 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
> 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
> 00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
> 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
> 00:0d.0 PCI bridge: Hint Corp HB6 Universal PCI-PCI bridge
> (non-transparent mode) (rev 15)
> 00:0e.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus
> Controller (rev 01)
> 00:10.0 RAID bus controller: Silicon Image, Inc. Adaptec AAR-1210SA SATA
> HostRAID Controller (rev 02)
> 00:11.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
> 00:13.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> 01:00.0 VGA compatible controller: nVidia Corporation NV28 [GeForce4 Ti
> 4200 AGP 8x] (rev a1)
> 02:08.0 USB Controller: NEC Corporation USB (rev 41)
> 02:08.1 USB Controller: NEC Corporation USB (rev 41)
> 02:08.2 USB Controller: NEC Corporation USB 2.0 (rev 02)
> 02:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23
> IEEE-1394a-2000 Controller (PHY/Link)
> 03:09.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
> 03:09.1 Input device controller: Creative Labs SB Audigy MIDI/Game port
> (rev 04)03:09.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire
> Port (rev 04)
> 03:0a.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891
>
> Thanks,
> Barry
>
>
>
>
>
More information about the fedora-list
mailing list