Robert Moskowitz wrote:
Miika Komu wrote:Miika Komu wrote:Robert Moskowitz wrote: Hi, mostly successful: Wrote: /usr/src/redhat/SRPMS/kernel-2.6.18-92.el5.src.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-devel-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-PAE-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-PAE-devel-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-debug-2.6.18-92.el5.i686.rpmWrote: /usr/src/redhat/RPMS/i686/kernel-debug-debuginfo-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-debug-devel-2.6.18-92.el5.i686.rpmWrote: /usr/src/redhat/RPMS/i686/kernel-xen-2.6.18-92.el5.i686.rpm Wrote: /usr/src/redhat/RPMS/i686/kernel-xen-devel-2.6.18-92.el5.i686.rpmWrote: /usr/src/redhat/RPMS/i686/kernel-debuginfo-common-2.6.18-92.el5.i686.rpm error: create archive failed on file /var/tmp/kernel-2.6.18-92.el5-root/usr/lib/debug/lib/modules/2.6.18-92.el5/vmlinux: cpio: write failed - No space left on deviceI am not sure what it tried last and failed. It complained about grub when installing and there was nothing in grub:[root@responder BUILD]# rpm -i /usr/src/redhat/RPMS/i686/kernel-2.6.18-92.el5.i686.rpmgrubby fatal error: unable to find a suitable templateGoogle found something with the above error message, but I am running out of time. Either I am still missing some command line options from rpmbuild or it was lack of disk space that caused the error.http://blog.taragana.com/index.php/archive/how-why-to-install-i686-kernel-in-fedora-core-6-in-7-steps/I looked at this and did not get from it anything that I can work with. I guess the first thing is to get the patch installed....???
Well, if you look at Joakim's link or my earlier emails: (0. Install kernel sources if necessary) 1. Modified /usr/src/redhat/SPECS/kernel-2.6.spec as follows: ... %define xen_target vmlinuz %define xen_image vmlinuz # added the following line for beet %define rhbsys .beet ... Patch22557: linux-2.6-fs-race-condition-in-dnotify.patch # added the following line for beet Patch22558: centos-5.2-hipmod-sleep-beet-and-interfamily-all-in-one.patch ... %patch22557 -p1 # added the following line for beet %patch22558 -p12. cp patches/kernel/2.6.18.0/centos-5.2-hipmod-sleep-beet-and-interfamily-all-in-one.patch /usr/src/redhat/SOURCES/
3. rpmbuild --target i686 -ba --without kabichk /usr/src/redhat/SPECS/kernel-2.6.spec
4. rpm -i <built-package> 5. Do something with the grub