Re: [9fans] a bug in awk?

2009-01-09 Thread Tharaneedharan Vilwanathan
hi lucio, so, it tries to interpret as a floating-point no and goes for a toss! thanks for the quick response. regards dharani On Fri, Jan 9, 2009 at 10:26 PM, wrote: >> 11258672 5946903e318d3596c21e35b42a13c1dea5fd32cc 0 > > Note the 5946903e318 which AWK may mistakenly treat

Re: [9fans] a bug in awk?

2009-01-09 Thread lucio
> 11258672 5946903e318d3596c21e35b42a13c1dea5fd32cc 0 Note the 5946903e318 which AWK may mistakenly treat as a floating point constant. Now to figure how to prevent such errors... ++L

[9fans] a bug in awk?

2009-01-09 Thread Tharaneedharan Vilwanathan
hi, while i was playing with venti archive, i found something interesting. i used dumpvacroots.new (from contrib) and for some reason, awk bailed out with floating point error whenever it saw a line with a specific root score. here are the two sample lines (i used customized printarena.c which p

[9fans] serial consoles vs. new motherboards

2009-01-09 Thread erik quanstrom
it's becoming increasingly popular for manufacturers to ship motherboards with no serial ports at all. my terminal has nonfunctional uarts. it's easy enough to add in pci(e) based serial cards. i just got a startech pex2s with 2x 16c950 uarts. unfortunately, i didn't realize that only i8250 work a

Re: [9fans] venti

2009-01-09 Thread erik quanstrom
> I seem to recall being surprised at some point to observe > /dev/sdXX/data silently imposing a one-open-at-a-time policy > (I think subsequent opens stalled). Maybe a script run at > system boot time could turn on DMEXCL for appropriate things > in /dev/sd*/*? i think you mean the raw file.

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Nathaniel W Filardo
On Fri, Jan 09, 2009 at 09:54:02PM +0100, Francisco J Ballesteros wrote: > it's not reliable. > I had to fix several things, but the main problem is that > it's not coherent wrt sources. You might end up with incosistent > files, depending on when lsr runs. > > I'm using a variant of lsr, but I'm

Re: [9fans] venti

2009-01-09 Thread Dave Eckhardt
>> Post an (ignored) mode 000 fd in /srv? Since nobody could open >> it, it would always have one reference, and would go away when >> the venti did? > dns tries a similar trick. I think /srv/dns serves an actual file system, so there are potentially many references to it (not just one). > it

Re: [9fans] cheap, low-resolution terminal

2009-01-09 Thread Eris Discordia
What'd you say if you had my keyboard? It's got a couple of (useful) Windows keys, a numeric pad, and some "multimedia" keys. Can't complain, to each their lot ;-) And for the oldies fun: last week I had to replace an AT type PSU and get the right wires (white, black, brown, blue) connected to

Re: [9fans] venti

2009-01-09 Thread Roman V. Shaposhnik
On Fri, 2009-01-09 at 15:11 -0500, Dave Eckhardt wrote: > > A check could be put in by having venti put some sort of lock > > somewhere on the disk. But that would lead to problems if > > venti doesn't shut down properly: venti would be gone but the > > lock would still be there. > > Post an (ign

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Francisco J Ballesteros
it's not reliable. I had to fix several things, but the main problem is that it's not coherent wrt sources. You might end up with incosistent files, depending on when lsr runs. I'm using a variant of lsr, but I'm looking forward to a more coherent way of doing it. On Fri, Jan 9, 2009 at 9:42 PM,

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Uriel
What was wrong with the old way of doing mirroring with lsr? It worked quite nicely, and was way more reliable and infinitely faster than replica. uriel On Fri, Jan 9, 2009 at 6:36 PM, Gabriel Diaz Lopez de la Llave wrote: > hello > > Geoff is working to get a replica/pull set up to mirror /n/so

Re: [9fans] venti

2009-01-09 Thread Steve Simon
> Post an (ignored) mode 000 fd in /srv? Since nobody could open > it, it would always have one reference, and would go away when > the venti did? Kudos to Mr Eckhardt for a very neat solution. -Steve

Re: [9fans] venti

2009-01-09 Thread erik quanstrom
> > A check could be put in by having venti put some sort of lock > > somewhere on the disk. But that would lead to problems if > > venti doesn't shut down properly: venti would be gone but the > > lock would still be there. > > Post an (ignored) mode 000 fd in /srv? Since nobody could open > it

Re: [9fans] venti

2009-01-09 Thread Dave Eckhardt
> A check could be put in by having venti put some sort of lock > somewhere on the disk. But that would lead to problems if > venti doesn't shut down properly: venti would be gone but the > lock would still be there. Post an (ignored) mode 000 fd in /srv? Since nobody could open it, it would alw

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Gabriel Diaz Lopez de la Llave
hello Geoff is working to get a replica/pull set up to mirror /n/sources. 9grid.es stopped mirrorning since this started, and i'm trying from time to time to use the replica/pull system to mirror sources. sorry but i can't remember the message on which Geoff talked about this. gabi El 09/

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Francisco J Ballesteros
Sorry, which new mirror method? I probably missed that. We keep a mirror of sources/plan9 and 9grid at sources.lsub.org. On Fri, Jan 9, 2009 at 5:37 PM, Gabriel Diaz Lopez de la Llave wrote: > Hello > > As soon as the new mirror method mentioned by Geoff becomes the official way > to sync mirro

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Gabriel Diaz Lopez de la Llave
Hello As soon as the new mirror method mentioned by Geoff becomes the official way to sync mirrors i will update the 9grid.es mirror and i will provide the scripts to pull from 9grid.es again Gabi El 09/01/2009, a las 15:17, "Rudolf Sykora" escribió: Hello, I tried to install plan

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread sqweek
On Fri, Jan 9, 2009 at 11:17 PM, Rudolf Sykora wrote: > I tried to install plan9 on one of my computers and wanted to update > it running 'pull'. However, it doesn't work, perhaps because the home > pages of plan9 at Bell labs don't work. I somehow have a feeling there > are problems with those pa

Re: [9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread erik quanstrom
> http://www.chzsoft.com.ar/855patch.html ; it has a 810i graphics on > board). Is there a chance it would work in plan9? What do I have to > do? there was a guy around here who worked up that bios patch for plan 9. (translated, oddly enough, from the original oberon.) i'll try to hunt it down.

[9fans] pull doesn't work due to unavailable sources; travelmate 291LCi specials

2009-01-09 Thread Rudolf Sykora
Hello, I tried to install plan9 on one of my computers and wanted to update it running 'pull'. However, it doesn't work, perhaps because the home pages of plan9 at Bell labs don't work. I somehow have a feeling there are problems with those pages every now and then. Is it so? Why? May some mirror

Re: [9fans] venti

2009-01-09 Thread erik quanstrom
> I do sometimes get errors like this from my fossil server: > could not write super block; waiting 10 seconds > blistAlloc: called on clean block > but I've been assuming they are benign. Am I wrong? i looked into this. /sys/src/cmd/fossil/cache.c:1210,1217 if(p->ind

Re: [9fans] Why do we need syspipe() ?

2009-01-09 Thread roger peppe
On Fri, Jan 9, 2009 at 2:05 AM, Roman V. Shaposhnik wrote: > Multiplexing. If devices exposed channel interface, and got > exported there would be no kernel protecting from clients > sending random sequences of 9P messages (on a single host > you can't mount a channel and then continue reading/wri

Re: [9fans] venti

2009-01-09 Thread Sape Mullender
Yes, but even if one venti always leaves the store in a consistent state, running two may still cause them to wite differemt things to the same place on disk and this is likely to result in havoc. Sape --- Begin Message --- > Hmm. Running two ventis on the same data is, of course, bad. I

Re: [9fans] venti

2009-01-09 Thread Richard Miller
> Hmm. Running two ventis on the same data is, of course, bad. It's also > something I haven't seen happen before. I think it may have happened to me. Recently I had a "missing score" error when I was looking for something in my dump fs. To assess the damage I did a 'venti/copy -r' to a spare

Re: [9fans] venti

2009-01-09 Thread Sape Mullender
> i noticed something odd with venti and i am just trying to see if this > is an issue and if this needs to be addressed. > > i think, by default, plan9 installation sets localhost as the address > for venti in plan9.ini. but at some point i wanted venti to announce > any (*) address. for some rea

[9fans] venti

2009-01-09 Thread Tharaneedharan Vilwanathan
hi, i noticed something odd with venti and i am just trying to see if this is an issue and if this needs to be addressed. i think, by default, plan9 installation sets localhost as the address for venti in plan9.ini. but at some point i wanted venti to announce any (*) address. for some reason, i