9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Virtualbox and real mode
@ 2013-02-24 10:48 Rikard Lang
  2013-02-24 11:48 ` James Chapman
  0 siblings, 1 reply; 7+ messages in thread
From: Rikard Lang @ 2013-02-24 10:48 UTC (permalink / raw)
  To: 9fans

My first post to 9fans; Hi!

I am currently running 9Front on real hardware (mini-itx board with an Atom CPU), I also run 9Front using Virtualbox. I have had issues getting regular Plan 9 to install using Virtualbox. I know it wasn't a problem in the past. Anyway, as I was walking through some sites related to this I found this post:

"I had a look at Plan 9 and I can only say that their idea of real mode is miles away from Intel's. Plan 9 crashes because it calls BIOS with an environment that only vaguely resembles real mode in that CR0.PE is 0, but segment limits and attributes are totally all over the place. For example they leave the 'B' bit for the stack segment set, which causes rather interesting behavior of instructions that manipulate the stack. That then triggers an extremely obscure bug in VirtualBox which probably affects no other OS on the planet.

The Plan 9 folks should probably re-read chapter 9.9.2 (Switching Back to Real-Address Mode) of the Intel 64/IA-32 SDM (Volume 3) and implement their mode switching code the way Intel says they should. This is their code in sys/src/9/pcboot/realmode0.s."

The post is located at: https://forums.virtualbox.org/viewtopic.php?f=4&t=52431

It was one of very few posts that contained any technical information whatsoever. Most posts I come across just say that the installation hangs. I do not know if the above is of any help or even useful in any way, but I thought I'd post it here, since it might help.

-- 
Rikard Lang





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-25 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-24 10:48 [9fans] Virtualbox and real mode Rikard Lang
2013-02-24 11:48 ` James Chapman
2013-02-24 12:20   ` Rikard Lang
2013-02-25  9:13     ` Aram Hăvărneanu
2013-02-25 13:33     ` James Chapman
2013-02-25 18:19       ` Rikard Lang
2013-02-25 18:46         ` Aram Hăvărneanu

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).