About build of L4Linux

Lin bugeaterk at gmail.com
Mon Jul 9 16:39:33 CEST 2007


Hi, Adam.
Thank you for your quick response !


> > Does this header check always need to be off when I make L4Linux ?
>
> I fixed that by now. (Update the source.)

I checked out the updated source and made sure the "header check"
option is off in default. Thank you !


> To fix that for now please just don't use modules. I fixed a couple of
> those above internally but I cannot fix all of them, e.g. the gameport
> driver looks suspicious to me.

I tried making L4Linux with the kernel configuration which was changed
into like the following, then the make sequence was completed.

     Loadable module support --->
       - [ ] Enable loadable module support
     Device Drives --->
       - Input device support --->
         - [ ]   Joysticks --->
         -     Hardware I/O ports --->
           - [ ] Gameport support

But the "Section mismatch" errors in "MODPOST vmlinux" remain yet.

--------------------------------------------------
  MODPOST vmlinux
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'rest_init' (at offset 0x40017e) and 'run_init_process'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x4011ca) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x4011f3) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x401252) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x401272) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x4012b3) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:boot_command_line from .text between 'main' (at offset
0x4012eb) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'main' (at offset 0x401547) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.text:l4env_v2p_init from .text between 'main' (at offset
0x40155b) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'main' (at offset 0x401634) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'main' (at offset 0x401680) and 'l4x_linux_main_exit'
WARNING: vmlinux - Section mismatch: reference to
.init.data:initkmem_list3 from .text between 'set_up_list3s' (at
offset 0x450a0c) and '__kmem_cache_destroy'
WARNING: vmlinux - Section mismatch: reference to
.init.text:__alloc_bootmem from .text between
'vgacon_scrollback_startup' (at offset 0x760f86) and
'vgacon_scrollback_update'
WARNING: vmlinux - Section mismatch: reference to
.init.data:logo_linux_clut224 from .text between 'fb_find_logo' (at
offset 0x76c91a) and 'fb_notifier_callback'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'rivafb_init' (at offset 0x77cd9e) and 'nv3Busy'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'l4fb_con_exit' (at offset 0x7b20fa) and
'l4fb_dope_update_thread'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'happy_meal_pci_probe' (at offset 0x8b3aec) and
'happy_meal_pci_remove'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'sis900_probe' (at offset 0x8d8c6e) and
'sis900_default_phy'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'xl_probe' (at offset 0x96dde5) and 'xl_hw_reset'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'cpia_pp_attach' (at offset 0xa8bed0) and 'cpia_pp_init'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'cpia_pp_attach' (at offset 0xa8bf26) and 'cpia_pp_init'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'cpia_pp_init' (at offset 0xa8bf6d) and
'cpia_usb_complete'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text between 'sram_test_pass' (at offset 0xba6e23) and
'sram_test_and_clear'
WARNING: vmlinux - Section mismatch: reference to .init.data: from
.text between 'block2mtd_setup' (at offset 0xd73a93) and
'block2mtd_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.text after '__kprobes_text_start' (at offset 0x129cc1f)
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_dummy_exit' (at offset 0x1ad586e) and
'alsa_card_virmidi_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_virmidi_exit' (at offset 0x1ad5873) and
'alsa_card_mtpav_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'snd_mts64_module_exit' (at offset 0x1ad5894) and
'alsa_opl3_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_mpu401_exit' (at offset 0x1ad58ba) and
'alsa_vx_core_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_es18xx_exit' (at offset 0x1ad58e8) and
'alsa_card_opl3sa2_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_opl3sa2_exit' (at offset 0x1ad58ed) and
'alsa_cs4231_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_cs423x_exit' (at offset 0x1ad58f3) and
'alsa_cs4236_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_sb16_exit' (at offset 0x1ad5915) and
'alsa_sb16_exit'
WARNING: vmlinux - Section mismatch: reference to .init.text: from
.exit.text between 'alsa_card_sb16_exit' (at offset 0x1ad591c) and
'alsa_emu8000_exit'
WARNING: vmlinux - Section mismatch: reference to .init:.dyn from
(offset 0x171a010)
WARNING: vmlinux - Section mismatch: reference to .init.text:.dyn from
 (offset 0x171a044)
WARNING: vmlinux - Section mismatch: reference to .init.data:.dyn from
 (offset 0x171a048)
WARNING: vmlinux - Section mismatch: reference to .init.data:.dyn from
__setup_str_no_halt (offset 0x171a0c0)
WARNING: vmlinux - Section mismatch: reference to .init.setup:.dyn
from __setup_mca_pentium (offset 0x171a0c4)
WARNING: vmlinux - Section mismatch: reference to .init.text:.dyn from
no_387 (offset 0x171a0c8)
WARNING: vmlinux - Section mismatch: reference to .init.data:.dyn from
__setup_str_no_387 (offset 0x171a0cc)
WARNING: vmlinux - Section mismatch: reference to .init.setup:.dyn
from __setup_no_387 (offset 0x171a0d0)
WARNING: vmlinux - Section mismatch: reference to .exit.data:.dyn from
 (offset 0x171a058)
WARNING: vmlinux - Section mismatch: reference to .exit.text:.dyn from
 (offset 0x1c52004)
  COMPR   vmlinux to vmlinuz26
  LOCINST vmlinuz26
[root at lin l4linux-2.6]#
--------------------------------------------------

After make, the vmlinux(about 101.7MB) and the vmlinuz26(about 32.8M)
are created.
Are these errors always printed when we make L4Linux ? (I don't think so...)

And I'm trying to boot the made L4Linux and Fiasco with GRUB.
My GRUB doesn't have "modaddr" command, so I want to use
"single-image-mode" written in ML log
(http://www.mail-archive.com/l4-hackers@os.inf.tu-dresden.de/msg02591.html).
I'm reading "README" and "modules.list" now, but I cannot understand
how to use it yet.
I'll try harder...



Regards,
Lin




More information about the l4-hackers mailing list