[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] iptables question
From:       kewlemer <kewlemer () gmail ! com>
Date:       2008-04-02 6:10:38
Message-ID: 79cbe6750804012310n24cbe1cs4c0081d3c7b4de37 () mail ! gmail ! com
[Download RAW message or body]

On 3/31/08, Raul Lopez Nevot <r.nevot@gmail.com> wrote:
> > Can anyone please tell me what I'm missing.
>
>
> You have not the correct loadable modules for your kernel.
>  If you have compiled your brand new kernel, with ARCH=um (I guess
>  because it's last version), mount your root file system on host
>  machine (mount root_fs /mnt -o loop), and install the modules compiled
>  also with ARCH=um
>
Thanks for the note. This is exactly what I had been trying, tried it
again by doing a clean build, but same problem.

If I uninstall the iptables rpm, the message is no longer reported in
dmesg. But that's because only when iptables userspace program is
present the netfilter modules getting loaded, right ?

As in the dmesg posted in the first email of this thread, I see these errors -
overflow in relocation type 11 val a0831660
`binfmt_misc' likely not compiled with -mcmodel=kernel
overflow in relocation type 11 val a0e740e0
`ipv6' likely not compiled with -mcmodel=kernel
overflow in relocation type 11 val a0e740e0
`ipv6' likely not compiled with -mcmodel=kernel
`x_tables' likely not compiled with -mcmodel=kernel
ip_tables: Unknown symbol xt_free_table_info

Can this be causing the problem?

There is a mention of mcmodel related to UML here -
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19

Thanks,
KM

>
>  export ARCH=um
>  make defconfig
>  make menuconfig
>  (select all netfilter options)
>  make
>  make modules
>  (mount your root_fs)
>  make modules_install INSTALL_MOD_PATH=(mount path for root_fs)
>  (umount root_fs)
>
>  boot your UML et voilą.
>
>  Regards
>
>  -------------------------------------------------------------------------
>  Check out the new SourceForge.net Marketplace.
>  It's the best place to buy or sell services for
>  just about anything Open Source.
>  http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>  _______________________________________________
>  User-mode-linux-user mailing list
>  User-mode-linux-user@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic