[email protected] wrote:
Hi !

I've got a problem with kernel installation/upgrades on only a few machines with yum or directly with rpm ...

root     28088  2.1  7.0  45316 36256 pts/1    S+   13:36   0:34 
/usr/bin/python /usr/bin/yum -y update kernel*
root     28094  0.0  0.1   2496   916 pts/1    S+   13:38   0:00 /bin/sh 
/var/tmp/rpm-tmp.47101 4
root     28098  0.0  0.1   2496  1000 pts/1    S+   13:38   0:00 /bin/bash 
/sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 
2.6.18-194.26.1.el5
root     28107  0.0  0.2   2748  1248 pts/1    S+   13:38   0:00 /bin/bash 
--norc /sbin/mkinitrd --allow-missing -f /boot/initrd-2.6.18-194.26.1.el5.img 
2.6.18-194.26.1.el5
root     28170  0.0  0.1   2748   744 pts/1    S+   13:38   0:00 /bin/bash 
--norc /sbin/mkinitrd --allow-missing -f /boot/initrd-2.6.18-194.26.1.el5.img 
2.6.18-194.26.1.el5
root     28172  0.0  0.1   2728   712 pts/1    D+   13:38   0:00 /sbin/nash 
--forcequiet


or directly with rpm ..

rpm -ivvv kernel-2.6.18-194.26.1.el5.i686.rpm


D:   install: %post(kernel-2.6.18-194.26.1.el5.i686) asynchronous scriptlet 
start
D:   install: %post(kernel-2.6.18-194.26.1.el5.i686)    execv(/bin/sh) pid 29590
++ uname -i
++ uname -i
+ '[' i386 == x86_64 -o i386 == i386 ']'
+ '[' -f /etc/sysconfig/kernel ']'
+ /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' 
/etc/sysconfig/kernel
+ /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 
2.6.18-194.26.1.el5


.... got somebody any idea what's going wrong or could/should i do ?

Thanks & Cheers,

        Martin

Hi Martin,
The first thing I would check was my /var/log/messages and make sure I wasn't getting some write error, or any error. My first guess is that you have read-only access on some disk (wherever /boot is). I'm not saying you set it up that way, but if your disk starts to fail, that's going to be seen, and linux will switch it over to read-only mode to protect the disk.

Troy
--
__________________________________________________
Troy Dawson  [email protected]  (630)840-6468
Fermilab  ComputingDivision/SCF/FEF/SLSMS Group
__________________________________________________

Reply via email to