From mboxrd@z Thu Jan 1 00:00:00 1970 From: hongqian Subject: Problem when Patching the kernel for largeblocksize Date: Mon, 14 Apr 2008 16:51:09 +0800 Message-ID: <63dd345a0804140151h92d5753pf364588842b49dcd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from po-out-1718.google.com ([72.14.252.159]:60684 "EHLO po-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756380AbYDNIvK (ORCPT ); Mon, 14 Apr 2008 04:51:10 -0400 Received: by po-out-1718.google.com with SMTP id y22so2742783pof.1 for ; Mon, 14 Apr 2008 01:51:09 -0700 (PDT) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: I get the patch from /pub/linux/kernel/people/christoph/largeblocksize/4 the kernel is linux-2.6.22-rc4 I build the kernel with such warnings: MODPOST vmlinux WARNING: arch/i386/kernel/built-in.o(.text+0x8d85): Section mismatch: reference to .init.text: (between 'mtrr_bp_init' and 'mtrr_ap_init') WARNING: arch/i386/kernel/built-in.o(.text+0x8ef3): Section mismatch: reference to .init.text: (between 'mtrr_bp_init' and 'mtrr_ap_init') WARNING: arch/i386/kernel/built-in.o(.text+0x8ef8): Section mismatch: reference to .init.text: (between 'mtrr_bp_init' and 'mtrr_ap_init') WARNING: arch/i386/kernel/built-in.o(.text+0x9851): Section mismatch: reference to .init.text: (between 'get_mtrr_state' and 'mtrr_wrmsr') WARNING: arch/i386/kernel/built-in.o(.text+0x98f3): Section mismatch: reference to .init.text: (between 'get_mtrr_state' and 'mtrr_wrmsr') WARNING: arch/i386/kernel/built-in.o(.text+0x9904): Section mismatch: reference to .init.text: (between 'get_mtrr_state' and 'mtrr_wrmsr') WARNING: arch/i386/kernel/built-in.o(.text+0x992d): Section mismatch: reference to .init.text: (between 'get_mtrr_state' and 'mtrr_wrmsr') WARNING: arch/i386/kernel/built-in.o(.text+0xbeee): Section mismatch: reference to .init.data:trampoline_end (between 'setup_trampoline' and 'cpu_coregroup_map') WARNING: arch/i386/kernel/built-in.o(.text+0xbef3): Section mismatch: reference to .init.data:trampoline_data (between 'setup_trampoline' and 'cpu_coregroup_map') WARNING: arch/i386/kernel/built-in.o(.text+0xbf01): Section mismatch: reference to .init.data:trampoline_data (between 'setup_trampoline' and 'cpu_coregroup_map') WARNING: arch/i386/kernel/built-in.o(.exit.text+0x19): Section mismatch: reference to .init.text: (between 'cache_remove_dev' and 'ffh_cstate_exit') WARNING: arch/i386/kernel/built-in.o(.data+0xf40): Section mismatch: reference to .init.text: (between 'thermal_throttle_cpu_notifier' and 'mtrr_mutex') WARNING: kernel/built-in.o(.text+0x161d5): Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head') OBJCOPY arch/i386/boot/compressed/vmlinux.bin GZIP arch/i386/boot/compressed/vmlinux.bin.gz LD arch/i386/boot/compressed/piggy.o LD arch/i386/boot/compressed/vmlinux OBJCOPY arch/i386/boot/vmlinux.bin BUILD arch/i386/boot/bzImage Root device is (253, 0) Boot sector 512 bytes. Setup is 5226 bytes. System is 1503 kB Kernel: arch/i386/boot/bzImage is ready (#15) Building modules, stage 2. MODPOST 337 modules WARNING: drivers/acpi/toshiba_acpi.o(.text+0x6e8): Section mismatch: reference to .exit.text: (after 'cleanup_module') WARNING: drivers/net/sis900.o(.text+0x4d7): Section mismatch: reference to .init.text:sis900_mii_probe (between 'sis900_probe' and 'sis900_default_phy') WARNING: drivers/net/sunhme.o(.text+0x2837): Section mismatch: reference to .init.text: (between 'happy_meal_pci_probe' and 'happy_meal_pci_remove') while use this builded kernel, System can's boot. Can anyone help ? And any patch for kernel 2.6.24 . Best regards !