On Wednesday 19 October 2005 18:00, Felipe Andres Manzano wrote:
> I think I didn't even get to that problem yet.
Yes, agreed.
> I put it in anyway without 
> any success..

> I don't know if this info is usefull but the binary 2.4.19 uml release I've
> found don't work either on my 2.6.x host .-
Found in 2.4.22-2um relative to 2.4.22-1um (apply by hand, it's copy and paste 
from an xterm):

* UML should no longer crash when linked against a libc with the new threads 
stuff in it:

diff -u um/arch/um/link.ld.in um/arch/um/link.ld.in
--- um/arch/um/link.ld.in       2003-01-17 23:11:30.000000000 -0500
+++ um/arch/um/link.ld.in       2003-09-04 12:16:37.000000000 -0400
@@ -6,7 +6,6 @@
 {
   . = START() + SIZEOF_HEADERS;

-  . = ALIGN(4096);
   __binary_start = .;
 ifdef(`MODE_TT', `
   .thread_private : {

From what I recall, this is the cause of what you're seeing.

The same patch idea (i.e. what's below) must be applied to 
arch/um/dyn_link.ld.in, if you ever want to build a dynamically linked UML.

SECTIONS
{
  . = START() + SIZEOF_HEADERS;
  .interp         : { *(.interp) }
-  . = ALIGN(4096);
  __binary_start = .;
  . = ALIGN(4096);             /* Init code and data */

Btw, for other similar issues, you should become familiar with browsing the 
Changelogs on the download page, and with using interdiff from patchutils.

After browsing the Changelog entries, and downloading the two patches, what I 
did to find the change was:

$ interdiff -p1 -z uml-patch-2.4.22-[12].bz2 |diffstat -p1
$ interdiff -p1 -z uml-patch-2.4.22-[12].bz2 |less
and selected the relevant change.

Yes, I _knew_ what was the fix more or less, so I'm not saying it's _that_ 
easy.

Also, for bugfixes which went in _after_ 2.4.24-1um, I have _all_ them in the 
-bs patchset in a splitout form (excluding humfs, which I split out too, but 
which I excluded since it wasn't stable enough).
-- 
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