linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Segfault of UML-TT on FC1
@ 2004-02-16  7:25 Pete Zaitcev
  2004-02-16  7:47 ` Steven Pritchard
  2004-02-16  7:50 ` [uml-devel] " Ingo Molnar
  0 siblings, 2 replies; 6+ messages in thread
From: Pete Zaitcev @ 2004-02-16  7:25 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: zaitcev, mingo, jdike

Hi:

I'm trying to run uml-patch-2.6.3-rc2-1 under Fedora Core 1, kernel
2.4.22-1.2149.nptl, glibc 2.3.2-101.1. The uml runs in TT mode (FC1 doesn't
have SKAS) and segfaults while trying to do
 remap_data(UML_ROUND_DOWN(&__bss_start), UML_ROUND_UP(brk_start), 1);

The reason is the hole between BSS and heap on my system. If I run
with gdb and break at main(), an instance of uml looks like this:

[zaitcev@niphredil linux-2.6.3-rc2-uml-1-t1]$ cat /proc/22415/maps
a0000000-a01c6000 rwxp 00000000 03:04 442599     /q/zaitcev/uml/linux-2.6.3-rc2-uml-1-t1
a01c6000-a0294000 rw-p 00000000 00:00 0
a1f12000-a1f33000 rw-p 00000000 00:00 0
bff58000-c0000000 rwxp fff9f000 00:00 0
[zaitcev@niphredil linux-2.6.3-rc2-uml-1-t1]$

The &__bss_start at this point is a01c6000, abd brk_start is a1f33000,
and so memcpy segfaults when it steps on the hole.

Does anyone have a suggestion what to do about this?

-- Pete


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&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] 6+ messages in thread

end of thread, other threads:[~2004-02-17 16:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-16  7:25 [uml-devel] Segfault of UML-TT on FC1 Pete Zaitcev
2004-02-16  7:47 ` Steven Pritchard
2004-02-16  7:50 ` [uml-devel] " Ingo Molnar
2004-02-16 19:32   ` M A Young
2004-02-17 17:10     ` Jeff Dike
2004-02-16 20:27   ` Jeff Dike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox