On Thursday 20 October 2005 09:03, Chaitanya Hazarey wrote:
> Hi all,
>
> I had dabbled with UML previously kernel 2.6.8 but I have recently got
> the incentives to be real serious, hence this posting.
>
> I am building with all the default options.
You did make menuconfig ARCH=um and saved? Then possibly (due to a Kconfig 
bug) you _aren't_ building with default options. It probably 
took /boot/config-2.6.13.1 as default config, which is obviously wrong for 
UML.
Is this the case for you?

Remove your .config, and do:

$ make defconfig ARCH=um

to get a sane one. Then you can change the configuration at your will.

> I have been trying to build linux kernel 2.6.13.1 as UML but I am
> getting these errors continusously.

The -bs patches have a fix for this.

However, I advise you to disable CONFIG_HIGHMEM, which beyond producing this 
errors can make UML slower when used. Instead, to use big amounts of memory, 
simply disable TT mode and run UML in SKAS0/SKAS3 mode. SKAS0 mode runs on 
normal hosts, and is a lot faster than TT mode.

>  <snippet>
>
>   LD      .tmp_vmlinux1
> arch/um/sys-i386/built-in.o(*ABS*+0x23e9ef7d): In function `__crc_kunmap':
> module.c: multiple definition of `__crc_kunmap'
> arch/um/sys-i386/built-in.o(*ABS*+0x5bf7768f): In function
> `__crc_kmap_atomic': module.c: multiple definition of `__crc_kmap_atomic'
> arch/um/sys-i386/built-in.o(*ABS*+0xd2c4a312): In function
> `__crc_kmap_atomic_to_page':
> module.c: multiple definition of `__crc_kmap_atomic_to_page'
> arch/um/sys-i386/built-in.o(*ABS*+0x259446e): In function `__crc_kmap':
> module.c: multiple definition of `__crc_kmap'
> collect2: ld returned 1 exit status
>   KSYM    .tmp_kallsyms1.S
> nm: '.tmp_vmlinux1': No such file
> No valid symbol.
> make: *** [.tmp_kallsyms1.S] Error 1
> r

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade


        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to