Something is something...

[EMAIL PROTECTED] linux-uml-hdc]# gdb ./linux
GNU gdb Red Hat Linux (6.1post-1.20040607.43rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db 
library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /root/uml/kernel/linux-uml-hdc/linux
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xe8d000

Program received signal SIGTRAP, Trace/breakpoint trap.
0xa000b003 in _start () at unistd.h:86
86              KERNEL_CALL(int, sys_write, fd, buf, len)
(gdb) where
#0  0xa000b003 in _start () at unistd.h:86
(gdb) q
The program is running.  Exit anyway? (y or n) y



===
About the metodology you proposed for mi to find the changes....
Which is the oldest version of kernel/patch that is known to run on 2.6.x host? 
So I don't navigate all the patchs..

Note that my ultimate objective is just to have usb on the uml.. Maybe there is 
another way I didn't see.

Thanks a lot!!!!

F


On Wed, 19 Oct 2005 18:46:28 +0200
Blaisorblade <[EMAIL PROTECTED]> wrote:

> 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
> 
> 
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. 
They are intended for the 
named recipient(s) only.
If you have received this email in error, please notify the system manager or 
the sender immediately and do 
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************



-------------------------------------------------------
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