linux-um archives
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: zaitcev@redhat.com, mingo@redhat.com, jdike@karaya.com
Subject: [uml-devel] Segfault of UML-TT on FC1
Date: Sun, 15 Feb 2004 23:25:25 -0800	[thread overview]
Message-ID: <20040215232525.7c2f38a8.zaitcev@redhat.com> (raw)

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

             reply	other threads:[~2004-02-16  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16  7:25 Pete Zaitcev [this message]
2004-02-16  7:47 ` [uml-devel] Segfault of UML-TT on FC1 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040215232525.7c2f38a8.zaitcev@redhat.com \
    --to=zaitcev@redhat.com \
    --cc=jdike@karaya.com \
    --cc=mingo@redhat.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox