9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Dave Eckhardt <davide+p9@cs.cmu.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] meaning of "*nomp=" has reversed
Date: Fri, 10 Aug 2007 18:42:06 -0400	[thread overview]
Message-ID: <20070810224226.78CE45B71F@mail.cse.psu.edu> (raw)

I have an odd machine which doesn't work right in the brave new APIC
world (for example, VESA mode can draw windows and menus but not paint
the cursor...?).

Anyway, last year I figured out that adding "*nomp=" to plan9.ini would
work around whatever it was.  I just pulled, and was surprised to see
the world revert to a sad state.  Eventually I noticed the kernel
chatting about the LAPIC during boot and investigated.

Now archmp.c:identify() doesn't only check for the existence of a *nomp
line but also feeds the right hand side to strtol().  It appears that if
there is no right hand side, strtol() returns 0 and the effect is as if
there were no *nomp line--which is a little counterintuitive.

Looking around it seems like *nomce is like *nomp, but *noetherprobe,
*nousbprobe, *nobios, *pcibios, *nopcirouting, *norealmode, etc., all are
the "old way" (presence is all that matters, not the right hand side).

Isn't there an argument for all of these working the same way?

Dave Eckhardt


             reply	other threads:[~2007-08-10 22:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-10 22:42 Dave Eckhardt [this message]
2007-08-10 23:06 ` erik quanstrom
2007-08-11 21:17   ` [9fans] Weird symptoms unless APIC support is disabled Dave Eckhardt
2007-08-11 21:19   ` [9fans] meaning of "*nomp=" has reversed Dave Eckhardt
2007-08-11 21:24     ` 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=20070810224226.78CE45B71F@mail.cse.psu.edu \
    --to=davide+p9@cs.cmu.edu \
    --cc=9fans@cse.psu.edu \
    /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).