From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sigma.offblast.org ([199.191.58.44]) by ttr; Tue Mar 11 06:09:30 EDT 2014 Received: from iota.offblast.org ([192.235.78.211]) by sigma; Tue Mar 11 06:09:26 EDT 2014 Date: Tue, 11 Mar 2014 03:09:14 -0700 From: Nick Owens To: 9front@9front.org Subject: root filesystem over import Message-ID: <20140311100914.GA20812@iota.offblast.org> List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: extensible element-scale extension-aware STM backend MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable friends, i've written some patches to allow booting a root filesystem over import with optional aan. my end goal here is to have just a bootloader, kernel, plan9.ini on fat partition, on a very small 128MB sd card, and boot with the root over wifi on my X200. this is the first step. if import is selected at the bootargs prompt or selected in nobootprompt, import will dial $fs on the exportfs port(17007). setting aan=3D1 in plan9.ini will enable aan for import. this means you're actually booting your root from a cpu server, not necessarily a fileserver. it seems some time ago it was possible to boot over aan on labs distribution, but i'm not sure if it used import. an excerpt from http://9fans.net/archive/2005/03/215: 4570 free pages, 18280K bytes, 96680K swap no usb daemon no usbhid root is from (aan, tcp, il, local)[tcp]:=20 user[none]: axel secstore password:=20 version...time... init: starting /bin/rc my patches are at http://9.offblast.org/9front/patch/bootimport/ the import patch is necessary because if you do not strip the port from the import dial string, netmkaddr will *not* use the aan port read from the connection, and try to speak aan to the exportfs port. thoughts? --ReaqsoxgOBHFXBhH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (OpenBSD) iQIcBAEBAgAGBQJTHuDKAAoJEAlFY6k1Rs31pEkP/333z5rQ6laKz0jz3jCSsKEJ wpLZtr5q1XNzZAjf9Vp2/YerHqrwWJ90z+Bij9dvYnxg0x3INE6LaghwwDU3iaCZ xO9BwQShVkSgXJbQkSWtJekLTUc/YO+Gaymu2LW612dH8vkxU2Ad7OgMe7gFcrmC 86Y/tn/dnkDBUNPHOZ+qdQtvFWHzZhHlXKFuAAefKkiQp8BGxJoiTEd8At7QC3w6 NUK91ods6MVuHDIe1BJkMp5+inGA/6XcA46ZNNmWSWvlB/2QuehWbRXNZ0UEmW0Q 0wJXE7JXCh7VIYCfY76p+3Sc6F4HgWQDQubiDEwI7P9Smh6tr9ZKVvw/tEK82W3V Q1qF5Rvya8iGlTp/qaPhY38c+HZDoVfkXYzJpP8TPCJzmQl3GrakDNkDxM4Xm9Uf LrKYnjUm6ZA+msspILVU2B2LimL634YOYafC87yL0oxYaYKNscYV0y1F0tNuIGZN LlrtPivC/XCHxipsvhH3Bd4HWZzaZuMwpctU4Ywf7NGi5c/yivNF4IvzEPHZUIdQ hjabQVqPuo1FcUhZenwlu8soeEx+Dc4ymWrqzlqDhnN+LDNWsIXFG/Pf4Yo5YLI5 Qff94Nx/F3HAE00Nvf7p2y0HpZ5faLeencGjc3S3BCdBzFdwPr2UbbfX/CdOwPoM ehLisnr4TVsZoqbxEQVh =D8xc -----END PGP SIGNATURE----- --ReaqsoxgOBHFXBhH--