From: Christoph D. <cdw...@gm...> - 2005-12-07 16:07:29
|
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 */]) =3D 0 uname({sys=3D"Linux", node=3D"alderaan", ...}) =3D 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:=20 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 |