Re: [9fans] acme/Mail sorted by replies(threaded)

2014-02-11 Thread erik quanstrom
I just want to say it makes me feel better to see someone is trying to improve Mail. I've been using Mail for some time in parallel with the gmail web interface. (Basically, I prefer to write an email within acme [full text editor with undo etc.], but searching for a conversation is just

Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
ipconfig: ipaddr=192.168.1.25 ipmask=255.255.255.0 ipconfig: ipgw=192.168.1.1 ipconfig: dns=192.168.1.1 ipconfig: server=192.168.1.1 sname= term% cat /net/ndb ip=127.0.0.1 ipmask=/104 ipgw=:: sys=gnot sys=gnot dns=192.168.1.1 Does anyone know how I might go about solving the problem?

Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
nds/cs -f $NDBFILE ip/ipconfig ndb/dns -r TIMESYNCARGS=(-n pool.ntp.org) hmmm. most of this is already in the default termrc, including the cs, ipconfig (if you uncomment it) and dns. - erik

Re: [9fans] Help with networking on Virtual Box

2014-02-11 Thread erik quanstrom
Thanks for the responses. To answer your questions Erik, here is /net/iproute. Unfortunately I moved to a different wifi network so the addresses are different to my initial post 0.0.0.0 /96 192.168.0.1 4none - 192.168.0.0 /120 192.168.0.0 4i ifc1

Re: [9fans] 9Front network (driver?) issue

2014-02-10 Thread erik quanstrom
On Mon Feb 10 01:47:03 EST 2014, st...@quintile.net wrote: i have a norio around somewhere who he? i do. it's in /sys/src/cmd/aux/norio in 9atom. - erik

Re: [9fans] Installl fails on Dell Optiplex 745 / 3010

2014-02-08 Thread erik quanstrom
On Sat Feb 8 16:14:44 EST 2014, adriano.vera...@mail.com wrote: Hi all Both Bell and 9Atom distros install fail, in native mode, on Dell Optiplex models 745 (2008) and 3010 (2013). IMHO, the problem is the AHCI, which is not correcty recognised/managed in both native and SATA mode. 9atom

Re: [9fans] New internal command for acme proposal (with implementations)

2014-02-05 Thread erik quanstrom
I believe Acme should not be extended such way. There already were a lot of proposals of commands to add in Acme. If all of them were added we would have Acme with a size like LibreOffice and a tag on half of screen. the parent said: I can't implement cmd as external, so I did little

Re: [9fans] Inferno and the Parallella

2014-02-05 Thread erik quanstrom
Oh, its ok. I like the GSoC idea. I just don't think I'm GSoC material, I'm hardware type, even if I will be a uni student this year going forward - If it draws blood, its hardware as the old maxim goes. it's great to hear the enthusiam, but sadly, it seems over ambitious. to work with this

Re: [9fans] Inferno and the Parallella

2014-02-05 Thread erik quanstrom
On Wed Feb 5 09:41:04 EST 2014, edgecombe...@gmail.com wrote: You mention the word heterogeneous but I think it should take this tack: For what I'd like to do, I would require GNU Radio running on the host (ie, ARM) CPU. GNU Radio isn't going to run under Plan 9 on an ARM target, as much

Re: [9fans] Inferno and the Parallella

2014-02-05 Thread erik quanstrom
On Wed Feb 5 11:00:42 EST 2014, sstall...@gmail.com wrote: On Wed, Feb 5, 2014 at 9:40 AM, Anthony Sorace a...@9srv.net wrote: Any proposal for a hardware-based GSoC project will need to answer this question (I have 4 and will ship them at my cost..., you can reliably buy these at Radio

Re: [9fans] New internal command for acme proposal (with implementations)

2014-02-05 Thread erik quanstrom
On Feb 5, 2014, at 3:36 AM, erik quanstrom quans...@quanstro.net wrote: once one thinks about major modifications, i think it becomes attractive to think about a new editor. i miss having graphics. If you mean mixed text and image, you will end up with some sort of structured markup

[9fans] issues with plan9port issues

2014-02-04 Thread erik quanstrom
it looks like the issues are just a place for spam: http://code.swtch.com/plan9port/issues?status=newstatus=open does anyone have any suggestions on reducing or eliminating the spam? - erik

Re: [9fans] issues with plan9port issues

2014-02-04 Thread erik quanstrom
On Tue Feb 4 12:15:21 EST 2014, k...@sciops.net wrote: Quoting erik quanstrom quans...@quanstro.net: it looks like the issues are just a place for spam: http://code.swtch.com/plan9port/issues?status=newstatus=open does anyone have any suggestions on reducing or eliminating the spam

[9fans] new 9atom headquarters ...

2014-02-04 Thread erik quanstrom
http://www.qv.co.nz/property/property-details/9-atom-lane-woolston-christchurch/2367451 - erik

[9fans] ipclose's qlock unprotected

2014-01-29 Thread erik quanstrom
i'm looking at an odd case of tcp being connected locally, but the local origin port is not open according to /proc/*/fd, but the connection is Established on both ends. the listening port is open with a reader. assuming there was once a valid connection, the only way to have nobody connected is

Re: [9fans] GSoC '14

2014-01-26 Thread erik quanstrom
·A device driver for Plan 9 for an unsupported device ·A GUI builder for the Plan 9 control graphics library ·Porting of the Tcl tool-kit Tk and the Tk GUI builder Xf ·VRML support for the Httpd ·Writing of an editor similar to Vi for Plan 9

Re: [9fans] networking, qemu, and telnet

2014-01-25 Thread erik quanstrom
On Fri Jan 24 21:22:07 EST 2014, p...@fb.com wrote: Hi, I'm able to ping from plan9 the host (the macos machine running qemu). After % ip/ipconfig % ndb/dns -r I have something in /net/ndb and running ndb/dnsquery and entering address like www.google.com works. ip/ipconfig 10.0.2.2

Re: [9fans] GSoC '14

2014-01-25 Thread erik quanstrom
On Sat Jan 25 23:05:56 EST 2014, edgecombe...@gmail.com wrote: It did something, I recall. It was on the list much time after the GSoC had finished, mostly working I believe. Looked good! the draw device in js was completed. the student continues to make good and steady progress and is

Re: [9fans] upas/smtp and gmail

2014-01-23 Thread erik quanstrom
The farthest I have gotten is getting smtp to issue 220 Ready to Start TLS, and then it exits, that's running smtp with the -d flag. /sys/log/smtp reveals a bunch of bad thumbprint x509 lines. I have tried adding the sha1 hash to /sys/lib/tls/mail, but this has had no effect. you might try,

Re: [9fans] about KTZERO mismatch in mkfile and mem.h

2014-01-20 Thread erik quanstrom
On Mon Jan 20 20:21:28 EST 2014, p...@fb.com wrote: Hi, in 9/pc/mem.h it says: /* * Address spaces */ #define KZERO 0xF000 /* base of kernel address space */ #define KTZERO (KZERO+0x10)/* first address in kernel text -

Re: [9fans] MOVLQSX wrong operand order

2014-01-17 Thread erik quanstrom
On Fri Jan 17 15:09:33 EST 2014, cinap_len...@felloff.net wrote: just disassembled some code generated by 6c and found something funny. the debugger seems to print the operands of MOVLQSX in the wrong order. there may be more of these. maybe if , were replaced with → - erik

[9fans] nix allocb stats

2014-01-16 Thread erik quanstrom
i thought this was interesting. this is from a small, 1 package system. it gives a feel for the basic performance of the quick list allocb under low load, which isn't too bad: this is just after boot, ivey# awk '$1==allocb {printf %s\t%d\n, $0, int($4/$3)}' /dev/swap #quicklist sz count

Re: [9fans] libmemlayer bug

2014-01-15 Thread erik quanstrom
i don't see anything obvious in this image. do you? note: i'm using a derivative of russ' p9p memdraw which corrected a number of things noted mostly by andre a few years ago. - erikattachment: w.png

Re: [9fans] Acme, dump, and $HOME

2014-01-13 Thread erik quanstrom
The idea is that the dump file is a snapshot of a particular state, and it made sense to me to update the given state, instead of putting it back in the default file despite being given an explicit state. That seemed to me a bit contrary. agree. - erik

Re: [9fans] Acme, dump, and $HOME

2014-01-13 Thread erik quanstrom
The idea is that the dump file is a snapshot of a particular state, and it made sense to me to update the given state, instead of putting it back in the default file despite being given an explicit state. That seemed to me a bit contrary. also if a snapshot is wanted, then we have a tool

Re: [9fans] devdraw memory corruption

2014-01-13 Thread erik quanstrom
+++ /sys/src/9/port/devdraw.c Mon Jan 13 23:22:13 2014 UTC @@ -1187,10 +1187,11 @@ error(Enodrawimage); i = di-image; } - n = sprint(a, %11d %11d %11s %11d %11d %11d %11d %11d %11d %11d %11d %11d , +

Re: [9fans] Maximal number of processes

2014-01-10 Thread erik quanstrom
20,000 did not work because it ran out of kernel physical memory. That preallocation could be adjusted, but at some point the available kernel virtual address space will limit what it can allocate. at the cost of moving KZERO down 256MB on the pae kernel, ivey# ps|wc 15961

Re: [9fans] Maximal number of processes

2014-01-10 Thread erik quanstrom
launching 32000 processes was not possible. the kernel got stuck. sloppy statement. it's not clear if the kernel was really stuck or just hit something exponential. here's one thing that's not immediately obvious, even when running the kernel. conv.nmach must be less than

Re: [9fans] Maximal number of processes

2014-01-08 Thread erik quanstrom
I would like to know whether there is any hard (based on CPU architecture) limit of maximal number of processes in Plan9 on Intel or ARM. I do not think the soft limit like the lack of memory... ;) there is not. - erik

Re: [9fans] Maximal number of processes

2014-01-08 Thread erik quanstrom
In general, you will find that 2000 is the highest allowable due to limits imposed by proc.c. Other architectures can (and will) place additional restrictions. A non-FCSE ARM implementation could elect to only support 256 processes to avoid additional switching overhead for example. i had a

Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread erik quanstrom
Adjective Bird Whiskey :) prepositional bunny booze? fueled by rabbit rum? limping on lop liquor. (perhaps replace liquor with a handy l word.) - erik

Re: [9fans] Vanilla Plan 9 or one of the flavors?

2014-01-07 Thread erik quanstrom
On Jan 6, 2014, at 5:29 AM, erik quanstrom quans...@quanstro.net wrote: the output of pci | grep net should be enough. - erik term% pci | grep net 2.9.0: net 02.00.00 1282/9102 3 0:d801 256 1:feaffc00 256 term% Thanks, Erik. You've been very helpful and friendly

Re: [9fans] Alternative Plan 9 Logo

2014-01-07 Thread erik quanstrom
6 is just like an upside down 9. Even if I'm not an everyday user, 9 clock. now you can keep upside-down time. - erik clock.pdf Description: Adobe PDF document

Re: [9fans] Vanilla Plan 9 or one of the flavors?

2014-01-06 Thread erik quanstrom
Not to derail the discussion that this has now turned into, but it seems that the Ethernet card in the aforementioned server is too old, too esoteric, or simply hasn't had anyone around to bother writing a driver for it, and so wasn't recognized by the Bell Labs distribution or 9atom (both

Re: [9fans] chess?

2014-01-05 Thread erik quanstrom
Thanks, this is possibly a way, but, at least in my case, this takes ages... (Say it can run for 45 mins; maybe much more; I do not know the true reason why, but I intuitively suspect the protocol.) Therefore I asked for a more specific pointer. Also, generally, there should be a quicker

Re: [9fans] secstore in p9p, how to use well

2014-01-05 Thread erik quanstrom
On 19 December 2013 17:22, Rudolf Sykora rudolf.syk...@gmail.com wrote: Hello everyone, already for some time I've been using secstored+factotum+ssh-agent on linux with p9p. The machine, call it 1, runs basically all the time and let's presume I am logged on it all the time, too. The

Re: [9fans] ssh: non standard port

2014-01-04 Thread erik quanstrom
On Sat Jan 4 06:44:22 EST 2014, conor.willi...@gmail.com wrote: the ssh client uses port 22... I want to use port 1700... is there a flag? no. use a normal plan 9 network address, such as ssh!example.com!1000 i tested this with ssh2, but it should work with ssh1 as well, but i

Re: [9fans] ssh: non standard port

2014-01-04 Thread erik quanstrom
and what client erik? emi On Sat, Jan 4, 2014 at 11:49 AM, erik quanstrom quans...@quanstro.netwrote: On Sat Jan 4 06:44:22 EST 2014, conor.willi...@gmail.com wrote: the ssh client uses port 22... I want to use port 1700... is there a flag? no. use a normal plan 9

Re: [9fans] ssh: non standard port

2014-01-04 Thread erik quanstrom
On Sat Jan 4 09:33:22 EST 2014, conor.willi...@gmail.com wrote: ok Anthony... will try that... is it ssh2.tbz? (in contrib?) it's in /n/sources/sys/src/cmd/ssh2 the 386 binaries are in /n/sources/plan9/386/bin/^(sshsession sshtun ssh rsa2ssh2 ssh2key) - erik

Re: [9fans] Alternative Plan 9 Logo

2014-01-03 Thread erik quanstrom
It reminds me of the entrance to the Bell Labs Time Tunnel. so it does, mr. conductor. - erik

Re: [9fans] Alternative Plan 9 Logo

2014-01-03 Thread erik quanstrom
Should be Fractal-like to include infinity amount of 9! does anyone feel like debugging an infinite os? - erik

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 16:33:33 EST 2014, cinap_len...@felloff.net wrote: a process running as none can only access its own (calling) process. but noteid write allows it to change the noteid of its own process to a nother group (also running as none) which allows it to send notes to that group.

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
; cd /proc/$pid; pwd /proc/75189 ; cat noteid 76810 ; ; auth/none ; cd /proc/$pid; pwd /proc/75192 ; cat noteid cat: can't open noteid: 'noteid' permission denied never mind. different process. how did you find this, anyway? - erik

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 16:55:59 EST 2014, cinap_len...@felloff.net wrote: i was investigating all callers of postnote() for bugs that could lead to spurious notes like the alarm race i described before. btw this has been fixed too. the key is to recheck p-alarm while holding p-debug qlock. once you

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 17:32:08 EST 2014, quans...@quanstro.net wrote: On Thu Jan 2 16:55:59 EST 2014, cinap_len...@felloff.net wrote: i was investigating all callers of postnote() for bugs that could lead to spurious notes like the alarm race i described before. btw this has been fixed too. the

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 17:54:50 EST 2014, cinap_len...@felloff.net wrote: no. the debug qlock is so the process wont exit. once you hold it, the process might be running, might be in the process of exiting might have been already exited or might have been reused. the key here is that while you hold

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 18:02:33 EST 2014, cinap_len...@felloff.net wrote: exactly. but you cannot set it to non-zero value again. which is what we are interested in to prevent sending the note when the process has been reused. it's also important for alarm(0) to complete or not complete. without

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 18:18:54 EST 2014, cinap_len...@felloff.net wrote: that said, just holding alarms qlock while setting up-alarm = 0 is not enougth when you want to guarantee that no alarms will be delivered when the alarm(0) syscall returns. you would also need to remove a potentially posted

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
i think the list insertion code needs a single-read test that f-alarm != 0. to prevent the 0 from acting like a fencepost. e.g. trying to insert -10 into list -40 -30 0 -20. if(alarms.head) { l = alarms.head; for(f = *l; f; f = f-palarm) {

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 19:33:37 EST 2014, cinap_len...@felloff.net wrote: ah, yes. i ran some tests on this version, and it seems to work fine across tick timer wraparound. this was done by artificially setting sys-ticks negative on boot. also, there was some cheezy added code to the timer check loop

Re: [9fans] devproc noteid changing for none

2014-01-02 Thread erik quanstrom
On Thu Jan 2 20:24:29 EST 2014, cinap_len...@felloff.net wrote: good job. thanks you you! - erik

Re: [9fans] gpio device for Plan 9

2014-01-01 Thread erik quanstrom
On Tue Dec 31 12:47:30 EST 2013, krystian@gmail.com wrote: Thank you for the feedback, i think ctl file and numbering scheme selection could do the job. And maybe it could help to establish reasonable base for SPI and others. Is it safe to just generate new dev tree - to return either

Re: [9fans] 9front sleep interrupted in kproc?

2013-12-31 Thread erik quanstrom
On Tue Dec 31 08:19:04 EST 2013, cinap_len...@felloff.net wrote: its just a case of defensive programming paranoia. i did the change after sl reported wifi kproc exiting (went into Broken) state. there seemed no other explaination other than a note interrupting it so i made all the kprocs safe

[9fans] 6a curious alignment?

2013-12-31 Thread erik quanstrom
6a in MODE $64 is producing some alignment i did not expect. i would have expected the symbol to be aligned to 8 bytes. is this an incorrect assumption? 0110ee (402) TEXT_gdt32p1+0(SB),1,$-4 0110ee (404) QUAD$0, - erik

Re: [9fans] gpio device for Plan 9

2013-12-31 Thread erik quanstrom
On Tue Dec 31 12:47:30 EST 2013, krystian@gmail.com wrote: Thank you for the feedback, i think ctl file and numbering scheme selection could do the job. And maybe it could help to establish reasonable base for SPI and others. Is it safe to just generate new dev tree - to return either

Re: [9fans] gpio device for Plan 9

2013-12-31 Thread erik quanstrom
On Tue Dec 31 14:40:29 EST 2013, edgecombe...@gmail.com wrote: Erik, Just for the purposes of edification (and curiosity), are you able to elaborate on long reads? Its understandable such a scheme would be implemented in the network drivers, but how exactly does it work, as opposed to a

Re: [9fans] gpio device for Plan 9

2013-12-31 Thread erik quanstrom
Of things interrelated, I wish to sample a 10kHz square wave into a GPIO, which I am certain the RPi will do, see my earlier post with link to RPi forums. This will be a constant signal (an output of a GPSDO, with potentially a rubidium oscillator backup). So while the 10kHz is constant, the

Re: [9fans] gpio device for Plan 9

2013-12-31 Thread erik quanstrom
So, in effect, a 1PPS signal would be sufficient to clock second to second? I suppose it could be, there would be little drift in the oscillator per the second. As for NTP, this has been suggested to me, and I acknowledge its place, certainly. However, I do not wish to tie up network

Re: [9fans] split(1): -e vs. -n, -f

2013-12-30 Thread erik quanstrom
On Mon Dec 30 05:12:16 EST 2013, dexen.devr...@gmail.com wrote: hi list, both behavior and code indicate that split(1)'s `-e' (split by regular expression) doesn't play along with either `-n' (line count) or `-f' (output file prefix). the former is somewhat understandable, but the later

[9fans] 9front sleep interrupted in kproc?

2013-12-30 Thread erik quanstrom
not sure where to send this comment. i think this patch misunderstands the situation. the patch claims that some code is wrong because sleep in a kproc might get interrupted. http://code.google.com/p/plan9front/source/detail?r=3864ff1fe83f254622e6f10925f53df62255336d this diff

[9fans] long mode - 32-bit mode

2013-12-30 Thread erik quanstrom
has anyone got code for amd64 to go from long mode to 32 bit mode? in theory it's just a retfq, but evidently it's not quite that simple. ;-) - erik

Re: [9fans] Vanilla Plan 9 or one of the flavors?

2013-12-30 Thread erik quanstrom
On Mon Dec 30 21:03:24 EST 2013, alexander3223...@gmail.com wrote: Hi, After a number of months of lurking on this list, I've finally gotten a computer set up to be a dedicated Plan 9 installation (as part of a grid, of course). At this point, I need to choose between vanilla Plan 9 or one of

Re: [9fans] 9front sleep interrupted in kproc?

2013-12-30 Thread erik quanstrom
On Mon Dec 30 20:26:47 EST 2013, al...@pbrane.org wrote: Anthony Martin al...@pbrane.org once said: erik quanstrom quans...@quanstro.net once said: since kprocs don't get notes (it's an error to write to the note file), sleep in a kproc can't get interrupted. this code will never fire

[9fans] usb(4) cleanup

2013-12-29 Thread erik quanstrom
i stubled on some formatting issues in usb(4) this morning and noticed usb/ccid, which doesn't appear to be in the standard distribution. is this an oversite, or can it be safely removed. - erik

Re: [9fans] gpio device for Plan 9

2013-12-29 Thread erik quanstrom
Using slightly modified (unmodified in most cases) uartmini.c GPIO functions i implemented #G/gpio device: Structure is as follows: #G/gpio/ /bcm/ ... /board/ ... /wpi/ ... /OK - bcm uses board revision specific pin numbering - board uses human readable pin

[9fans] 9atom usb install improvements

2013-12-27 Thread erik quanstrom
i've fixed a few typos and bugs and knocked off a few sharp edges in the 9atom usb install process which is more fully described here http://9fans.net/archive/2013/10/151 the build process still not always smooth due to /sys/src/cmd/runetype occasionally failing to downloading the unicode

Re: [9fans] MIPS LE fp register ordering in MOVD

2013-12-26 Thread erik quanstrom
On Thu Dec 26 18:47:04 EST 2013, lunari...@gmail.com wrote: Another issue is 0l/vl seems to output wrong bits for single precision floats in little endian mode, due to a similar reason: it used bytes 4-7 instead of 0-3. This seems to fix it: so if you don't mind me asking, what is it that

Re: [9fans] Adding a new user on 9-Front

2013-12-23 Thread erik quanstrom
It's not super required to add a new user on standalone systems. Obviously file/auth servers have more of a need. You're system isn't less secure using Glenda. You're going to be host owner no matter what user you use. ah, but being hostowner gives you no special status on the file

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread erik quanstrom
As it says in the first paragraph, it is: display device for system administration messages, particularly those from the BIOS or boot loader in plan 9, typically the directly-attached kvm, serial or cec is considered the console. exception: when you're running rio, you don't see the

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread erik quanstrom
On Mon Dec 23 10:18:49 EST 2013, st...@quintile.net wrote: Try the Delete key. Check keyboard(6) and rio(1). also note the ins key does auto filename completeion. Beware: these are all features of rio, if you have no rio, e.g. just a text console, none of this works, not even del

Re: [9fans] Adding a new user on 9-Front

2013-12-23 Thread erik quanstrom
On Mon Dec 23 14:30:58 EST 2013, cinap_len...@felloff.net wrote: or man -p an equiv would be man -P, but man -p does work, though it's a completely different approach and looks different due to font handling. - erik

Re: [9fans] Adding a new user on 9-Front

2013-12-23 Thread erik quanstrom
On Mon Dec 23 15:04:54 EST 2013, bl...@mcbride.name wrote: On Mon, Dec 23, 2013 at 12:28 PM, Kurt H Maier k...@sciops.net wrote: Or perhaps we use the documentation as a way to weed out people who cannot reason. Documentation is always clear to people who already know the material but use

Re: [9fans] Adding a new user on 9-Front

2013-12-23 Thread erik quanstrom
On Mon Dec 23 17:10:13 EST 2013, s...@9front.org wrote: There is value in a community. What remains of Plan 9 might be a better example of failing to seek out community in order to preserve the value, which is sometimes not clearly perceived by the interested few who show up at the party.

Re: [9fans] Ideas from Plan-9

2013-12-23 Thread erik quanstrom
On Thu Dec 19 20:54:04 EST 2013, conor.willi...@gmail.com wrote: ack, thanks... On Fri, Dec 20, 2013 at 1:44 AM, erik quanstrom quans...@quanstro.netwrote: here you go... effectless... apologies from Windows Movie Maker ... also on google+ problem diagnosed. mwait

Re: [9fans] Ideas from Plan-9

2013-12-23 Thread erik quanstrom
http://newftp.9atom.org/other/+usbinstamd64.bz2 resolves (www vs. newftp). i'm sorry should be ftp, though. thanks for the correction! - erik

Re: [9fans] Ideas from Plan-9

2013-12-23 Thread erik quanstrom
On Mon Dec 23 22:14:10 EST 2013, bl...@mcbride.name wrote: Thanks for the new boot trial. I am still getting an error on my HP as follows: ehci . qh . timed out (no inter?) It did boot but I am getting those errors on the screen. Please let me know if more info would be

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread erik quanstrom
i've had several experiences where that would be very handy, and am likely to have more soon. maybe it can make it into 9atom or contrib? 9fs atom; cat /n/atom/plan9/sys/src/cmd/aux/norio.c no man page yet. - erik

Re: [9fans] Ideas from Plan-9

2013-12-23 Thread erik quanstrom
On Mon Dec 23 22:37:27 EST 2013, bl...@mcbride.name wrote: Hope my feedback is a help. I'm ready to try more whenever you are. it is, but also as anyone else is, you are welcome to submit patches fixing issues. apatch/create issuename email@sub.domain file - erik

Re: [9fans] 9Front network (driver?) issue

2013-12-22 Thread erik quanstrom
On Sun Dec 22 14:56:12 EST 2013, bl...@mcbride.name wrote: Sorry. 2.1.0 net 02.00.00 14e4/4401 11 0:faffe000 8192 ladd; pci -v 14e4/4401 14e4/4401 Broadcom CorporationBCM4401 100Base-T looks to be unsupported. - erik

Re: [9fans] 9Front network (driver?) issue

2013-12-22 Thread erik quanstrom
Okay, thanks! It is an ancient machine. Thought it would be a good place to play with it on. No sense in messing with it further. here's what works with plan 9 - ancient cards tend to work, esp. ne2000-style which are used in vms. - nearly any intel - realtek 8139/8169 - just a few broadcom

Re: [9fans] 9Atom boot issue

2013-12-21 Thread erik quanstrom
Greetings, I have an I3, HP laptop that boots fine under 9Front but has a problem booting 9Atom. The message I am getting is: ehci 0xe0001c00: io 0xf004e400 qh 0xf005a300 timed out (no intr?) cpu0: spurious interrupt 39, last 5 I am merely reporting this in case anyone is interested

Re: [9fans] rc and spaces in file names

2013-12-20 Thread erik quanstrom
I tried typing a literal newline in the ifs variable and it works: term% ifs=' ' for(i in Plan*){cp $i `{echo $i | sed 's/lan/LAN/'}} term% ls P* 'PLAN 9' 'PLAN B' 'Plan 9' 'Plan B' With p9p is the same. I'll appreciate If anyone can tell me why. i'm not sure which question you

Re: [9fans] rc and spaces in file names

2013-12-20 Thread erik quanstrom
On Fri Dec 20 09:48:29 EST 2013, trebol55...@aol.com wrote: Ok, thanks to both. I got confused with this part of rc(1): `{command} rc executes the command and reads its standard output, splitting it into a list of arguments, using characters in

[9fans] ahci 1.3.1

2013-12-20 Thread erik quanstrom
does anyone on the list have an ahci device that supports version 1.3.1? you can find this information in /dev/sdctl. here's mine: sdE ahci ahci port 0xfe00fe33b800: 64a ncq alp led clo pmb slum pslum iss 2 ncs 31 np 4 ghc 8002 isr 0 pi f 0-3 ver 10100 the ver would be 30101.

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread erik quanstrom
I was thinking about the problem and actually, at least in all circumstances I can think of, changing that one operation from = to would fix the problem. If the times are on the same second, I would never have had time to change it. This would fix the problem. Perhaps this functionality

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread erik quanstrom
On 12/19/2013 11:59 AM, Charles Forsyth wrote: On 19 December 2013 06:07, Bakul Shah ba...@bitblocks.com mailto:ba...@bitblocks.com wrote: I suppose making atime, mtime of type struct timespec would break too much including 9p? It's unfortunate that the times in the

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread erik quanstrom
On Thu Dec 19 05:02:50 EST 2013, 9f...@hamnavoe.com wrote: So, I think you are saying, that for pieces in a mkfile that take less than 1s to build it is possible for them to be build again, unnecessarily, when mk is run again. This is normal and just the way it is. Is that correct?

Re: [9fans] 9front pegs CPU on VMware

2013-12-19 Thread erik quanstrom
for those without much mwait experience, mwait is a kernel-only primitive (as per the instructions) that pauses the processor until a change has been made in some range of memory. the size is determined by probing the h/w, but think cacheline. so the discussion of locking is kernel specific as

Re: [9fans] 9front pegs CPU on VMware

2013-12-19 Thread erik quanstrom
The original discussion started about the runq spin lock, but I think the scope of the problem is more general and the solution can be applied in user and kernel space both. While in user space you would do sleep(0) in the kernel you would sched() or if you are in the scheduler you would

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread erik quanstrom
What I am beginning to understand from comments like this is that there is a club Plan-9. Everything ever done by the originators of club Plan-9 is correct, period. No mater what exceptions, special cases, or good new ideas occur, they are wrong and we will find some way of rationalizing

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread erik quanstrom
I would be much more interested in producing and providing patches if I wasn't in such fear of upsetting the Plan-9 philosophy. (That is if improvements were sufficient.) Your total lack of effort in understanding Plan 9 philosophy deftly removes any interest I may have had in your

Re: [9fans] Ideas from Plan-9

2013-12-19 Thread erik quanstrom
On Thu Dec 19 17:36:48 EST 2013, conor.willi...@gmail.com wrote: cool man, nice follow up... it's the bell-labs one is code 87... your one was fine but it crashed... and that was the pic I sent... don't worry too much about it... gonna get some of my old hardware after christmas, that I

Re: [9fans] Ideas from Plan-9

2013-12-19 Thread erik quanstrom
here you go... effectless... apologies from Windows Movie Maker ... also on google+ problem diagnosed. mwait required. perhaps i got a bit exuberant requiring mwait support. i'll take a look at this but this evening i'm taking a look at a few bits with the 40gbe driver. - erik

Re: [9fans] Ideas from Plan-9

2013-12-18 Thread erik quanstrom
On Wed Dec 18 04:48:29 EST 2013, conor.willi...@gmail.com wrote: i'm getting an error code 87 writing usbdisk to my key: according to the web: The second fix prevents USB Image Tool from restoring invalid images in device mode. A valid device mode image has to be multiple of 512. If

Re: [9fans] mk time-check/slice issue

2013-12-18 Thread erik quanstrom
I think this is caused because the time slice is too short and the system can't tell the build times apart. Even though main clearly came after main.8 the system sees them as the same time. Of course this can cause mk to dothe link again unnecessarily if mk is called again. This is what is

Re: [9fans] setting up secstore

2013-12-18 Thread erik quanstrom
I'm finally getting tired of having to type passwords and am setting up secstore on the 9atom cpuserver on a VirtualBox VM on my mac. I'm running into some problems presumably because some of the secstore files and directories are owned by glenda and not adm (i'm part of the adm and sys

Re: [9fans] mk time-check/slice issue

2013-12-18 Thread erik quanstrom
So, I think you are saying, that for pieces in a mkfile that take less than 1s to build it is possible for them to be build again, unnecessarily, when mk is run again. This is normal and just the way it is. Is that correct? to be more explicit. if a is built from b and mtime(a) = mtime(b),

Re: [9fans] mk time-check/slice issue

2013-12-18 Thread erik quanstrom
In part to substitute issues with time with issues with checksums, I am writing a build tool for Inferno loosely inspired by djb's redo. I think it deals nicely with some of the problems of make/mk tools: it handles multiple outputs, treats shell variables as /env files for dependencies, and

Re: [9fans] 9front pegs CPU on VMware

2013-12-17 Thread erik quanstrom
thats a surprising result. by dog pile lock you mean the runq spinlock no? yes. - erik

Re: [9fans] 9front pegs CPU on VMware

2013-12-17 Thread erik quanstrom
On Tue Dec 17 08:40:23 EST 2013, quans...@quanstro.net wrote: thats a surprising result. by dog pile lock you mean the runq spinlock no? yes. my guess is it is made worse by the probes outside the lock. - erik

<    5   6   7   8   9   10   11   12   13   14   >