From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lb0-f177.google.com ([209.85.217.177]) by pp; Mon Feb 9 06:20:01 EST 2015 Received: by mail-lb0-f177.google.com with SMTP id z11so1915413lbi.8 for <9front@9front.org>; Mon, 09 Feb 2015 03:19:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=+89j0vgy/l2mYvfK+QKREDlKYDRvAXM/ZCVhwu27ByA=; b=NeYH0IX8gwoqY3Cc4vWiYepmsH6ZpZvmNmihfoMzaqx+R7oGiroLRuTOWMc7nA7t5c 4lgoLqZeFrVQtsCsuRgTj5XnxNKqv35958vcVX8wDEXPf5a6wvXb41Xmf3XeLC6xdUox uIf+hZW8Kswqdivm2SpWvgP9E2CokAkzKS3h6c8500R+o+rcGQj8nAgCJDXG1lWuf5tJ y4xZNDk7UztYWIR7UVIExO/UGObKNs+Q/H+09rDPOADOZv8usP5Rw5BaX88jUgK8ia1q Iit0obHxJ+dsx0yB/zSr0YK6J9RKEI9Xrb1BJGnqix4hGpMjFIBwnyGgUs3h80GnpXaM Frsw== X-Gm-Message-State: ALoCoQmC8HVsE/ct5hVH8+pXMUGwyWF40rIv3/jpBtV+0fwwXMpRVZ2XfB3cbOBIoF5RnA+9BwPA MIME-Version: 1.0 X-Received: by 10.152.205.74 with SMTP id le10mr15830522lac.39.1423480791927; Mon, 09 Feb 2015 03:19:51 -0800 (PST) Received: by 10.114.12.37 with HTTP; Mon, 9 Feb 2015 03:19:51 -0800 (PST) Date: Mon, 9 Feb 2015 12:19:51 +0100 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: object-oriented configuration full-stack interface Subject: QEMU and sysupdate From: Giacomo Tesio To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 Hi, I have a running 9front on qemu (windows), but I've a few questions: 1) sysupdate can't update the system, because of networking issues, mothra can't browse the web too). I'm using user networking, as described in https://code.google.com/p/plan9front/wiki/fqa3#3.3.1_-_Qemu Any suggestions? 2) while fshalt -r reboots, scram does not shutdown the virtual machine What's going wrong? Giacomo From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sigma.offblast.org ([199.191.58.44]) by pp; Mon Feb 9 09:56:12 EST 2015 Received: from 172.56.39.226 ([172.56.39.226]) by sigma; Mon Feb 9 09:56:08 EST 2015 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----U6BHBSY0Z3ZJG2LOXBVB41DEZ1NOJ0" Content-Transfer-Encoding: 7bit Subject: Re: [9front] QEMU and sysupdate From: mischief@9.offblast.org Date: Mon, 09 Feb 2015 06:56:01 -0800 To: 9front@9front.org,Giacomo Tesio Message-ID: <0C5FA191-C979-4F4A-9E4E-281DF131CB8A@9.offblast.org> List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: encrypted high-performance ACPI general-purpose property database ------U6BHBSY0Z3ZJG2LOXBVB41DEZ1NOJ0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Please specify what qemu version you are using, what options you used, and = what version of the 9front code you are using, and what the content of plan= 9=2Eini is=2E On February 9, 2015 3:19:51 AM PST, Giacomo Tesio wro= te: >Hi, I have a running 9front on qemu (windows), but I've a few >questions: > >1) sysupdate can't update the system, because of networking issues, >mothra can't browse the web too)=2E I'm using user networking, as >described in >https://code=2Egoogle=2Ecom/p/plan9front/wiki/fqa3#3=2E3=2E1_-_Qemu >Any suggestions? > >2) while fshalt -r reboots, scram does not shutdown the virtual machine > >What's going wrong? > > >Giacomo ------U6BHBSY0Z3ZJG2LOXBVB41DEZ1NOJ0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please specify what qemu version you are using, wh= at options you used, and what version of the 9front code you are using, and= what the content of plan9=2Eini is=2E

On= February 9, 2015 3:19:51 AM PST, Giacomo Tesio <giacomo@tesio=2Eit> = wrote:
Hi, I have a running 9front on qemu (windows), but I=
've a few questions:

1) sysupdate can't update the system, becau= se of networking issues,
mothra can't browse the web too)=2E I'm using= user networking, as
described in https://code=2Egoogle=2Ecom/p/p= lan9front/wiki/fqa3#3=2E3=2E1_-_Qemu
Any suggestions?

2= ) while fshalt -r reboots, scram does not shutdown the virtual machine

What's going wrong?


Giacomo

------U6BHBSY0Z3ZJG2LOXBVB41DEZ1NOJ0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from owm.eumx.net ([91.82.101.43]) by pp; Mon Feb 9 09:56:59 EST 2015 Date: Mon, 09 Feb 2015 14:56:56 +0000 Message-ID: <20150209145656.Horde.MrisRQ-Zfceiy_vPHX6rXg2@ssl.eumx.net> List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: NoSQL rich-client metadata content-driven framework From: Kurt H Maier To: 9front@9front.org Subject: Re: [9front] QEMU and sysupdate In-Reply-To: User-Agent: Internet Messaging Program (IMP) H5 (6.2.2) Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline Quoting Giacomo Tesio : > 1) sysupdate can't update the system, because of networking issues, > mothra can't browse the web too). I'm using user networking, as > described in https://code.google.com/p/plan9front/wiki/fqa3#3.3.1_-_Qemu > Any suggestions? Fix the networking issues. > 2) while fshalt -r reboots, scram does not shutdown the virtual machine > > What's going wrong? This is a known problem; there's some kind of weirdness in certain QEMU versions. The symptom is that ACPI reboot directives are ignored. mischief worked pretty hard to fix it a while back, and it doesn't seem to affect newer versions of QEMU on linux. If you turn up a solution I'd be delighted to hear it! khm From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-la0-f42.google.com ([209.85.215.42]) by pp; Tue Feb 10 03:07:30 EST 2015 Received: by labhv19 with SMTP id hv19so18483165lab.10 for <9front@9front.org>; Tue, 10 Feb 2015 00:07:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qWfBNn+RD1m5PtyRHdtu+CS/a/ak2pcHPk6JbpjW0N4=; b=cCbZCfxSbl2iRCQNf9KPiPWALnC02bPMUN6JVn1b6i1XNapyx+bX/sIghMPjZerdMV QIpP8q4N4bL5HTtQHi8U/UEsg5bgplT/F4JKY3Yj+avu8jEUuKjEF64Dlq8T4baHXqZh luWtRBPhNmps4eUexfJs6aG1EYFwk3h7QCzpDp+taRfRS+h2P4iSf8QtcSAyMpYM5uc5 p5n2g9B+xrrFCHNQQsslMeIyo1cVcxegBDQV6yZN5N/HlVHLe210Vop1wVLA74zRroN+ TUzmEdPUX1wBfUoah7jlgidAMrlgHf6waEl5K4GRpvXMDypGbkPmn3N6SaUtD9SQ6Q5e C6eg== X-Gm-Message-State: ALoCoQlPBVXoyWu+Y6lBkjPF6Xeus3oWGKhAsXCCySQz/2NOdxYYzaS8w22mc1lNC1DWlfqC+W4J MIME-Version: 1.0 X-Received: by 10.152.6.195 with SMTP id d3mr19505277laa.36.1423555643724; Tue, 10 Feb 2015 00:07:23 -0800 (PST) Received: by 10.114.12.37 with HTTP; Tue, 10 Feb 2015 00:07:23 -0800 (PST) In-Reply-To: <20150209145656.Horde.MrisRQ-Zfceiy_vPHX6rXg2@ssl.eumx.net> References: <20150209145656.Horde.MrisRQ-Zfceiy_vPHX6rXg2@ssl.eumx.net> Date: Tue, 10 Feb 2015 09:07:23 +0100 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: factory pipelining high-performance frontend Subject: Re: [9front] QEMU and sysupdate From: Giacomo Tesio To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 Sorry... you are right... following are the missing info: 2015-02-09 15:56 GMT+01:00 : > Please specify what qemu version you are using, QEMU 2.2.50 for windows > what options you used, qemu-system-x86_64.exe -m 1024 -redir tcp:9999::9999 -net nic,model=virtio,macaddr=52:54:00:00:EE:03 -net user -device virtio-scsi-pci,id=scsi -drive if=none,id=vd0,file=9front.qcow2.img -device scsi-hd,drive=vd0 > and what version of the 9front code you are using, ehm... good question... the iso was downloaded on Jan 13, 2015, but I can't figure out an equivalent for "uname -a" to properly answer your question > and what the content of plan9.ini is. bootfile=9pcf nobootprompt=local!/dev/sd00/fs -m 192 mouseport=ps2intellimouse monitor=vesa vgasize=1024x768x16 user=glenda Note that I can actually connect to the 9front guest from the host, and I can reach the host's http server via mothra, but I can't go out. I've tried to set httpproxy environment variable (a squid proxy running on the host), but with no success. Giacomo From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by pp; Tue Feb 10 04:51:17 EST 2015 Received: by mail-lb0-f174.google.com with SMTP id z11so1422876lbi.5 for <9front@9front.org>; Tue, 10 Feb 2015 01:51:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=8Zg2LBZLPcQk1xZ4PGI7bfZlL1cibU2LG3XOuoU3XfU=; b=jcCM1OJ3Df0KBt+mGzz+sZAvdOeIiu9ERXgDE9Sh9UnbPzoJ9JyokEIXQ/MGJV3rcc ks0uG0h4utPxe0kPs5Vh5kmROGf+dhZu4GewTzcg+EE2KqCFkyaJcePXXCCm67w4IZbF LBMAX3ApKbzoG+nmcBfSNdz622NTgDw4MXQ2+unu0JbCGA4tELg3wpjGGA2kxC/VEf/O kubn/pephKj0VSEpAVD5NCmczIJSMBdbcS5ouJCKyRR7xEv11U2bgAGd4iIgj2M1eA87 a24SGVWQJksgue1pkO5TqiUSBiG6gIFcsOSD8OZ60qnb5yXiXCmcPFMuUXJ6eEtkdy7/ Zmlg== X-Gm-Message-State: ALoCoQnbdVhPXZ/L/toNJlHFmoz6ey11ln9OtDJykcaSKKo3ZFtNwiWbA/Mf3BTLsJn5xfZ4O1FI MIME-Version: 1.0 X-Received: by 10.152.205.74 with SMTP id le10mr21734445lac.39.1423561871902; Tue, 10 Feb 2015 01:51:11 -0800 (PST) Received: by 10.114.12.37 with HTTP; Tue, 10 Feb 2015 01:51:11 -0800 (PST) In-Reply-To: References: <20150209145656.Horde.MrisRQ-Zfceiy_vPHX6rXg2@ssl.eumx.net> Date: Tue, 10 Feb 2015 10:51:11 +0100 Message-ID: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: self-healing STM CSS browser Subject: Re: [9front] QEMU and sysupdate From: Giacomo Tesio To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 In case anybody hit this same issue, I managed to fix the networking issue following the guide from plan9 http://plan9.bell-labs.com/wiki/plan9/Plan9_on_Qemu_on_Windows/index.html In particular I had to - install OpenVPN, - rename the TAP-Windows Adapter to TAP_OpenVPN (in Control Panel\Network and Internet\Network Connections) - create a bridged network (select the actual network interface, interface AND the TAP_OpenVPN interface, right click, Bridge) - start Qemu with " -net nic,model=rtl8139 -net tap,ifname=TAP_OpenVPN " - on 9front terminal type "ip/ipconfig" and hit enter Finally sysupdate worked as expected. Giacomo 2015-02-10 9:07 GMT+01:00 Giacomo Tesio : > Sorry... you are right... following are the missing info: > > 2015-02-09 15:56 GMT+01:00 : >> Please specify what qemu version you are using, > > QEMU 2.2.50 for windows > >> what options you used, > > qemu-system-x86_64.exe -m 1024 -redir tcp:9999::9999 -net > nic,model=virtio,macaddr=52:54:00:00:EE:03 -net user -device > virtio-scsi-pci,id=scsi -drive if=none,id=vd0,file=9front.qcow2.img > -device scsi-hd,drive=vd0 > >> and what version of the 9front code you are using, > > ehm... good question... the iso was downloaded on Jan 13, 2015, but I > can't figure out an equivalent for "uname -a" to properly answer your > question > >> and what the content of plan9.ini is. > > bootfile=9pcf > nobootprompt=local!/dev/sd00/fs -m 192 > mouseport=ps2intellimouse > monitor=vesa > vgasize=1024x768x16 > user=glenda > > > Note that I can actually connect to the 9front guest from the host, > and I can reach the host's http server via mothra, but I can't go out. > I've tried to set httpproxy environment variable (a squid proxy > running on the host), but with no success. > > Giacomo