*SOLVED* Kernel install problem [message #6503] |
Tue, 19 September 2006 13:07 |
dagr
Messages: 83 Registered: February 2006
|
Member |
|
|
I tried ovzkernel-smp-2.6.9-023stab016.2.i686.rpm on several hosts and it was ok , until i tried it on the production one which uses SCSI AIC7xxx
diskdumplib 4940 0 [aic7xxx]
sd_mod 13968 12
scsi_mod 106924 3 [sr_mod sg aic7xxx sd_mod]
its RHEL3 (i already tried it on another RHEL3 and all was ok) , but this time i got :
[dagr@ws-ca openvz]$ sudo rpm -ivh ovzkernel-smp-2.6.9-023stab016.2.i686
.rpm
warning: ovzkernel-smp-2.6.9-023stab016.2.i686.rpm: V3 DSA signature: NOKEY, key
ID a7a1d4b6
Preparing... ########################################### [100%]
1:ovzkernel-smp ########################################### [100%]
No module aic7xxx found for kernel 2.6.9-023stab016.2-smp, aborting.
mkinitrd failed
error: %post(ovzkernel-smp-2.6.9-023stab016.2) scriptlet failed, exit status 1
//////////////////////////////////////
i checked /boot dir - and saw that it created kernels but not initrd file and also left intact grub.conf
///////////////////////////////////////////////////////
i tried to compile it manually
downloaded src rpm ovzkernel-2.6.9-023stab016.2.src.rpm
substituted kernel-2.6.9-023stab016-i686-smp.config.ovz instead of .config . Made make menuconfig - changed aic7xxx new and old to M and saved. Then i run `make bzImage` and finally got this
arch/i386/power/built-in.o(.text+0x1cd): In function `swsusp_arch_resume':
: undefined reference to `swsusp_pg_dir'
make: *** [.tmp_vmlinux1] Error 1
So i gave up for now and want to ask - how to fix it ?
Also can you give me link to simple howto - how to build binary rpm - from compiled kernel and kernel-ovz.spec file which you share with src rpm.
[Updated on: Wed, 20 September 2006 07:32] by Moderator Report message to a moderator
|
|
|