From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Sat, 21 Jan 2012 13:41:57 -0800 Message-ID: From: Eli Cohen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001636eeffdba505be04b710aa97 Subject: [9fans] discrepency between plan9 and ixpc Topicbox-Message-UUID: 604ad5d6-ead7-11e9-9d60-3106f5b1d025 --001636eeffdba505be04b710aa97 Content-Type: text/plain; charset=ISO-8859-1 hello everyone, i have been working on a 9P arduino library. it works now with ixpc from libixp, modified slightly to communicate over the serial port: > ixpc ls / arductl ardudata however, i am getting this on plan9: % echo b115200 > /dev/eiaU0/eiaUctl % mount -ncC /dev/eiaU0/eiaU /n/anything % ls /n/anything anything the output of ls is just whatever directory i mount it in, though accessing arductl and ardudata works fine despite their absence from the directory listing. anyone have any ideas what i might be doing wrong? the source code is at https://github.com/echoline/NinePea ps. and sorry for calling you a grinch --001636eeffdba505be04b710aa97 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

hello everyone, i have been working on a 9P arduino library.=A0 it works= now with ixpc from libixp, modified slightly to communicate over the seria= l port:

> ixpc ls /
arductl
ardudata

however, i am getting this on plan9:

% echo b115200 > /dev/eiaU0/eiaUctl
% mount -ncC /dev/eiaU0/eiaU /n/anything
% ls /n/anything
anything

the output of ls is just whatever directory i mount it in, though access= ing arductl and ardudata works fine despite their absence from the director= y listing.

anyone have any ideas what i might be doing wrong?

the source code is at ht= tps://github.com/echoline/NinePea

ps.
and sorry for calling you a grinch

--001636eeffdba505be04b710aa97-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 21 Jan 2012 14:48:34 -0800 From: Anthony Martin To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20120121224834.GA12255@dinah> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] discrepency between plan9 and ixpc Topicbox-Message-UUID: 6058a97c-ead7-11e9-9d60-3106f5b1d025 Eli Cohen once said: > % echo b115200 > /dev/eiaU0/eiaUctl > % mount -ncC /dev/eiaU0/eiaU /n/anything > % ls /n/anything > anything > > the output of ls is just whatever directory i mount it in, though accessing > arductl and ardudata works fine despite their absence from the directory > listing. > > anyone have any ideas what i might be doing wrong? > > the source code is at https://github.com/echoline/NinePea Without looking at the code it sounds like you're not getting the Rstat correct. Does the root qid return "/" for the stat name? You can use iostats(4) to help investigate. Cheers, Anthony From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20120121224834.GA12255@dinah> References: <20120121224834.GA12255@dinah> Date: Sat, 21 Jan 2012 18:13:24 -0800 Message-ID: From: Eli Cohen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d043d66fd7aa0d504b7147591 Subject: Re: [9fans] discrepency between plan9 and ixpc Topicbox-Message-UUID: 606ae650-ead7-11e9-9d60-3106f5b1d025 --f46d043d66fd7aa0d504b7147591 Content-Type: text/plain; charset=ISO-8859-1 On Jan 21, 2012 2:50 PM, "Anthony Martin" wrote: > > Eli Cohen once said: > > % echo b115200 > /dev/eiaU0/eiaUctl > > % mount -ncC /dev/eiaU0/eiaU /n/anything > > % ls /n/anything > > anything > > > > the output of ls is just whatever directory i mount it in, though accessing > > arductl and ardudata works fine despite their absence from the directory > > listing. > > > > anyone have any ideas what i might be doing wrong? > > > > the source code is at https://github.com/echoline/NinePea > > Without looking at the code it sounds like > you're not getting the Rstat correct. Does > the root qid return "/" for the stat name? > > You can use iostats(4) to help investigate. > > Cheers, > Anthony > thanks! that let me resolve the issue. --f46d043d66fd7aa0d504b7147591 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Jan 21, 2012 2:50 PM, "Anthony Martin" <ality@pbrane.org> wrote:
>
> Eli Cohen <echoline@gmail.com= > once said:
> > % echo b115200 > /dev/eiaU0/eiaUctl
> > % mount -ncC /dev/eiaU0/eiaU /n/anything
> > % ls /n/anything
> > anything
> >
> > the output of ls is just whatever directory i mount it in, though= accessing
> > arductl and ardudata works fine despite their absence from the di= rectory
> > listing.
> >
> > anyone have any ideas what i might be doing wrong?
> >
> > the source code is at https://github.com/echoline/NinePea
>
> Without looking at the code it sounds like
> you're not getting the Rstat correct. =A0Does
> the root qid return "/" for the stat name?
>
> You can use iostats(4) to help investigate.
>
> Cheers,
> =A0Anthony
>

thanks!=A0 that let me resolve the issue.

--f46d043d66fd7aa0d504b7147591--