On Wednesday 05 October 2005 10:04, Vincent guffens wrote: > cheikhrouhou wrote: > > Hello, > > > > i compiled a 2.4.24 kernel with gcc.3.3.3 (which i was installed because > > the gcc-4.0 which comes with FC4 don't compile well uml kernel) and he > > generates this message :
> > and when i try lo lance this kernel he shows : > > segmantation fault > > Any idea about the solution > I had time to investiguate your problem on a FC3. I found out that the > segmentation fault which occurs with the binaries when inserting the > module is due to : > _dl_lookup_versioned_symbol () > So this is a library mismatch and the problem should disappear when > recompiling uml on the host that you will be using to run uml. In order > to do so, you have to download the sources I put on my web site and I > have added the patch to run uml 2.4 guest on a 2.6 host. This is just > tow lines and you have to modify these lines by hand (the patch doesn't > apply on this version). So the instructions are: > 1) download and untar the kernel. > 2) patch it with uml-patch-2.4.24-1 > 3) modify the two lines as directed by the patch uml2.6host.patch > 4) apply the netbus patch > 5) compile the modified kernel with gcc 3.3 > And that's it, no more segmentation fault ! Vincent, an important question: since 2.4.24-1um is outdated enough, and various bugs result (including, but not limited to the 2.6 host problem), have you any idea if the whole thing would apply on a more recent kernel? I'm especially interested in 2.4.28-bs2 from my homepage, which is the latest 2.4 UML release, and the more trustworthy. Especially given that 2.4 has been quite stable and got little changes in recent times, at least starting with 2.4.26 - in fact any UML patch for >=2.4.26 applies without changes on any kernel >= 2.4.26... -- 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! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
