From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cmo-0002.xspmail.jp ([202.238.198.172]) by ewsd; Sat Nov 16 04:29:47 EST 2019 Received: from cmr-0000.xspmail.jp ([202.238.198.117]) by cmo with ESMTP id VuMwiSmICcCQrVuOliouxy; Sat, 16 Nov 2019 18:29:43 +0900 Received: from pi3L.jitaku.localdomain ([180.146.252.131]) by cmr with ESMTPA id VuOliMDBP3Zb2VuOli8uPT; Sat, 16 Nov 2019 18:29:43 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hera.eonet.ne.jp; s=x01; t=1573896583; i=kokamoto@hera.eonet.ne.jp; bh=OIqfj5/wjFiBE9tO9BOT93H7CqBlgqoTIoEcstT5154=; h=To:Subject:Date:From:In-Reply-To; b=p2NESOMNgEjyKvcN0MifyPQJ8Wlz717AZe+nY9BLIkel0sWFBtqXgUymfA1lRb4Ce n2vgkP4me1HXIg2685Mllo11dzteFzYCVIaGWURZ/nrYP4pdG/rn9Ce6uGPxdibqs1 /ARxeaAGHCfq+KVvMbih0oFYIK4CcSIySZqZHcAiTVsAMPA1VFiHNZtr+yFz2Fg3AU b/qBk43Uk4kX2O3VAPiIdJCSc6KV6LXGpa2Pwqzin5jYoFolKDH44/oQ843k2p2bxY cZvzMvlVU8EgapMbrNyYF+8Ah47VMAMypTBgrvGvbFpij7fsSnV/rvNVRkyy1i4H2K tnM3UfpwhJ6mA== Message-ID: <3B74ECDF1DF49C8F0E834D8CEF34216C@hera.eonet.ne.jp> To: 9front@9front.org Subject: Re: [9front] unofficial sdcard image for raspberry pi 4 testing Date: Sat, 16 Nov 2019 18:29:41 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: 121AFD953318E2873669556F35BF0C7C@felloff.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: plugin-based API-oriented optimizer Thank you very much! So in the case of codes below: static ulong sdiocmd(int cmd, ulong arg) { ulong r; qlock(&sdiolock); if(waserror()){ if(SDIODEBUG) print("sdiocmd error: cmd %d arg %lux\n", cmd, arg); qunlock(&sdiolock); nexterror(); } r = sdiocmd_locked(cmd, arg); qunlock(&sdiolock); poperror(); return r; } static ulong trysdiocmd(int cmd, ulong arg) { ulong r; if(waserror()) return 0; r = sdiocmd(cmd, arg); poperror(); return r; } we see two lines of waserror(), and trysdiocmd() calls sdiocmd() which also includes waserror() line. In this case which of the waserror() will be called when error() occurs somewhere? By the way, aux/wpa demands the factotum preset the wpapsk, essid and password. It is possible to setup wifi after the system booted-up. However, to get the / filesystem from a file server to boot the system, which is in my case, how I can preset the factotum for wpapsk before the root filesystem mounted? To mount the root I need to connect to the file sever, but I have no wifi setup yet. It sound like too much novice, however, I seem to be struggling around it. Kenji