On Thursday 01 January 1970 01:00, Felipe Andres Manzano wrote:
> Buenas,
>
> I need a RH9 UML with the usb-hdc patch on it. I've learned that the last
> uml-kernel that supports it is 2.4.19. So the problem arise...
>
> I'm trying to compile a 2.4.19 uml guest for it to run on a
> 2.6.12-1.1376_FC3smp. And ofcourse I can't make it work.
> First I blaim the compiler-libc combination so I've tried a few different
> ones with no success.
>
> gcc-3.3.4-glibc-2.3.5
> gcc-2.95.3-glibc-2.1.3
>
> Both of them (gcc-3.3.4 whit litle modifications on the kernel) ends up
> with an elf that sigfaults instantly.
The problem is that the host library is a TLS one... a patch was merged
subsequently, but I doubt I can find it easily right now.
Maybe, IIRC, you can do on the host (since it's not a FC4)
mv /lib/tls /lib/tls.off, to disable the host TLS libraries... I'm not sure
though, so let us know.
> # 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/tls/libthread_db.so.1".
>
> (gdb) r
> Starting program: /root/uml/kernel/linux/linux
> Reading symbols from shared object read from target memory...done.
> Loaded system supplied DSO at 0x585000
>
> Program received signal SIGSEGV, Segmentation fault.
> 0xa01732cc in __libc_setup_tls () at pgtable.h:266
> 266 {
> (gdb) where
> #0 0xa01732cc in __libc_setup_tls () at pgtable.h:266
> #1 0xa0173593 in __pthread_initialize_minimal () at pgtable.h:266
> #2 0xa0172fc6 in __libc_start_main () at pgtable.h:266
> #3 0xa000c021 in _start () at unistd.h:86
> (gdb)
>
>
> I've tried different configurations with and whitout skas/tt/2G2G.
> I would apreciate if someone point me some direction.
>
>
> regards,
> Felipe
> ***************************************************************************
>******************* 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user