[9fans] usb serial driver

2014-03-15 Thread arisawa
Hello, Anyone has a driver for FT232R or PL2303HX? Or working on those drivers? Kenji Arisawa

Re: [9fans] usb serial driver

2014-03-17 Thread arisawa
Thank you Gorka, I made a mistake. The usage of 9front is different from that of Bell-labs. It seems FT232R is OK, but PL2303HX has a problem. term% cat /lib/ndb/consoledb group=sys uid=glenda uid=arisawa console=usb3 dev=/dev/eiaU3 openondemand=1 gid=sys console=usb4 dev

[9fans] fs event

2014-03-21 Thread arisawa
in plan9 way. for example: term% echo on >> /srv/cwfs.event# event log on term% cat /srv/cwfs.event # print event queue the implementation will not be difficult but needs patches to fs codes. if anyone interested in, please try. Kenji Arisawa

[9fans] a strange bug in grep

2014-03-29 Thread arisawa
#x27;[^0-9]' t3 ま み term% Kenji Arisawa

Re: [9fans] a strange bug in grep

2014-03-29 Thread arisawa
thanks eric. that fixed problems of my sample data! Kenji Arisawa 2014/03/30 8:54、erik quanstrom のメール: >> Hello, >> >> I found a strange bug in grep. >> some Japanese runes does not match ‘[^0-9]’. >> >> for example ‘ま' (307e) and ‘み’(307f). >>

Re: [9fans] (no subject)

2014-04-15 Thread arisawa
0x17f 1920x1080x32 x8r8g8b8 direct maia% and maia% echo $vgasize 1920x1080x16 maia% I have wide screen display with DVI and is quite comfortable. NOTE that VGA connector cannot live with VESA mode on the MB! probably MB dependent. Kenji Arisawa 2014/04/16 7:42、erik quanstrom のメール: > t

[9fans] 9fat format

2014-04-17 Thread arisawa
00 0b 00 0c 00 \r 00 0e 00 0f 00 10 00 420 11 00 12 00 13 00 14 00 15 00 16 00 17 00 18 00 430 19 00 1a 00 1b 00 1c 00 1d 00 1e 00 1f 0000 440 ! 00 " 00 # 00 $ 00 % 00 & 00 ' 00 ( 00 450 ) 00 * 00 + 00 , 00 - 00 . 00 / 00 0 00 Kenji Arisawa

[9fans] origin of /root

2014-04-17 Thread arisawa
Hello all, have we reliable way to find the origin of /root. local file system? remote file system? Kenji Arisawa

Re: [9fans] dcp - a deep copy script, better than dircp

2014-04-17 Thread arisawa
Hello, I found this mail today. sorry. > Just not to overwrite newer files cpdir does behave this way. 2009/07/20 18:32、c...@gli.cas.cz のメール: > hi, > > i'm quite happy with the 'cpdir' by Kenji Arisawa (thanks, Kenji!) on > sources/contrib/arisawa. > Howe

Re: [9fans] 9fat format

2014-04-17 Thread arisawa
it is 100mb thanks 2014/04/17 21:55、erik quanstrom のメール: >> It is curious for me that if 9fat is formatted by disk/format of 9front, >> then 9atom fails in boot with the error message >> MBR...PBS2...Bad format or I/O errors >> (or PBS1) >> In making 9fat, I applied 9atom’s pbslba, 9load, etc

[9fans] vx32 compilation for osx

2014-05-10 Thread arisawa
Hello, 9vx for osx is for i386 -bash$ file /usr/local/9vx/9vx.OSX /usr/local/9vx/9vx.OSX: Mach-O executable i386 -bash$ to compile to 64bit, I tried to _make_ on mountain lion. however the compilation fails. -bash$ cd /Users/arisawa/src/vx32-0.12/src -bash$ make make: vx32-gcc: Command not

Re: [9fans] vx32 compilation for osx

2014-05-10 Thread arisawa
thanks erik. it seems osx marvericks dislike i386…. 2014/05/10 21:40、erik quanstrom のメール: >> 9vx for osx is for i386 > > 9vx depends on 386 features. it does > not extend to amd64. > > - erik >

[9fans] Pegasus-2.7 is released

2014-05-10 Thread arisawa
Hello 9fans, Web server Pegasus-2.7 is released. the change: made the code simpler for quicker response. look http://plan9.aichi-u.ac.jp/netlib/pegasus/ Kenji Arisawa

[9fans] Kirara-2.1 is released

2014-05-12 Thread arisawa
,setup) (f) Flexible database organization. (g) Many bug fixes in codes and documents look http://plan9.aichi-u.ac.jp/netlib/kirara/ Kenji Arisawa

Re: [9fans] 2014 hardware overview

2014-06-29 Thread arisawa
look http://plan9.aichi-u.ac.jp/hardware/ 2014/06/29 18:32、Pierre-Jean のメール: > 4) Obvious hardware > > More generally, what do you think is the actual obvious > hardware that one can find to build a file server and a cpu > server for home usage ?

[9fans] Kirara-2.2 is released

2014-07-12 Thread arisawa
Hello 9fans, full text search engine Kirara-2.2 is released. the changes: (a) many bug fixes (b) algorithm for reliable update (c) polished code. look http://plan9.aichi-u.ac.jp/netlib/kirara/ Kenji Arisawa

[9fans] segattach in telnetd

2014-09-13 Thread arisawa
) == (void*)-1) return 0; return vastart; } I think it should be - if(segattach(0, "shared", vastart, len) == (void*)-1) + if((vastart = segattach(0, "shared", vastart, len)) == (void*)-1) Kenji Arisawa

Re: [9fans] segattach in telnetd

2014-09-13 Thread arisawa
Hello, I think vastart += 2*1024*1024; is weird. if we look /proc/$ip/segment in share(), we will have better solution. but I am not convinced we should apply the solution. because we seldom needs shared segment. I haven’t had any trouble with telnetd. I needed shared segment for specia

Re: [9fans] segattach in telnetd

2014-09-13 Thread arisawa
eve that we have a memory of range [mp,mp+1024) by executing mp = share(1024) then we will fail. Kenji Arisawa 2014/09/14 12:17、cinap_len...@felloff.net のメール: > it should round va down and va+len up as neccesary > to make them page aligned. but the initial passed > range should be covered by the created segment > in any case.

Re: [9fans] segattach in telnetd

2014-09-13 Thread arisawa
R 1000 60001 Data 6000 70001 Bss 7000 70001 Shareddeffe000 defff0001 term% that nice. by the way, is this behavior special to 9front? Kenji Arisawa 2014/09/14 13:51、cinap_len...@felloff.net のメール: > it works, you just mistyped "shared" in the first call. > > -- > cinap >

Re: [9fans] shell functions

2014-09-28 Thread arisawa
Arisawa 2014/09/27 23:40、Christian Neukirchen のメール: > > The problem could be completely avoided if the '{}' were implicit, that > is, store > > fn foo { echo bar } > > as > > fn#foo=echo bar > > (Also, I heard Research Unix v8 sh(1) stored functions

Re: [9fans] shell functions

2014-09-29 Thread arisawa
less handling makes problem. however it is much different in dangerousness between some environment variable are destroyed and arbitrary commands can be executed. Kenji Arisawa 2014/09/28 18:39、Richard Miller <9f...@hamnavoe.com> のメール: >> when rc is invoked, rc reconstructs shell va

Re: [9fans] shell functions

2014-10-01 Thread arisawa
thanks for all. our conclusion is: worthless to fix. Kenji Arisawa

[9fans] Pjpeg in /sys/lib/mimetype

2014-11-14 Thread arisawa
d httpd. I thought that the file provides conventional way to determine mime type from file suffix. If so, what is the mime type for "foo.jpg"? Kenji arisawa

Re: [9fans] Pjpeg in /sys/lib/mimetype

2014-11-15 Thread arisawa
determining the mime type? If so, should files with suffix “.JPG” be renamed to “.jpg” ? Kenji Arisawa 2014/11/14 21:13、arisawa のメール: > Hello, > > It is curious for me that ".jpg" has two entries in /sys/lib/mimetype. > term% grep jpeg /sys/lib/mimetype > .jfif

[9fans] inconsistent comparison?

2014-11-15 Thread arisawa
Hello, /sys/lib/mimetype is referenced in three files: /sys/src/cmd/ip/httpd/content.c # for outgoing file /sys/src/cmd/upas/marshal/marshal.c # for outgoing file /usr/arisawa/src/upas/vf/vf.c # for incoming file the codes are as follows. /sys/src/cmd/ip/httpd/content.c /sys/src/cmd/ip

Re: [9fans] rc: null list in concatenation

2014-11-24 Thread arisawa
example is required. > 2014/11/25 13:24、tre...@india.com のメール: > > Hello everyone. > > I'm curious about the behavior of rc concatenating null strings (brakes > execution on error...). It's a feature, rationally thought-out, or a bug? > > If anyone can tell me the story behind, I'll be gratefu

Re: [9fans] rc: null list in concatenation

2014-11-25 Thread arisawa
> 2014/11/25 15:56、tre...@india.com のメール: > > a = `{ls file}^test; echo 'this part is not executed if file doesn''t exist' probably your question is as follows: maia% a = `{ls file}^test; echo 'this part is not executed if file doesn''t exist' ls: file: 'file' directory entry not found rc: nul

[9fans] bug in rc(1) ?

2014-11-28 Thread arisawa
Arisawa

Re: [9fans] bug in rc(1) ?

2014-11-30 Thread arisawa
OK, thanks > 2014/11/29 13:57、minux のメール: > > On Fri, Nov 28, 2014 at 11:42 PM, arisawa wrote: >> rc(1) says: >> >> rfork [nNeEsfFm] >> Become a new process group using rfork(flags) where >> flags is compos

[9fans] protection against resource exhaustion

2015-01-24 Thread arisawa
anyone have idea to fix the problem? Kenji Arisawa

Re: [9fans] protection against resource exhaustion

2015-01-25 Thread arisawa
bug in rc. Kenji Arisawa > 2015/01/25 15:16、arisawa のメール: > > > Hello 9fans > > my mac has a protection below: > -bash$ cat foo > #!/bin/sh > ./foo > -bash$ ./foo > ./foo: fork: Resource temporarily unavailable > -bash$ > > on the other hand, Plan

Re: [9fans] protection against resource exhaustion

2015-01-26 Thread arisawa
Hello, I have been playing the following program. I tried on official plan9, 9front, and 9atom. none of them showed messages that come from: sysfatal("fork: %r”); sysfatal("exec: %r"); I suspect that fork() does not return -1 even if it failed in creating ne

Re: [9fans] protection against resource exhaustion

2015-01-26 Thread arisawa
Hello, many of resource exhaustion come from careless programming. I would like such processes to be killed immediately. throwing up to broken state might be better. I prefer an option to plan9.ini that enable resrcwait(), because the call breaks traditional programming style and probably we need

Re: [9fans] protection against resource exhaustion

2015-01-26 Thread arisawa
Hello, > i think it will go the same way with fork protection. how do you tell which > program > is at fault? how do you tell a program forking at high frequency, with short > lived > children from a fork bomb? (such as a busy web server.) only system administrator knows which processes shou

Re: [9fans] protection against resource exhaustion

2015-01-27 Thread arisawa
we don’t have perfect solution. nevertheless, we must protect system. if we search ideal (or nearly ideal) solution, we should assign limited resource to each user. however this is a big job, I believe. current plan9 system is running under shared resource model. under this model, it is very har

Re: [9fans] protection against resource exhaustion

2015-01-27 Thread arisawa
Hello, > nonetheless, i have experience running multi-user plan 9 systems, and users > were not usually the issue. Eric’s users are all gentleman, all careful people and all skillful programmers. If your system is served for university students, you will have different thought. > i think you've

Re: [9fans] protection against resource exhaustion

2015-01-28 Thread arisawa
Thanks for all. I have looked old source code /sys/src/9/port/proc.c, and found the next code exists from very old day. lock(&procalloc); for(;;) { if((p = procalloc.free) != nil) break; snprint(msg, sizeof msg, "no procs;

Re: [9fans] protection against resource exhaustion

2015-01-29 Thread arisawa
Hi, erik, Thanks a lot! > 2015/01/29 15:42、erik quanstrom のメール: > > i hope i haven't overplayed my argument. i am for real solutions to this > issue. > i'm not for the current solution, or more complicanted variants.

[9fans] Plan9 DNS server

2015-06-21 Thread arisawa
l: NXDOMAIN > how to enable locally assigned name resolution such as maia? I have many computers on my home network. currently I am registering them to /etc/hosts. but that is a pain. Kenji Arisawa

Re: [9fans] Plan9 DNS server

2015-06-22 Thread arisawa
thanks all. now I have achieved my goal. > 2015/06/22 19:34、lu...@proxima.alt.za のメール: > >> how to enable locally assigned name resolution such as maia? > > The dns man page requires careful reading, but all the details are in > there. I have a pretty complex DNS configuration and it seems to

[9fans] ipv6 and ndb/csquery

2015-07-03 Thread arisawa
94.117.209!* /net/tcp/clone 173.194.117.211!* /net/tcp/clone 173.194.117.212!* /net/tcp/clone 2404:6800:4004:80c::1014!* > why csquery does not show ipv6 address of maia? Kenji Arisawa

Re: [9fans] ipv6 and ndb/csquery

2015-07-11 Thread arisawa
Thanks. It seems you are right. I have been playing with ipv6 and yet i don’t understand something. What is the rule to select an IP if we allow multiple IPs for a dom? Maybe case by case. But how to select ipv6 in case of telnet? > 2015/07/07 2:01、cinap_len...@felloff.net のメール: > > i dont know

Re: [9fans] ipv6 and ndb/csquery

2015-07-14 Thread arisawa
Thanks cinap, your detailed explanation will be helpful to me and all others. Kenji Arisawa > 2015/07/12 0:37、cinap_len...@felloff.net のメール: > > when you query /net/dns, it differentiates between ip (A) and ipv6 > () records. so querying for "ip" only yields ipv4 ad

[9fans] ipv6on bug?

2015-08-02 Thread arisawa
|| ~ $mev6 ‘') ### s/sysname/mev6/g mev6=`{ndb/query -mf $ndbf sys $sysname ip | grep :}### s/-f/-mf/ Kenji Arisawa

[9fans] dns message

2015-09-25 Thread arisawa
alues are advertised by DHCP server # we assume that dhcpd is running on the same ip. look /cfg/common/cpurc dns=192.168.0.6 yes my dns is running on 192.168.0.6 any wrong setting in /lib/ndb/local? if not, I think these warning messages are annoying. Kenji Arisawa

[9fans] manual qer(8)

2015-09-25 Thread arisawa
Hello, qer(8) says: Runq is often called from cron(8) by an entry such as 0,10,20,30,40,50 * * * * kremvax runq -a /mail/queue /mail/lib/remotemail I think “runq” should be replaced by “upas/runq” Kenji Arisawa

Re: [9fans] manual qer(8)

2015-09-26 Thread arisawa
thanks. anyway, simple “runq” does not work. should be fixed. > 2015/09/26 18:11、Charles Forsyth のメール: > > > On 26 September 2015 at 06:29, arisawa wrote: > I think “runq” should be replaced by “upas/runq” > > mine has /bin/upas/runq -a /mail/queue /mail/lib/remotemail

Re: [9fans] dns message

2015-09-26 Thread arisawa
thank you erik. you are very careful! I didn’t aware that garbage. however removing “ip” does not fix my problem. looking source code I guess: names that are not followed by “=“ are just discarded. I want to know whether this is only to me. erik, thanks again! > 2015/09/27 0:28、erik quanstrom の

[9fans] 9vx on OSX

2015-11-03 Thread arisawa
Hello, does anyone have 9vx that is working on recent osx (Yosemite for example)? mine is weird: when I type “abc”, I have “aabbcc”. Kenji Arisawa

Re: [9fans] 9vx on OSX

2015-11-07 Thread arisawa
ent makes problem. Kenji Arisawa

[9fans] blank line in /lib/ndb/local

2015-11-09 Thread arisawa
auth will produce dom=foo auth=bar on the other hand, if the blank line is empty, then the command will produce dom=foo Is this a bug or a specification? I want to believe this is a bug. Kenji Arisawa

Re: [9fans] blank line in /lib/ndb/local

2015-11-09 Thread arisawa
hello, your blank line doesn’t have a white space. > 2015/11/10 12:02、erik quanstrom のメール: > > On Mon Nov 9 04:32:24 PST 2015, aris...@ar.aichi-u.ac.jp wrote: >> Hello, >> >> manual ndb(6) says: "Each line starting without white space starts a new >> tuple. Lines starting with # are comments

Re: [9fans] blank line in /lib/ndb/local

2015-11-09 Thread arisawa
yes, your right. the manual says what the code does. however I don’t think it is a good idea to make sense in white spaces within blank line. probably the code does not suppose blank lines within ndb entry. > 2015/11/10 13:05、erik quanstrom のメール: > > On Mon Nov 9 20:03:06 PST 2015, aris...@ar.

[9fans] 9grid again

2015-11-11 Thread arisawa
is practically infeasible. 9grid enables opposite approach: login to servers and process the data there and gather the results. we have all the tools that are necessary to do this as much as 10 years ago. what is lacking is target data. any idea? Kenji Arisawa

[9fans] unmount

2015-11-30 Thread arisawa
Hello 9fans, current kernel allows unmount even if after rfork m. this feature makes sandboxing difficult. can anyone explain this feature is necessary? Kenji Arisawa

Re: [9fans] unmount

2015-12-01 Thread arisawa
I said: > 2015/12/01 12:24、arisawa のメール: > > Hello 9fans, > > current kernel allows unmount even if after rfork m. > this feature makes sandboxing difficult. > can anyone explain this feature is necessary? > > Kenji Arisawa I make a protection for unmounting aft

[9fans] bug in exportfs

2015-12-16 Thread arisawa
;, p); return -1; } } return 0; } patternfile sample + /usr/arisawa + /usr/glenda - /adm - /sys/log - /mail - /usr/.*

Re: [9fans] bug in exportfs

2015-12-17 Thread arisawa
メール: > > On Wed, Dec 16, 2015 at 11:31 PM, arisawa wrote: >> It seems cpu command is buggy in -P option. >> the sources of the problem is in command option -P of exportfs. > > I had a look at the manpage for exportfs(4), it says: "For a file to > be exported, all lines

Re: [9fans] 9grid again

2015-12-21 Thread arisawa
Hello 9fans. I have started a new 9grid server with some services. Please look http://p9.nyx.link/9grid2/9grid.html for details. This is an experimental service. If you noticed something bad, please inform me. Kenji Arisawa > 2015/11/12 16:30、arisawa のメール: > > hello, > > I a

Re: [9fans] bug in exportfs

2015-12-22 Thread arisawa
No. The difficulty is in the pattern matching rule. If we want to export only /usr/glenda, then the pattern matching filer must pass /usr /usr/glenda and must not pass /usr/ have you get solution? > 2015/12/22 18:25、Peter Hull のメール: > > Mr Arisawa, > Did you get any answers to t

[9fans] bug or feature ? --- ip/ping -6

2015-12-28 Thread arisawa
6b00:22cd:bf80::6 rtt 88 µs, avg rtt 95 µs, ttl = 255 2: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 84 µs, avg rtt 91 µs, ttl = 255 3: 2402:6b00:22cd:bf80::5 -> 2402:6b00:22cd:bf80::6 rtt 104 µs, avg rtt 94 µs, ttl = 255 is this a feature or a bug? Kenji Arisawa

[9fans] bug or feature ? --- ip/ping -6

2015-12-30 Thread arisawa
rtt 158 µs, ttl = 255 code is simplified. io% ls -l --rw-rw-r-- M 327 arisawa arisawa 9942 Dec 30 21:27 ping.c --rw-rw-r-- M 327 arisawa arisawa 10943 Dec 28 15:59 ping.c.orig io% Kenji Arisawa > 2015/12/28 18:04、arisawa のメール: > > hello 9fans, > > I have once posted the m

Re: [9fans] bug or feature ? --- ip/ping -6

2015-12-30 Thread arisawa
hello, I did nothing about original ping options, so they should work as they have been. I am afraid I have removed too much. the new ping is here. test, please. ping.c Description: Binary data > 2015/12/31 7:43、Kenny Lasse Hoff Levinsen のメール: > > It is not a common factor if you ping br

Re: [9fans] need a REAL WORKING iso

2016-01-02 Thread arisawa
hello, I have recently reinstalled 9pi. -rw-r-@ 1 arisawa staff 127695824 1 1 18:38 9pi.img.gz which is downloaded from plan9.bell-labs.com/sources/contrib/miller/9pi.img.gz the img works fine with 8GB sd card (4GB is OK?) I don’t experience your problem. in 9front distribution we can

[9fans] a question on csquery

2016-01-08 Thread arisawa
et/tcp/clone 192.168.0.5!1 /net/tcp/clone 2402:6b00:22cd:bf80::5!1 > io% is there any reason that csquery should not show both IPs when address is sysname on that csquery command is executed? Kenji Arisawa

Re: [9fans] a question on csquery

2016-01-09 Thread arisawa
hello erik, did you try ndb/csquery on the machine named dual? > 2016/01/10 1:18、erik quanstrom のメール: > >>> tcp!io.local!1 >> /net/tcp/clone 192.168.0.5!1 >> /net/tcp/clone 2402:6b00:22cd:bf80::5!1 >>> >> io% >> >> is there any reason that csquery should not show both IPs >> when address is

Re: [9fans] a question on csquery

2016-01-09 Thread arisawa
hello erik, > there is no machine named "dual". it was just a set of ndb entries. > i tried the same experiment with a machine i have, and got the same > result. > > - erik > hmmm… then it seems that problem is only to me. thanks for your experiments!

[9fans] WiFi for Plan9

2016-01-28 Thread arisawa
point. now I reboot and reconnect to other essid. anyone knows better way? Kenji Arisawa

Re: [9fans] WiFi for Plan9

2016-01-30 Thread arisawa
thanks cinap, your advice resolved my problem. aux/wpa is pretty wise! > 2016/01/31 6:37、cinap_len...@felloff.net のメール: > > aux/wpa doesnt need to be restarted really. it uses factotum to derive > the psk using the current essid read from the wifi drivers ifstats file. > so to switch essid's you

[9fans] bell-labs wiki page

2016-02-09 Thread arisawa
hello 9fans, bell-labs wiki page is down. both http://www.cs.bell-labs.com/wiki/plan9//plan_9_wiki/ and http://www.cs.bell-labs.com/wiki/plan9/plan_9_wiki/ says: Object not found is there any mirror of that wiki? Kenji Arisawa

Re: [9fans] bell-labs wiki page

2016-02-09 Thread arisawa
many thanks. > 2016/02/10 10:45、R. Lucas van Ryn のメール: > > On Wed, Feb 10, 2016 at 10:40:21AM +0900, arisawa wrote: >> bell-labs wiki page is down. >> >> is there any mirror of that wiki? > > There is http://9p.io/wiki/plan9/plan_9_wiki/ >

Re: [9fans] bell-labs wiki page

2016-02-11 Thread arisawa
Hello 9fans, I also have constructed mirror page of Plan 9 Wiki just now. please try. http://p9.nyx.link/wiki/plan_9_wiki/ > 2016/02/10 12:32、arisawa のメール: > > many thanks. > >> 2016/02/10 10:45、R. Lucas van Ryn のメール: >> >> On Wed, Feb 10, 2016 at 10:40:21AM

Re: [9fans] bug in exportfs

2016-02-14 Thread arisawa
Hello, > 2016/02/15 7:57、Charles Forsyth のメール: > > > On 14 February 2016 at 16:38, wrote: > i could imagine the filtering being usefull when cpu'ing to foreign machines, > as a server can easily compromize your system when cpu exports your whole > local namespace > > You'd still be better off

[9fans] mirror of sources of bell-labs

2016-02-15 Thread arisawa
Hello 9fans, I added mirror page of sources of bell-labs. look http://p9.nyx.link/sources I am afraid the page has a problem with copyright or something else. if so, please inform me. I will remove them if necessary. Kenji Arisawa

[9fans] 9pfuse and u9fs

2016-02-16 Thread arisawa
great if 9pfuse can mount u9fs Kenji Arisawa

Re: [9fans] 9pfuse and u9fs

2016-02-16 Thread arisawa
thanks for your reply. the server mmac is mac and mountable from plan9 using 9fs. auth method is set to p9any in u9fs setting. In the experiment, I once (and only once) requested password -bash$ 9fs mmac !adding key: role=client proto=p9sk1 dom=mmac user[arisawa]: password: ! authdial

[9fans] file descriptor leak

2016-02-16 Thread arisawa
sysfatal("exec rc: %r"); } for(p = waitpid(); p >= 0; p = waitpid()) if(p == pid) return msg.msg; return "lost child"; } fd is lost if pid > 0 my server is running on 9front. however both 9atom and bell-labs use same routine. Kenji Arisawa

Re: [9fans] file descriptor leak

2016-02-16 Thread arisawa
. how to find fd leakage? thanks in advance io% ps|grep dns arisawa 2480:00 0:00 348K Awaitdns arisawa 2490:00 0:0014584K Preaddns arisawa 2500:12 0:1214576K Preaddns io% cat /proc/^(248 249 250)^/fd /usr/arisawa 0 r M8

Re: [9fans] rtl8169 gbe slow

2016-02-18 Thread arisawa
hello, rtl8169 is popular in cheap MB, so it is installed in my many MBs. however, cat /dev/kmesg claims: rtl8169: oui 0x732 phyno 1, macv = 0x3c00 phyv = 0x0002 #l0: rtl8169: 100Mbps port 0xD000 irq 10: 001fd0169891 the “100Mbps" in the message is correct or not? I also feel rtl8169 is slow

Re: [9fans] 9Cloud Source

2016-03-19 Thread arisawa
where is patch on http://9p.io/ ? there are your patch on sources grid% ls -l /n/sources/patch/syscall-* --rw-rw-r-- M 105 fst sys 35842 Mar 17 09:52 /n/sources/patch/syscall-exportfs/chan.c --rw-rw-r-- M 105 fst sys 35357 Mar 17 09:52 /n/sources/patch/syscall-exportfs/chan.c.orig --rw-rw-rw- M

[9fans] cpu command latency

2016-05-11 Thread arisawa
myself. let me know if you know, please. I am also happy if someone give me data by accessing my grid server. then the HOST is grid.nyx.link and the DOM is outside.plan9.bell-labs.com and need your bell-labs key in factotum. thanks in advance. Kenji Arisawa

Re: [9fans] cpu command latency

2016-05-11 Thread arisawa
){ time 9fs $host unmount /n/$host sleep 3 } } probably cpu command latency will show similar behavior with much more time. Kenji Arisawa

Re: [9fans] cpu command latency

2016-05-11 Thread arisawa
supports both IPs. the cpu command will select IPv4. the command does not have “-6” option. If we want to connect by IPv6, literal IP address is required in the argument of the command. Kenji Arisawa > In my experience, it's almost unfailingly the DNS that slows down > establishing

Re: [9fans] cpu command latency

2016-05-12 Thread arisawa
time 9fs $host #unmount /n/$host rm /srv/$host sleep 3 } term% try -m sources outside.plan9.bell-labs.com arisawa post... 0.00u 0.01s 1.31r9fs sources post... 0.00u 0.03s 0.69r9fs sources post... 0.00u 0.00s 0.58r9fs sources term% term% try -m sources o

Re: [9fans] cpu command latency

2016-05-12 Thread arisawa
time cpu -h HOST -k ‘dom=DOM’ -c pwd sleep 3 } thanks in advance. Kenji Arisawa

Re: [9fans] cpu command latency

2016-05-14 Thread arisawa
vbt May 14 22:21:22 rexcall:netmkaddr 565 μsec; tcp!io!ncpu vbt May 14 22:21:22 rexcall:dialing 977 μsec; tcp!io!ncpu vbt May 14 22:21:22 rexcall:dial 7287 μsec isn’t it better the default net be “tcp”? even if you do want “net”, you can do cpu -h net!host Kenji Arisawa

[9fans] bug in authdial()

2016-05-17 Thread arisawa
rv = dial(p, 0, 0, 0); + if(rv >= 0) + break; NOTE that return dial(netmkaddr("$auth", netroot, "ticket"), 0, 0, 0); should be also fixed. Kenji Arisawa

Re: [9fans] cpu command latency

2016-05-18 Thread arisawa
cpu -h tcp!grid.nyx.link -k dom=luna.nyx.link ... you need to recompile libauthsrv, factotum and kernel. I am happy if anyone send me data from outside of japan. putting “tcp!” is clumsy. fixing cpu.c is also desirable. p.s. thanks skip for the suggestion. Kenji Arisawa > 2016/05/14 22

Re: [9fans] bug in authdial()

2016-05-18 Thread arisawa
52!17010 > /net/tcp/clone 2402:6b00:4040:b600::9!17010 > 0.00u 0.00s 0.01r ndb/csquery /net/cs net!grid.nyx.link!cpu > supermic% > > i suspect it's auth negotiations. > > > > On Wed, May 18, 2016 at 6:07 AM Charles Forsyth > wrote: > > On 18 M

Re: [9fans] bug in authdial()

2016-05-19 Thread arisawa
cinap is right but I wonder if we should take care of IL forever. > 2016/05/18 18:14、cinap_len...@felloff.net のメール: > > yes, passing netroot to netmkaddr() is wrong. however, i dont see where > we pass anything other than netroot=nil to authdial(). > > i suspect what you'r experiencing is that d

Re: [9fans] bug in authdial()

2016-05-19 Thread arisawa
nice idea. I’ve put an option to cs so that il isn’t listed first. > 2016/05/20 0:48、Charles Forsyth のメール: > > It's not just il. There are other networks, other protocols, other than tcp > and IP. > It's one of the advantages of plan 9 that it's easy to try and use new ones. > cs could present

Re: [9fans] bug in authdial()

2016-05-20 Thread arisawa
I am sorry that I didn’t give enough information but I din’t know there is so much difference on the subject among 9front, 9atom and labs plan9. > 2016/05/21 7:04、Skip Tavakkolian <9...@9netics.com> のメール: > > i'm a little confused by the discussion of ...

Re: [9fans] bug in authdial()

2016-05-20 Thread arisawa
parallel dialing would be fine. I guess both cinap and erik have examined labs code. any problem with it? > 2016/05/21 7:25、Charles Forsyth のメール: > > > On 20 May 2016 at 23:04, Skip Tavakkolian <9...@9netics.com> wrote: > i'm a little confused by the discussion of il + tcp on authdial > causing

Re: [9fans] bug in authdial()

2016-05-21 Thread arisawa
Hello, > 2016/05/21 11:25、Skip Tavakkolian <9...@9netics.com> のメール: > > i think this fix is correct; i'm not sure why tokenize didn't have a > problem walking a buffer it expects to be null terminated. I agree with skip. the man wait(2) says: The underlying system call is await, which f

Re: [9fans] bug in authdial()

2016-05-23 Thread arisawa
hello skip, it is too late but I should say many thanks. > 2016/05/21 7:04、Skip Tavakkolian <9...@9netics.com> のメール: > > supermic% time ./cpu -h grid.nyx.link -k 'dom=outside.plan9.bell-labs.com' -c > pwd > dial took: 165268068 ns > negotiate auth took: 159047373 ns > factotum autenticate took:

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

2016-10-04 Thread 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:/

Re: [9fans] 9front on raspberry pi

2016-11-01 Thread arisawa
thanks, i will try. is this for pi1 or pi2 or both? > 2016/11/02 10:35、Chris McGee のメール: > > Hi All, > > I have released an experimental 9front raspberry pi image that I use for my > cluster. > https://github.com/sirnewton01/rpi-9front/releases/tag/nov-2016 > > Highlights: > -Latest 9front r

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread arisawa
I’ve tried both pi1 and pi2. both devices successfully boot up. my impression only in primitive usage is: pi2 is fine. thanks Chris! pi1 is a bit unsteady on usb device. usb keyboard is sometimes accidentally detached. > 2016/11/02 14:05、arisawa のメール: > > thanks, i will try. > &

Re: [9fans] 9front on raspberry pi

2016-11-02 Thread arisawa
hi steve > 2016/11/02 16:57、Steve Simon のメール: > > can you tell me what the gpio file system looks like try ls -l '#G' them you will find some files such as #G/gpio/CE0 #G/gpio/CE1 #G/gpio/GPI00 #G/gpio/GPI01 ... #G/gpio/ctl #G/gpio

  1   2   3   >