From: BlaisorBlade <bla...@ya...> - 2003-12-20 13:33:11
|
Alle 10:35, sabato 20 dicembre 2003, Darryl Bond ha scritto: > Hello, > My UML kernel segfaults immediately on start Only under strace or also without it? On my system this is the situation. I assume it segfaults always. > strace ./linux > execve("./linux", ["./linux"], [/* 24 vars */]) = 0 > uname({sys="Linux", node="gold", ...}) = 0 > brk(0) = 0x606fc000 > brk(0x6071d000) = 0x6071d000 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ > > I have patched my 2.6.0 source with the 2.6.0test9 uml patch and set the > CONFIG_HOST_2G_2G=y as recommended. I don't know if this is recommended in your case(I'm aware of it only for when you have actually that split on the host). > The compiler is gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1) on > Fedora core 1. I remember that the distributed kernel uses exec-shield, and you must disable it; also, there is a thread starting from "[uml-devel] [bug] uml segfaults if forcing static link, 2.6.0-test11" on uml-devel, started by Ingo Molnar, with deep discussion about Exec-shield; you need also, probably, another fix in this message in this ML(it's of this Wednesday): [uml-user] Re: [bug?] uml segfaults, 2.6.0-test11+uml-patch-2.6.0-test9-1 Bye -- cat <<EOSIGN Paolo Giarrusso, aka Blaisorblade Linux Kernel 2.4.21/2.6.0-test on an i686; Linux registered user n. 292729 EOSIGN |