9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] 9vx mk install chokes on gs
Date: Sat, 11 Sep 2010 21:02:01 -0400	[thread overview]
Message-ID: <243456116470afd150abf281a3f0f371@plug.quanstro.net> (raw)
In-Reply-To: <AANLkTinvVnWyHnBDC7y+9L1rO-dtZLBFfEg5=566qHr5@mail.gmail.com>

the problematic code is at /sys/src/9/port/segment.c:483,491

	for(i = 0; i < NSEG; i++) {
		ns = up->seg[i];
		if(ns == 0 || ns == s)
			continue;
		if(newtop >= ns->base && newtop < ns->top) {
			qunlock(&s->lk);
			error(Esoverlap);
		}
	}

so either gcc is causing the math here to go funky, or
9vx really does have a odd segment layout.
what does /proc/$pid/segment say?

- erik



  reply	other threads:[~2010-09-12  1:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 23:07 ron minnich
2010-09-11 23:15 ` andrey mirtchovski
2010-09-11 23:35 ` Robert Ransom
2010-09-12  0:39   ` ron minnich
2010-09-12  0:49     ` ron minnich
2010-09-12  1:02       ` erik quanstrom [this message]
2010-09-12  2:25         ` ron minnich
2010-09-12  2:32           ` ron minnich
2010-09-12  3:44             ` ron minnich
2010-09-12  4:59             ` erik quanstrom
2010-09-12  6:27               ` ron minnich
2010-09-12 15:44               ` Russ Cox
2010-09-12 16:48                 ` erik quanstrom
2010-09-12 18:19                   ` Russ Cox
2010-09-12 19:13                     ` ron minnich
2010-09-12 19:33                     ` ron minnich
2010-09-12 20:09                       ` yy
2010-09-14 20:38                         ` yy
2010-09-12 17:12                 ` ron minnich

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=243456116470afd150abf281a3f0f371@plug.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.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;
as well as URLs for NNTP newsgroup(s).