From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] plan 9 on qemu From: YAMANASHI Takeshi <9.nashi@gmail.com> Date: Fri, 24 Dec 2004 14:23:24 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 1c13faea-eace-11e9-9e20-41e7f4b1d025 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 P.S. wishing a Merry Christmas to all 9fans. :) -- YAMANASHI Takeshi