[uml-user] Instant Segfault when running UML

Christoph Dwertmann cdwertmann at gmx.de
Wed Dec 7 08:13:02 UTC 2005


Hi!

I'm trying to build my own UML kernel here. It builds fine, but
executing the kernel leads to:

alderaan:~/uml# strace ./linux -stderr
execve("./linux", ["./linux", "-stderr"], [/* 30 vars */]) = 0
uname({sys="Linux", node="alderaan", ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

GDB shows this:

Program received signal SIGSEGV, Segmentation fault.
0xa028a2d5 in __libc_setup_tls ()
Current language:  auto; currently asm
(gdb) bt
#0  0xa028a2d5 in __libc_setup_tls ()
#1  0xa028a66f in __pthread_initialize_minimal ()
#2  0xa028a045 in __libc_start_main ()
#3  0xa0014021 in _start () at ../sysdeps/i386/elf/start.S:119

I've built kernels 2.4.23, 2.4.27, 2.4.28 and 2.6.14 with
Blaisorblade's UML patches. The host kernel is 2.6.15-rc5 vanilla, and
I'm running Debian sid (updated daily) on x86.

Precompiled kernels do run fine!

It's not the 3G/1G split problem, I've tried all possible memory
configurations of the host kernel and UML.

Renaming /lib/tls does not help.

I've found quite a few people with the same problem posting on this
list, none of the proposed solutions worked for me.

Here's my segfaulting linux binary: 
http://www.informatik.uni-bremen.de/~nermal/linux.bz2

I've spent two days on it now, and I'd appreciate any hints on how to
get this working. Thanks!

Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2198 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/umbrello/attachments/20051207/6fbb5901/attachment.bin>


More information about the umbrello mailing list