From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <531787D7.6070700@gmail.com> Date: Wed, 5 Mar 2014 22:23:51 +0200 From: Alexandru Gheorghe User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: 9fans@9fans.net References: <20140302221648.GA1295@spark.home> <17F5B971-A807-4FA4-A278-E10087AB4DF5@orthanc.ca> <5314E5EC.3010600@gmail.com> <5314EB77.9010904@gmail.com> <5AFC3B27-E0C4-4D74-91B2-BBBA28FAD3B4@orthanc.ca> <5314FFDF.20108@gmail.com> In-Reply-To: <5314FFDF.20108@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2XBGMOIAPCVMHXOVHHICN" Subject: Re: [9fans] Welcome Plan 9 community Topicbox-Message-UUID: c4a52710-ead8-11e9-9d60-3106f5b1d025 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2XBGMOIAPCVMHXOVHHICN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/04/2014 12:19 AM, Alexandru Gheorghe wrote: > On 03/03/2014 10:53 PM, Lyndon Nerenberg wrote: >> >> On Mar 3, 2014, at 12:52, Alexandru Gheorghe = wrote: >> >>> should we gather some configuration steps/examples for known stable >>> builds of vbox and post them in a wiki somewhere(?) >> >> Yes! That's what the wiki is for. >> >=20 > sure, I agree. I am only enquiring so as to brainstorm if we should > actually (and be better of) providing a sort of how-to in debugging > network setup on plan9 (besides what is already on the net). >=20 > i.e., even if somebody runs into trouble (ultimately), it is better off= > posting his output of: >=20 > cat /net/ndb >=20 > ls /net | grep ether (optional) > ls /net/ether* >=20 > ip/ipconfig -DGP >=20 >=20 > in case he/she is running in recv timeout for 15 secs; shortcut: >=20 > ppid=3D`{ps | grep ipconfig | awk '{print $2}'} > echo kill > /proc/$ppid/note >=20 > sorry for the ` as I am writing from GNU/Linux >=20 >=20 > this may not fully represent what is needed, but this is what I could > gather in few minutes of man pages and some trial and error, after only= > 30 minutes of Plan9 experience. so I am sure far more experienced users= > from the mailinglist can contribute to the article >=20 > I will try to tackle it this weekend from this approach/point of view, > maybe I can come up with something rather useful, if not, at least > networking setup for the build I use of vbox/os/v ersion etc. >=20 Hmm, actually related to this, I encounter dhcprecv read timed out. I searched and seems there are some interrupt related "issues", this happens with VirtualBox (4.1.18_Debian r78361) for me, not on bare metal. NIC is in NAT, tried with a second NIC in bridged; definitely not the NIC as the below code also points out in !0 and !1 dhcp.c: ------- void dhcprecv(void) { [...] uchar buf[8000], vopts[256], taddr[IPaddrlen]; [...] memset(buf, 0, sizeof buf); alarm(1000); !0 n =3D read(conf.fd, buf, sizeof buf); alarm(0); if(n < 0){ rerrstr(err, sizeof err); !1 if(strstr(err, "interrupt") =3D=3D nil) warning("dhcprecv: bad read: %s", err); else DEBUG("dhcprecv: read timed out"); return; n <- ipconfig.h: ---------------- typedef struct Conf Conf; [...] struct Conf { [...] /* dhcp specific */ int fd; Any ideas? I don't seem to find plan9.ini to try the fix Akshat Kumar pointed out in [1]; all the other answers from erik and ron are bare metal hardware related (like the original post). How to deal with this in VirtualBox? Chipset is PIIX3 [2] References: [1] https://groups.google.com/forum/?_escaped_fragment_=3Dtopic/comp.os.plan9= /9nlmIoY4-C8#!topic/comp.os.plan9/9nlmIoY4-C8 [2] https://www.virtualbox.org/manual/ch03.html#settings-motherboard (under Chipset section) -- there is another option "ICH9" and the MSI seems a plus; not sure how this will interact with Plan9 but I'll give it a go --=20 ; Alexandru Gheorghe ; alghe.global {at} gmail {dot} com ; OpenPGP key ID 0xCAF985D2 ------enig2XBGMOIAPCVMHXOVHHICN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJTF4fbAAoJEM2Jx0DK+YXSzMMP/RB/RW1wX8URVZU0Wlhx34lI 5SP/nNoyFjaJrkYpkun9Vtd2xLnGdikNDzy160CKMVVe/7yGYUF8zXlMU8GXG7TJ hoTnQeABym0JCF/0FIIJZFyjaw1eWci2BfvsImBinsMreZ0oIuSA7ikaKleEQc1q 72KQVbx90CNHuPj1YJZzZYQSkOmHDo7YJymM0/Un1Bkp6bpSNiCzL4/XxK7OhOoy BGruP1bBiuliK4krIpofe9qU1SWs0flF4Z9BfE0hNyJUYGo2Ma2zT4+V2s074hQf 4ZlDineV9FA7reWpw3QWiF8MlCtLBMUXskOc5pcDx2qXc5sHIHbvfRi4thXRGhdV dAMBecUeUYW1mjLNCpU9vJ1hN/MPC5nmjZdk+wtRKSJL3w8mXcO74nZXRqJsFO6l SMRorTb6tB5J6RvpDU+3D1c+vWdaMmhJYi8gPRBTEHeyJYqyKkM/+DQmb2lu/yH3 W8/79d0XDvxFrymFZpQe8rK2hd5bImpRJxWGyu2UwVGmPy5TGNjdswasHZ2XV57a 4HiRgbkDsel3DxU/oA7YE6GKuvZlhzGyhvwSdQwSO2yMeSomPAkztnUIIZfjdQFU qzfYwW1dXshO26SF/PkKWUqkE4jRBIb/ZoNqW3ylfyW3vM+wqBI+WmC1zm9xjM/C qPn+dayeA+rWkP7MQKl9 =iRcS -----END PGP SIGNATURE----- ------enig2XBGMOIAPCVMHXOVHHICN--