Re: [9fans] Cpu command and namespace

2016-10-05 Thread Skip Tavakkolian
>  I was under the impression that the namespace should come from the client.

perhaps it's a confusion over cwd when you cpu to another machine?

supermic% pwd
/usr/fst
supermic% cpu -h rpi
rpi% pwd
/usr/fst
rpi% 

since typically everything is served by fs, it is all the same
content.  the local namespace is exported by the local cpu and the
far-end cpu mounts it on /mnt/term.

e.g.

rpi% devsysname='/dev/sysname' for (i in `{seq 3}) {
echo $devsysname ' = ' `{cat $devsysname}
devsysname='/mnt/term'^$devsysname
}
/dev/sysname  =  rpi
/mnt/term/dev/sysname  =  supermic
/mnt/term/mnt/term/dev/sysname  =  dell
rpi% 




Re: [9fans] Cpu command and namespace

2016-10-05 Thread Skip Tavakkolian
namespace of the client is mounted under /mnt/term.


On Wed, Oct 5, 2016 at 8:06 PM Chris McGee  wrote:

> Hi All,
>
> I tried running a cpu server using aux/listen1 on one of my plan9 machines
> and running cpu from another to connect to it. I set auth to none for now.
>
> When I connected I noticed that the namespace was the local namespace of
> the server, not the namespace of the client before connecting. I was under
> the impression that the namespace should come from the client.
>
> Am I doing something wrong here or is my understanding incorrect? Maybe I
> need to get authentication set up properly?
>
> Thanks,
> Chris
>


[9fans] Cpu command and namespace

2016-10-05 Thread Chris McGee
Hi All,

I tried running a cpu server using aux/listen1 on one of my plan9 machines and 
running cpu from another to connect to it. I set auth to none for now.

When I connected I noticed that the namespace was the local namespace of the 
server, not the namespace of the client before connecting. I was under the 
impression that the namespace should come from the client.

Am I doing something wrong here or is my understanding incorrect? Maybe I need 
to get authentication set up properly?

Thanks,
Chris


Re: [9fans] plan9.bell-labs.com hates AppleWebKit?

2016-10-05 Thread Sergey Zhilkin
Hi all !
Get right response from server, with macOS Sierra beta 10.12.1 (16B2338c)
and Safari 10.0.1 (12602.2.14.0.1)

2016-10-04 15:59 GMT+03:00 arisawa :

> I can get proper response from http://plan9.bell-labs.com/sources/ by
> using mac/osx safari.
>
>
> > 2016/10/03 2:42、James A. Robinson  のメール:
> >
> > So... Does Alcatel-Lucent have a problem with AppleWebKit
> > users on principle?
> >
> > It looks to me as though my problem with browsing around
> > under http://plan9.bell-labs.com/sources/ (and other subpages)
> > is because the server doesn't like the User-Agent string:
> >
> > $ telnet plan9.bell-labs.com 80
> > Trying 135.104.24.16...
> > Connected to plan9.bell-labs.com.
> > Escape character is '^]'.
> > GET /sources/contrib/ HTTP/1.1
> > Host: plan9.bell-labs.com
> > Connection: keep-alive
> > Cache-Control: max-age=0
> > Upgrade-Insecure-Requests: 1
> > User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
> > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
> image/webp,*/*;q=0.8
> > DNT: 1
> > Accept-Encoding: gzip, deflate, sdch
> > Accept-Language: en-US,en;q=0.8
> >
> > HTTP/1.1 200 OK
> > Connection closed by foreign host.
> >
> > And here it is again w/o the User-Agent string:
> >
> > $ telnet plan9.bell-labs.com 80
> > Trying 135.104.24.16...
> > Connected to plan9.bell-labs.com.
> > Escape character is '^]'.
> > GET /sources/contrib/ HTTP/1.1
> > Host: plan9.bell-labs.com
> > Connection: keep-alive
> > Cache-Control: max-age=0
> > Upgrade-Insecure-Requests: 1
> > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
> image/webp,*/*;q=0.8
> > DNT: 1
> > Accept-Encoding: gzip, deflate, sdch
> > Accept-Language: en-US,en;q=0.8
> >
> > HTTP/1.1 200 OK
> > Server: Plan9
> > Date: Sun, 02 Oct 2016 17:29:09 GMT
> > Connection: close
> > Last-Modified: Fri, 14 Mar 2014 22:14:11 GMT
> > Content-Type: text/html
> >
> > [... proper body returned...]
> >
> > I tried playing around with the UA value and found that if I change
> > AppleWebKit to something else such as AppleWebKis I get a
> > response...
> >
> > Jim
> >
>
>
>


-- 
С наилучшими пожеланиями
Жилкин Сергей
With best regards
Zhilkin Sergey


Re: [9fans] arm platform with sata and multiple nics

2016-10-05 Thread Richard Miller
> On pi3 I'm running spi at 25Mhz (with dma).

Incidentally, the original raspberry pi linux kernel only
supported programmed i/o for spi.  If the documentation for
the bcm2835 SoC had been the usual "just read the linux
driver" that most vendors consider adequate, we wouldn't have
known how to speed up the spi with dma.

I wonder how well this ESPRESSOBin board and SoC will be
documented?  The kickstarter blurb lists a "host of operating
systems" they say they will support, but they're all linux.




Re: [9fans] arm platform with sata and multiple nics

2016-10-05 Thread Richard Miller
> hmm. and it's all connected to the gpios? what data rates can these
> even provide?

On pi3 I'm running spi at 25Mhz (with dma).  There's a secondary
sdio interface which can do 25Mhz (maybe 50) using 4 gpio pins as
a wider bus, but we have no driver for that.