9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Returning to Plan 9: Virtualization, Distributions
@ 2011-11-22 15:39 Joel C. Salomon
  2011-11-22 15:46 ` ron minnich
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Joel C. Salomon @ 2011-11-22 15:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

After a long hiatus, I'd like to get back to experimenting with Plan
9.  I have an Ubuntu Linux laptop with AMD's virtualization extensions
supported by the CPU, so I figure my best bet is one of the umpteen
virtualization tools.  Which is best supported by Plan 9 — virtualbox,
qemu, or something else?

Also, what distributions are best for amd64?  Bell Labs'? 9front? 9atom?

Thanks,
—Joel



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 15:39 [9fans] Returning to Plan 9: Virtualization, Distributions Joel C. Salomon
@ 2011-11-22 15:46 ` ron minnich
  2011-11-22 15:56   ` Gabriel Díaz López de la llave
       [not found]   ` <CAL_gH73FUfzOdFg1HHMomr8_kubMwYvraXnkYUqQQ4hbzD33iw@mail.gmail.c>
  2011-11-22 19:41 ` Jack Norton
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 28+ messages in thread
From: ron minnich @ 2011-11-22 15:46 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

If you're serious about booting a 64-bit os you need NIX. But you're
not going to get graphics.

ron



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 15:46 ` ron minnich
@ 2011-11-22 15:56   ` Gabriel Díaz López de la llave
       [not found]   ` <CAL_gH73FUfzOdFg1HHMomr8_kubMwYvraXnkYUqQQ4hbzD33iw@mail.gmail.c>
  1 sibling, 0 replies; 28+ messages in thread
From: Gabriel Díaz López de la llave @ 2011-11-22 15:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

hello

i tried to boot it with simnow, but the network helper crashes on my
installation, and i can´t load nix via pxe.  (not sure if that´s
related to the fact that i have an intel processor and in the manual
they say amd is requeried :-?)

I´ll try to do it with vmware one of these days


gabi


2011/11/22 ron minnich <rminnich@gmail.com>:
> If you're serious about booting a 64-bit os you need NIX. But you're
> not going to get graphics.
>
> ron
>
>



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
       [not found]   ` <CAL_gH73FUfzOdFg1HHMomr8_kubMwYvraXnkYUqQQ4hbzD33iw@mail.gmail.c>
@ 2011-11-22 16:00     ` erik quanstrom
  2011-11-22 22:57       ` Joel C. Salomon
  0 siblings, 1 reply; 28+ messages in thread
From: erik quanstrom @ 2011-11-22 16:00 UTC (permalink / raw)
  To: 9fans

On Tue Nov 22 10:57:12 EST 2011, gdiazlo@gmail.com wrote:
> hello
>
> i tried to boot it with simnow, but the network helper crashes on my
> installation, and i can´t load nix via pxe.  (not sure if that´s
> related to the fact that i have an intel processor and in the manual
> they say amd is requeried :-?)
>
> I´ll try to do it with vmware one of these days

today's nix is quite raw.  unless you're working on nix itself,
you'll be happier with plan 9.

- erik



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 15:39 [9fans] Returning to Plan 9: Virtualization, Distributions Joel C. Salomon
  2011-11-22 15:46 ` ron minnich
@ 2011-11-22 19:41 ` Jack Norton
  2011-11-22 22:50   ` Joel C. Salomon
  2011-11-22 22:14 ` John Floren
  2011-11-27  0:14 ` [9fans] Returning to Plan 9: Virtualization, Distributions Ruben Schuller
  3 siblings, 1 reply; 28+ messages in thread
From: Jack Norton @ 2011-11-22 19:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 11/22/2011 9:39 AM, Joel C. Salomon wrote:
> After a long hiatus, I'd like to get back to experimenting with Plan
> 9.  I have an Ubuntu Linux laptop with AMD's virtualization extensions
> supported by the CPU, so I figure my best bet is one of the umpteen
> virtualization tools.  Which is best supported by Plan 9 — virtualbox,
> qemu, or something else?
>
> Also, what distributions are best for amd64?  Bell Labs'? 9front? 9atom?
>
> Thanks,
> —Joel
>


I have had good luck with qemu-kvm.  I've even got a VPS running with 
all the management bells and wistles like libvirt and such.  It has been 
running solid since march (lab's plan9 with fossil only).
I ran a qemu/kvm instance at home for a while too.  That was under 
archlinux though (and an AMD cpu with the necessary extensions).
In the former case I had to really play with plan9.ini to get it to boot 
all the way, but it required nothing out of the ordinary in the end. 
Choose your virtualized NIC wisely I suppose.

-Jack



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 15:39 [9fans] Returning to Plan 9: Virtualization, Distributions Joel C. Salomon
  2011-11-22 15:46 ` ron minnich
  2011-11-22 19:41 ` Jack Norton
@ 2011-11-22 22:14 ` John Floren
  2011-11-22 22:53   ` [9fans] Let's get VM configs onto the Wiki Lyndon Nerenberg
  2011-11-27  0:14 ` [9fans] Returning to Plan 9: Virtualization, Distributions Ruben Schuller
  3 siblings, 1 reply; 28+ messages in thread
From: John Floren @ 2011-11-22 22:14 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Nov 22, 2011 at 7:39 AM, Joel C. Salomon <joelcsalomon@gmail.com> wrote:
> After a long hiatus, I'd like to get back to experimenting with Plan
> 9.  I have an Ubuntu Linux laptop with AMD's virtualization extensions
> supported by the CPU, so I figure my best bet is one of the umpteen
> virtualization tools.  Which is best supported by Plan 9 — virtualbox,
> qemu, or something else?
>
> Also, what distributions are best for amd64?  Bell Labs'? 9front? 9atom?
>
> Thanks,
> —Joel
>
>

I found that Virtualbox worked very well when I was fiddling with my
Macbook on the way back from IWP9. I haven't tried it on the thinkpad
yet.

John



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 19:41 ` Jack Norton
@ 2011-11-22 22:50   ` Joel C. Salomon
  2011-11-22 23:00     ` Giacomo Tesio
  0 siblings, 1 reply; 28+ messages in thread
From: Joel C. Salomon @ 2011-11-22 22:50 UTC (permalink / raw)
  To: 9fans

> On 11/22/2011 9:39 AM, Joel C. Salomon wrote:
>> After a long hiatus, I'd like to get back to experimenting with Plan
>> 9.  I have an Ubuntu Linux laptop with AMD's virtualization extensions
>> supported by the CPU, so I figure my best bet is one of the umpteen
>> virtualization tools.  Which is best supported by Plan 9 — virtualbox,
>> qemu, or something else?

On 11/22/2011 02:41 PM, Jack Norton wrote:
> I have had good luck with qemu-kvm.  I've even got a VPS running with
> all the management bells and wistles like libvirt and such.  It has been
> running solid since march (lab's plan9 with fossil only).

On 11/22/2011 05:14 PM, John Floren wrote:
> I found that Virtualbox worked very well when I was fiddling with my
> Macbook on the way back from IWP9. I haven't tried it on the thinkpad
> yet.

Thanks; I'll try them in turn, see if I get one to work.

—Joel



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

* [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 22:14 ` John Floren
@ 2011-11-22 22:53   ` Lyndon Nerenberg
  2011-11-22 22:58     ` erik quanstrom
  2011-11-24 21:16     ` Bakul Shah
  0 siblings, 2 replies; 28+ messages in thread
From: Lyndon Nerenberg @ 2011-11-22 22:53 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> I found that Virtualbox worked very well when I was fiddling with my
> Macbook on the way back from IWP9. I haven't tried it on the thinkpad
> yet.

What would be *really* helpful is if people who have actual real live
running this minute Plan 9 under some VM system would post their
*specific* VM and Plan9 configuration files to the Wiki.

Several people claim to be running Plan 9 under assorted VMs, but it's
very difficult for others to reproduce that success, and every time I ask
someone for specific configs the response is "well that was months ago and
I don't use it any more" or suchlike.

Not that I don't believe them, but basically I don't believe them ;-)



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 16:00     ` erik quanstrom
@ 2011-11-22 22:57       ` Joel C. Salomon
  2011-11-22 23:04         ` erik quanstrom
  2011-11-22 23:06         ` John Floren
  0 siblings, 2 replies; 28+ messages in thread
From: Joel C. Salomon @ 2011-11-22 22:57 UTC (permalink / raw)
  To: 9fans

On 11/22/2011 10:46 AM, ron minnich wrote:
> If you're serious about booting a 64-bit os you need NIX. But you're
> not going to get graphics.

To which, on 11/22/2011 11:00 AM, erik quanstrom responded:
> today's nix is quite raw.  unless you're working on nix itself,
> you'll be happier with plan 9.

Is NIX the only distribution for amd64, then?  I just want to play
around in user space: learn Go, use Unicode in C, &c., &c.  Would I be
better off using a 32-bit distro?

—Joel



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 22:53   ` [9fans] Let's get VM configs onto the Wiki Lyndon Nerenberg
@ 2011-11-22 22:58     ` erik quanstrom
  2011-11-22 23:12       ` Lyndon Nerenberg
  2011-11-22 23:33       ` andrew zerger
  2011-11-24 21:16     ` Bakul Shah
  1 sibling, 2 replies; 28+ messages in thread
From: erik quanstrom @ 2011-11-22 22:58 UTC (permalink / raw)
  To: 9fans

> What would be *really* helpful is if people who have actual real live
> running this minute Plan 9 under some VM system would post their
> *specific* VM and Plan9 configuration files to the Wiki.
>
> Several people claim to be running Plan 9 under assorted VMs, but it's
> very difficult for others to reproduce that success, and every time I ask
> someone for specific configs the response is "well that was months ago and
> I don't use it any more" or suchlike.
>
> Not that I don't believe them, but basically I don't believe them ;-)

i think the problem is that there are so many configurations.
there are at least

	vm versions * vm config * real hardware

many of them.  hardware passthrough has got to be one of the
least appealing ideas that's come out of virtualization.  you get
all the complications of a virtual environment, coupled with the
convenience and sheer joy of dealing with hardware.

- erik



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 22:50   ` Joel C. Salomon
@ 2011-11-22 23:00     ` Giacomo Tesio
  0 siblings, 0 replies; 28+ messages in thread
From: Giacomo Tesio @ 2011-11-22 23:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

Please, (b)log the path: I'd like to play again with plan9... but I
completely forgot how I had configured qemu-kvm (and I remember that I had
had some trouble with the network on my debian)... :-(


Giacomo

On Tue, Nov 22, 2011 at 11:50 PM, Joel C. Salomon <joelcsalomon@gmail.com>wrote:

> > On 11/22/2011 9:39 AM, Joel C. Salomon wrote:
> >> After a long hiatus, I'd like to get back to experimenting with Plan
> >> 9.  I have an Ubuntu Linux laptop with AMD's virtualization extensions
> >> supported by the CPU, so I figure my best bet is one of the umpteen
> >> virtualization tools.  Which is best supported by Plan 9 — virtualbox,
> >> qemu, or something else?
>
> On 11/22/2011 02:41 PM, Jack Norton wrote:
> > I have had good luck with qemu-kvm.  I've even got a VPS running with
> > all the management bells and wistles like libvirt and such.  It has been
> > running solid since march (lab's plan9 with fossil only).
>
> On 11/22/2011 05:14 PM, John Floren wrote:
> > I found that Virtualbox worked very well when I was fiddling with my
> > Macbook on the way back from IWP9. I haven't tried it on the thinkpad
> > yet.
>
> Thanks; I'll try them in turn, see if I get one to work.
>
> —Joel
>
>

[-- Attachment #2: Type: text/html, Size: 1761 bytes --]

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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 22:57       ` Joel C. Salomon
@ 2011-11-22 23:04         ` erik quanstrom
  2011-11-22 23:21           ` ron minnich
  2011-11-22 23:06         ` John Floren
  1 sibling, 1 reply; 28+ messages in thread
From: erik quanstrom @ 2011-11-22 23:04 UTC (permalink / raw)
  To: joelcsalomon, 9fans

> To which, on 11/22/2011 11:00 AM, erik quanstrom responded:
> > today's nix is quite raw.  unless you're working on nix itself,
> > you'll be happier with plan 9.
>
> Is NIX the only distribution for amd64, then?  I just want to play
> around in user space: learn Go, use Unicode in C, &c., &c.  Would I be
> better off using a 32-bit distro?

nix runs in x86_64 long mode, the others do not.  everything should
run on amd64 hardware and accomplish what you're after, though.

- erik



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 22:57       ` Joel C. Salomon
  2011-11-22 23:04         ` erik quanstrom
@ 2011-11-22 23:06         ` John Floren
  1 sibling, 0 replies; 28+ messages in thread
From: John Floren @ 2011-11-22 23:06 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, Nov 22, 2011 at 2:57 PM, Joel C. Salomon <joelcsalomon@gmail.com> wrote:
> On 11/22/2011 10:46 AM, ron minnich wrote:
>> If you're serious about booting a 64-bit os you need NIX. But you're
>> not going to get graphics.
>
> To which, on 11/22/2011 11:00 AM, erik quanstrom responded:
>> today's nix is quite raw.  unless you're working on nix itself,
>> you'll be happier with plan 9.
>
> Is NIX the only distribution for amd64, then?  I just want to play
> around in user space: learn Go, use Unicode in C, &c., &c.  Would I be
> better off using a 32-bit distro?
>
> —Joel

You should be able to happily use Nix as a 32-bit Plan 9 system.
Unfortunately we don't distribute an install ISO, but I have been
playing around with a bootable USB stick with a full-blown fossil
environment on it. The current task is to get it booting the nix
kernel as well as the regular 32-bit ones--we're getting there!

I guess there's no reason we *couldn't* do an install ISO... without
modifications it would just give you a 32 bit environment with the Nix
source available, and the selection of changes we've made.


John



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 22:58     ` erik quanstrom
@ 2011-11-22 23:12       ` Lyndon Nerenberg
  2011-11-22 23:22         ` andrey mirtchovski
  2011-11-22 23:33       ` andrew zerger
  1 sibling, 1 reply; 28+ messages in thread
From: Lyndon Nerenberg @ 2011-11-22 23:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> i think the problem is that there are so many configurations.
> there are at least
>
> 	vm versions * vm config * real hardware


I know.  That's why it's important to get this info online.  Without it,
there's no hope of figuring out what configurations will work reliably.



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 23:04         ` erik quanstrom
@ 2011-11-22 23:21           ` ron minnich
  2011-11-23  7:49             ` Francisco J Ballesteros
  0 siblings, 1 reply; 28+ messages in thread
From: ron minnich @ 2011-11-22 23:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

There's confusion here, and I am partly to blame ...

if you get googlecode.com/p/nix-os

you'll get a file system image that will be usable on a 32-bit
machine. We use it with 9vx. That image includes all the bits you need
to build and boot a NIX kernel. The intent of this distro is to allow
32-bit users to create 64-bit kernels and test. So the nix-os repo is
designed to let you set up on a 32-bit machine and bootstrap a
separate 64-bit machine. We thus envision you having more than one
system available.

I use it as follows:
hg clone http://googlecode.com/p/nix-os nix-os
cd nix-os
./9vx.OSX10.6 -r . -u rminnich
(get on the machine)
objtype=386
cd /sys/src/ape/lib
mk install
cd /sys/src
objtype=amd64
mk install
cd /sys/src/nix/k10
mk install

You are then good to go, unless I missed a step. You need some 386
bits from ape to build the 64-bit code.

We've set up nix-os root file system to play nice with 9vx, which is
why we include a 9vx for osx in the file system.

so to repeat: nix-os is a mercurial image of a root file system for
32-bit nodes, and it is intended to make it easy for you to boot
64-bit nodes. We assumed that you had at least one 32-bit and one
64-bit system.

I hope this helps a little.

ron



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 23:12       ` Lyndon Nerenberg
@ 2011-11-22 23:22         ` andrey mirtchovski
  2011-11-22 23:22           ` andrey mirtchovski
  0 siblings, 1 reply; 28+ messages in thread
From: andrey mirtchovski @ 2011-11-22 23:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

when i set up virtualbox i had to do these two steps:

download this plan9 image: http://virtualboxes.org/images/plan-9/
download and install the extension pack:
https://www.virtualbox.org/wiki/Downloads

then the other step was to enable USB 2.0 in the Ports config setting.

that's all. boots fine as a single-cpu os.



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 23:22         ` andrey mirtchovski
@ 2011-11-22 23:22           ` andrey mirtchovski
  2011-11-22 23:37             ` Lyndon Nerenberg
  0 siblings, 1 reply; 28+ messages in thread
From: andrey mirtchovski @ 2011-11-22 23:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

oh, one more thing: i used bridged network.



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 22:58     ` erik quanstrom
  2011-11-22 23:12       ` Lyndon Nerenberg
@ 2011-11-22 23:33       ` andrew zerger
  1 sibling, 0 replies; 28+ messages in thread
From: andrew zerger @ 2011-11-22 23:33 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 2760 bytes --]

So many configs- is true, since the configuration of the host itself is
critical to the virtual platform, and your distroVersion/openbox vs.
distro2Version/openbox.

Especially the successful archlinux/gentoo/lfs qemu-kvm guys will be
like----  well first I (already) had a kernel compiled for my hardware
(lspci, kernel.config), then I enabled KVM support in the kernel, and
tun/tap support, then it just worked, because of course, all of that is in
the wikis/docs for those necessary steps.

If anyone has trouble I would recommend the docs say, compile your own
virtual host and glean issue/resolution wiki from what transpires there,
otherwise it will be a distro specific problem on the hardware support side
of distro->vm->(no-longer hardware phase)guest, and that distro/VM team
would be more interested to know how what is broken than anyone looking at
plan9 code.

Or- not being some kind of gentoo snob, if I had/'there were' some docs on
how to get host-side information on how many supported/unsupported
syscalls, etc, plan9 made to qemu, I think that would be useful for
improving the performance of plan9 on virtual hardware, but I'm not sure.
Just letting my mind wander at the end of the day. Those docs on debugging
qemu guests probably exist somewhere I won't see right away.

regards,
andrew



ps,
Here's a really bad startup script for qemu-kvm, haha
(not really, its just really bad .. okay 1 line)

kvm -net nic,macaddr=$DISTMAC \
    -net tap,ifname=$DISTTAP,script=no,downscript=no \
    $DVMOPT \
    -hda $DISIMG -m $MVMRAM -daemonize



On Tue, Nov 22, 2011 at 3:58 PM, erik quanstrom <quanstro@quanstro.net>wrote:

> > What would be *really* helpful is if people who have actual real live
> > running this minute Plan 9 under some VM system would post their
> > *specific* VM and Plan9 configuration files to the Wiki.
> >
> > Several people claim to be running Plan 9 under assorted VMs, but it's
> > very difficult for others to reproduce that success, and every time I ask
> > someone for specific configs the response is "well that was months ago
> and
> > I don't use it any more" or suchlike.
> >
> > Not that I don't believe them, but basically I don't believe them ;-)
>
> i think the problem is that there are so many configurations.
> there are at least
>
>        vm versions * vm config * real hardware
>
> many of them.  hardware passthrough has got to be one of the
> least appealing ideas that's come out of virtualization.  you get
> all the complications of a virtual environment, coupled with the
> convenience and sheer joy of dealing with hardware.
>
> - erik
>
>


-- 
⎼⎺⎺├@┼␊├├≤-␍⎼␊▒␍:/␤⎺└␊/⎼␤⎺#

[-- Attachment #2: Type: text/html, Size: 3484 bytes --]

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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 23:22           ` andrey mirtchovski
@ 2011-11-22 23:37             ` Lyndon Nerenberg
  0 siblings, 0 replies; 28+ messages in thread
From: Lyndon Nerenberg @ 2011-11-22 23:37 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> oh, one more thing: i used bridged network.

One more more thing: 9fans is not the wiki :-P



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

* Re: [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 23:21           ` ron minnich
@ 2011-11-23  7:49             ` Francisco J Ballesteros
  0 siblings, 0 replies; 28+ messages in thread
From: Francisco J Ballesteros @ 2011-11-23  7:49 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

But, if you want more than one core, be sure you
install the CL I sent (which has not yet been applied).

I'll commit it later today so you could get SMP without
applying any CL by hand.

>
> I use it as follows:
> hg clone http://googlecode.com/p/nix-os nix-os
> cd nix-os
> ./9vx.OSX10.6 -r . -u rminnich
> (get on the machine)
> objtype=386
> cd /sys/src/ape/lib
> mk install
> cd /sys/src
> objtype=amd64
> mk install
> cd /sys/src/nix/k10
> mk install
>
> You are then good to go, unless I missed a step. You need some 386
> bits from ape to build the 64-bit code.
>
> We've set up nix-os root file system to play nice with 9vx, which is
> why we include a 9vx for osx in the file system.
>
> so to repeat: nix-os is a mercurial image of a root file system for
> 32-bit nodes, and it is intended to make it easy for you to boot
> 64-bit nodes. We assumed that you had at least one 32-bit and one
> 64-bit system.
>
> I hope this helps a little.
>
> ron
>
>



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-22 22:53   ` [9fans] Let's get VM configs onto the Wiki Lyndon Nerenberg
  2011-11-22 22:58     ` erik quanstrom
@ 2011-11-24 21:16     ` Bakul Shah
  2011-11-24 21:25       ` Lyndon Nerenberg
  2011-11-24 22:05       ` ron minnich
  1 sibling, 2 replies; 28+ messages in thread
From: Bakul Shah @ 2011-11-24 21:16 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Tue, 22 Nov 2011 14:53:27 PST Lyndon Nerenberg <lyndon@orthanc.ca>  wrote:
> > I found that Virtualbox worked very well when I was fiddling with my
> > Macbook on the way back from IWP9. I haven't tried it on the thinkpad
> > yet.
>
> What would be *really* helpful is if people who have actual real live
> running this minute Plan 9 under some VM system would post their
> *specific* VM and Plan9 configuration files to the Wiki.
>
> Several people claim to be running Plan 9 under assorted VMs, but it's
> very difficult for others to reproduce that success, and every time I ask
> someone for specific configs the response is "well that was months ago and
> I don't use it any more" or suchlike.
>
> Not that I don't believe them, but basically I don't believe them ;-)

I have added my notes about vbox 4 on OS X to

  http://plan9.bell-labs.com/wiki/plan9/virtual_machines/index.html

Feel free to update.

To do: add freebsd notes.

But I am not a fan of Wikis. Usually a wiki ends up being an
unstructured collection of useful facts that can go stale as
it takes a lot of effort to keep it organized.



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-24 21:16     ` Bakul Shah
@ 2011-11-24 21:25       ` Lyndon Nerenberg
  2011-11-24 22:05       ` ron minnich
  1 sibling, 0 replies; 28+ messages in thread
From: Lyndon Nerenberg @ 2011-11-24 21:25 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> But I am not a fan of Wikis. Usually a wiki ends up being an
> unstructured collection of useful facts that can go stale as
> it takes a lot of effort to keep it organized.

I'm no fan either, but until someone comes up with an alternative there
is no way of knowing which one sucks more.



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-24 21:16     ` Bakul Shah
  2011-11-24 21:25       ` Lyndon Nerenberg
@ 2011-11-24 22:05       ` ron minnich
  2011-11-24 22:28         ` Bakul Shah
  1 sibling, 1 reply; 28+ messages in thread
From: ron minnich @ 2011-11-24 22:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Nov 24, 2011 at 1:16 PM, Bakul Shah <bakul@bitblocks.com> wrote:

> But I am not a fan of Wikis. Usually a wiki ends up being an
> unstructured collection of useful facts that can go stale as
> it takes a lot of effort to keep it organized.

Would be interesting if every wiki entry came with an expiration date,
and entries just went away or no longer appeared. So much of what I
find on wikis is completely wrong any more.

ro



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

* Re: [9fans] Let's get VM configs onto the Wiki.
  2011-11-24 22:05       ` ron minnich
@ 2011-11-24 22:28         ` Bakul Shah
  0 siblings, 0 replies; 28+ messages in thread
From: Bakul Shah @ 2011-11-24 22:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, 24 Nov 2011 14:05:00 PST ron minnich <rminnich@gmail.com>  wrote:
> On Thu, Nov 24, 2011 at 1:16 PM, Bakul Shah <bakul@bitblocks.com> wrote:
>
> > But I am not a fan of Wikis. Usually a wiki ends up being an
> > unstructured collection of useful facts that can go stale as
> > it takes a lot of effort to keep it organized.
>
> Would be interesting if every wiki entry came with an expiration date,
> and entries just went away or no longer appeared. So much of what I
> find on wikis is completely wrong any more.

A wiki is fine for something like an encyclopedia which is
basically a collection of loosely coupled information, or as a
corkboard of research notes.

A handbook can start out organized.  Everything can be put in
its proper place, easy to parallelize the effort and reorg is
easy (mostly just metadata reorg -- in wiki you will have to
do cut-n-paste between pages). See the online FreeBSD handbook
for an example.



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

* [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-22 15:39 [9fans] Returning to Plan 9: Virtualization, Distributions Joel C. Salomon
                   ` (2 preceding siblings ...)
  2011-11-22 22:14 ` John Floren
@ 2011-11-27  0:14 ` Ruben Schuller
  2011-11-27  6:29   ` Jens Staal
  3 siblings, 1 reply; 28+ messages in thread
From: Ruben Schuller @ 2011-11-27  0:14 UTC (permalink / raw)


To throw my experiences in:

I've installed bell labs plan9 in qemu-kvm. What really sped up the
installation was having the disk image in a tmpfs, otherwise the
copying to the hard disk took hours. With tmpfs it was finished in some
minutes. After moving this image to the harddisk the plan9 system was
really slow, though. This also worked for 9front, which seemed to run
more smoothly with the image not in ram. Testing 9atom is to be done.

The environment for these tests is an archlinux system with an amd cpu
and 8G of ram.

Be aware that i've not tested networking, the installation was from the
iso.

Steps (also with 9front):
Installation:
$ mkdir tmp
$ sudo mount -t tmpfs -o size=6G tmpfs tmp
$ qemu-img create tmp/plan9.img 2g
$ qemu-kvm -hda tmp/plan9.img -cdrom plan9.iso

After installation:
$ mv tmp/plan9.img .
$ sudo umount tmp
$ qemu-kvm -hda plan9.img

I hope this is of any use :)

Ruben



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

* [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-27  0:14 ` [9fans] Returning to Plan 9: Virtualization, Distributions Ruben Schuller
@ 2011-11-27  6:29   ` Jens Staal
  2011-11-27  7:08     ` John Floren
  0 siblings, 1 reply; 28+ messages in thread
From: Jens Staal @ 2011-11-27  6:29 UTC (permalink / raw)


On 11/27/11 01:14, Ruben Schuller wrote:
> To throw my experiences in:
>

I just managed to install 9front in virtualbox on my Arch linux x86_64 
laptop (intel (Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz), 2GiB RAM). 
I first tried with the Bell labs image which booted nicely from CD but 
after install, the boot from the virtual disk image failed. The "copy to 
disk" phase of the install took some time also here, but hardly hours.

I think the critical setting to make it work in virtualbox was to set 
the IDE controller to PIIX3 and to uncheck "use host I/O cache". I was 
planning to try the 9atom sometime later (but now I am mostly playing 
with the system that does work).



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

* [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-27  6:29   ` Jens Staal
@ 2011-11-27  7:08     ` John Floren
  2011-11-27  9:18       ` Lucio De Re
  0 siblings, 1 reply; 28+ messages in thread
From: John Floren @ 2011-11-27  7:08 UTC (permalink / raw)


On Sat, Nov 26, 2011 at 10:29 PM, Jens Staal <staal1978 at gmail.com> wrote:
> On 11/27/11 01:14, Ruben Schuller wrote:
>>
>> To throw my experiences in:
>>
>
> I just managed to install 9front in virtualbox on my Arch linux x86_64
> laptop (intel (Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz), 2GiB RAM). I
> first tried with the Bell labs image which booted nicely from CD but after
> install, the boot from the virtual disk image failed. The "copy to disk"
> phase of the install took some time also here, but hardly hours.
>
> I think the critical setting to make it work in virtualbox was to set the
> IDE controller to PIIX3 and to uncheck "use host I/O cache". I was planning
> to try the 9atom sometime later (but now I am mostly playing with the system
> that does work).
>
>

I seem to remember a problem with booting Plan 9 in Virtualbox after
the install; you have to disable the CDROM device to make it boot. I
think it was Virtualbox.


John



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

* [9fans] Returning to Plan 9: Virtualization, Distributions
  2011-11-27  7:08     ` John Floren
@ 2011-11-27  9:18       ` Lucio De Re
  0 siblings, 0 replies; 28+ messages in thread
From: Lucio De Re @ 2011-11-27  9:18 UTC (permalink / raw)


> I seem to remember a problem with booting Plan 9 in Virtualbox after
> the install; you have to disable the CDROM device to make it boot. I
> think it was Virtualbox.

VMware has that problem.  Caught me a few times.

++L




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

end of thread, other threads:[~2011-11-27  9:18 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-22 15:39 [9fans] Returning to Plan 9: Virtualization, Distributions Joel C. Salomon
2011-11-22 15:46 ` ron minnich
2011-11-22 15:56   ` Gabriel Díaz López de la llave
     [not found]   ` <CAL_gH73FUfzOdFg1HHMomr8_kubMwYvraXnkYUqQQ4hbzD33iw@mail.gmail.c>
2011-11-22 16:00     ` erik quanstrom
2011-11-22 22:57       ` Joel C. Salomon
2011-11-22 23:04         ` erik quanstrom
2011-11-22 23:21           ` ron minnich
2011-11-23  7:49             ` Francisco J Ballesteros
2011-11-22 23:06         ` John Floren
2011-11-22 19:41 ` Jack Norton
2011-11-22 22:50   ` Joel C. Salomon
2011-11-22 23:00     ` Giacomo Tesio
2011-11-22 22:14 ` John Floren
2011-11-22 22:53   ` [9fans] Let's get VM configs onto the Wiki Lyndon Nerenberg
2011-11-22 22:58     ` erik quanstrom
2011-11-22 23:12       ` Lyndon Nerenberg
2011-11-22 23:22         ` andrey mirtchovski
2011-11-22 23:22           ` andrey mirtchovski
2011-11-22 23:37             ` Lyndon Nerenberg
2011-11-22 23:33       ` andrew zerger
2011-11-24 21:16     ` Bakul Shah
2011-11-24 21:25       ` Lyndon Nerenberg
2011-11-24 22:05       ` ron minnich
2011-11-24 22:28         ` Bakul Shah
2011-11-27  0:14 ` [9fans] Returning to Plan 9: Virtualization, Distributions Ruben Schuller
2011-11-27  6:29   ` Jens Staal
2011-11-27  7:08     ` John Floren
2011-11-27  9:18       ` Lucio De Re

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