Skip to contentSkip to conversation

Problem when Patching the kernel for largeblocksize

DISCUSSION hongqian 3 participants 3 messages Apr 14, 2008 VFS

lore
Share & tools
lore

hongqian

author
#0 lore raw

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 !

#1 lore raw
Quoted 1 line · hongqian

I get the patch from /pub/linux/kernel/people/christoph/largeblocksize/4

Why ask -fsdevel, rather than, say, Christoph?

Quoted 69 lines

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 !
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 4 lines
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
#2 lore raw
Quoted 4 lines · Matthew Wilcox
Quoted 1 line · hongqian

I get the patch from /pub/linux/kernel/people/christoph/largeblocksize/4

Why ask -fsdevel, rather than, say, Christoph?

The largeblock patch has not been updated in awhile now. I am working on getting some of the lower level things into shape. Currently working on page flags, then we need virtual compoun page support and the pagecache function cleanups before we can get to the main patchset.

Maybe I can get an updated git tree done (if I get some time). Would people be interested in helping to develop and debug this thing?