problems when running uml

Help
Eddy
2007-12-02
2013-06-03
  • Eddy
    Eddy
    2007-12-02

    Hi, list,

    This is my first time using UML. I have downloaded the UML
    "linux-2.6.23.tar.bz2", unzipped, built from source successfully.
    But when I run UML by typing ./linux, (I already have a "root_fs"
    under the same directory), it runs and gets stuck on somewhere like
    below:

    VFS: Mounted root (ext3 filesystem) readonly.
    request_module: runaway loop modprobe binfmt-464c
    request_module: runaway loop modprobe binfmt-464c
    request_module: runaway loop modprobe binfmt-464c
    request_module: runaway loop modprobe binfmt-464c
    request_module: runaway loop modprobe binfmt-464c

    and then hang there, I can't quit.

    The host kernel is by typing uname -a in the command line:
    Linux bg3 2.6.18.8-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007
    x86_64 x86_64 x86_64 GNU/Linux

    I don't know what problem this is and I searched on google, applied this patch:
    --- linux-2.6.orig/arch/um/Kconfig.i386 2007-11-19 12:49:30.000000000 -0500
    +++ linux-2.6/arch/um/Kconfig.i386      2007-11-19 13:56:37.000000000 -0500
    @@ -8,6 +8,13 @@ config UML_X86
           bool
           default y

    +config X86_32
    +       bool
    +       default y
    +
    +config RWSEM_XCHGADD_ALGORITHM
    +       def_bool y
    +
    config 64BIT
           bool
           default n

    It still doesn't work. Could anyone help me? Thanks a lot.

    Eddy