9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] plan 9 on qemu
@ 2004-12-24  5:23 YAMANASHI Takeshi
  2004-12-24  5:41 ` Kenji Okamoto
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: YAMANASHI Takeshi @ 2004-12-24  5:23 UTC (permalink / raw)
  To: 9fans


On Fri Dec 24 13:25:39 JST 2004, jmk@plan9.bell-labs.com wrote:
> The NIC works
> (as far as I could test it by pinging the gateway returned
> by DHCP and the host IP address) but it needs the nodummyrr
> option. This is what I had in plan9.ini:
> 
> 	ether0=type=ne2000 port=0xC100 mem=0x04000 size=0x4000 nodummyrr

Great thanks!!!
I've got a diskless terminal to boot under qemu.

I thought the port was 0x0300.  Some page claims it to be so.
 http://www.h7.dion.ne.jp/~qemu-win/HowToNetwork-en.html

With your ether0= line in plan9.ini, the kernel succeeded to:
	1: find qemu virtual nic.
	2: get an ip address from qemu virtual dhcp server.
	3: reach to the fs using the ip address (NAT'ed on qemu)

here is my plan9.ini:
	bootfile=fd0!9pcf.gz
	bootargs=tcp  ether /net/ether0 0.0.0.0 0.0.0.0  0.0.0.0 131.112.14.43 131.112.14.43
	ether0=type=ne2000 port=0xC100 mem=0x04000 size=0x4000 nodummyrr
	vgasize=1024x768x8
	monitor=xga
	mouseport=ps2intellimouse

and here is boot messages

Plan 9
cpu0: 735MHz GenuineIntel PentiumPro (cpuid: AX 0x0613 DX 0xA1BD)
ELCR: 0000
#l0: NE2000: 10Mbps port 0xC100 irq 9 addr 0x4000 size 0x4000: 525400123456
19287 free pages, 77148K bytes, 309148K swap
root is from (tcp, il, local)[tcp ether /net/ether0 0.0.0.0 0.0.0.0 0.0.0.0 131.112.14.43 131.112.14.43]: 
user[none]: nashi
version...
!Adding key: dom=tip9ug.jp proto=p9sk1
user[nashi]: 
password: 
!
time...

init: starting /bin/rc
<and rio comes up>

P.S.
wishing a Merry Christmas to all 9fans. :)
-- 
YAMANASHI Takeshi




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] plan 9 on qemu
@ 2004-12-24  6:26 YAMANASHI Takeshi
  2004-12-25 18:34 ` YAMANASHI Takeshi
  2004-12-25 22:52 ` YAMANASHI Takeshi
  0 siblings, 2 replies; 16+ messages in thread
From: YAMANASHI Takeshi @ 2004-12-24  6:26 UTC (permalink / raw)
  To: 9fans

> Happy Holidays!
> may be more neutral to all 9fans.?

Oops.  Sorry for that. :)

> By the what is merrit/demerrit of qemu or Xen.

my humble comparisons between Xen and qemu are:
  - Xen shows a better performance.
  - qemu doesn't need special privilege to install/use.
    but Xen needs to be installed before any other OSes.
  - Xen requires guest OSes to be ported to Xen while qemu doesn't.
  - qemu has a vga device supported by aux/vga while Xen doesn't (yet)

> Xen for servers and qemu for terminal even Windows?

p9 terminal running under qemu would be
an easy way to get around vga hell for free.

Many Linux nodes running Xen could be a possible base
for 9grid nodes. ;)
-- 




^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: [9fans] plan 9 on qemu
@ 2004-12-24  6:26 YAMANASHI Takeshi
  2004-12-25 19:38 ` YAMANASHI Takeshi
  2004-12-25 21:06 ` YAMANASHI Takeshi
  0 siblings, 2 replies; 16+ messages in thread
From: YAMANASHI Takeshi @ 2004-12-24  6:26 UTC (permalink / raw)
  To: 9fans

> > cpu0: 735MHz GenuineIntel PentiumPro (cpuid: AX 0x0613 DX 0xA1BD)

A native p9 cpu server running on the identical hardware gives:

	cpu0: 737MHz GenuineIntel PentiumIII/Xeon (cpuid: AX 0x0686 DX 0x387F9FF)
	#l0: i82557: 100Mbps port 0xBC00 irq 5: 0040CA96806F

> > #l0: NE2000: 10Mbps port 0xC100 irq 9 addr 0x4000 size 0x4000: 525400123456

I'm not sure what wire speeds mean in virtual NICs. :)
-- 




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

end of thread, other threads:[~2004-12-25 23:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-24  5:23 [9fans] plan 9 on qemu YAMANASHI Takeshi
2004-12-24  5:41 ` Kenji Okamoto
2004-12-24  5:47 ` Kenji Okamoto
2004-12-24 23:20 ` jmk
2004-12-25 19:02 ` Kenji Okamoto
2004-12-25 19:13 ` jmk
2004-12-25 20:03 ` Kenji Okamoto
2004-12-25 20:24 ` YAMANASHI Takeshi
2004-12-25 20:51 ` Kenji Okamoto
2004-12-25 21:07 ` jmk
2004-12-25 21:09 ` YAMANASHI Takeshi
2004-12-25 23:08 ` Kenji Okamoto
2004-12-24  6:26 YAMANASHI Takeshi
2004-12-25 18:34 ` YAMANASHI Takeshi
2004-12-25 22:52 ` YAMANASHI Takeshi
2004-12-24  6:26 YAMANASHI Takeshi
2004-12-25 19:38 ` YAMANASHI Takeshi
2004-12-25 21:06 ` YAMANASHI Takeshi

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