* RE: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
@ 2004-09-08 0:04 Michael Ralston
0 siblings, 0 replies; 8+ messages in thread
From: Michael Ralston @ 2004-09-08 0:04 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: 'Jeff Dike'
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
Hey, the core is 20k gzipped :)
Michael
> -----Original Message-----
> From: Michael Ralston [mailto:ralston@stral.net]
> Sent: Wednesday, 8 September 2004 9:58 AM
> To: 'user-mode-linux-devel@lists.sourceforge.net'
> Cc: 'Jeff Dike'
> Subject: RE: [uml-devel] Compiling UML 2.6.8.1 with Static
> Linking results in segfault
>
> The core is 483k, want me to email that just to you (not the
> list), or is the gdb output below pretty conclusive?
>
> I'm running this on a 2.6.8.1 host with SKAS3-2.6.7-v1 patch,
> and as I said libc6-2.3.2, so it's prolly another one of
> those lovely NPTL/TLS issues.
>
> The Config options which are set:
> # CONFIG_MODE_TT is not set
> CONFIG_STATIC_LINK=y
> CONFIG_MODE_SKAS=y
>
> If I disable STATIC_LINK then it runs fine...
>
>
> (gdb) run
> Starting program: /uml/linux
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08191800 in __libc_setup_tls () at swab.h:134
> 134 swab.h: No such file or directory.
> in swab.h
>
>
>
> > -----Original Message-----
> > From: Jeff Dike [mailto:jdike@addtoit.com]
> > Sent: Wednesday, 8 September 2004 10:18 AM
> > To: ralston@stral.net
> > Cc: user-mode-linux-devel@lists.sourceforge.net
> > Subject: Re: [uml-devel] Compiling UML 2.6.8.1 with Static Linking
> > results in segfault
> >
> > ralston@stral.net said:
> > > Can I provide any further info or is this a known problem?
> >
> > Get a core, and get a stack trace from it?
> >
> > Jeff
> >
> >
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.752 / Virus Database: 503 - Release Date: 3/09/2004
[-- Attachment #2: core.gz --]
[-- Type: application/octet-stream, Size: 20991 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <200409080004.i8804KC20166@lakshmi.solana.com>]
* Re: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
[not found] <200409080004.i8804KC20166@lakshmi.solana.com>
@ 2004-09-09 0:43 ` Jeff Dike
2004-09-09 4:51 ` Michael Ralston
0 siblings, 1 reply; 8+ messages in thread
From: Jeff Dike @ 2004-09-09 0:43 UTC (permalink / raw)
To: ralston; +Cc: user-mode-linux-devel
ralston@stral.net said:
> Hey, the core is 20k gzipped :)
And the core is useless without the binary that produced it. In any case,
it's probably a lot easier for you to type 'bt' at gdb and send that rather
than compressing a core file and binary and sending them.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* RE: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
2004-09-09 0:43 ` Jeff Dike
@ 2004-09-09 4:51 ` Michael Ralston
2004-09-09 18:20 ` BlaisorBlade
0 siblings, 1 reply; 8+ messages in thread
From: Michael Ralston @ 2004-09-09 4:51 UTC (permalink / raw)
To: 'Jeff Dike'; +Cc: user-mode-linux-devel
(gdb) run
Starting program: /uml/linux-2.4.26-static
Program received signal SIGSEGV, Segmentation fault.
0x0815c520 in __libc_setup_tls ()
(gdb) bt
#0 0x0815c520 in __libc_setup_tls ()
#1 0x0815c82b in __pthread_initialize_minimal ()
#2 0x00000004 in ?? ()
#3 0xbffffd88 in ?? ()
#4 0x0815c2e8 in __libc_start_main ()
Previous frame inner to this frame (corrupt stack?)
(gdb)
I compiled the uml binary with debugging symbols enabled... Let me know if
there is anything else I can do... Would my complete .config be useful?
Michael
> -----Original Message-----
> From: Jeff Dike [mailto:jdike@addtoit.com]
> Sent: Thursday, 9 September 2004 10:44 AM
> To: ralston@stral.net
> Cc: user-mode-linux-devel@lists.sourceforge.net
> Subject: Re: [uml-devel] Compiling UML 2.6.8.1 with Static
> Linking results in segfault
>
> ralston@stral.net said:
> > Hey, the core is 20k gzipped :)
>
> And the core is useless without the binary that produced it.
> In any case, it's probably a lot easier for you to type 'bt'
> at gdb and send that rather than compressing a core file and
> binary and sending them.
>
> Jeff
>
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
2004-09-09 4:51 ` Michael Ralston
@ 2004-09-09 18:20 ` BlaisorBlade
0 siblings, 0 replies; 8+ messages in thread
From: BlaisorBlade @ 2004-09-09 18:20 UTC (permalink / raw)
To: user-mode-linux-devel, ralston; +Cc: 'Jeff Dike'
On Thursday 09 September 2004 06:51, Michael Ralston wrote:
> (gdb) run
> Starting program: /uml/linux-2.4.26-static
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0815c520 in __libc_setup_tls ()
> (gdb) bt
> #0 0x0815c520 in __libc_setup_tls ()
> #1 0x0815c82b in __pthread_initialize_minimal ()
> #2 0x00000004 in ?? ()
> #3 0xbffffd88 in ?? ()
> #4 0x0815c2e8 in __libc_start_main ()
> Previous frame inner to this frame (corrupt stack?)
> (gdb)
>
>
> I compiled the uml binary with debugging symbols enabled... Let me know if
> there is anything else I can do... Would my complete .config be useful?
Please, try using the 2.6.7-1 patch. There are some changes which could be at
fault. I'm referring to "load-low" and "link" from
http://user-mode-linux.sourceforge.net/changelog-uml-patch-2.6.7-2.bz2.html.
At least, just for the reason they touch the linking script (after all, who
says that the used start address should be the one we use, with TLS)?
Also, please run:
strings /usr/bin/ld | bzip2 >linkScript.bz2
and mail the obtained file (which contains the default linker scripts). I
think I can build the patch for you easily, with that file; making it work on
everyone's glibc could be harder.
Bye
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <200409072357.i87NvPC20122@lakshmi.solana.com>]
* [uml-devel] uml-patch-2.6.7-2
@ 2004-08-19 3:00 Jeff Dike
2004-09-07 21:16 ` [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault Michael Ralston
0 siblings, 1 reply; 8+ messages in thread
From: Jeff Dike @ 2004-08-19 3:00 UTC (permalink / raw)
To: linux-kernel, user-mode-linux-devel
I've released a second 2.6.7 UML patch. This is to push out the changes I
have in order to give me a clean slate for the 2.6.8.1 UML. These changes
sync up my 2.4 and 2.6 trees, and include
Build cleanups, including 'linux' is now the default target, an
updated defconfig, and Kconfig updates
Code cleanup, including removal of unused SMP code, removal of a
userspace file, more EINTR handling, more error checking
Time fixes, including switching from rdtsc to gettimeofday for the
real-time clock option and better handling of the host clock jumping backwards
Introduction of centralized file descriptor management, allowing
descriptors to be reclaimed if UML has hit the host's limit and the files
can be reopened to provide access to the same object on the host
Introduction of externfs, which allows host resources to be mounted
as UML filesystems. externfs handles the kernel interface and plug-ins to
it handle the host resources. There are two users, hostfs and humfs, both
of which provide access to host directory hierarchies. humfs stores metadata
separately, ala umsdos, which allows operations within the mount which would
require root privileges on the host with hostfs. hostfs and humfs are still
somewhat dodgy on 2.6.
UML can load at 0x8048000 like every other binary when MODE_SKAS
is enabled and MODE_TT is off. This makes valgrind happier, and also
allows UML to have more physical memory without resorting to highmem. With
STATIC_LINK disabled, the limit is ~750M, and with it enabled, the limit is
~2.75G.
A good number of bugs, including some crashes were also fixed.
For the full details, see
http://user-mode-linux.sourceforge.net/changelog-uml-patch-2.6.7-2.bz2.html
For the other UML mirrors and other downloads, see
http://user-mode-linux.sourceforge.net/dl-sf.html
Incremental patches between UML releases are available at
http://user-mode-linux.sourceforge.net/patches.html
Other links of interest:
The UML project home page : http://user-mode-linux.sourceforge.net
The UML Community site : http://usermodelinux.org
Jeff
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread* [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
2004-08-19 3:00 [uml-devel] uml-patch-2.6.7-2 Jeff Dike
@ 2004-09-07 21:16 ` Michael Ralston
2004-09-08 0:18 ` Jeff Dike
0 siblings, 1 reply; 8+ messages in thread
From: Michael Ralston @ 2004-09-07 21:16 UTC (permalink / raw)
To: user-mode-linux-devel
I've just tried to compile UML with TT disabled, SKAS enabled and static
linking enabled. When I run the linux binary is immediately segfaults.
I'm using GCC 3.3.4 and Libc6 2.3.2 ...
Can I provide any further info or is this a known problem?
Michael Ralston
Stral.net
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
2004-09-07 21:16 ` [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault Michael Ralston
@ 2004-09-08 0:18 ` Jeff Dike
2004-09-07 23:57 ` Michael Ralston
0 siblings, 1 reply; 8+ messages in thread
From: Jeff Dike @ 2004-09-08 0:18 UTC (permalink / raw)
To: ralston; +Cc: user-mode-linux-devel
ralston@stral.net said:
> Can I provide any further info or is this a known problem?
Get a core, and get a stack trace from it?
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault
2004-09-08 0:18 ` Jeff Dike
@ 2004-09-07 23:57 ` Michael Ralston
0 siblings, 0 replies; 8+ messages in thread
From: Michael Ralston @ 2004-09-07 23:57 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: 'Jeff Dike'
The core is 483k, want me to email that just to you (not the list), or is
the gdb output below pretty conclusive?
I'm running this on a 2.6.8.1 host with SKAS3-2.6.7-v1 patch, and as I said
libc6-2.3.2, so it's prolly another one of those lovely NPTL/TLS issues.
The Config options which are set:
# CONFIG_MODE_TT is not set
CONFIG_STATIC_LINK=y
CONFIG_MODE_SKAS=y
If I disable STATIC_LINK then it runs fine...
(gdb) run
Starting program: /uml/linux
Program received signal SIGSEGV, Segmentation fault.
0x08191800 in __libc_setup_tls () at swab.h:134
134 swab.h: No such file or directory.
in swab.h
> -----Original Message-----
> From: Jeff Dike [mailto:jdike@addtoit.com]
> Sent: Wednesday, 8 September 2004 10:18 AM
> To: ralston@stral.net
> Cc: user-mode-linux-devel@lists.sourceforge.net
> Subject: Re: [uml-devel] Compiling UML 2.6.8.1 with Static
> Linking results in segfault
>
> ralston@stral.net said:
> > Can I provide any further info or is this a known problem?
>
> Get a core, and get a stack trace from it?
>
> Jeff
>
>
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-09-09 18:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-08 0:04 [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault Michael Ralston
[not found] <200409080004.i8804KC20166@lakshmi.solana.com>
2004-09-09 0:43 ` Jeff Dike
2004-09-09 4:51 ` Michael Ralston
2004-09-09 18:20 ` BlaisorBlade
[not found] <200409072357.i87NvPC20122@lakshmi.solana.com>
2004-09-09 0:42 ` Jeff Dike
-- strict thread matches above, loose matches on Subject: below --
2004-08-19 3:00 [uml-devel] uml-patch-2.6.7-2 Jeff Dike
2004-09-07 21:16 ` [uml-devel] Compiling UML 2.6.8.1 with Static Linking results in segfault Michael Ralston
2004-09-08 0:18 ` Jeff Dike
2004-09-07 23:57 ` Michael Ralston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox