Re: [9fans] simplicity

2007-09-19 Thread erik quanstrom
> So what is supposed to be wrong with using a manifest constant > instead of hard-coding "8" in various places? As I recall, > The Elements of Programming Style recommended this approach. i see two problems with this sort of indirection. if i see NBBY in the code, i have to look up it's value.

Re: [9fans] cwfs(4) failing: phase error after recover or suicide after normal startup

2007-09-18 Thread erik quanstrom
bn = addr % h->msize; msize must be zero. - erik

Re: [9fans] simplicity

2007-09-17 Thread erik quanstrom
> erik quanstrom wrote: > > i think the devolution of gnu grep is quite instructive. ... > > it gets to the heart of why plan9's invention and use (thank's rob, ken) of > > utf-8 is so great. > > If the problem is that Gnu grep converts any non-8-bit characte

Re: [9fans] inotify / waiting for events on 9p

2007-09-17 Thread erik quanstrom
> I'm currently thinking about event notifications via 9p. > An simple way would be just reading from some file, and this > read operation will sleep until some event occours. > > The question is: how long can that operation sleep ? > Is there any timeout ? neither 9p nor the plan 9 kernel nor

Re: [9fans] simplicity

2007-09-16 Thread erik quanstrom
>> I know we have some faculty on this list. Please talk to your students :-) > > regarding the madness of making complex software (that time, it was > about configure). > > I have allocated half of the presentation lecture for this semester to > "Why does this matter at all". Among other things

Re: [9fans] p9cr support in p9p's factotum?

2007-09-15 Thread erik quanstrom
and the name of crn is resolvable > > cpu% ndb/query ether `{cat /net/ether0/addr} sys > crn make sure that ndb/dnsquery can also resolve crn.mteege.de. > ... > \l!(.*) alias \1 > \lmteege\.de!(.*) alias \1 ??? > \l\.mtee

Re: [9fans] ip/httpd/mirror

2007-09-14 Thread erik quanstrom
ip/httpd/mirror [-b inbuf] [-d domain] [-r remoteip] [-w webroot] [-N netdir] method version uri [search] ... Mirror is a trivial server that just returns the method, URI, any search, the headers, and the message body sent by the client. don't kno

Re: [9fans] terminal + router + cable internet

2007-09-12 Thread erik quanstrom
> timed again. 50 s from 'boot from tcp' till user: prompt, > immediately after that secstore prompt, then 50 s or so > till term% prompt. > > cable modem connection is (I think) 1024/256. > regarding latency: ip/ping to the fs: > 31: rtt 25969 mus, avg rtt 24092 mus ... > (do you mean µs?) i t

Re: [9fans] terminal + router + cable internet

2007-09-11 Thread erik quanstrom
> getting your root fs over a wide-area network can be quite painful; > you're not moving a ton of data, but the process is very > latency-sensitive. i've not done it in a few years, but boot times of > 5-10 minutes were not unusual. cfs(4) cut it to about a quarter that. > > still, what i ended u

Re: [9fans] cpu/auth warlock

2007-09-10 Thread erik quanstrom
>> the hostowner must be in group upas. all users allowed to mail must be >> in group upas. > > that's news to me. s:to mail:to receive mail:g if that's still news to you, then maybe something has change? - erik

Re: [9fans] cpu/auth warlock

2007-09-10 Thread erik quanstrom
>> 2. Set up mail >> I haven't got mine to work yet so no point adding it to the script >> Mail files are owned upas:upas and mode 775 so I'm not sure how to >> write them >> unless I mount fossil -AWP > > I might be missing something, but any reason not to just add bootes

Re: [9fans] kenfs (look ma, no disks)

2007-09-09 Thread erik quanstrom
> Any chance this could live in sources? Even if kenfs is not part of > the distribution anymore, it would be nice to have 'unofficial' place > where people who still want it can find the latest version. > > uriel that's the eventual goal. i've made a number of changes. i'd like to have a way t

[9fans] kenfs (look ma, no disks)

2007-09-09 Thread erik quanstrom
i've been working on kenfs as we needed a way to have automatic offsite backup. i am using aoe to do the offsite bit so theoretically, one could have a kenfs with no disks. i've also rewritten the marvell sata driver, added the intel ahci driver, revamped mmu code. finally, i have a slight change

Re: [9fans] venti woes with brand new install

2007-09-09 Thread erik quanstrom
> True, but there are no comments at all, so I can't really know what the > changes fix. > I'm thinking, as i'm not a big C hacker, that a completely different change > might be made to fix the problem, and the change i'm waiting for would then > never appear. > Oh well, I guess I'm expecting a

Re: [9fans] The Web9 Project

2007-09-09 Thread erik quanstrom
> The problem is that you need, in a way, to break 9p. You need readahead, you > need to bundle requests, and you need to cache in a very careful way. the way i read the protocol, 9p does support readahead. Tread takes tag, fid, offset, count. i can have up to 64k tags, so i think this means i c

Re: [9fans] venti woes with brand new install

2007-09-09 Thread erik quanstrom
you can use history(1) on sources. cpu% 9fs sources cpu% cd /n/sources/plan9/sys/src/cmd/venti/srv cpu% history ifile.c Sep 8 23:03:56 EDT 2007 ifile.c 2592 [geoff] Sep 8 23:03:56 EDT 2007 /n/sourcesdump/2007/0909/plan9/sys/src/cmd/venti/srv/ifile.c 2592 [geoff] Apr 25 17:03:46 EDT 2007 /n/s

Re: [9fans] The Web9 Project

2007-09-09 Thread erik quanstrom
> We already agreed on a solution. Nobody is interested in implementing it. > > On 9/8/07, Uriel <[EMAIL PROTECTED]> wrote: >> > > have you compared its performance to webdav? >> > >> > I don't have any numbers with me, but I would expect 9P to work >> > faster than WebDAV since 9P works one layer

Re: [9fans] venti woes with brand new install

2007-09-08 Thread erik quanstrom
> found it! > > that is "defghijklmnopqrstuv..." instead of the expected "1234567890abc..." > > 13 bytes! > > b->data is incremented (and b->len decremented)13 bytes to skip the > "venti config" magic in readifile() ifile.c:39. > and freezblock() alculates the position of the zmagic by b->data

Re: [9fans] venti woes with brand new install

2007-09-08 Thread erik quanstrom
as a salute to the days of typing in machine code from smalltalk magazine. (wasted youth!) here is the backtrace complete with errors introduced by a faulty connection between the image and keyboard. abort+0x0 /sys/src/libc/9sys/abort.c:6 freezblock(b=0x17d1f90)+0x38 /sys/src/cmd/venti/srv/zbloc

Re: [9fans] Acme Edit/tcs and different character sets

2007-09-07 Thread erik quanstrom
> Acme treats all text as UTF-8. If the input text was ms-kanji, it won't > be UTF-8 and when acme reads it, it will end up full of encoding errors > - represented in UTF-8. Running that UTF-8 text back through > tcs -f ms-kanji will produce gibberish. > > You need to use tcs on the raw files befo

Re: [9fans] plan 9 overcommits memory?

2007-09-07 Thread erik quanstrom
> this thread is now twice as big as the swap and proc code. > is it really that much fun to do research this way? > yes, it has been done. no, my current work has nothing > to do with this issue. > > someone written a line of relevant code during this "discussion"? would you care to give refere

Re: [9fans] Ideas for an printer filesystem

2007-09-07 Thread erik quanstrom
> The fs does not issue the print command until the descriptor being > used to update file contents is closed. ah. the print directory is not any old directory, but a special fs. > And yes, on Plan 9, lp is used. On macosx, lpr. unfortunate. - erik

Re: [9fans] Ideas for an printer filesystem

2007-09-07 Thread erik quanstrom
> The octopus is using just an empty directory as the printer spooler. > (you may have as many as you want). When you start the fs you tell it the > underlying printing command and options. Thus, a simple cp suffices to print. how do you keep the printer from starting on a job too soon? > There a

Re: [9fans] Pipes on UNIX

2007-09-06 Thread erik quanstrom
> I better explain my problem. :) > I have a CGI for Apache. I wrote it in C, and it simply parses text > from a html textarea, giving another html in output. I made it as a > state machine which outputs and outputs according to the input > characters. > > Apache communicates with the CGI process

Re: [9fans] plan 9 overcommits memory?

2007-09-05 Thread erik quanstrom
> That's why many OSes have a "spawn" primitive that combines fork-and-exec. the problem with spawn is it requires a mechanism to replace that little block of code between the fork and exec. that code is hardly ever the same so spawn keeps growing arguments. - erik

Re: [9fans] plan 9 overcommits memory?

2007-09-04 Thread erik quanstrom
> > if one wishes to be remotely standards-compliant, sending a note on > > allocation > > failure is not an option. k&r 2nd ed. p. 252. > > i was discussing something about it in practice, and not in a 1970's > environment, > where the approach didn't really work well even then. the `recover

Re: [9fans] plan 9 overcommits memory?

2007-09-04 Thread erik quanstrom
On Tue Sep 4 09:39:37 EDT 2007, [EMAIL PROTECTED] wrote: > Yep, I've seen code with totally erroneous use of realloc work perfectly on > Linux for example, due to it's behavior. Then I built it on FreeBSD and it > failed appropriately :-). what does this have to do with memory overcommitment?

Re: [9fans] plan 9 overcommits memory?

2007-09-04 Thread erik quanstrom
> that's a slightly different aspect. the note should not be "page fault" but > "out of memory" (or some such thing). that's much better than a nil return. > most errors on shared resoruces are better expressed as exceptions (notes), > because that's what they are: they are a failure of the under

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
>> to any process. suppose i start a program that allocates 8k but between >> the malloc and the memset, another program uses the last available >> page in memory, then my original program faults. > > yes, and you'll always have to deal with that in some form or another. > i've started a program,

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
On Mon Sep 3 16:48:59 EDT 2007, [EMAIL PROTECTED] wrote: > If your machines are regularly running out of VM, something is wrong > in your environment. I would argue that we'd be better off fixing > upas/fs to be less greedy with memory than contorting the system to > try to avoid overcommitting m

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
> One option for Erik: try changing the segment allocator so that it > faults in all segment pages on creation. Would this do what you want? > I will try this if I get time later today. Assuming it is as simple as > my simple-minded description makes it sound. grudgingly, i admit it would -- assum

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
> One might allocate at least 3.2GB of swap for a 4GB machine, but many > of our machines run with no swap, and we're probably not alone. And > 200 processes are not a lot. Would you really have over 32GB of swap > allocated for a 4GB machine with 2,000 processes? > > Programs can use a surprisi

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
>> The current swap just frustrates people who expect it to work, and >> then have their systems freeze randomly. Maybe by disabling/remove >> swap support, then if someone really needs swap he will fix it first >> and then we can add it back. > > i'm not sure all the random freezes are caused by

Re: [9fans] sources access from brazil

2007-09-03 Thread erik quanstrom
>> there are? where are these available? > > ftp://ftp.apnic.net/pub/stats/arin/delegated-arin-latest arin only covers part of the world. i don't see any entries for bazil in this file. all the rirs however are required to implement whois. - erik

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
> Also, it's broken, broken, broken on Plan 9 but could you describe what antisocial behavior it exhibits and how one could reproduce this behavior? i have never used to-disk paging on plan 9, so i don't know. > and nobody wants to fix it. this has been a good discussion so far. let's not go o

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
> Most applications probably use much less than 1 MB, but a lot depends > on who wrote the program. Our threaded programs typically have a 4K > or 8K (K, not M) fixed-size stack per thread and that works fine, > although you have to remember not to declare big arrays/structs as > local variables.

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
>> would have to commit just for stacks. With 2,000 processes, that >> would rise to 32GB just for stacks. > > With 4GB RAM, wouldn't you allocate at least that much swap > no matter what? that's pretty expensive if you're booting from flash and not using a remote fileserver. 8GB flash is expen

Re: [9fans] plan 9 overcommits memory?

2007-09-03 Thread erik quanstrom
> If system calls were the only way to change memory allocation, one > could probably keep a strict accounting of pages allocated and fail > system calls that require more VM than is available. But neither Plan > 9 nor Unix works that way. The big exception is stack growth. The > kernel automati

Re: [9fans] sources access from brazil

2007-09-03 Thread erik quanstrom
> 1) why would whois info matter to determine where a client is? There > are databases of ip country locations which would make much more > sense, depending on notoriously unreliable whois servers is silly both > from a security point of view and from a reliability point of view. there are? where

Re: [9fans] plan 9 overcommits memory?

2007-09-02 Thread erik quanstrom
> but most people can live with the overcommit, as witness the fact that > most of us do and never know it. > > If you can't live with overcommit, maybe you need a wrapper that: > sets up to catch the note (I am assuming here that you get one; do you?) > malloc > zero memory you malloc'ed (which w

Re: [9fans] plan 9 overcommits memory?

2007-09-02 Thread erik quanstrom
> but most people can live with the overcommit, as witness the fact that > most of us do and never know it. > > If you can't live with overcommit, maybe you need a wrapper that: > sets up to catch the note (I am assuming here that you get one; do you?) > malloc > zero memory you malloc'ed (which w

Re: [9fans] plan 9 overcommits memory?

2007-09-02 Thread erik quanstrom
> the problem is not really as easy as it might seem at first. > malloc just moves the brk, but the backing pages don't get > allocated until the pages are accessed (during memset). > i'm just suprised that plan 9 overcommits. this makes this code nonsensical from user space if((p = mal

Re: [9fans] Re: everything is a directory

2007-09-01 Thread erik quanstrom
> We're partly there in spirit; what fraction of the 4e kernel's system > calls are there for backwards compatibility? ;) i don't know if that's a rhetorical question or not. it's not hard to answer. /sys/src/libc/9syscall/sys.h lists 51 system calls. ten have underscores. OSEEK is also obsole

Re: [9fans] new igbe network card not activated

2007-09-01 Thread erik quanstrom
> I put a new Intel PRO/1000 in my Plan 9 server. The card is detected > by 9load (?) as ether#0 igbe and then as #l1: i82543. There is another > network interface on board which ist detected as elnk3. I put > ether0=igbe, ether1=elnk3 in my plan9.ini. > > My problem is, that /net/ether0 points a

Re: [9fans] farewell to /sys/src/fs and IL

2007-08-31 Thread erik quanstrom
> If you're running ken's fileserver, I trust that you're compiling your > own kernels. > > All you have to add to cpu kernels from sources to reinstate IL are > the current /sys/src/9/ip/il.c and add "il" to the kernel > configuration files (or keep your current ones). replica/pull will > remove

Re: [9fans] farewell to /sys/src/fs and IL

2007-08-31 Thread erik quanstrom
by the way, i am actively working on ken's fs. i have added an aoe initiator (big suprise), an intel ahci driver and a few other things. if you're interested, drop me a note. - erik

Re: [9fans] farewell to /sys/src/fs and IL

2007-08-31 Thread erik quanstrom
i wrote a paper on how i ported history from ken's fs to ken's fs. i think the technique would work for porting history from any fs to any fs. /n/sources/contrib/quanstro/history.ms however, we have a working kenfs. kenfs has been stable for a very long time. venti+fossil has been problematic f

Re: [9fans] farewell to /sys/src/fs and IL

2007-08-31 Thread erik quanstrom
On Thu Aug 30 18:27:44 EDT 2007, [EMAIL PROTECTED] wrote: > In the interest of minimising maintenance, we're going to stop > maintaining Ken's fs and IL entirely. We thank them (and Ken) for > many years of faithful service. We're now running fossil with nventi > on our main file servers. cwfs(4

[9fans] plan 9 overcommits memory?

2007-08-31 Thread erik quanstrom
i was trying to tickle a kernel panic, but instead i think i found a bug. this program was run on a machine with 1800 MB user space available. (3552/464510 user) #include #include enum{ Big = 1024*1024*1790, }; void

Re: [9fans] CD Image problem

2007-08-30 Thread erik quanstrom
> mkfs: proto.cp:14: can't stat file /sys/lib/dist/pc/multi/mouse: > '/sys/lib/dist/pc/multi/mouse' does not exist > mkfs: proto.cp:15: can't stat file /sys/lib/dist/pc/multi/pcmcia: > '/sys/lib/dist/pc/multi/pcmcia' does not exist > mkfs: proto.cp:17: can't stat file /sys/lib/dist/pc/multi/vga: >

Re: [9fans] Glenda transparent PNGs

2007-08-29 Thread erik quanstrom
you finally found that chris *does* drive. but can't spell. it's "yesosfr". - erik

Re: [9fans] Newbie problems

2007-08-28 Thread erik quanstrom
> I came across Plan9 some time ago and have now decided to give it a go. > However, the CD image seems to be broken or corrupted. I have tried > downloading it on different machines but the iso cannot be read although it > has been successfully extracted from the bz2 file. > > Also, the following

Re: [9fans] Newbie problems

2007-08-28 Thread erik quanstrom
> I came across Plan9 some time ago and have now decided to give it a go. > However, the CD image seems to be broken or corrupted. I have tried > downloading it on different machines but the iso cannot be read although it > has been successfully extracted from the bz2 file. > > Also, the following

Re: [9fans] handling tabs in text frames

2007-08-26 Thread erik quanstrom
> i agree tab handling is imperfect and often frustrating (especially > when working with people who code in variable-width fonts, which, > personally, still seems a bit odd to me) [...] why? no one reads books in fixed-pitch type. just because teletypes did it, isn't a compelling reason to conti

Re: [9fans] handling tabs in text frames

2007-08-26 Thread erik quanstrom
> Hi, > > I'm considering an alternative to the current tab behaviour in text frames. > I'm tired of adding/removing tabs to keep adt declarations aligned, and I > think > the machine should do it, not me. Thus, for a experimental implementation > for text frames I'm playing with now, I plan > to

Re: [9fans] (no subject)

2007-08-23 Thread erik quanstrom
> Subect: individual window dump > > how do i get the screendump of a window, not the whole screen? > > i thought "cat /dev/wsys/4/window" had done the job but no success > on recent installattion seeing the error: > cat: error reading /dev/wsys/4/window: readimage from window > unimplemen

Re: [9fans] double-mapping KZERO in l.s

2007-08-22 Thread erik quanstrom
> But the EIP has to access the instructions. After the mov, you're > still at low memory. Paging is turned on at this time. The JMP is > running at 0x1something. So you turn paging on and do a jump, but > paging is on when you do the jmp and fetch from low memory. To make > the ifetch work yo

Re: [9fans] double-mapping KZERO in l.s

2007-08-22 Thread erik quanstrom
where is that time? what i see in l.s MOVL$_startpg(SB), AX /* this is a virtual address */ MOVLDX, CR0 /* turn on paging */ JMP*AX /* jump to the virtual nirvana */ perhaps i am missing it, b

[9fans] double-mapping KZERO in l.s

2007-08-22 Thread erik quanstrom
perhaps this is completely obvious, but why are the first 4 mb double-mapped in l.s at virtual address 0 and KZERO? also, am i mixed up or should the comment about the double mapping be on the following line? - erik /* * Now ready to use the new map. Make sure the processor options are what is

Re: [9fans] Glenda transparent PNGs

2007-08-22 Thread erik quanstrom
> delete the last two lines of /sys/src/cmd/page/page.h > and it will work just fine, as long as you are not using vnc > nor an old drawterm. it might be a little slow on local > kernels too. if anyone fixes the vnc / kernel issues > then we can delete those lines for good. > > russ that's pro

Re: [9fans] Glenda transparent PNGs

2007-08-22 Thread erik quanstrom
> we talked about this before... > > http://groups.google.com/group/comp.os.plan9/browse_thread/thread/c67c67140a8d54d0/2c894e318848b968 > > in my post is what I did to circunvent this in abaco. > > hth the problem is that you fix doesn't always work, at least for me. i still see blue pngs. -

Re: [9fans] Glenda transparent PNGs

2007-08-22 Thread erik quanstrom
> In case this is of use to somebody: > > I've converted plan9bunnywhite.jpg to a PNG with transparent background. > Find it at http://www.tip9ug.jp/who/rob/bunny.html . > > The goal was to add drawterm to the OS X dock with a nice icon, which > turned out to be more difficult than it should be.

Re: [9fans] Re: everything is a directory

2007-08-22 Thread erik quanstrom
> In OO you are _always_ composing stuff from at least two sets of data > and functions: the data and functions of parent, and the data and > functions of the new child you are creating. In Plan 9, the standard / > net might represent the parent, and /my/net that you bind on top of it > represents

Re: [9fans] Authenticated SMTPD or factotum's p9cr

2007-08-21 Thread erik quanstrom
> Hm, /rc/bin/service/tcp25 runs as "none" and where as it can read the > certificate *that's easy), but I could have sworn it could not access the > "eve" factotum (I use "proxima" as a replacement for "bootes", I have a > feeling there are namespace issues that Bell Labs ought to take into >

Re: [9fans] Re: everything is a directory

2007-08-20 Thread erik quanstrom
> Finally, to argue that files are not objects seems silly. They ARE > objects. They have properties. They have well defined interfaces for > manipulating those properties. A more reasonable argument may be that > they are not object oriented since they lack certain prerequisites such > as inhe

[9fans] netpipe

2007-08-20 Thread erik quanstrom
since it was mentioned, (and not that anyone cares), found an interpretation of netpipes i wrote for testing the myricom driver. /n/sources/contrib/quanstro/hose.c it turns out that aux/listen1 is enough to replace faucet. sink% aux/listen1 -v 'tcp!*!' /bin/rc -c '/bin/cat > plan9.iso

Re: [9fans] Re: everything is a directory

2007-08-20 Thread erik quanstrom
> * (IIRC) Beagle daemon uses extended attributes to track files that > were scanned and are not modified - they contain part of it's detected > metadata, hash and DB pointer so, to summarize. beagle is using attributes to extend the file object. i think the main benefit files (and a filesystem)

Re: [9fans] Re: everything is a directory

2007-08-20 Thread erik quanstrom
> On 8/20/07, Francisco J Ballesteros <[EMAIL PROTECTED]> wrote: > > Do you prefer embedding the "face" in each mail as metadata instead of > > keeping a faces db? > > Why would he? He argued for keeping icons in sync with files -- that's > because files change and move. Once you link an address w

Re: [9fans] Re: everything is a directory

2007-08-20 Thread erik quanstrom
> The fathers of Unix saw many things, but who's to say they saw all the > metadata we will ever need? who's to say they didn't. (i hope we're talking about plan 9 here, not unix. in plan 9 many cumbersome traditions were broken. if they had wanted attributes, they would have added them.) i do

Re: [9fans] Re: everything is a directory

2007-08-17 Thread erik quanstrom
> But what about making directories into files? We should get rid of one > or the other, is my point. Give all filesystem objects children (which > are other filesystem objects) and then as many 'channels' as they > like, for app and OS specific things (ACL channel, owner channel, byte > channel, d

Re: [9fans] everything is a directory

2007-08-17 Thread erik quanstrom
hey, how do you grep for stuff in extended attributes? - erik > On 8/17/07, Douglas A. Gwyn <[EMAIL PROTECTED]> wrote: >> What do you mean by "extended attributes"? >> I haven't noticed them on the Unix systems I use. >> > maybe I'm missing the question, but on my linux: > > man -k extended | g

Re: [9fans] everything is a directory

2007-08-17 Thread erik quanstrom
> You can't argue against the principle, we take files as directories all > the time and one level or another. > So, for me, it's botched implementation. Just wait for extended > attribute directories to be added on with something like > file.txt:meta.zip (but not zip files, something new [that'

Re: [9fans] aoe on sources

2007-08-16 Thread erik quanstrom
> Hi, erik, > > I got the AoE target mounted using sdata successfuly. > I recompiled vblade from sources and that was it. great. thanks for the bug report. > with the old vblade, it reported that 'data' file is zero lengthed. > > term% ls -l /dev/aoe/0.0 > --rw-r--r-- a 0 glenda glenda 0

Re: [9fans] everything is a directory

2007-08-16 Thread erik quanstrom
that's a quality rant. - erik

Re: [9fans] Re: ttf2subf + VeraMono rendering

2007-08-16 Thread erik quanstrom
i did, and it was applied about may 20, 2006. /n/sources/patch/applied/libframe-alpha i don't know why it got lost. - erik On Wed Aug 15 12:14:22 EDT 2007, [EMAIL PROTECTED] wrote: > Why not submit a patch? > > uriel > > On 8/13/07, erik quanstrom <[EMAIL PROTECTED]&g

Re: [9fans] CPU Server

2007-08-16 Thread erik quanstrom
> Hello, > > I have a question regarding cpurc. I managed to set up a combined cpu/auth > server by loosely following the wiki instructions. > > If I understand correctly, the lines > > if(! test -e /rc/bin/service.auth/il566){ > mv /rc/bin/service.auth/authsrv.il566 /rc/bin/service.auth/i

Re: [9fans] aoe on sources

2007-08-16 Thread erik quanstrom
> i started vblade with: > cpu% dd -if /dev/zero -of 80.74 -bs 1024 -count 102400 > 102400+0 records in > 102400+0 records out > cpu% vblade -ia 80.74 80.74 > lblade 80.74 204672 sectors looks good. > mounted the target with: > term% bind -b '#ae' /dev i think you mean '#

[9fans] dns

2007-08-15 Thread erik quanstrom
the hack i posted yesterday only attacks a symptom. the real problem is queries like dennis 71410630:00 0:00 11148K Rendez dns [reading outside reply from 10.128.1.22 for 190.73-94-123.dyn.dsl.cantv.net ip] which for us is bogus, but could be valid in some cases, causes a

Re: [9fans] plan9 install error

2007-08-14 Thread erik quanstrom
> Hi everyone. > I download the bz2 file of plan9 and unzip it. i install with this > iso file, when the > [copydist] prompt available, i press enter, i got a error: > replica/applylog bad database entry '' > > I tried this step more time and got same error. > Anybody can give some advise? >

Re: [9fans] FS to skip/put-together duplicate files

2007-08-14 Thread erik quanstrom
> > does anyone have an example of a case where compression and uniquing are > > required? > > I'm not sure about compression, but uniquing must be a very neat feature > when you want to build a P2P overlaid venti. what do you mean by p2p overlaid venti? - erik

Re: [9fans] lsub.org

2007-08-14 Thread erik quanstrom
> something like that. > > see http://www.ietf.org/ids.by.wg/dnsop.html > > in particular > http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt > > -art are you saying you've see the same email trick with addresses other than 10/8 or 192.168/16? - erik

Re: [9fans] lsub.org

2007-08-14 Thread erik quanstrom
on the dns front, i've found that some spam senders are arranging things so that the guys doing reverse-lookup validataion will get 192.168 or 10. addresses. for some reason arin doesn't return an address for a query on 10.in-addr.arpa or 168.192.in-addr.arpa, so dns will loop from the top and nev

Re: [9fans] FS to skip/put-together duplicate files

2007-08-14 Thread erik quanstrom
> I think Mechiel Lukkien GSoC project might be helpful with such > issues, see > http://gsoc.cat-v.org/people/mjl/blog//2007-08-06-1_Rabin_fingerprints > ; hget http://gsoc.cat-v.org/people/mjl/blog//2007-08-06-1_Rabin_fingerprints hget: Not found on server - erik

Re: [9fans] FS to skip/put-together duplicate files

2007-08-14 Thread erik quanstrom
> > does anyone have an example of a case where compression and uniquing are > > required? > > the compression is nice to have of course but the uniqing is very > neat. I have always though of it as plan9's answer to CSV et al. > > When you do a release of a software package you copy the files t

Re: [9fans] FS to skip/put-together duplicate files

2007-08-14 Thread erik quanstrom
> how about mounting venti-backed fossil files from a linux as an AoE drives? > vblade on sources exports the plan 9 file and the aoe driver for linux > does the mounting. > > Venti would be compressing and condensing duplicated blocks to a single block. > I'm not sure if same files are boundaried

Re: [9fans] lsub.org

2007-08-13 Thread erik quanstrom
On Mon Aug 13 14:31:57 EDT 2007, [EMAIL PROTECTED] wrote: > We've been having good luck with the dns currently on sources. I > don't think I have seen the srvfail problem. The query waits on > reverse lookups seem to have been a symptom of local ndb > misconfiguration, though it would be better i

Re: [9fans] lsub.org

2007-08-13 Thread erik quanstrom
> We've been having good luck with the dns currently on sources. I > don't think I have seen the srvfail problem. The query waits on > reverse lookups seem to have been a symptom of local ndb > misconfiguration, though it would be better if dns coped more sensibly > with that. As I recall, the n

Re: [9fans] Mips kernel

2007-08-13 Thread erik quanstrom
> ... but if i used ssh, i wouldn't get easy access to /mnt/term, > with all of the benefits that that implies. likewise, i wouldn't be > able to create new shell > or rio windows spawned from within the same cpu session (i.e. sharing > the same environment, > including the name space). > > when i

Re: [9fans] Re: ttf2subf + VeraMono rendering

2007-08-13 Thread erik quanstrom
> > you need an updated rio/libframe/devdraw. the problem is that libframe > > this was fixed may 15, 2006, i believe. i use a subpixel antialiased font. > > (/n/sources/contrib/quanstro/antialias.tar > > /lib/font/bit/cyberbit/mod14.font) > > > I have the newest setup i guess, did a pull today

Re: [9fans] FS to skip/put-together duplicate files

2007-08-13 Thread erik quanstrom
if you're setting up a new venti+fossil+aoe fs, i would recommend using sdaoe. (i don't recommend fidding with something that's already working, though.) - erik > We use venti-fossil on Coraid´s SR aoe drives just fine. > The frontend is a separate Plan 9 machine that uses fs(3) to partition the

Re: [9fans] Mips kernel

2007-08-13 Thread erik quanstrom
> but if you don't start rio, the drawterm console only provides limited > functionality, > (unless i tried a broken version) - no mouse selection, cut, paste, hold-mode, > scrollback, etc. you didn't say you wanted those. ;-) what about ssh? ssh isn't too hard to setup. you will need netkey fr

Re: [9fans] lsub.org

2007-08-13 Thread erik quanstrom
need to sed the brain this morning On Mon Aug 13 07:57:00 EDT 2007, [EMAIL PROTECTED] wrote: > assuming things are broken without external help > s/external/internal/ - erik

Re: [9fans] FS to skip/put-together duplicate files

2007-08-13 Thread erik quanstrom
On Sun Aug 12 23:35:45 EDT 2007, [EMAIL PROTECTED] wrote: > how about mounting venti-backed fossil files from a linux as an AoE drives? > vblade on sources exports the plan 9 file and the aoe driver for linux > does the mounting. > > Venti would be compressing and condensing duplicated blocks to a

Re: [9fans] lsub.org

2007-08-13 Thread erik quanstrom
assuming things are broken without external help i've been having trouble with dns infinitely extending the life of queries when a "srvfail" is returned by an authoratitive server. eventually one query to a broken ns will hold up all the threads available on the server. this happends a lot

Re: [9fans] Mips kernel

2007-08-13 Thread erik quanstrom
> using inferno as a drawterm means that you can have a > non-graphical shell window (local mouse interaction and editing, remote > commands) which is useful when connecting through higher > latency connections. i wouldn't be without it. you don't have to start rio on drawterm. that's controlled

Re: [9fans] ttf2subf + VeraMono rendering

2007-08-13 Thread erik quanstrom
> I can confirm that the problem happens with a plan9 terminal and the > vera.ttf font running as a guest OS in VMware workstation 5.5, I'd > thought it was an oddity of my setup. > > > However this doesn't happen in acme window, it happens only to the > > terminal window. > > > Any hints how to

Re: [9fans] 9ee

2007-08-10 Thread erik quanstrom
On Fri Aug 10 20:45:06 EDT 2007, [EMAIL PROTECTED] wrote: > the only issue is calling in and out, the two thunks. you write > a small bit of assembly language for these, again and again > until you get it right. there are no other compiler clashes. > > brucee sorry. i'm not following at all.

Re: [9fans] 9ee

2007-08-10 Thread erik quanstrom
how do you get the native c compiler to play along with some of ken's ideas? - erik

Re: [9fans] meaning of "*nomp=" has reversed

2007-08-10 Thread erik quanstrom
On Fri Aug 10 18:44:19 EDT 2007, [EMAIL PROTECTED] wrote: > I have an odd machine which doesn't work right in the brave new APIC > world (for example, VESA mode can draw windows and menus but not paint > the cursor...?). you wouldn't happen to have usb legacy support enabled in bios, would you? (

Re: [9fans] aoe on sources

2007-08-10 Thread erik quanstrom
first, many thanks to geoff for spending quite a bit of time making sure everything was right for inclusion in the sources tree. > > There is at least one important fix in our version of the > Coraid code, so if you're running old Coraid code, you should > update. fortunately, the bug in questio

<    1   2   3   4   5   6   7   8   9   10   >