[9fans] ctl and search in nupas questiosn

2016-04-21 Thread Fernan Bolando
hi all

I used to have a link about this, but it seems 9fans.net/archive is broken. 
Search did not turn up anything relevant.

what does ctl and search do again in nupas?
; 9p ls -l mail/[Gmail]/
d-rwxrwxr-x M 0 upas upas 0 Apr 21 20:06 'All Mail'
d-rwxrwxr-x M 0 upas upas 0 Apr 21 20:06 Drafts
d-rwxrwxr-x M 0 upas upas 0 Apr 21 20:06 'Sent Mail'
d-rwxrwxr-x M 0 upas upas 0 Apr 21 20:06 Spam
d-rwxrwxr-x M 0 upas upas 0 Apr 21 20:06 Trash
---w--w--w- M 0 upas upas 0 Apr 21 20:06 ctl
--rw-rw-rw- M 0 upas upas 0 Apr 21 20:06 search

regards
fernan




[9fans] where is the new avr.9gz

2011-09-03 Thread Fernan Bolando
Hi all

There is an old thread in 9fans archive regarding the avr compiler
from Charles Forsythe with all the compile issues fixed. That thread
did not indicate that the fixed version was released anywhere.
I was wondering if anyone can point to it, before I start trying to
fix the compile issue myself.

related threads
http://9fans.net/archive/2006/12/406

regards
fernan



[9fans] recommended way to update a 9atom installation

2011-09-02 Thread Fernan Bolando
Hi all

What is currently the best way to update a 9atom install.

I have always used
9660srv
mount  /srv/9660 /n/dist /dev/sdD0/data
replica/pull -v /dist/replica/cd

and now I am getting various compile errors.

thanks
fernan



[9fans] in ed, how to do i do this?

2011-06-17 Thread Fernan Bolando
1. insert a character in a line? - I usually retype the whole line with .c
2. indent a line - i usually retype the whole line.

fernan



Re: [9fans] in ed, how to do i do this?

2011-06-17 Thread Fernan Bolando
On Fri, Jun 17, 2011 at 11:04 PM, yy yiyu@gmail.com wrote:
 2011/6/17 Fernan Bolando fernanbola...@mailc.net:
 1. insert a character in a line? - I usually retype the whole line with .c

 s/^/c/

what if I want to insert it in the middle of the line?


 2. indent a line - i usually retype the whole line.

 The same, where c == \t


 --
 - yiyus || JGL .




Re: [9fans] in ed, how to do i do this?

2011-06-17 Thread Fernan Bolando
On Fri, Jun 17, 2011 at 11:22 PM, Bakul Shah ba...@bitblocks.com wrote:
 On Jun 17, 2011, at 8:07 AM, Fernan Bolando fernanbola...@mailc.net wrote:

 On Fri, Jun 17, 2011 at 11:04 PM, yy yiyu@gmail.com wrote:

 2011/6/17 Fernan Bolando fernanbola...@mailc.net:

 1. insert a character in a line? - I usually retype the whole line with
 .c

 s/^/c/

 what if I want to insert it in the middle of the line?

 Mousing is faster than typing :-)

yeah, reading that thread reminded me of my problem inserting text in
lines when I needed to use ed.
thanks to all that responded.



[9fans] [Off-Topic] Troff macros for professinal looking resume, cv and coverletters

2011-05-26 Thread Fernan Bolando
Hi

Anybody know of a collection of troff macros for resume, cv and cover letters?

regards
fernan



[9fans] where is the latest drawterm source?

2011-05-20 Thread Fernan Bolando
Hi all

I was wonderring if the repo http://code.swtch.com/drawterm/ is the
absolute latest, because it seems to be missing
the patch from http://9fans.net/archive/2007/10/377.

CreateNewWindow(kDocumentWindowClass, windowAttrs, winRect, theWindow);
//CreateWindowGroup(0, winGroup);
//SetWindowGroup(theWindow, winGroup);

Was this deemed the incorrect way of fixing the overlapping the dock issue?

fernan



Re: [9fans] looking for Virtual Host providers that permit Plan 9

2011-05-09 Thread Fernan Bolando
not sure if its the same thing, but sdf.org offers vps

VPS ($7-$28 month or $60-$224 annual)

SDF Virtual Private Server
static IP assignment in 192.94.73.0
250MB-1GB daily transfer quota
Centos 5.5, Debian 5, NetBSD 5.0.1 and Plan9
2GB OS images are persistent and can be interchanged
Pre-build and communally managed pkgsrc for NetBSD
complete VPS dues, quotas  features




On Tue, May 10, 2011 at 5:57 AM, Skip Tavakkolian
skip.tavakkol...@gmail.com wrote:
 9fans,

 Anyone know of such an animal?

 -Skip





[9fans] where to get color troff?

2011-04-12 Thread Fernan Bolando
Hi all

what are our plan9 option for making colored graphs for troff documents?
I am guessing this how it's going to be done

create graph using pure postscript - troff -mpictures - page

is there any other option?

fernan


Re: [9fans] where to get color troff?

2011-04-12 Thread Fernan Bolando
On Tue, Apr 12, 2011 at 2:38 PM, Peter A. Cejchan tyap...@gmail.com wrote:

 do you mean 'graph', or 'chart' ?
 ++pac


right now it's mostly charts.


Re: [9fans] where to get color troff?

2011-04-12 Thread Fernan Bolando
On Tue, Apr 12, 2011 at 3:33 PM, Sape Mullender s...@plan9.bell-labs.comwrote:

  On Tue, Apr 12, 2011 at 2:38 PM, Peter A. Cejchan tyap...@gmail.com
 wrote:
 
  do you mean 'graph', or 'chart' ?
  ++pac
 
 
  right now it's mostly charts.

 I use these macros for generating color:

 .de CL
 \\X'PS \\$1 \\$2 \\$3 setrgbcolor'\\c
 ..
 .de BK
 \\X'PS 0 0 0 setrgbcolor'\\c
 ..
 .de EM
 \\$3\\X'PS 1 0 0 setrgbcolor'\\$1\\X'PS 0 0 0 setrgbcolor'\\$2
 ..

 They only work if you generate postscript (you can, of course, turn that
 into pdf as well).
 .CL r g b
 sets the color to the rgb values (0 0 0 being black, 1 1 1 being white,
 0.5 0.5 0.5 being middle grey)
 .BK
 sets the color to black.
 .EM string1 string2 string3
 (emphasis), where strings 2 and 3 are optional prints string3 in the
 current
 color, followed by string1 in red and string2 in black (with no space
 between
 strings 3, 1 and 2 — they work as .B or .I in the .ms macro package.

Sape


Wow cool it worked. thanks a lot


Re: [9fans] Installation woes

2011-03-31 Thread Fernan Bolando
For what its worth.

My install on a real hardware was also extremely slow, but after  i enabled
dma it is very much usable. venti and everything
I use virtualbox on several machines including a macbook white and and an
old hp dc7700 and its also very much usable also.
another thing to note is i am using erik's 9atom distro for all my
installation.

There is also 9vx which i used before. If you only need the plan9 tools then
plan9port is an easy way to get them.


On Fri, Apr 1, 2011 at 3:14 AM, John Preston gizmog...@gmail.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I've spent the past couple of days trying to get some form of P9
 installation up, but I've had a lot of trouble.

 The first thing I tried (and the installation that would be ideal for
 me, if anyone can help) was installing on an ASUS Eee PC netbook. It
 doesn't have a CD drive, and I don't have a USB CD drive, so I tried
 dd-ing the ISO onto a USB stick under Linux, but this wouldn't boot. Any
 ideas why? Does anyone have any experience with P9 USB installation media?

 Afterwards, I tried VirtualBox, which gave me the following error:

 panic: assert failed at 0xf018d652

 I quickly moved on to QEMU, which worked but had ridiculously slow disk
 throughput (the installation would have taken at least 3 hours). This is
 on a Dell mini 10 netbook with an Intel Atom so it's bound to be slow,
 but I've had much higher transfer speeds with other guest OSes.

 VMware Player (using configuration made with EasyVMX) gave me a black
 screen when rio loaded, and Bochs worked but was even slower than QEMU.
 Can anyone offer me any help with:

 1. making USB installation media;
 2. speeding up QEMU or Bochs; or
 3. getting VirtualBox or VMware Player working?

 I haven't tried any pre-built images as I would very much like to go
 through the installation process myself.
 - --
 Yours Sincerely,
 John Preston

 Please note, that this message may be signed and/or encrypted with PGP
 (available from http://www.pgp.com/) or GPG (available from
 http://www.gnupg.org/). You can locate my PGP/GPG Public Key on my
 website at:

 http://geek.shell.la/~gizmoguy/
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.10 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iQIcBAEBAgAGBQJNlNJyAAoJEPiuv4qVew8CaIEP/js1mj/smk5mkONNEvs/0D8w
 xpqbP1YmT0aTBzrW+UdJcZX+UZLmR6+gX4ZQNoHiDEX0tlOkzJk087eh4/K1a/dD
 NQXZzs+Y5aGmsY4TDgbESYM7qIlhyovu12str5PWndzzEqkz3biavjCvcOUklBte
 7c/dBhlAzr+hFdXK4Vek3X9L/UbhRMSnaaKWEvEhgtdPmPZUsuJWBILCdjHL2jSA
 eNcztzpqj+DCcS42ldL1gIs/q5n+hQbgxEeNjyNJEyT9mUvD8TcplTFQ2IC/Y6Ms
 W6xBQOsg6cjT44SjA1M3f2YSee+IW6Px2D2tPy6IXhPunqkckZrXZ0yDUffJxiJx
 Mh20wOX5mLm+WbLIeDeD6KAV46qhopwh6/CUjxLdcuj39eqIgQfqSWgPDZq99H04
 +XjGWAVtqJ67G3Z5UJJYXBkCjpCMUIKRgMDC+7tay6FLQn2XmxOYc3YGdxF2rSFq
 AiP0MdYRf7kL0G8+5qCCuniC0il2Nx3xhmMYqROfsU+LG7PWPw8XdhfXsckio0UL
 BXG+8xqFXN/FG2OKy7qUQ8nOsBaEtvMgLBVk2J4CqQJeptTc6vId3wSpIxOiyQJR
 5oAKiZiRruXPkbJI5zn1xdDRVrBGkAF1a9T8BRjgpAv/Y2oqT+iR3mkqm2fLhIUV
 OYgFluRDRXo/stICeohp
 =9DFU
 -END PGP SIGNATURE-




[9fans] anybody figured out a way to use acme as graphical merging tool for hg?

2011-03-16 Thread Fernan Bolando
Hi all

As I believe there a few hg users here. I was wondering if anybody has
a way to use acme to resolve merge conflicts by showing the diffs in
different panes.

fernan



[9fans] slightly on topic: pic preprocessor for drawing electronic circuits

2011-03-15 Thread Fernan Bolando
In the same spirit as Brian Kerninghans chem preprocessor. I wrote a
pic preprocessor in awk for drawing circuit diagrams. This is after
looking for
various options and did not find one for troff.

it can downloaded from
http://plan9.bell-labs.com/sources/contrib/fernan/schem.tgz

I have attached a sample output, showing a clone of an avr programmer i built.

fernan


atmega8.pdf
Description: Adobe PDF document


[9fans] troff pic bug report - acid debug - no fix yet

2011-03-07 Thread Fernan Bolando
Hi all

Here is a bug report for troffs pic preprocessor.
It crashes when the commands is in a square bracket and you loose
track of the labels


--- test file contents
pseudo@helios; cat test.p
.PS

define missing { [
O: box invis wid 2.5 ht 1;
circle diam 0.1 with .e at P1;
] }

missing with .c at 0,0

.PE

--- crash report and acid
pseudo@helios; cat test.p | pic
.lf 1 -
pic: no such place as P1 near -:8
 context is
circle diam 0.1 with .e at   P1;   with .c at 0,0
pic 44699: suicide: sys: trap: fault read addr=0x10 pc=0x89b9
pseudo@helios; acid 44699
/proc/44699/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: src(0x89b9)
/sys/src/cmd/pic/circgen.c:49
 44 case WITH:
 45 with = ap-a_val.i;
 46 break;
 47 case AT:
 48 ppos = ap-a_val.o;
49 curx = ppos-o_x;
 50 cury = ppos-o_y;
 51 at++;
 52 break;
 53 case INVIS:
 54 battr |= INVIS;
acid:



[9fans] drawterm dies when my mac book sleeps by 9p design?

2011-03-06 Thread Fernan Bolando
Hi all

apparently mac os x turns off wifi when it decides to go low power. It
can a happily recover most connections that do not require a steady
flow of data.
I have not tested it but I dont think it turns off wifi when torrent
or ssh is connected to a host. Drawterm dies with a sysfatal error,
when the mac book wakes up.

Is this how 9p currently behaves or is there some settings somewhere
that will help prevent it? Is there a thread that have already
discussed

fernan



Re: [9fans] 8l follows a precedence based on the commandline arrangement

2011-03-02 Thread Fernan Bolando
On Wed, Mar 2, 2011 at 9:28 PM, Greg Comeau com...@panix.com wrote:
 In article AANLkTi=jkuorak30rhsjkxbo0eu9varqqo7+pzhc4...@mail.gmail.com,
 Fernan Bolando fernanbola...@mailc.net wrote:
just curious is it normal for 8l to follow some sort of precendence
based on the commandline? this being done through ape/pcc

this is unable to build
8l -o spice -v /386/lib/ape/libf2c.a spice.8 unix.8 /386/lib/ape/libap.a

this was able to build
8l -o spice -v spice.8 unix.8 /386/lib/ape/libf2c.a /386/lib/ape/libap.a
...

 8l requires it to be mentioned/presented in order, and once it
 moves on from a library, requires still needed libraries to be repeatedly
 mentioned/presented even if the same library was already mentioned
 previously.  As per 8l When scanning such libraries, the algorithm is
 to scan each library repeatedly until no new undefined symbols are picked up,
 then to start on the next library. Thus if library A needs B which
 needs A again, it may be necessary to mention A explicitly so it will
 be read a second time.  So your problem lib is probably having put
 libf2c.a first.
 --

yes, that was the problem after Charles pointed out to re-read the
manual. I did read it before posting :) my English comprehension is
probably sub par.

I seem to remember being able to place all the object files in
whatever order before, I guess this is the first time I actually hit
this so now i know.

thank you all



[9fans] 8l follows a precedence based on the commandline arrangement

2011-02-28 Thread Fernan Bolando
just curious is it normal for 8l to follow some sort of precendence
based on the commandline? this being done through ape/pcc

this is unable to build
8l -o spice -v /386/lib/ape/libf2c.a spice.8 unix.8 /386/lib/ape/libap.a

this was able to build
8l -o spice -v spice.8 unix.8 /386/lib/ape/libf2c.a /386/lib/ape/libap.a

the listing below is a longer snippet of what happend.
---
Failed linking
8l -o spice -v /386/lib/ape/libf2c.a spice.8 unix.8 /386/lib/ape/libap.a
snip
 0.20 mkfwd
 0.20 patch
MAIN__: iargc_ is undefined
MAIN__: s_wsfe is undefined
MAIN__: e_wsfe is undefined
MAIN__: do_fio is undefined
MAIN__: s_stop is undefined
magphs_: r_imag is undefined
card_: d_sign is undefined
getlin_: s_rsfe is undefined
getlin_: e_rsfe is undefined
disto_: r_cnjg is undefined
disto_: d_lg10 is undefined
_main: main is undefined
 0.21 follow
 0.22 dodata
 0.23 span
 0.24 span 1
 0.24 span 2
 0.25 span 3
 0.25 span
 0.26 span 4
etext = 554fb
 0.26 asmb
 0.27 datblk
 0.28 sym
symsize = 155027
 0.28 sp
 0.28 pc
lcsize = 42324
 0.28 headr
sigsetjmp: xargc: not defined
sigsetjmp: xargv: not defined
 0.28 cpu time
5051 symbols
750 memory used
16 sizeof adr
60 sizeof prog
pcc: 8l: 8l 5466: error

successful link
8l -o spice -v spice.8 unix.8 /386/lib/ape/libf2c.a /386/lib/ape/libap.a
snip
0.24 mkfwd
 0.25 patch
 0.25 follow
 0.27 dodata
 0.27 span
 0.28 span 1
 0.29 span 2
 0.29 span 3
 0.30 span
 0.31 span 4
etext = 5c77e
 0.31 asmb
 0.34 datblk
 0.34 sym
symsize = 198845
 0.34 sp
 0.34 pc
lcsize = 46938
 0.34 headr
 0.35 cpu time
5236 symbols
1000 memory used
16 sizeof adr
60 sizeof prog



Re: [9fans] Spice2g6 using f2c/plan9 was: Modern development language for Plan 9, WAS: Re: RESOLVED:

2011-02-26 Thread Fernan Bolando
On Sat, Feb 26, 2011 at 5:10 AM, Lyndon Nerenberg lyn...@orthanc.ca wrote:
 Do you have spice mkfiles available somewhere?

 Spice died when my previous venti server blew up.  Re-doing
 the port is on my todo list, but not very high at the moment.


I have been trying to get a circuit simulator working on plan9 for
sometime, but failed. I only realize spice2 would  be a good candidate
after you posted that you got it working.

I have copied spice2g6 in my contrib
http://plan9.bell-labs.com/sources/contrib/fernan/spice2.tgz

spice2 is in fortran, I included the f2c translation incase you dont
want to bother with f2c. You will still need the libf2c to compile
though.



[9fans] How serious is incomatible type signatures?

2011-02-26 Thread Fernan Bolando
I am seeing incompatible type signature errors when compiling f2c.
Removing -T from the compiler option seems to allow me to compile with
no problems. The resulting compiled code seems to run just fine.
sig_die: incompatible type signatures 951b2e20(unix.8) and
bde91c57(../libf2c/libf2c.a8(sig_die)) for exit

fernan



[9fans] Spice2g6 using f2c/plan9 was: Modern development language for Plan 9, WAS: Re: RESOLVED:

2011-02-25 Thread Fernan Bolando
On Sun, Feb 6, 2011 at 3:54 AM, Lyndon Nerenberg lyn...@orthanc.ca wrote:
 Agreed, but is there a FORTRAN compiler/cross-compiler for Plan 9?

 f2c (from netlib) is trivial to get running.  This gives you Fortran 77. It
 has been sufficient for my needs (spice, zork, some grib stuff).

 --lyndon

Do you have spice mkfiles available somewhere?

regards
fernan



Re: [9fans] Is there a reason for the existence of 9atom?

2011-02-15 Thread Fernan Bolando
On Sun, Feb 13, 2011 at 6:49 PM, Eugene Gorodinsky
e.gorodin...@gmail.com wrote:
 This question has been bugging me for some time and I haven't found any
 discussions on the matter. It seems that at least the devices support could
 go into the original plan9 kernel. What's the reason for having a fork?

--This is just how I see this, you can choose to ignore the rest of the message.

i have always considered 9atom and a few other independent plan9 stuff
as something similar to the openbsd release strategy. Theres a stable
release and a current. 9atom is more like openbsd-current it's
bleeding edge, but it should be _more_ stable and has _more_ hardware
support. The official iso is more like openbsd-stable unless something
is broken you will only see bug fixes, until bell-labs considers the
new stuff as stable.



Re: [9fans] network connection on virtualbox

2011-02-02 Thread Fernan Bolando
On Wed, Feb 2, 2011 at 9:06 PM, erik quanstrom quans...@quanstro.net wrote:
 On Wed Feb  2 05:04:07 EST 2011, nyanhtoo...@gmail.com wrote:
 Hi, Running plan 9 on virtual box 4.0.2, I've configured network
 adaptaters as below.
 Attached to NAT
 Adapter type: PCnet-FAST 3(Am79C973)
 check cable connected.

 After booting plan 9, I typed ip/ipconfig, after waiting some time,
 ipconfig: no success with DHCP.
 I don't know what's wrong??
 Please help.

 virtualbox is finicky and what works depends a lot on the
 version of vb and it seems to depend on your own hardware.


I am using intel pro below under vb 4.02 snowleopard. It also worked
on 3.12. I am also using 9atom not the official iso. You should find a
month or 2 old thread regarding this if you do a search

Adapter 1:
Intel PRO/1000 MT Server (Bridged adapter, en1: AirPort)



[9fans] offtopic: snarf from ITS

2011-01-12 Thread Fernan Bolando
I finally got ITS running on my simh plan9 port. I discovered that one
of the DDT command from ITS is snarf

:SNARF job
if the current job (say, FOO) has an inferior named job,
this command takes job away from FOO
and then does :JOB job .  Thus, job becomes a direct
inferior of the DDT executing this command, instead of
an indirect inferior.  FOO is not told that its
inferior is gone, but if it is a DDT it will recover
after an $J is done to it.  This command is most useful
when done to a HACTRO that got detached because of a top-
level interrupt, but whose inferiors are valuable.
(The thing to do is HACTRO$J :SNARF TECO , etc.)



Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-11 Thread Fernan Bolando
On Tue, Jan 11, 2011 at 3:45 PM, Federico G. Benavento
benave...@gmail.com wrote:
 it's not fcnlt's fault, ape replaces your sockfd with a pipe
 when you do listen(), you could call fcntl again after the
 listen() call...

 all this is usually combined with select() which in turns does
 more magic behind the scenes and this behavior isn't
 exposed.


I understand, I am now using select() when compiled under plan9/ape,
it looks like it's working now. I originally found select() when I was
googling this problem, but I wasn't sure if adding select() will hide
an incompatibility issue between plan9/ape and some standard.

thanks for your help.



Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-11 Thread Fernan Bolando
On Tue, Jan 11, 2011 at 4:06 PM, Fernan Bolando fernanbola...@mailc.net wrote:
 On Tue, Jan 11, 2011 at 3:45 PM, Federico G. Benavento
 benave...@gmail.com wrote:
 it's not fcnlt's fault, ape replaces your sockfd with a pipe
 when you do listen(), you could call fcntl again after the
 listen() call...

 all this is usually combined with select() which in turns does
 more magic behind the scenes and this behavior isn't
 exposed.


 I understand, I am now using select() when compiled under plan9/ape,
 it looks like it's working now. I originally found select() when I was
 googling this problem, but I wasn't sure if adding select() will hide
 an incompatibility issue between plan9/ape and some standard.

 thanks for your help.


On a second thought shouldn't fnctl raise an error that it was not
able to set non-block?



[9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-10 Thread Fernan Bolando
Hi all

I am testing the non-block socket of ape/plan9 the code below seems to
succeed in making a non-block sockets on unix, but not in plan9/ape it
still blocks with no error from fcntl.
Is this intended?



/* A simple server in the internet domain using TCP
   The port number is passed as an argument */
#include stdio.h
#include sys/types.h
#include sys/socket.h
#include netinet/in.h
#include fcntl.h

void error(char *msg)
{
perror(msg);
exit(1);
}

int main(int argc, char *argv[])
{
 int sockfd, newsockfd, portno, clilen;
 char buffer[256];
 struct sockaddr_in serv_addr, cli_addr;
 int n, sta, fl;
 if (argc  2) {
 fprintf(stderr,ERROR, no port provided\n);
 exit(1);
 }
 sockfd = socket(AF_INET, SOCK_STREAM, 0);
 if (sockfd  0)
error(ERROR opening socket);

 printf(NON BLOCK Succeeded\n);
 bzero((char *) serv_addr, sizeof(serv_addr));
 portno = atoi(argv[1]);
 serv_addr.sin_family = AF_INET;
 serv_addr.sin_addr.s_addr = INADDR_ANY;
 serv_addr.sin_port = htons(portno);
 if (bind(sockfd, (struct sockaddr *) serv_addr,
  sizeof(serv_addr))  0)
  error(ERROR on binding);
 fl = fcntl (sockfd, F_GETFL,0);
 sta = fcntl (sockfd, F_SETFL, fl | O_NONBLOCK);   /* set
nonblock */
 if (sta == -1)
 {
   printf( NON_BLOCK FAILED\n);
return 1;
 }
 listen(sockfd,5);
 clilen = sizeof(cli_addr);
 newsockfd = accept(sockfd,
 (struct sockaddr *) cli_addr,
 clilen);
 if (newsockfd  0)
  error(ERROR on accept);
 bzero(buffer,256);
 n = read(newsockfd,buffer,255);
 if (n  0) error(ERROR reading from socket);
 printf(Here is the message: %s\n,buffer);
 n = write(newsockfd,I got your message,18);
 if (n  0) error(ERROR writing to socket);
 return 0;
}



Re: [9fans] ape/socket again non-blocking command succeeds but still blocks

2011-01-10 Thread Fernan Bolando
I need to apologize, my sample code made things more confusing.

In unix the code I posted would have raised an error because
newsockfs=accept()...would not block and just pass through. The idea
is you can loop through accept() and multiplex multiple inputs.

but in plan9/ape it works just as how you shown regardless of the
fcntl non-block command. so I will not be able to loop through several
sockets because it would block.

On Tue, Jan 11, 2011 at 2:11 PM, Federico G. Benavento
benave...@gmail.com wrote:
 isn't this the intended behavior?

 lotte% 8.out 777
 NON BLOCK Succeeded
 Here is the message: hola

 from a different window:

 lotte% telnet  tcp!localhost!777
 connected to tcp!localhost!777 on /net/tcp/20
 hola
 I got your messagelotte%

 On Mon, Jan 10, 2011 at 10:31 PM, Fernan Bolando
 fernanbola...@mailc.net wrote:
 Hi all

 I am testing the non-block socket of ape/plan9 the code below seems to
 succeed in making a non-block sockets on unix, but not in plan9/ape it
 still blocks with no error from fcntl.
 Is this intended?



 /* A simple server in the internet domain using TCP
   The port number is passed as an argument */
 #include stdio.h
 #include sys/types.h
 #include sys/socket.h
 #include netinet/in.h
 #include fcntl.h

 void error(char *msg)
 {
    perror(msg);
    exit(1);
 }

 int main(int argc, char *argv[])
 {
     int sockfd, newsockfd, portno, clilen;
     char buffer[256];
     struct sockaddr_in serv_addr, cli_addr;
     int n, sta, fl;
     if (argc  2) {
         fprintf(stderr,ERROR, no port provided\n);
         exit(1);
     }
     sockfd = socket(AF_INET, SOCK_STREAM, 0);
     if (sockfd  0)
        error(ERROR opening socket);

     printf(NON BLOCK Succeeded\n);
     bzero((char *) serv_addr, sizeof(serv_addr));
     portno = atoi(argv[1]);
     serv_addr.sin_family = AF_INET;
     serv_addr.sin_addr.s_addr = INADDR_ANY;
     serv_addr.sin_port = htons(portno);
     if (bind(sockfd, (struct sockaddr *) serv_addr,
              sizeof(serv_addr))  0)
              error(ERROR on binding);
     fl = fcntl (sockfd, F_GETFL,0);
     sta = fcntl (sockfd, F_SETFL, fl | O_NONBLOCK);           /* set
 nonblock */
     if (sta == -1)
  {
                       printf( NON_BLOCK FAILED\n);
                        return 1;
     }
     listen(sockfd,5);
     clilen = sizeof(cli_addr);
     newsockfd = accept(sockfd,
                 (struct sockaddr *) cli_addr,
                 clilen);
     if (newsockfd  0)
          error(ERROR on accept);
     bzero(buffer,256);
     n = read(newsockfd,buffer,255);
     if (n  0) error(ERROR reading from socket);
     printf(Here is the message: %s\n,buffer);
     n = write(newsockfd,I got your message,18);
     if (n  0) error(ERROR writing to socket);
     return 0;
 }





 --
 Federico G. Benavento




[9fans] Anybody have a relatively recent windows drawterm binary?

2011-01-05 Thread Fernan Bolando
Hi

Anybody have recent drawterm binary for windows xp? mingw32 is not
agreeing with me right now.

regards
fernan



Re: [9fans] vlong double-spill botch

2011-01-04 Thread Fernan Bolando
On Mon, Jan 3, 2011 at 10:56 PM, erik quanstrom
quans...@labs.coraid.com wrote:
 what does vlong double-spill botch mean in
 r = (a * b) + (((a * u) + (b * t))  18);          /* low is only 35b */


 this is a workaround that i put in the compiler;
 it's not in the distribution.  the distribution
 compiler happily miscompiles.

 if both the left and rhs side of an expression
 need to allocate more registers, then 8c often
 miscompiles.  you may be able to fix this by
 changing 18 to 18ull, but you might as well
 do it this way:

        r = a*u + b*t;
        r = 18ull;
        r += a*b;

This did not work, but this did
ra = a * b;
rb = a * u;
rc = b * t;
r = ra + ((rb + rc)  18);



[9fans] vlong double-spill botch

2011-01-03 Thread Fernan Bolando
what does vlong double-spill botch mean in
r = (a * b) + (((a * u) + (b * t))  18);  /* low is only 35b */

a larger section of the code is shown below


t_uint64 a = ABS (s1);
t_uint64 b = ABS (s2);
t_uint64 t, u, r;

if ((a == 0) || (b == 0)) { /* operand = 0? */
rs[0] = rs[1] = 0;  /* result 0 */
return;
}
if ((a  FIT32) || (b  FIT32)) {   /* fit in 64b? */
t = a  18;/* no, split in half */
a = a  RMASK;  /* dp multiply */
u = b  18;
b = b  RMASK;
r = (a * b) + (((a * u) + (b * t))  18);  /* low is only 35b */
rs[0] = ((t * u)  1) + (r  35); /* so lsh hi 1 */
rs[1] = r  MMASK;
}



[9fans] pcc/8c dies compiling simh code

2011-01-03 Thread Fernan Bolando
hi all

can anyone else confirm that the attached file effectively kills 8c?
it dies on 9vx and virtualbox, will test it on real hardware tomorrow.

cpp -D__STDC__=1 -N -I. -D_PLAN9 -D_POSIX_SOURCE -D_BSD_EXTENSION
-D_C99_SNPRINTF_EXTENSION -DVM_PDP10 -IPDP10 -IPDP11
-I/386/include/ape -I/sys/include/ape PDP10/pdp10_ksio.c | 8c -o
pdp10_ksio.8
/* pdp10_ksio.c: PDP-10 KS10 I/O subsystem simulator

   Copyright (c) 1993-2008, Robert M Supnik

   Permission is hereby granted, free of charge, to any person obtaining a
   copy of this software and associated documentation files (the Software),
   to deal in the Software without restriction, including without limitation
   the rights to use, copy, modify, merge, publish, distribute, sublicense,
   and/or sell copies of the Software, and to permit persons to whom the
   Software is furnished to do so, subject to the following conditions:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
   ROBERT M SUPNIK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

   Except as contained in this notice, the name of Robert M Supnik shall not be
   used in advertising or otherwise to promote the sale, use or other dealings
   in this Software without prior written authorization from Robert M Supnik.

   uba  Unibus adapters

   22-Sep-05RMS Fixed declarations (from Sterling Garwood)
   25-Jan-04RMS Added stub floating address routine
   12-Mar-03RMS Added logical name support
   10-Oct-02RMS Revised for dynamic table generation
Added SHOW IOSPACE routine
   29-Sep-02RMS Added variable vector, central map support
   25-Jan-02RMS Revised for multiple DZ11's
   06-Jan-02RMS Revised enable/disable support
   23-Sep-01RMS New IO page address constants
   07-Sep-01RMS Revised device disable mechanism
   25-Aug-01RMS Enabled DZ11
   21-Aug-01RMS Updated DZ11 disable
   01-Jun-01RMS Updated DZ11 vectors
   12-May-01RMS Fixed typo

   The KS10 uses the PDP-11 Unibus for its I/O, via adapters.  While
   nominally four adapters are supported, in practice only 1 and 3
   are implemented.  The disks are placed on adapter 1, the rest of
   the I/O devices on adapter 3.

   In theory, we should maintain completely separate Unibuses, with
   distinct PI systems.  In practice, this simulator has so few devices
   that we can get away with a single PI system, masking for which
   devices are on adapter 1, and which on adapter 3.  The Unibus
   implementation is modeled on the Qbus in the PDP-11 simulator and
   is described there.

   The I/O subsystem is programmed by I/O instructions which create
   Unibus operations (read, read pause, write, write byte).  DMA is
   the responsibility of the I/O device simulators, which also implement
   Unibus to physical memory mapping.

   The priority interrupt subsystem (and other privileged functions)
   is programmed by I/O instructions with internal devices codes
   (opcodes 700-702).  These are dispatched here, although many are
   handled in the memory management unit or elsewhere.

   The ITS instructions are significantly different from the TOPS-10/20
   instructions.  They do not use the extended address calculation but
   instead provide instruction variants (Q for Unibus adapter 1, I for
   Unibus adapter 3) which insert the Unibus adapter number into the
   effective address.
*/

#include pdp10_defs.h
#include setjmp.h
#include sim_sock.h
#include sim_tmxr.h

#define XBA_MBZ 040 /* ba mbz */
#define eaRB(ea  ~1)
#define GETBYTE(ea,x)   ea)  1)? (x)  8: (x))  0377)
#define UBNXM_FAIL(pa,op) \
n = iocmap[GET_IOUBA (pa)]; \
if (n = 0) \
ubcs[n] = ubcs[n] | UBCS_TMO | UBCS_NXD; \
pager_word = PF_HARD | PF_VIRT | PF_IO | \
((op == WRITEB)? PF_BYTE: 0) | \
(TSTF (F_USR)? PF_USER: 0) | (pa); \
ABORT (PAGE_FAIL)

/* Unibus adapter data */

int32 ubcs[UBANUM] = { 0 }; /* status registers */
int32 ubmap[UBANUM][UMAP_MEMSIZE] = { 0 };  /* Unibus maps */
int32 int_req = 0;  /* interrupt requests */

/* Map IO controller numbers to Unibus adapters: -1 = non-existent */

static int iocmap[IO_N_UBA] = { /* map I/O ext to UBA # 

Re: [9fans] Plan9 and VirtualBox 4.0

2011-01-01 Thread Fernan Bolando
On Sat, Jan 1, 2011 at 12:58 AM,  blstu...@bellsouth.net wrote:
 Weird i tried similar settings a few days ago and it didnt work. Can you
 post the vdi and hdd  settings too?

 I had some success yesterday, but more so with Erik's 9atom
 ISO than the one from the labs.  It handled the VirtualBox
 disk emulation much better.  Anyway, I ended up with a
 very similar configuration, but with the ISO on the secondary
 master and the fossil FS on the primary master (though I think
 it also worked the other way).  I tried all three of the disk
 controller settings PIIX3, PIIX4, and ICH6, but none worked
 with the Labs' image.  It looks like I used the  ICH6 setting
 with 9atom.  I ended up using the PIIX3 chipset, but mostly
 because that's what it was left on when I switched to 9atom.
 I expect it would work with PIIX4 as well--not sure about the
 ICH9.

 Toward the end of the day, though, I also got a VirtualBox
 instance to boot off of a real Plan9 file server as a diskless
 terminal...using IL to Ken's FS even :)  This was with the
 Intel PRO/1000 MT Server in a bridged config.  This also
 required the VirtualBox extensions to allow PXE booting
 from the Intel cards.

 As always, your mileage may vary...

I spent a few hours and investigated virtualbox 4.0 here is a summary

latest official plan9  iso installed perfectly no network support.
latest 9atom iso installed perfectly however after reboot it fails
with the following errors

MBR...PBS1...Bad Format or I/O error
Press a key to reboot...

reinstalling 9atom over the plan9.iso installation fixed everything,
it's bootable and with netwrok support.

thanks all



Re: [9fans] Plan9 and VirtualBox 4.0

2011-01-01 Thread Fernan Bolando
On Sat, Jan 1, 2011 at 11:05 PM, erik quanstrom quans...@quanstro.net wrote:
 MBR...PBS1...Bad Format or I/O error
 Press a key to reboot...

 reinstalling 9atom over the plan9.iso installation fixed everything,
 it's bootable and with netwrok support.

 that's quite wierd.  can you reproduce this error?

I tried to do a fresh reinstall a few times, so in my case it's at
least repeatable on
a macbook.


 if so, can you try running fdisk and prep by hand
 and seeing if the output makes sense?  also, one
 can compare the first sector of the disk with the
 mbr and the first sector of the plan 9 partition
 with pbs.  they should be the same, modulo the
 bits that disk/mbr fiddle.


you may need to give a least of commands to try as I am not sure
how to do this in plan9.



Re: [9fans] ape sockets and plan9

2010-12-31 Thread Fernan Bolando
On Wed, Dec 29, 2010 at 12:02 PM, ron minnich rminn...@gmail.com wrote:

 As for 9vx forks on bitbucket: we're all good with hierarchical name
 spaces, right? I mean, yiyus/9vx and rminnich/9vx are not the same
 thing. I'm not usually in a hurry to pull from yiyus, because I've
 felt no urgency to do so, If you want me to try something, let me
 know.

 Bitbucket has worked very well for me across a lot of projects. So has
 hg in general. They're both great, and they work well from Plan 9.
 Don't like em? Don't use 'em ;-)


bitbucket is an easy way for me to get at some of the plan9 bleeding edge,
having multiple points of information does tend to confuse me.

Here is my current list of bleeding edge links and how i might describe them
rminnich/9vx --- 9vx with rons fixes
yiyus/9vx --- 9vx with yiyus fixes possibly merged with rons
eriks/9atom --- new sata support and 9load
rminnich/sysiso ??
quanstro/drawterm 

contrib - for ports and apps



Re: [9fans] Plan9 and VirtualBox 4.0

2010-12-30 Thread Fernan Bolando
Weird i tried similar settings a few days ago and it didnt work. Can you
post the vdi and hdd  settings too?

On Fri, Dec 31, 2010 at 3:52 AM, Sam Ducksworth sduckswo...@gmail.comwrote:

 Here is how I setup my VM.

 Base Memory: 392MB
 Video Memory: 32MB
 IDE Primary Master (CD/DVD): (latest plan9 iso was mounted here )
 IDE Primary Slave: Plan9.vdi(Normal, 2.00GB)
 Host Driver: CoreAudio
 Controller: ICH AC97
  Adapter 1:
  Intel PRO/1000 MT Desktop (NAT)

 --samd


 I had to up the video memory for the VM to 32MB.

 On Dec 30, 2010, at 12:52 PM, Robbin Johnson wrote:

 How did you configure the video? ... I get a scrambled image and no rio
 desktop.

 Robbin.





Re: [9fans] ape sockets and plan9

2010-12-28 Thread Fernan Bolando
On Sun, Dec 26, 2010 at 3:41 AM, Bakul Shah bakul+pl...@bitblocks.com wrote:
 On Sat, 25 Dec 2010 17:04:01 GMT Steve Simon st...@quintile.net  wrote:
 I think this is an artifact of 9vx (not 100% sure though),

 Indeed. Programs under 9vx can make outgoing connections but
 can't accept incoming ones because it doesn't really create a
 virtual machine -- 9vx makes the connections on behalf of the
 program. IIRC there was some additional code to add a proper
 ethernet device (via tap or pcap filtering) but I've never
 played with it.  This program works under p9/qemu because
 qemu creates a proper VM (I then bridge its tap device with
 the underlying machine's phys ethernet).

 try running 9fx as root on your unix box - though that would more
 likely solve problems if the port number was  1024.

 Yes. Here it is a different cause.


 ape sockets should just work under a real plan9 cpu server?



[9fans] simh old computer simulator

2010-12-24 Thread Fernan Bolando
I have ported simh 3.8-1 to plan9.
It currently has the following issues

1. Since I am on christmas break, i dont have access to my cpu server.
all testing was done on 9vx
2. 9vx seems to do wierd stuff if you keep the cpu load at 100% for
too long, so i had to implement a simple idling routine. set throttle
also works but i preferred having a dynamic load change.( i'm using
rons 9vx bitbucket stuff by the way.)
3. simh had it's own idling, but it looked like I needed to get into
the code deeper than I thought is necessary.
4.  compiling the pdp10 seems to kill 9vx. compiling vax still had a
few gnu-ish preprocessor directives that prevents it from being
compiled.
5. I dont know much about socket programming so i am not sure if it's
working. When I try to run it with telnet it cannot open up a port. I
will proabably send a separate email asking about ape sockets later.

to build
gunzip simh-p9.tgz
tar x simh-p9.tar
cd simh-p9
plan9/build

this only compiles the ones i care about excluding pdp10 and vax

plan9/build_all

tries to build everything.

http://plan9.bell-labs.com/sources/contrib/fernan/simh-p9.tgz



[9fans] ape sockets and plan9

2010-12-24 Thread Fernan Bolando
Hi all

what is involved in using APE sockets. Anybody can point me to a
documentation or sample code?

running the sample code in http://www.linuxhowtos.org/data/6/server.c

gives me the following error.
term% ./serv
ERROR, no port provided
term% ./serv 4000
ERROR on accept: Invalid argument

I am not sure where to look for documentation. the ape paper doesnt
seem have much detail.

thanks
fernan



[9fans] cifsd by cinap

2010-12-14 Thread Fernan Bolando
Hi

I was browsing around contrib this morning and discovered that cinaps
cifsd has been updated. I cant find any logs of changes and such so
decided to check here.
How does one install this into plan9?



[9fans] ansi escape codes and p9p 9term

2010-12-01 Thread Fernan Bolando
Hi all

I like being able to cut and paste on the terminal, but occasionally i
still drop to xterm to make ansi escape from scrambling the screen. In
a real plan9 i can use vt, for p9p however what do you guys do?

regards
fernan



Re: [9fans] ansi escape codes and p9p 9term

2010-12-01 Thread Fernan Bolando
On Wed, Dec 1, 2010 at 10:49 PM, erik quanstrom quans...@quanstro.net wrote:
 On Wed Dec  1 09:42:55 EST 2010, fernanbola...@mailc.net wrote:
 Hi all

 I like being able to cut and paste on the terminal, but occasionally i
 still drop to xterm to make ansi escape from scrambling the screen. In
 a real plan9 i can use vt, for p9p however what do you guys do?

 i have a hacked version of 9term that eats vt/xterm escape sequences.

 - erik

I assumed that your changes are in your contrib. the only thing I found was
http://plan9.bell-labs.com/sources/contrib/quanstro/p9p/9term.look.*

are these the ones your reffering to?



Re: [9fans] What USB audio device are you using?

2010-11-02 Thread Fernan Bolando
On Tue, Nov 2, 2010 at 12:47 PM, Nick LaForge nicklafo...@gmail.com wrote:
 I got this: 
 http://www.amazon.com/Syba-SD-CM-UAUD-Adapter-C-Media-Chipset/dp/B001MSS6CS

 Haven't tried too hard to get 9 to use it, but it's usb and linux has
 the code too.  Audio quality is high, that is until you plug in a mic
 and line-in and line-out signals get mixed.

 Btw John, I just got that 'real' 3-button optical logitech-made mouse
 from IBM you'd mentioned.  It beats cleaning the gunk out of your old
 logitechs (if their buttons even still work).  I've also used the
 Evoluent, but I can't tolerate its vertical column of buttons which
 don't give you the table's normal force, so you get a cramp.

 Nick

 On 10/29/10, John Floren slawmas...@gmail.com wrote:
 Here's an open question to anyone using USB audio on Plan 9: What
 device are you using? How well does it work?

 I'm looking for something I can get on Amazon; my T22 has been silent
 long enough!

 John


I am also looking for an audio device. On a related note do I need to
get a plan9 supported audio device if I am using drawterm on a linux
terminal with a linux audio to connect to a cpu server with no audio
device? I am guessing drawterm can use the linux audio driver and cpu
server will just serve the pcm data? I really how that works, but
though I might as well ask.



Re: [9fans] python read problem

2010-08-27 Thread Fernan Bolando
On Fri, Aug 27, 2010 at 8:18 AM, Michaelian Ennis men...@corvus.net wrote:
 I've noticed some behaviors I can't explain with python and plan9.  I
 am using contrib/installed bichued/python.  Trying to read from a
 serial port I would suspect I would have to use f.read() if I want to
 be able to catch a specific string where there is no newline.

 For instance:
 When my firewall is finished booting it end with this output:

 Type help or '?' for a list of available commands.
 firewall

 firewall being the command prompt.  I would expect to see the same from:

 import sys
 f = open(/dev/eia0,r)
 while (True):
     sys.stdout.write(f.read(1))

 Yet this only yields:
 Type help or '?' for a list of available commands.

 Which makes me think it is still looking for a newline.  Cons exhibits
 the expected behavior with the same appliance. That is the prompt is
 included.

 ian



Not sure but might be related.
in C you need do fflush because of the buffered io.



[9fans] sudden vac: venti write errors

2010-07-16 Thread Fernan Bolando
Hi all

Recently my native plan 9 venti started giving me messages like the on
below. Initially I was getting 1 or 2 then started increasing.
I thought it was because after moving to a macbook, mac os x was venti
weird filenames. Now I am not sure.

The http:/.../log doesnt show anything. Are there any other place
where can get more info on the errors


vac: venti write /Volumes/mac0b/i/prj/sparse/colamd/Source/colamd.c,v:
venti i/o error
vac: venti write /Volumes/mac0b/i/prj/sparse/klu/Demo/klu_simple,v:
venti i/o error
vac: venti write /Volumes/mac0b/i/prj/sparse/klu/Demo/kludemo,v: venti i/o error
vac: venti write /Volumes/mac0b/i/prj/sparse/klu/Demo/kludemo.c,v:
venti i/o error
vac: venti write /Volumes/mac0b/i/prj/sparse/klu/Demo/kluldemo,v:
venti i/o error
vac: venti write /Volumes/mac0b/i/prj/sparse/klu/Demo/kluldemo.c,v:
venti i/o error
vac: venti write
/Volumes/mac0b/i/prj/sparse/klu/Doc/KLU_UserGuide.pdf,v: venti i/o
error
vac: venti write
/Volumes/mac0b/i/prj/sparse/klu/Doc/KLU_UserGuide.tex,v: venti i/o
error


fernan



[9fans] sources flproto example still accurate

2010-05-06 Thread Fernan Bolando
Hi all

Is this example from man fossilcons still accurate?

srv –p fscons.sources
srv –p fscons.sources.adduserd
srv sources
fsys main config /dev/sdC0/fossil.outside
fsys main open –c 25600
fsys main
users /active/adm/users
listen tcp!*!564
msg –m 40 –p 10
snaptime –a  –s 15


I am trying to figure out why I can mount sources, but not my local
cpu/auth/fileserver into my mac os x computer.

regards
fernan

-- 
http://www.fernski.com



Re: [9fans] sources flproto example still accurate

2010-05-06 Thread Fernan Bolando
On Thu, May 6, 2010 at 6:32 PM, Steve Simon st...@quintile.net wrote:
 snaptime –a  –s 15

 I would not reccomend -s 15 for now, there appears to be a bug in fossil
 where it can deadlock itself somtimes - My home server used to lock up
 once every few weeks, after disabling snapshots it has been fine.

 I do still do nightly dumps to venti however, that part of the system
 is absolutely fine.

 -Steve


Thanks, However it seems my problem is not my flproto

if I try to mount the plan9 system without using srv -a I will get
$ 9 mount thinktank /tmp/c
top level name fuse in fuse.version is invalid
top level name macfuse in macfuse.version.number is invalid
9pfuse: fsmount: cannot attach as none before authentication

if I try to use srv -a I get
$ srv -a thinktank
!adding key: role=client proto=p9sk1 dom=fernan.net
user[fernan]: fernan


and it stays there forever. without asking me for my password. Any
ideas what I did wrong


-- 
http://www.fernski.com



Re: [9fans] sources flproto example still accurate

2010-05-06 Thread Fernan Bolando
On Thu, May 6, 2010 at 8:11 PM, Skip Tavakkolian 9...@9netics.com wrote:
 is auth negotiation supported in p9p?

 On Thu, May 6, 2010 at 6:32 PM, Steve Simon st...@quintile.net wrote:
 snaptime –a  –s 15

 I would not reccomend -s 15 for now, there appears to be a bug in fossil
 where it can deadlock itself somtimes - My home server used to lock up
 once every few weeks, after disabling snapshots it has been fine.

 I do still do nightly dumps to venti however, that part of the system
 is absolutely fine.

 -Steve


 Thanks, However it seems my problem is not my flproto

 if I try to mount the plan9 system without using srv -a I will get
 $ 9 mount thinktank /tmp/c
 top level name fuse in fuse.version is invalid
 top level name macfuse in macfuse.version.number is invalid
 9pfuse: fsmount: cannot attach as none before authentication

 if I try to use srv -a I get
 $ srv -a thinktank
 !adding key: role=client proto=p9sk1 dom=fernan.net
 user[fernan]: fernan


 and it stays there forever. without asking me for my password. Any
 ideas what I did wrong



I dont know, but what is wrong with my configuration if I can mount
sources like unauthenticated...
mac0:~ fernan$ srv sources.cs.bell-labs.com sources
mac0:~ fernan$ mkdir ./tmp/c
mac0:~ fernan$ 9 mount `namespace`/sources ./tmp/c
top level name fuse in fuse.version is invalid
mac0:~ fernan$ lc ./tmp/c
9grid   adm contrib distextra   lsr patch   plan9   wikixen
mac0:~ fernan$

but not my cpu server???

fernan




-- 
http://www.fernski.com



Re: [9fans] sources flproto example still accurate

2010-05-06 Thread Fernan Bolando
On Thu, May 6, 2010 at 11:00 PM, erik quanstrom quans...@quanstro.net wrote:
 I dont know, but what is wrong with my configuration if I can mount
 sources like unauthenticated...
 mac0:~ fernan$ srv sources.cs.bell-labs.com sources
 mac0:~ fernan$ mkdir ./tmp/c
 mac0:~ fernan$ 9 mount `namespace`/sources ./tmp/c
 top level name fuse in fuse.version is invalid
 mac0:~ fernan$ lc ./tmp/c
 9grid   adm     contrib dist    extra   lsr     patch   plan9   wiki    xen
 mac0:~ fernan$

 but not my cpu server???

 i'm confused.  your previous post had srv -a.  i
 thought unauthenticated was srv -A.

 you may also need -N.

 - erik


sorry for the confusion. I initially tried to mount my cpu server using
mac0:~ fernan$ srv thinktank tt
mac0:~ fernan$ 9 mount `namespace`/tt ./tmp/g
top level name fuse in fuse.version is invalid
9pfuse: fsmount: cannot attach as none before authentication

man srv yields
SYNOPSIS
 srv [ -an ] [ -k keypattern ] address [ srvname ]

 The -a option causes srv to post a pre-authenticated connec-
  tion to the file system aname (by default, the empty string;
  see attach(9p)).

...which led me to believe I needed to do an pre-authenticated
connection, but as Skip pointed might not be possible if p9p is
capable of doing authentication. This then led to the question What
do I need to do to allow me mount my cpu server the same way as I can
mount sources?

fernan



-- 
http://www.fernski.com



[9fans] off-topic: Comparing genomes to computer operating systems

2010-05-04 Thread Fernan Bolando
Hi all

Ever since I read about ken thompson comment on genetic biology. I
started reading bits and pieces about it in various diygroups.

You guys are the only computer science operating systems research type
people I know, so I thought you guys might enjoy this.
http://www.pnas.org/content/early/2010/04/28/0914771107.full.pdf+html

fernan

-- 
http://www.fernski.com



[9fans] drawterm and macbook touchpad

2010-05-02 Thread Fernan Bolando
Hi all

I have recently switch to a macbook. I used to be very comfortable
using an ibm touchpad+keyboard to emulate middle clicks and right
clicks.

for the mac the documentation says ctrl+click is equal to right click
and option+click is middle click. It works fine using them with acme,
but I cant seem to make a new window in rio?

Does this work for anyone else using a macbook?

-- 
http://www.fernski.com



Re: [9fans] drawterm and macbook touchpad

2010-05-02 Thread Fernan Bolando
On Sun, May 2, 2010 at 10:19 PM, Anthony Sorace a...@9srv.net wrote:
 for the mac the documentation says ctrl+click is equal to right click
 and option+click is middle click. It works fine using them with acme,
 but I cant seem to make a new window in rio?

 for right click, you want command+click, not control+click. works here,
 and is the same in 9vx. You can fake a 1+2 or 1+3 sweep by sweeping
 without any modifiers and then tapping option or command. the 1+[2,3]
 copy method works fine too. i don't believe you can emulate the 2+1
 chord using a one-button mouse.


Yup command-click works. I need to get used to the way mac handles shortcuts.

 like eric said, though, you'll do better with a real three-button mouse.

Yup I am looking for new mouse for sometime now and been using the
trackpad temporarily
thanks for the help.


-- 
http://www.fernski.com



Re: [9fans] updating 9vx root

2010-04-20 Thread Fernan Bolando
On Wed, Apr 21, 2010 at 12:49 PM, EBo e...@sandien.com wrote:

 what is the procedure for either updating the entire 9vx root, or setting up
 and building all the special customizations to build an up to date system?

 For background, I am running the newest 9vx/vx32 sources and have tried
 various combinations of 9vx-0.12 (which is missing libc.a), the full tree that
 was based on (a pull -s / overloads some customized program and renders the
 root unbootable), root extracted from 9aton.iso (which gives me error messages
 about not having kfs setup).

 Thanks and best regards,

have you tried replica/pull?
I have not used 9vx for sometime since I got my atom motherboard
working natively, But I remember doing a replica/pull to update my 9vx
installation. I did get a bunch of permission problem, if you do a
search in 9fans archive you should see an advice from andrey on how to
fix it.


-- 
http://www.fernski.com



Re: [9fans] Configuring NFS

2010-02-12 Thread Fernan Bolando
On Tue, Jun 2, 2009 at 5:30 PM, John Floren slawmas...@gmail.com wrote:
 Has anyone here successfully set up nfsserver to share Plan 9 files
 with Unix machines? The examples given in the man pages are rather...
 opaque. All I want to do is share one directory tree (/lib/music, in
 particular) with a number of independent Linux laptops and
 workstations.

 I'm looking into NFS because it seems that it has about the lowest
 barrier to entry of all the possible file-sharing methods. Any other
 suggestions would be appreciated.

 John

Hi John

I was wondering what happend to your attempt in setting up the
nfsserver? I am also trying to get it up because my client is using
openbsd and It doesnt have 9pfuse or v9fs support.

From all the replies I seem to get a general idea of what needs to be done

I did this @the server
% aux/nfsserver -a tcp!thinktank -c /lib/ndb/nfs
% aux/pcnfsd
% aux/portmapper

@client
# mount -o soft,intr thinktank:thinktank /mnt/nfs
NFS Portmap: RPC: Program not registered

in /sys/log/nfs
thinktank Feb 13 07:07:05 get port
thinktank Feb 13 07:07:32 get port


It seems like I maybe having authentication issue, but not
partifularly sure where to check.
man nfsserver seems to indicate that the client should have a static
ip address is this correct?

the client are using dhcp to configure there ip. I am trying to add
static aliases to clients to see if will work, but wanted to check
everyone else's thought.


-- 
http://www.fernski.com



Re: [9fans] 9atom.iso

2009-10-05 Thread Fernan Bolando
On Tue, Oct 6, 2009 at 4:38 AM, Latchesar Ionkov lu...@ionkov.net wrote:
 I have a *nomp=1 in plan9.ini.

    Lucho

 On Mon, Oct 5, 2009 at 1:32 PM, erik quanstrom quans...@coraid.com wrote:
 On Mon Oct  5 14:45:01 EDT 2009, lu...@ionkov.net wrote:
 I don't see neither /dev/mpirq nor /dev/nompirq.


 you're correct.  the quickest fix would be to download
 the atom sources and recompile with nomp in the link
 section.  i will correct the cd.  sorry.

 have you tried with *nomp=1?

 - erik

have your tried dma on?

my installation has the same problem, but once it starts dma on
everything works fine.
It is annoying if you only enable dma through cpurc or termrc because
untill it runs them everything is slow. good erik's sd stuff allows
you to run dma right at the begining.





-- 
http://www.fernski.com



Re: [9fans] replica under 9vx

2009-10-04 Thread Fernan Bolando
On Mon, Oct 5, 2009 at 5:15 AM, ron minnich rminn...@gmail.com wrote:
 On Sun, Oct 4, 2009 at 10:20 AM, Steve Simon st...@quintile.net wrote:
 I don't see this explaining a
 mkdir with mode of 0 however.

 Does the file/dir actually have a mode of zero on the source machine?

 no, it has mode 755

 This is for the tex install but the problem exists in general when
 using applylog on 9vx. I just don't see why yet.

 Gonna rebuild 9vx with some debug prints ...


I remember getting the same problem, when I installed tex on 9vx. I
thought my installation was bad, so I manually changed permission
which got tex installed.

just incase it is related I also had problems running ape/psh which is
due to permission failure.
rebuilding ape fixed that problem as indicated in the thread

http://9fans.net/narchive/2008/09/206

fernan




-- 
http://www.fernski.com



Re: [9fans] clarification on man 9p

2009-10-03 Thread Fernan Bolando
On Sat, Oct 3, 2009 at 8:29 AM, Russ Cox r...@swtch.com wrote:
 In general, the File interface is appropriate for maintaining
 arbitrary file trees (as in ramfs). The File interface is best avoided
 when the tree structure is easily generated as necessary; this is true
 when the tree is highly structured (as in cdfs and nntpfs) or is
 maintained elsewhere.

 Is this referring to avoiding the usage of createfile and friends in
 9pfile.h for highly structured trees?

 Yes.  You can look at the named examples to see
 the alternative.  My experience has been, well, what
 it says in the man page: the File interface was an
 interesting idea but is rarely useful.


I understand, what confused me was that ramfs is not using File/createfile.
So even though ramfs could have taken advantage of the createfile
tools it didn't. why?

The only fileserver that I found that was actually using createfile is rdbfs.

regards
fernan


-- 
http://www.fernski.com



[9fans] clarification on man 9p

2009-10-02 Thread Fernan Bolando
Hi

in man 9p

In general, the File interface is appropriate for maintaining
arbitrary file trees (as in ramfs). The File interface is best avoided
when the tree structure is easily generated as necessary; this is true
when the tree is highly structured (as in cdfs and nntpfs) or is
maintained elsewhere.

Is this referring to avoiding the usage of createfile and friends in
9pfile.h for highly structured trees?

regards
fernan


-- 
http://www.fernski.com



Re: [9fans] zero length arrays in gcc

2009-09-25 Thread Fernan Bolando
Hi all

both option did not solve my lost pointer problem. I am still
verifying if it is due to something unrelated to zero length arrays

option1
 unsigned foo[1];
 #define startLabel (foo[1])

option 2
static unsigned startLabel0;
static unsigned startLabel[] = startLabel0

thanks
fernan

-- 
http://www.fernski.com



[9fans] zero length arrays in gcc

2009-09-22 Thread Fernan Bolando
Hi all

nhc98 uses a few of

static unsigned startLabel[]={};

which is a zero length array. It appears that it uses this as
reference to calculate the correct pointer for a bytecode.

pcc does not allow this since zero lenth array is another gcc
extension. I tried declaring it as

static unsigned startLabel[];

The resulting bytecode can then be compiled however it will only
crash. I traced it a pointer that tries to read an unallocated section
in memory.

Is it possible emulate zero pointer in pcc??

-- 
http://www.fernski.com



Re: [9fans] porting help please (gcc void pointer handling)

2009-09-10 Thread Fernan Bolando
On Thu, Sep 10, 2009 at 2:17 AM, ron minnich rminn...@gmail.com wrote:
 On Wed, Sep 9, 2009 at 9:27 AM, Fernan Bolandofernanbola...@mailc.net wrote:

 I am trying to port nhc98 the bytecode haskell compiler.
 I am hoping to avoid changing those definition because I think those
 are generated by the
 haskell compiler and then fed to the C compiler. So there are a whole
 bunch of them.


 maybe it's time to talk to the nhc98 guys and point out the problem?
 Seems like a fix ought to be simple.

Yes,  I recieved a few suggestions from Malcolm of nhc98.
Thanks for every who helped verify this.

fernan


-- 
http://www.fernski.com



Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Fernan Bolando
On Wed, Sep 9, 2009 at 4:36 PM, Greg Comeaucom...@panix.com wrote:
 In article 1d5d51400909080844q1bee4c3s114ccc5e51ce5...@mail.gmail.com,
 Fernan Bolando fernanbola...@mailc.net wrote:
...error: initializer is not a constant: F0_Prelude_46primLeave
--h file ---
#define VAP_TAG  1
#define WORDSHIFT  5
#define WORDSIZE   (1WORDSHIFT)
#define WORDMASK   (WORDSIZE-1)
#define NS         (WORDSIZE3)
#define ZAP_BIT    (1L(WORDSIZE-1))
-- c file 
unsigned F0_Prelude_46primLeave[] = {
  CAPTAG(FN_Prelude_46primLeave,1)
#ifdef PROFILE
, useLabel(PROF_primLeave)
, 0
, 0
, 0
#endif

 The initializers to some things need to be constants.
 In your case, it appears that either CAPTAG or useLabel (or both)
 have ended up not being #define'd.  Probably the header they are
 #define'd in is not being #include'd (you don't show it above,
 but then you don't show enough of your code to even reproduce it).

 On a relate note, you can see the results of preprocessing
 from pcc by using the -E and/or -P options, that way you
 can see whether the macro ended up getting substituted
 and what it was substituted to -- or not in your case.
 Some compilers also have options which will emit the trail of
 files #include'd but I don't see that option for pcc.

gcc happily compiles a definition like
#define CT_v249 ((void*)startLabel+464)

is it valid just to add to make the porting non-destructive?

#ifdef Plan9
#define void unsigned char
#endif


-- 
http://www.fernski.com



Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Fernan Bolando
On Wed, Sep 9, 2009 at 11:35 PM, erik quanstromquans...@quanstro.net wrote:
 gcc happily compiles a definition like
 #define CT_v249       ((void*)startLabel+464)


 no it doesn't.

 $ cat  x.c
 char    *startlab;
 long long offset = (void*)startlab+464;
 [...]
 $ gcc -Wall x.c
 x.c:2: error: initializer element is not constant
 [...]

I may not have posted the appropriate section of the code but, the app
that I am porting have a bunch of those and I always get for all the
section that calls those defines
AsciiTab.hc.c:140[stdin:1124] pointer addition not fully declared: VOID



After googling I found this in wikipedia
Pointer arithmetic cannot be performed on void pointers because the
void type has no size, and thus the pointed address can not be added
to, although gcc and other compilers will perform byte arithmetic on
void* as a non-standard extension. For working 'directly' with bytes
they usually cast pointers to BYTE*, or unsigned char* if BYTE isn't
defined in the standard library used.

So I assumed that was the problem



-- 
http://www.fernski.com



Re: [9fans] porting help please (gcc void pointer handling)

2009-09-09 Thread Fernan Bolando
On Thu, Sep 10, 2009 at 12:08 AM, Charles Forsythfors...@terzarima.net wrote:
 you might consider using a sed script to change the CT_.* style #defines,
 and run the sed script from the mkfile/makefile, so although the
 porting is (in your sense) `destructive' it's done by changing the
 original source file automatically. you could sed (say) from a .h.orig to a .h
 using a single rule.


I am trying to port nhc98 the bytecode haskell compiler.
I am hoping to avoid changing those definition because I think those
are generated by the
haskell compiler and then fed to the C compiler. So there are a whole
bunch of them.

If I change those and assuming everything works. Every time I use the
haskell compiler it will
generate the same style of codes and the same set of compile issue in
C compiler phase.

so I guess some sort of wrapper script for the pcc is easiest option.

thanks.

-- 
http://www.fernski.com



[9fans] porting help please

2009-09-08 Thread Fernan Bolando
Hi all

I know it's cheating, but can anybody help me fix an initializer is
not constant error from pcc

error: initializer is not a constant: F0_Prelude_46primLeave

--h file ---
#define VAP_TAG  1

#define WORDSHIFT  5

#define WORDSIZE   (1WORDSHIFT)
#define WORDMASK   (WORDSIZE-1)
#define NS (WORDSIZE3)
#define ZAP_BIT(1L(WORDSIZE-1))



-- c file 
unsigned F0_Prelude_46primLeave[] = {
  CAPTAG(FN_Prelude_46primLeave,1)
#ifdef PROFILE
, useLabel(PROF_primLeave)
, 0
, 0
, 0
#endif


-- 
http://www.fernski.com



Re: [9fans] lisp again.

2009-09-07 Thread Fernan Bolando
On Mon, Sep 7, 2009 at 8:54 PM, John Florenslawmas...@gmail.com wrote:
 On Mon, Sep 7, 2009 at 8:47 AM, LiteStar numnumslites...@gmail.com wrote:
 Well, lisp != common lisp aside, I wouldn't mind a native CL system. I
 haven't looked at the SBCL backend in quite sometime, but, assuming it's not
 terribly insane, that would be a decent route. Most CL work that isn't
 specific to one of the proprietary systems (Allegro, LispWorks, c.) is
 written with SBCL or, to a lesser extent, CCL. If anyone's interested in
 working on a CL port to plan9, I'll start a lisp cabal, that can work on
 other systems next.

 I'll look today...
 [previous message and grotesque signature snipped]

 One challenge with SBCL and some other implementations is that you
 need a Common Lisp system already in place to compile them. I looked
 into Clisp, which can be compiled with a C compiler, but after
 fighting configure for a while I quit.


Last time I looked into this, I was comparing different version of a
common lisp systems to see which one might be easy enough to port
during the weekend. I remember I dropped to at least 3
1. gcl-1.0
2. ecl-8.12
3. clisp -- I guess I can remove this from my list

fernan


-- 
http://www.fernski.com



[9fans] porting bison y files to ape

2009-08-27 Thread Fernan Bolando
Anybody have notes in porting bison based .y?

fgb's links browser port seems to simply discard bison generated code.

thanks
fernan

-- 
http://www.fernski.com



Re: [9fans] unvac troubles...

2009-08-21 Thread Fernan Bolando
On Fri, Aug 21, 2009 at 2:15 PM, Venkatesh Srinivasm...@acm.jhu.edu wrote:
 Hi,

 I'm using unvac to try to extract some vac archives I made in the fall
 of 2008. I'm running into a pair of problems.

 First, unvac is outputting directories with the write bit off. This
 causes it to fail pretty early, as it can't write files to the
 newly-extracted directories. Is this expected? Is there a way to avoid
 this problem?
This happens to me too. I usually just delete the old directory and
extract again.

fernan



-- 
http://www.fernski.com



Re: [9fans] Dell E4300?

2009-08-18 Thread Fernan Bolando
On Mon, Aug 17, 2009 at 11:18 AM, erik quanstromquans...@quanstro.net wrote:
 boot: can't connect to file server: '#S/sdD0' file does not exist
 panic: boot process died: unknown
 panic: boot process died: unknown
 dumpstack disabled
 cpo0: exiting

 fixed.  you should now be able to boot from the cd regardless
 of which port you've plugged it into sdE5 should be fine.

 I recall reading that the CD is otherwise identical to the stock
 version.  So, if I recompile the kernel, it'll break, right?  What
 utterances do I need to enter in order to rebuild the kernel as it
 appears on the 9atom cd?

 so, while i recommend that the contrib packages be used instead,
 after some thought and a few hrs of quality time removing half-finished
 bits, i packaged up the source used to build the 9atom kernels.
        ftp://ftp.quanstro.net/other/kernel.mkfs.bz2
 to extract to the current directory
        bunzip2  kernel.mkfs.bz2 | disk/mext -d .
 if anyone objects to this being out there, i'll just remove it.

 off the top of my head, this kernel has the following little
 bits in addition to tje contrib packages:
 - jumbo frames, used with aoe (#l0/ether0/mtu),
 - /dev/cputemp on modern amd and intel processors,
 - kbd led control, repluggable ps/2 mice, cec console server,
 - console on non-onboard serial lines, turning serial console on/off,
 - pat,
 - /dev/nomp (mp irqs off), and /dev/mpirq (irqs turned on),

 the kernel you build will *still* be a little different than mine
 because of some changes to libauthsrv i made.  these differences
 are in the patch readnvram that allow nvram to be on any sd
 device.  this is particularly useful for ahci laptops that may have
 sdE2 (cdrom) and sdE3 (hd).  while they could have been added
 to the big array in libauthsrv.c/nvram, i found it hard to manage.

Does this include the cd writer bug fixed that we had recently?
Will i break my installation if I do replica/pull?

I dont know how much work it would be, I have always felt the openbsd
way of releasing snapshot seems very effective and replica + contrib
will make the whole process even more effective.


-- 
http://www.fernski.com



Re: [9fans] Dell E4300?

2009-08-18 Thread Fernan Bolando
On Wed, Aug 19, 2009 at 11:13 AM, erik quanstromquans...@quanstro.net wrote:
 Does this include the cd writer bug fixed that we had recently?

 i'm not sure what you're referring to.  it includes all
 the fixes that have been made.

I was referring to this thread
http://9fans.net/archive/2009/08/330


 Will i break my installation if I do replica/pull?

 it should not.  local changes are supposed to be
 preserved.  i have not tried a pull myself.

The only reason I want to do a pull is to have fix for the bug above.
If it is already in there
then I need to pull

thanks again
fernan



-- 
http://www.fernski.com



[9fans] securing venti and fileservers was: (vac errors after updating to latest p9p archive)

2009-08-17 Thread Fernan Bolando
Hi all

We have discussed the common setup used by 9fans. Can somebody post
there method of securing venti stores.

regards
fernan

-- 
http://www.fernski.com



[9fans] vac errors after updating to latest p9p archive

2009-08-16 Thread Fernan Bolando
Hi all

Anybody seen this error before
create bsize 8192 psize 8180
vacfsopen 271cb9c9fdc75030ff368bc938ee419e1dbb4bb2
openscore 8192 psize 8160 dsize 8192
vtcachebumpblock: no free blocks in vtCacheAbort trap

I just updated to august 16 version. I am running vac through crontab
under openbsd

regards
fernan

-- 
http://www.fernski.com



Re: [9fans] vac errors after updating to latest p9p archive

2009-08-16 Thread Fernan Bolando
On Mon, Aug 17, 2009 at 12:10 AM, Fernan Bolandofernanbola...@mailc.net wrote:
 Hi all

 Anybody seen this error before
 create bsize 8192 psize 8180
 vacfsopen 271cb9c9fdc75030ff368bc938ee419e1dbb4bb2
 openscore 8192 psize 8160 dsize 8192
 vtcachebumpblock: no free blocks in vtCacheAbort trap

 I just updated to august 16 version. I am running vac through crontab
 under openbsd

 regards
 fernan

oops
seeing that I posted this blindly anybody can now gain access to my files.


-- 
http://www.fernski.com



[9fans] disk dma on before init /bin/rc

2009-08-13 Thread Fernan Bolando
Hi all

The subject says it all.
Is it possible to turn on dma before calling the init scripts?
or in fossil+venti installation turn on dma before loading venti

fernan

-- 
http://www.fernski.com



Re: [9fans] oh, no! (again)

2009-08-13 Thread Fernan Bolando
On Wed, Aug 12, 2009 at 1:57 AM, erik quanstromquans...@quanstro.net wrote:


 a further note, if you rebuild your kernel, it won't work.
 installing the following contrib packages is required
        quanstro/fis            (build and parse sata fises)
        quanstro/sd             (new sd stuff)
        quanstro/nvram          (so you can find nvram)
        quanstro/9load-e820     (to rebuild 9load)

I am suppose to replace /sys/src/boot/pc with /sys/src/boot/pc-e820???

 for most atom-based machines with 8169s you will need
 this as well.

        quanstro/8169

 comment out the edev-maxtu line.  that's for jumbo frames
 support for aoe.  you could apply the changes to the dist
 driver as well, but unfortunately the distributed driver does
 not handle unexpectly large packet reception.  (crash)

There is no edev-maxtu in /sys/src/9/pc ether8169.c
there is edev-maxmtu Mtu same thing???

 also you may wish to enable support for the new sd stuff.
        quanstro/atazz          (send raw ata commands)
        quanstro/smart          (smart monitor)

 there are a few things in the kernel i've built that don't fit
 in dist packages very well.
        PAT
        jumbo ethernet frames
        kernel cec server               (console-over-ethernet)
        /dev/cputemp
        /dev/nomp               (mptables when not enabled)


 not sure what to do here.


-- 
http://www.fernski.com



[9fans] the atom versus glenda who won??

2009-08-13 Thread Fernan Bolando
since it seems customary to send out a shout everytime Eriks new sd
stuff works here is mine

I am now running plan9 on my atom based motherboard. It is configured
as a cpu/auth server with fossil+vent filesystem

The band-aid works!!! thanks Erik


-- 
http://www.fernski.com



Re: [9fans] 2nd draft of the Cpu/Auth Server howto online

2009-08-13 Thread Fernan Bolando
On Thu, Aug 13, 2009 at 7:02 PM, Coreyco...@bitworthy.net wrote:

 http://www.p9dp.org/plan9-cpu-auth-server-howto.html

 This is likely to be the final draft; it has been optimized in various ways 
 and
 I have thoroughly tested it multiple times.

 Sure would be terrific if a few folks of varying degrees of experience with
 Plan 9 could actually take the document for a real spin and confirm that
 it works as advertised.

 For those who are willing to test it - and who can set up a cpu/auth server
 with their eyes closed - please realize it is important that you go through
 the steps verbatim in order to provide a reliable assessment (of course,
 this should be obvious).

Hi Corey

I recently used your guide to setup a cpu server. I have to say that
it was a lot clearer than the wiki version. I did remember needing to
uncomment the lines below in cpurc based on my old install.

# if(! test -e /rc/bin/service.auth/il566){
#   mv /rc/bin/service.auth/authsrv.il566 /rc/bin/service.auth/il566
#   mv /rc/bin/service.auth/authsrv.tcp567 /rc/bin/service.auth/tcp567
#   mv /rc/bin/service/il566 /rc/bin/service/!il566
#   mv /rc/bin/service/tcp567 /rc/bin/service/!tcp567
# }

I am not sure your guide needs to be updated to do that instead of just

step 5.
term% mv /rc/bin/service.auth/authsrv.tcp567 /rc/bin/service.auth/tcp567

I am not sure of the advantage of doing it either way.

thanks
fernan

-- 
http://www.fernski.com



Re: [9fans] oh, no! (again)

2009-08-12 Thread Fernan Bolando
On Wed, Aug 12, 2009 at 5:17 AM, erik quanstromquans...@quanstro.net wrote:

 last 2 lines says
 Boot devices: fd0 ether0
 boot from:


 I will investigate further.


 judging from past email, i'm guessing that your ide device
 is 27c4, which was missing from 9load.  i put up a corrected cd.
 if you can ftpfs from your mostly-installed machine and
 get just 9load.bz2, it's in the same directory.

 ; i=9atom.iso.bz2 sha1sum $i  ls -l $i
 cb7bdb9bcaebaf5e54d5a76c672dba52f90eb55a        9atom.iso.bz2
 --rw-r--r-- M 176 quanstro quanstro 88211681 Aug 11 17:13 9atom.iso.bz2

thanks erik!!!  I can now boot. I am now at the
init starting /bin/rc stage it seems to stall there. I think its
just the ip/ipconfig issue should be easy to fix.

just a note.  i am getting
ide: caught missed irq   several times shoul i be concerned?

fernan




-- 
http://www.fernski.com



Re: [9fans] oh, no! (again)

2009-08-12 Thread Fernan Bolando
On Wed, Aug 12, 2009 at 8:40 PM, erik quanstromquans...@quanstro.net wrote:
  judging from past email, i'm guessing that your ide device
  is 27c4, which was missing from 9load.  i put up a corrected cd.
  if you can ftpfs from your mostly-installed machine and
  get just 9load.bz2, it's in the same directory.
 
  ; i=9atom.iso.bz2 sha1sum $i  ls -l $i
  cb7bdb9bcaebaf5e54d5a76c672dba52f90eb55a        9atom.iso.bz2
  --rw-r--r-- M 176 quanstro quanstro 88211681 Aug 11 17:13 9atom.iso.bz2
 
 thanks erik!!!  I can now boot. I am now at the
 init starting /bin/rc     stage it seems to stall there. I think its
 just the ip/ipconfig issue should be easy to fix.

 just a note.  i am getting
 ide: caught missed irq   several times shoul i be concerned?

 what's going on:
 i replaced the sleep in sdata.c with a loop that checks for i/o
 completion every second.  i/o should never be outstanding for
 1 second, so this will never fire unless your disk is very sick,
 or you're missing interrupts.  after 10 missed irqs, it has mercy
 on you and checks every 50ms.  this will seem very slow.


Its very very slow hehehe

 the pureists are probablly going to choke at this trick.
 i don't blame them.  but on the other hand, i want to give
 folks a chance to recover their systems if ide acts up.

 this is something to be concerned about.

 once you boot up, there are a number of things to try.
 /dev/irqalloc for your kernel should have an extra final
 entry that counts the number of interrupts on each vector.
 i would expect that number would be 0, given your symptoms.

term% cat /dev/irqalloc
3 0 debugpt [0]
7 0 mathemu [0]
8 0 doublefault [0]
9 0 mathover [0]
14 0 fault386 [0]
15 0 unexpected [0]
16 0 matherror [0]
32 0 clock [8298344]
33 1 kbd [103]
38 6 floppy [0]
39 7 lpt [29]
42 10 usbehci [0]
42 10 usbuhci [0]
43 11 sdE (ata) [16869]
43 11 usbuhci [16863]
43 11 usbuhci [16863]
43 11 ether0 [16863]
44 12 kbdaux [2400]
46 14 sdC (ata) [23]




 here are a few things you can look at
 - is your southbridge recognized?

not sure how to check this...

 - you might want to try turning dma on, on the wild
 theory that it worked well enough during installation.

updated /rc/bin/cpurc.local to include dmamode=ask
rebooting now.

 - you might want to try turning mp interrupts on.
 unfortunately, i forgot to add the nomp device which
 allow one to inspect the mp interrupts before trying
 them.
plan9.ini already shows *nomp=1
so I guess it's a default.

 failing any of those things, send me your pci output.
 this setup should work.
dont have lspci will install after trying the dmamode.

thanks for the patience.



-- 
http://www.fernski.com



Re: [9fans] oh, no! (again)

2009-08-11 Thread Fernan Bolando
On Wed, Aug 12, 2009 at 3:25 AM, erik quanstromquans...@quanstro.net wrote:

 When I download this ISO, it gets to what appears to be the last byte then
 aborts.

 i tried this and it works for me.  in the interest of time, and
 not further overloading my dsl line, i downloaded over the
 local interface, and not going out through the intertubes.
 if you were downloading when i swapped files out
 (Tue Aug 11 16:34:05 GMT 2009  (12:34:05 EDT))
 you may have gotten bitten by that.  i have

 md5sum  c6952bc573d9800f7d63d5a017918094        9atom.iso.bz2
 sha1sum 8ae0dc5657a3810845a83c6e94db35ba7ca6e48b        9atom.iso.bz2
 ; ls -l 9atom.iso.bz2
 --rw-r--r-- M 129 quanstro quanstro 88214974 Aug 11 11:15 9atom.iso.bz2

 let me know if this problem persists.

the new iso got me a bit further, however after boot it did not see my
sdE0 bootable device

last 2 lines says
Boot devices: fd0 ether0
boot from:


I will investigate further.


-- 
http://www.fernski.com



Re: [9fans] SATA inst: some progress

2009-08-10 Thread Fernan Bolando
On Mon, Aug 10, 2009 at 8:20 PM, c...@gli.cas.cz wrote:

 Hi,
 while installing from erik quanstrom's 9atom.iso CD, everything went just 
 right up to:

 mountfs [/dev/sdE0/fossil]
 preparing menu ... fossil 833: suicide: sys: fp: stack overflow fppc=0x23304 
 status=0x82c1 pc=0x23308

 'black' message is:

 matherror
 note: sys: fp: stack overflow fppc=0x23304 status=082c1
 notify
 cpu0: registers for fossiul 836
 FLAGS=10046 TRAP=E ECODE=0 PC=F010391E SS=722C USP=F2B745EC AX  BX 
 0001 CX F0018178
 DX F01CAF94 SI 0003E5A4 DI DFFFEBA8 BP 0008 CS0010DS 0008 ES 0008 FS 
 0001B GS 001B CR0 80010039 CR2 0004 CR3 121ac000 CR4 00d0 MCA 
 c001c400 MCT  ur 0xf2b7459c up 0xf0351180
 panic: fault: 0x4
 panic: fault: 0x4
 dumpstack disbled
 cpu0: exiting

 Any hint appreciated, best regards,
 ++pac.




It looks like you got past the fmtfossil stage. This might be just the
awk issue that was discussed last week.

try getting your install on the network and bind
/n/sources/contrib/quanstro/awk /bin/awk

fernan

-- 
http://www.fernski.com



Re: [9fans] Intel atom motherboard - success at last

2009-08-07 Thread Fernan Bolando
On Fri, Aug 7, 2009 at 11:49 AM, erik quanstromquans...@quanstro.net wrote:
 On Thu Aug  6 19:36:22 EDT 2009, quans...@quanstro.net wrote:
  I went through all the default during the install and during fmtfossil
  I got a few
 
  matherror something and it crashed. I t wen too fast for me to take 
  notes.

 this is due to the awk problem reported this week.  i'll roll up
 another cd this evening.

 with ide turned off, you probablly just haven't gotten to the
 part where awk dies.

 if you can get your machine on the network, you can
 use /n/sources/contrib/quanstro/awk
        bind /n/sources/contrib/quanstro/awk /bin/awk

 i still have to figure out why i can't build a cd after binding
 awk into a 9660srv fs.  well the cd gets built, it's just 20mb
 too small.

I did this
1 . boot the cd.
2. selected all install and all the defaults
3. after bootup...I delete all the install window
4. open new window
5. ip/ipconfig
6. ndb/cs
7. ndb/dns -r
8. srv -n sources.cs.bell-labs.com sources
9. mount -n /srv/sources /n/sources
10. bind /n/sources/quanstro/awk /bin/awk
11. typed inst/mainloop
12. selected fmtfossil.
it still crashes with a Faulted awk
Did I miss a step??

thanks for the help
fernan

-- 
http://www.fernski.com



Re: [9fans] Intel atom motherboard - success at last

2009-08-06 Thread Fernan Bolando
On Wed, Aug 5, 2009 at 2:43 AM, Steve Simonst...@quintile.net wrote:
 I have had loads of problems trying to build a new machine,
 Erik has helpd way beyond the call of duty, and finally I
 have a working machine.

 The problems where:
        realteck rtl8169 GigE - erik's driver works a treat
        An intermitant PSU - RMA'ed to supplier
        SATA - Eriks new sd driver works nicely
        A PATA DVDRW which devata ignores.

 So, all sorted but now I need an IDE (parallel) DVDRW
 drive which does work. I was going to just buy a Plexstor
 drive as being the reliable name but they seem to be silly money.

 anyone any suggestions?


Hi Steve

Its almost the weekend here and I finally had time to try Eriks iso on
my atom motherboard.
What configuration did you use?

I currently have the follwing
memory 2Gig
sata harddisk 320Gig
ide dvdrw liteon

I went through all the default during the install and during fmtfossil
I got a few

matherror something and it crashed. I t wen too fast for me to take notes.

I tried again and check the defaults that the installer was setting
and decided to diable DMA.
It didn't crash after that, however after letting it sit for 11 Hours
it is still in fmtfossil stage.
I can still the disk activity light so I guess it's still doing fmtfossil.

During the install it gave me the follwing disk prep.
30Gig fossil
24Gig isect
240Gig arenas

I will try send out some more details later.

thanks.
fernan





-- 
http://www.fernski.com



Re: [9fans] Does as little software as possible include a modern

2009-07-23 Thread Fernan Bolando
On Thu, Jul 23, 2009 at 6:16 PM, Richard Miller9f...@hamnavoe.com wrote:
 although it uses http, twitter has got an api that you can use outside
 a browser. it's much the same with several others, including aws.
 there are reasonably clear descriptions of the messages, and you can 
 construct
 and send them however you like, in which ever language you like.

 The 'stock' command (undocumented?) is a good example of this.
 (It's a 14-line shell script):

 term% stock goog
 GOOG,Google Inc.,427.69,7/22/2009,0.00,0

 I have a similar little script to do currency conversions:

 term% currency usd eur
  1 US Dollar (USD) = 0.70403 Euro (EUR)
 term% currency -d 10/30/2000 usd eur
  1 US Dollar (USD) = 1.19046 Euro (EUR)

 which is just a bit of syntactic sugar wrapped around this:

 hget 
 'http://www.oanda.com/convert/classic?user=printableexch='$xout'expr='$xin'value=1date_fmt=usdate='$date
  | grep '^[   ]*1 '




now if somebody can create a script to lookup words in dictionary.com
preformatted without ads. :)

-- 
http://www.fernski.com



Re: [9fans] Does as little software as possible include a modern

2009-07-23 Thread Fernan Bolando
On Fri, Jul 24, 2009 at 8:08 AM, andrey
mirtchovskimirtchov...@gmail.com wrote:
 like most things, it's been done by some9fan somewhere somewhen.
 here's a simple transliterating eng-bg:bg-eng dictionary that queries
 a remote site:

 http://mirtchovski.com/p9/sadict/sadict

 i don't think it was ever submitted to slashdot because it's just so
 simple. on the other hand i'm contemplating submitting this XML data
 file that consistently makes my machine unresponsive and takes a few
 hours to process. now that's serious computer science right there!



I once tried to create a simple script to use dict if the word is in
there if not it will pick it up from dictionary.com and add them to
dicts' database, but I lost interest right after starting it.

-- 
http://www.fernski.com



Re: [9fans] Guide to using Acme effectively? too many spaces

2009-07-14 Thread Fernan Bolando
On Tue, Jul 14, 2009 at 10:38 AM, erik quanstromquans...@quanstro.net wrote:
 I usually get in a situation like the one below, when I forget to
 format my file with carriage return in acme. It doesn't happen that
 often, but I was wondering if anybody has some method in there usage
 of acme to avoid it completely.

 it's tempting to claim the solution is to not use vi.

 do you really mean that you wish \r\n (cr nl) but
 only have \n?  or do you mean something else?
 which version of acme are you using?

 - erik


Please ignore this email. I got confused with the word wrapping.

I apologize for the noise.

fernan

-- 
http://www.fernski.com



Re: [9fans] Guide to using Acme effectively? too many spaces

2009-07-13 Thread Fernan Bolando
I usually get in a situation like the one below, when I forget to
format my file with carriage return in acme. It doesn't happen that
often, but I was wondering if anybody has some method in there usage
of acme to avoid it completely.

--- In acme it will look like --
1 - this is the firstline
2 - this is the second line

--- if I use vi --
1 - this is the firstline
 2 this is the second line



fernan
-- 
http://www.fernski.com



[9fans] when to use vac -q -d old.vac instead of simply vac -d old.vac

2009-06-28 Thread Fernan Bolando
Hi

The p9p vac discussion made me re-think the way I use vac.

man vac
-qIncrease the performance of the -a or -d options by detecting
unchanged files based on a
match of the files name and other meta data, rather than
examining the contents of the files

Why is -q not a default? Is there a reliability concern with that option?

I am currently doing an hourly backup using

vac -d old_date-time.vac -f new_date-time.vac /home
which gives me a collection files with a date-time.vac filename.

I am thinking I should just use vac -a main.vac /home
to switch to this method I only need to rename latest date-time.vac to main.vac
and delete the other ones, right?


fernan

-- 
http://www.fernski.com



Re: [9fans] p9p vac issue

2009-06-22 Thread Fernan Bolando
On Mon, Jun 22, 2009 at 8:08 PM, Mathieu L.lejat...@gmail.com wrote:
 if you can't get an old one from swtch.com, I can tar this mid-february
 tree I have - or rather only the necessary parts - and serve it to you
 if you want.

 Mathieu


 -- Forwarded message --
 From: Adrian Tritschler a...@ajft.org
 To: Fans of the OS Plan 9 from Bell Labs 9fans@9fans.net
 Date: Mon, 22 Jun 2009 21:33:22 +1000
 Subject: Re: [9fans] p9p vac issue
 2009/6/22 Mathieu L. lejat...@gmail.com

 Indeed, this works for me as well.



 I've just migrated the arenas, bloom and isect to another machine with
 a p9p tree from mid February and I had no problem unvacing my data
 there. And for what it's worth, checkindex on that machine didn't report
 any problem while it did on the machine with the recent p9p install
 (which gives me the same vac/unvac issues as the ones already reported
 by a few people).

 OK, so all I need now is to get my hands on an old copy of the p9p 
 binaries... the only old ones I've got are carefully backed up inside the 
 venti that I can't get at :)


 So the data seems to be ok, which is already quite a relief.


Did you guys get this message when building the june 22 p9p?
vac.c:509: warning: sizeof(pointer) possibly incorrect in argument 3

regards
fernan
-- 
http://www.fernski.com



Re: [9fans] p9p vac issue

2009-06-22 Thread Fernan Bolando
On Mon, Jun 22, 2009 at 10:40 PM, Fernan Bolandofernanbola...@mailc.net wrote:
 On Mon, Jun 22, 2009 at 8:08 PM, Mathieu L.lejat...@gmail.com wrote:
 if you can't get an old one from swtch.com, I can tar this mid-february
 tree I have - or rather only the necessary parts - and serve it to you
 if you want.

 Mathieu


 -- Forwarded message --
 From: Adrian Tritschler a...@ajft.org
 To: Fans of the OS Plan 9 from Bell Labs 9fans@9fans.net
 Date: Mon, 22 Jun 2009 21:33:22 +1000
 Subject: Re: [9fans] p9p vac issue
 2009/6/22 Mathieu L. lejat...@gmail.com

 Indeed, this works for me as well.



 I've just migrated the arenas, bloom and isect to another machine with
 a p9p tree from mid February and I had no problem unvacing my data
 there. And for what it's worth, checkindex on that machine didn't report
 any problem while it did on the machine with the recent p9p install
 (which gives me the same vac/unvac issues as the ones already reported
 by a few people).

 OK, so all I need now is to get my hands on an old copy of the p9p 
 binaries... the only old ones I've got are carefully backed up inside the 
 venti that I can't get at :)


 So the data seems to be ok, which is already quite a relief.


 Did you guys get this message when building the june 22 p9p?
 vac.c:509: warning: sizeof(pointer) possibly incorrect in argument 3


looks like it's related to the error above. you might want to downgrade to
http://swtch.com/plan9port/plan9port-20090609.tgz

fernan
-- 
http://www.fernski.com



[9fans] plan9 install intel atom d945gclf

2009-06-19 Thread Fernan Bolando
Hi all

I recently bought an intel atom motherboard

what does it mean if the install stops after pcirouting:

here is what the screen looks like
PBS1...
Plan 9 from Bell Labs
ELCR: 0E00
pcirouting: 8086/27D4 at pin 3 irq 9
pcirouting: 8086/27D6 at pin 4 irq 10

 then stops

Here is the current configuration that might be related
Memory 2Gig
Harddisk sata0 320Gig
cdrom secondary master

I remember a lot of people installing plan9 on this motherboard so I
know it should work.
I am not sure of what to google so decided to just ask.

fernan
-- 
http://www.fernski.com



Re: [9fans] plan9 for calculations

2009-03-27 Thread Fernan Bolando
On Sat, Mar 28, 2009 at 5:31 AM, Rudolf Sykora rudolf.syk...@gmail.com wrote:
 Hello everybody,

 I noticed there are some thoughts about using plan9 on supercomputers.
 For me supercomputers are usually used to do some heavy calculations.
 And this leads me to a question. What software is then used for
 programming these calculations? (I mean e.g. linear algebra, i.e.
 matrix, calculations.) Where can one read about that?

 More, it also leads me to a (perhaps) simpler question. What is the
 situations with ordinary machines?

 Untill now I have used several libraries in linux, all of them somehow
 based on lapack. I used C language (c-lapack), python (numpy), and now
 I do some programming in Fortran (Intel MKL). From my experience I
 would say: writing programs in C is a nightmare (for me next to no-go
 again), using python with numpy is a breeze, using Fortran (95) is
 sort of fine. C and Fortran run faster than python, but the factor,
 when I played with it, surprised me to be sth. like 3x (expecting a
 worse result).

 Now I've been thinking, If I were to write sth. in plan9, what would
 be the way to try?
 Recently I heard about eigen2 library, which seems to be nice (high
 performance, few dependencies), but for C++...

 Thank you for any suggestion
 Ruda

 PS.: It could be that plan9, being more a os-research system than
 anything else, is simply no suitable for such a use (there are no
 plotting libraries, other utilities). Perhaps it's not a good idea at
 all to try to use plan9 like that because it would be more work than
 anything. Maybe using linux for such things with all its tools is just
 ok. If you share this idea, just say it too, please.



Its not supercomputer level, but I have a sparse matrix solver in my
contrib. I use it along with haskell as simple replacement for octave.
It is mostly a collection of scripts right I am hoping to consolidate
it later as a single package. I also cannot give you a alot of example
mainly because it will translate to an actual project I did for my day
job although those were done on mathcad

I did notice that for some plotting needs simply piping it plot
command is adequate instead of bloating my tools with plot routines.

fernan

-- 
http://www.fernski.com



[9fans] looking for opinions on Interprocess communication

2009-03-22 Thread Fernan Bolando
Hi all

I was wondering if you guys have an opinion on the following data
communication methods.
The data are mostly a bunch of binary where program1 is asking program2 to do
something with the data and send the results back to program1. The
data is currently very
small less than 1Kbyte, but I am not sure if it will grow later. I am
also not sure how much time
program2 needs to send a response.

method 1 - This simply uses plumber and it greatly simplifies both
program1 and program2
program1 -- file IO  - plumber - program2 - file IO - plumber - program1

method 2 - In this scheme program2 is a server, mounted on the file
system. The client
does not need to know 9p
program1 - file IO - server/progam2 - fileIO - program1

method 3 - program2 is still a server but, the client uses 9p to
communicate with program2
program1 - 9p - server/program2 - 9p - program1

I hope that made some sense to somebody.

regards
fernan
-- 
http://www.fernski.com



[9fans] [OT]: Differential Equations computer perfomance

2009-03-15 Thread Fernan Bolando
Hi all

http://www.longnow.org/views/essays/articles/ArtFeynman.php

This article mentions of Richard Feynman analyzing the performance of
the connection machine by formulating a set of partial differential
equations. I was wondering if anyone knows of a paper that describes
the method? I am hoping to use it as a head start for something I am
trying do.

regards
fernan

-- 
http://www.fernski.com



[9fans] plot cmd dotted dashed lines not implemented??

2009-02-24 Thread Fernan Bolando
Hi all

The following commands draws a green circle with solid lines instead
of dashed lines
o
ra -10 -10 10 10
e
co green
pe cdash
ci 0 0 10
cl

I browsed the source for plot and libplot, I cant grep any reference
to dotted or dashed
except in the man files. Is it not implemented or am I using the
commands incorrectly?

fernan

-- 
http://www.fernski.com



Re: [9fans] plot cmd dotted dashed lines not implemented??

2009-02-24 Thread Fernan Bolando
On Tue, Feb 24, 2009 at 11:13 PM, erik quanstrom quans...@quanstro.net wrote:
 I browsed the source for plot and libplot, I cant grep any reference
 to dotted or dashed
 except in the man files. Is it not implemented or am I using the
 commands incorrectly?

          pe string Use string as the style for drawing lines.  The
                    available pen styles are: solid, dott[ed], short,
                    long, dotd[ashed], cdash, ddash

 - erik


Sorry Erik I dont particuarly understand your reply
I am guessing that it's referring to pe working for  lines only.

but doing this will also produce a solid line instead of what I
thought it should produce a dashed line
o
ra -10 -10 10 10
e
co green
pe cdash
li 0 0 10 10
cl

the pe command seems to call pen.c in libplot

%
#include mplot.h
void pen(char *s){
/* BUG: NO OP */
USED(s);
/* was this error:  color(s); */
}

not sure where USED(s); is implemented.

regards
fernan

-- 
http://www.fernski.com



Re: [9fans] plot cmd dotted dashed lines not implemented??

2009-02-24 Thread Fernan Bolando
On Wed, Feb 25, 2009 at 8:12 AM, Pietro Gagliardi pietr...@mac.com wrote:
 Styles aren't in the libplot that plot uses as an engine. I can add them in
 the next few days if you want.


It's not that critical, but if you have free time then it will be
good. Especially since the manual already mentioned it.

fernan


-- 
http://www.fernski.com



Re: [9fans] plan9port openbsd 4.4

2009-01-29 Thread Fernan Bolando
Hi all

I just everybody to know that...As usual Russ was right.
The occasional burp happens when acme tries to fork a new thread.

now I am back to using drawterm+qemu on openbsd

fernan

On 1/27/09, Fernan Bolando fernanbola...@mailc.net wrote:
 On Mon, Jan 26, 2009 at 2:04 PM, Russ Cox r...@swtch.com wrote:
 The plan9port code depends on the operating system's pthreads
 being real kernel-level threads, not a fake user-level simulation.
 The user-level simulations are not good enough, because
 on the x86 they cut corners and use the stack pointer
 to locate the thread-local state.  The Plan 9 threaded
 programs manage their own stacks, making it impossible
 for the user-space simulations to find their thread-local state.

 Most Linux distributions switched to real threads (i.e., dropped
 LinuxThreads in favor of NPTL) around the time they switched
 to the 2.6 kernel.  FreeBSD switched in the FreeBSD 5 release.

 Last I had heard, OpenBSD was still plodding along with
 user-level threads.  Until they fix that, programs like acme
 will not run.

 Russ



 On 1/27/09, Iruata Souza iru.mu...@gmail.com wrote:
 can't remember on 4.4, but 4.3 did run acme fine.


 --
 iru



 Yes, actually acme runs fine, I just get an occasional burp.

 --
 http://www.fernski.com



-- 
http://www.fernski.com



[9fans] Opinion on the Nova Lite PX20 as cpu server

2009-01-29 Thread Fernan Bolando
Hi all

I am planning to a get a complete small footprint computer. I found
the Asus Nova Lite Px20

Is this going to be a challenging, guru level install? The ethernet
card seems to be an atheros L2 so it's probably not supported.

Operation System
GenuineWindows(R) XP Home,
CPU Intel Mobile CPU /FSB 400MHz /L2 Cache: 2MB
Graphics910GML Express
Memory  1 G, DDR 400
Hard Drive  SATA 120 G
Optical Drive   Slim Type Slot-in SuperMulti DVD-RW
Ethernet10/100 Mbps
Rear Port Connector USB 2.0 x4
RJ45 x1
DVI-I Out
Dimension (W x H x D)   242x184x51 (mm)

http://www.asus.com/products.aspx?l1=20l2=115l3=0l4=0model=2136modelmenu=1


fernan
-- 
http://www.fernski.com



  1   2   >