Il giorno 25/feb/09, alle ore 18:06, Brian J. Murrell ha scritto: > On Wed, 2009-02-25 at 17:45 +0100, Vincenzo Spinoso wrote: >> patching the kernel 2.6.22.14 (vanilla) with both lustre 1.6.6 and >> 1.6.7 successfully; > > Can you please describe (or better yet, paste a transcript) of your > patching process?
I've restarted building from scratch, pacthing a fresh untarred kernel, and now it works. So I suppose that it's mandatory to make rpms immediately after patching... Maybe some intermediate menuconfig has dirtied the three (I have to compile Openafs also, I will do after building Lustre). A transcript follows, reporting also the output of quilt -av (which belongs to patching process you refer to), hope it can be generally useful. Thank you for your (fast) suggestion! Vincenzo # mkdir /root/kernel && cd /root/kernel # tar xjf linux-2.6.22.14.tar.bz2 # tar xzf rhel4-x86_64-lustre-1.6.7.tar.gz # rpm -ivh quilt-0.46-1.el4.i386.rpm # cd linux-2.6.22.14 # ln -s /root/kernel/lustre-1.6.7/lustre/kernel_patches/series/2.6.22- vanilla.series series # ln -s /root/kernel/lustre-1.6.7/lustre/kernel_patches/patches patches # quilt push -av Applying patch patches/lustre_version.patch patching file include/linux/lustre_version.h Applying patch patches/vfs_races-2.6.22-vanilla.patch patching file fs/dcache.c patching file include/linux/dcache.h Applying patch patches/i_filter_data.patch patching file include/linux/fs.h Hunk #1 succeeded at 569 with fuzz 2 (offset 36 lines). Applying patch patches/jbd-jcberr-2.6.18-vanilla.patch patching file include/linux/jbd.h Hunk #1 succeeded at 359 (offset 3 lines). Hunk #3 succeeded at 414 (offset 3 lines). Hunk #4 succeeded at 459 with fuzz 1. Hunk #5 succeeded at 593 (offset 3 lines). Hunk #6 succeeded at 945 (offset -1 lines). patching file fs/jbd/checkpoint.c Hunk #1 succeeded at 689 (offset 1 line). patching file fs/jbd/commit.c Hunk #1 succeeded at 755 (offset 47 lines). patching file fs/jbd/journal.c Hunk #1 succeeded at 57 (offset -1 lines). patching file fs/jbd/transaction.c Hunk #1 succeeded at 51 with fuzz 1 (offset 1 line). Hunk #3 succeeded at 1308 with fuzz 1 (offset 14 lines). Hunk #4 succeeded at 1397 (offset 1 line). Applying patch patches/iopen-misc-2.6.22-vanilla.patch patching file Documentation/filesystems/ext2.txt patching file fs/dcache.c patching file include/linux/dcache.h Applying patch patches/export-truncate-2.6.18-vanilla.patch patching file include/linux/mm.h Hunk #1 succeeded at 559 (offset 30 lines). patching file mm/truncate.c Hunk #1 succeeded at 89 with fuzz 1 (offset 56 lines). Hunk #2 succeeded at 49 with fuzz 2 (offset 1 line). Applying patch patches/export_symbols-2.6.22-vanilla.patch patching file fs/filesystems.c patching file fs/namespace.c patching file fs/dcache.c patching file include/linux/fs.h Applying patch patches/dev_read_only-2.6.22-vanilla.patch patching file block/ll_rw_blk.c Hunk #1 succeeded at 3102 (offset 1 line). Hunk #3 succeeded at 3859 (offset 1 line). patching file fs/block_dev.c patching file include/linux/fs.h Applying patch patches/export-2.6.18-vanilla.patch patching file fs/open.c Hunk #1 succeeded at 653 (offset -155 lines). patching file fs/jbd/journal.c Hunk #1 succeeded at 73 (offset -1 lines). Applying patch patches/8kstack-2.6.12.patch patching file include/asm-i386/thread_info.h Applying patch patches/export-show_task-2.6.18-vanilla.patch patching file kernel/sched.c Hunk #1 succeeded at 4972 with fuzz 2 (offset 320 lines). Hunk #2 succeeded at 4685 with fuzz 2 (offset -13 lines). Applying patch patches/sd_iostats-2.6.22-vanilla.patch patching file drivers/scsi/Kconfig patching file drivers/scsi/scsi_proc.c patching file drivers/scsi/sd.c Hunk #3 succeeded at 1002 (offset 2 lines). Hunk #5 succeeded at 1762 (offset 2 lines). Hunk #7 succeeded at 2264 (offset 2 lines). patching file include/scsi/sd.h Applying patch patches/quota-large-limits-rhel5.patch patching file fs/dquot.c Hunk #1 succeeded at 1613 (offset 25 lines). Hunk #3 succeeded at 1665 (offset 25 lines). patching file fs/quota_v1.c patching file fs/quota_v2.c Hunk #8 succeeded at 481 with fuzz 2. patching file include/linux/dqblk_v2.h patching file include/linux/quota.h Hunk #1 succeeded at 150 (offset 2 lines). patching file include/linux/quotaio_v2.h Applying patch patches/md-mmp-unplug-dev.patch patching file drivers/md/raid5.c Now at patch patches/md-mmp-unplug-dev.patch # make menuconfig && make rpm && rpm -ivh /usr/src/redhat/RPMS/x86_64/ kernel-2.6.22.14-1.x86_64.rpm && mkinitrd -f /boot/ initrd-2.6.22.14.img 2.6.22.14 (at this point I'm able to update GRUB and reboot the system with the new kernel). # cd ../lustre-1.6.7 # ./configure --with-linux=/usr/src/redhat/BUILD/kernel-2.6.22.14 -- with-kernel-source-header=/usr/src/redhat/BUILD/kernel-2.6.22.14 && make rpms _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
