9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] kernels
Date: Fri, 10 Mar 2006 16:31:31 -0500	[thread overview]
Message-ID: <e1f3a2fa63011241b780082adf3b10d7@plan9.bell-labs.com> (raw)
In-Reply-To: <20060310211652.17E17B4972@dexter-peak.quanstro.net>

To be fair, it's not the 'standard's that are at fault here.
Using VESA requires taking the processor out of protected mode
and jumping into the BIOS and that's difficult with 2 processors
as we need to make sure they are all agreed on what's going on
and interrupts are properly disabled, etc. The Plan 9 x86 SMP
code wasn't written with those goals in mind. It should be possible
but clearly we didn't get it right and it's a low-priority item.

You will need to get the changes I made today for
/sys/src/cmd/aux/vga/clgd542x.c and /sys/src/9/pc/vgaclgd542x.c,
make a new kernel and aux/vga. Run aux/vga -B | sed 20q and check
the new entry in /lib/vgadb matches the starting position of
the string in the BIOS output. If it's all OK then change the
plan9.ini monitor= to something real (not VESA) and reboot.

--jim

On Fri Mar 10 16:17:55 EST 2006, quanstro@quanstro.net wrote:
> hey, thanks! i didn't know that there was a problem with vesa and smp.
> (how do they come up with these standards.)
>
> do i need to change my configuration to take advantage of this?
>
> here's what i currently have: (i know the bootdisk line is wrong;
> i killed my 9fat partition somehow. i didn't trust the install with
> my fossil so i cooked this up (incorrectly) by hand.)
>
> ; cat plan9.ini
> *nomp=1
> bootfile=sdC0!9fat!9pcf
> bootdisk=local!#S/sdC0/fossil
> mouseport=ps2
> monitor=vesa
> vgasize=1280x1024x8
>
> jmk@plan9.bell-labs.com writes
> |
> | Ah. There's a pile of those in my office (recycled VA Linux servers),
> | let's hook one up...
> |
> | The problem is you cannot run VESA with SMP, one of the processors
> | ends up looping somewhere it shouldn't (it has probably crashed) and
> | the CL-GD5480 chip is not recognised by aux/vga. So...
> |
> | new /lib/vgadb, /sys/src/cmd/aux/vga/clgd542x.c and /sys/src/9/pc/vgaclgd542x.c
> | on sources.
> |
> | --jim
> |


  parent reply	other threads:[~2006-03-10 21:31 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 15:24 Russ Cox
2006-03-10 15:40 ` Ronald G. Minnich
2006-03-10 21:13   ` Sam Hopkins
2006-03-10 22:26   ` David Leimbach
2006-03-10 22:37     ` Ronald G Minnich
2006-03-10 17:25 ` erik quanstrom
2006-03-10 17:36   ` Ronald G. Minnich
2006-03-10 17:45     ` erik quanstrom
2006-03-10 18:37       ` Ronald G. Minnich
2006-03-10 19:12       ` jmk
2006-03-10 21:16         ` erik quanstrom
2006-03-10 21:28           ` Russ Cox
2006-03-10 21:31           ` jmk [this message]
2006-03-10 22:07             ` William Josephson
2006-03-10 22:18               ` Ronald G Minnich
2006-03-10 22:56                 ` Russ Cox
2006-03-10 22:53                   ` Ronald G Minnich
2006-03-10 23:02                     ` Charles Forsyth
2006-03-11  2:04         ` geoff
2006-03-11  2:56           ` jmk
2006-03-11  3:14             ` erik quanstrom
2006-03-11  3:31               ` Ronald G. Minnich
2006-03-11  3:40                 ` erik quanstrom
2006-03-11  7:55                 ` Charles Forsyth
2006-03-11 15:53                 ` Jack Johnson
2006-03-11 15:59                 ` Bruce Ellis
2006-03-11  4:27               ` jmk
2006-03-11  5:40                 ` erik quanstrom
2006-03-11  3:08           ` erik quanstrom
2006-03-10 17:30 ` Tim Wiess
  -- strict thread matches above, loose matches on Subject: below --
2003-11-01  3:35 David Presotto

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=e1f3a2fa63011241b780082adf3b10d7@plan9.bell-labs.com \
    --to=jmk@plan9.bell-labs.com \
    --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).