Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Bakul Shah
On Fri, 21 Aug 2009 21:34:03 EDT Akshat Kumar wrote: > If I start QEMU with the option to boot directly from > the HD image, as opposed to booting from network, > then it starts up fine - but then the kernel is different > also. I don't know what part of this is really troublesome. > Maybe the p

Re: [9fans] drawterm hangups

2009-08-21 Thread Jeff Sickel
On Aug 18, 2009, at 7:50 AM, roger peppe wrote: 2009/8/18 erik quanstrom : wireless connection to the server? nope. the server is VMware on the same machine. I'm seeing something a bit different that tends to require starting up a new terminal and then using drawterm: % Sat Aug 22 00:4

[9fans] ndb/dns as a slave

2009-08-21 Thread Devon H. O'Dell
How do I designate ndb/dns to accept zone transfers from another one? I have dnsslave set to the other machine in the `master zone file' (for lack of a better term). The secondary server doesn't seem to accept updates. (Or maybe the master isn't pushing them? Dunno.) --dho

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread erik quanstrom
On Fri Aug 21 21:35:38 EDT 2009, aku...@mail.nanosouffle.net wrote: > > i also see it trying to auth bootes (i think). > > do you have a user bootes? > > Yes, bootes is the hostowner of the CPU/Auth > server. also must have a user bootes on the fs even with auth disabled. might be good to turn o

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
> i also see it trying to auth bootes (i think). > do you have a user bootes? Yes, bootes is the hostowner of the CPU/Auth server. I've got a QEMU image that was distributed by Devon, so I could at least try to get into Plan 9 inside QEMU and try to connect to Ken FS server from there. I'm still

Re: [9fans] Recursive structural expressions?

2009-08-21 Thread J.R. Mauro
On Thu, Aug 20, 2009 at 9:14 PM, Charles Forsyth wrote: > qed allowed naming of regular expressions using `e' and their recursive > invocation > using \E, with results suggested earlier. > > http://cm.bell-labs.com/cm/cs/who/dmr/qedman.html > http://cm.bell-labs.com/cm/cs/who/dmr/qedman.pdf > > ``

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
2009/8/21 erik quanstrom : > On Fri Aug 21 19:55:55 EDT 2009, devon.od...@gmail.com wrote: >> Well, we're getting somewhere. Using /cfg/cpu/namespace still seems to >> do nothing to get ether1 into /net. Putting it into cpurc does the >> trick though, go figure. > > you need it in both places, as n

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread erik quanstrom
On Fri, Aug 21, 2009 at 6:28 PM, Akshat Kumar wrote: > This time with just > flag authdebug > and without going through secstore, since > it gave me the problem highlighted above, > plain auth from the QEMU host gives the > following at Ken FS: > > il: allocating ... > user akumar = 2 authenticated

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread erik quanstrom
> I'm trying to set up a group of servers (these are running on VMWare > ESXi, and working great -- CPU server running with two APs, though > adding more causes it to fault with a divide by zero?). Auth server's could you be more specific about this? > The FS, however, sits on a private network.

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread erik quanstrom
> Of course, I'm now faced with another new issue. auth/debug looks like > it just tries to debug factotum keys. This machine has an interface on > 9vx.org and another on int.9vx.org. However, auth/debug only tries to > debug 9vx.org, leading me to believe that factotum has no key for > int.9vx.org

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread erik quanstrom
On Fri Aug 21 19:55:55 EDT 2009, devon.od...@gmail.com wrote: > Well, we're getting somewhere. Using /cfg/cpu/namespace still seems to > do nothing to get ether1 into /net. Putting it into cpurc does the > trick though, go figure. you need it in both places, as namespace doesn't apply to the conso

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread erik quanstrom
> mount: auth_proxy: auth_proxy rpc write: p9...@int.9vx.org: no key > matches proto=p9sk1 dom=int.9vx.org role=client user? !password? > mount: mount /n/fs: fossil authCheck: auth protocol not finished that sounds like you are cpu'd into a machine and /mnt/factotum is the hostowner's factotum, t

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
And that's taken care of. Didn't have an authdom configured in /lib/ndb/local, and for some reason, I forgot to set up keyfs on the auth server. Thought I had that taken care of. Of course, I'm now faced with another new issue. auth/debug looks like it just tries to debug factotum keys. This machi

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
Well, we're getting somewhere. Using /cfg/cpu/namespace still seems to do nothing to get ether1 into /net. Putting it into cpurc does the trick though, go figure. However, I've got a new issue. When I go to mount the file server, I'm getting this: mount: auth_proxy: auth_proxy rpc write: p9...@in

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
2009/8/21 Noah Evans : > Hey Devon, > > 1. Others know more about that than I do. Wait a bit, that problem > might get solved. I think I brought that up because if anybody has ideas about fixing them or making them better, I would like to do that. > 2. drawterm tends to hang on secstore for me. T

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
This time with just flag authdebug and without going through secstore, since it gave me the problem highlighted above, plain auth from the QEMU host gives the following at Ken FS: il: allocating ... user akumar = 2 authenticated authorize: uid is 2 authorize: uid is 2 hangup! connection timed out-

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Christopher Nielsen
Certainly. No problem. Yes, just bind #l1 to /net, assign it an IP addr on that private network, and put a route in the routing table for good measure. Though that last step may not be entirely necessary. -Chris On Fri, Aug 21, 2009 at 14:59, Devon H. O'Dell wrote: > 2009/8/21 Devon H. O'Dell :

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Noah Evans
Hey Devon, 1. Others know more about that than I do. Wait a bit, that problem might get solved. 2. drawterm tends to hang on secstore for me. Try a bogus -s option or use a p9p secstore/factotum and see what happens. 3. what's stopping you from setting up your external network as the one on /net.a

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
2009/8/21 Christopher Nielsen : > You don't need a second IP stack. You can run both interfaces on the > same IP stack and routing will just work. That's how I did it when I > had a similar setup. I do need a second IP stack because the other network is on another switch on the other interface, an

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
2009/8/21 Devon H. O'Dell : > 2009/8/21 Christopher Nielsen : >> You don't need a second IP stack. You can run both interfaces on the >> same IP stack and routing will just work. That's how I did it when I >> had a similar setup. Wait, I misread your explanation. Would you care to explain more abo

Re: [9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Christopher Nielsen
You don't need a second IP stack. You can run both interfaces on the same IP stack and routing will just work. That's how I did it when I had a similar setup. -Chris On Fri, Aug 21, 2009 at 14:07, Devon H. O'Dell wrote: > Hello all, > > I'm trying to set up a group of servers (these are running o

[9fans] Issues with 2 networks, fs server, and namespaces

2009-08-21 Thread Devon H. O'Dell
Hello all, I'm trying to set up a group of servers (these are running on VMWare ESXi, and working great -- CPU server running with two APs, though adding more causes it to fault with a divide by zero?). Auth server's got its own 1GB fossil, boots with the 9pcauth kernel. CPU server boots from a sm

Re: [9fans] ps hang

2009-08-21 Thread erik quanstrom
with patch this time. whattya know. the process with the held lock broke. (but may not have made it to the broken state.) the process with the locked debug lock is 16302 > minooka# acid -k 55053 /n/dump/2009/0819/386/9pccpu > /n/dump/2009/0819/386/9pccpu:386 plan 9 boot image > /sys/lib/acid/p

[9fans] ps hang

2009-08-21 Thread erik quanstrom
i know this has been reported before. and i've guessed at exactly this problem, but it's happened again here. and this time i have a bit of evidence. i haven't quite tracked everything down, or what the original problem is (that is, who owns the lock and more importantly, why) but the hang is be

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
Thank you for your input, Erik. I haven't yet gotten to replacing Ken FS proper with your version, though I soon hope to do so (I'd need to figure out how to boot it, as your version has problems with floppies - and I can only floppy boot). Preferably in a fashion that I can keep my current data. Y

Re: [9fans] venti/copy question....

2009-08-21 Thread michael block
thanks for the tip. i got the same error (even the score, i think) when i tried copying some vbackup scores to a new server a few weeks ago. i hadn't thought of trying a different copy until you brought it up. using plan 9's copy instead of p9p's seems to be working well enough so far

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread erik quanstrom
> il: allocating il!192.168.1.20!50738 > hangup! connection timed out-3 50738/192.168.1.20.17008 > > where 192.168.1.20 is the IP of the Plan 9 > instance inside QEMU. > > So, at least a connection is initially being > made... I don't know why it would time out. my best guess is an authenticatio

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
And here's another piece to the puzzle that I just noticed: on the Ken FS server, I see the following: il: allocating il!192.168.1.20!50738 hangup! connection timed out-3 50738/192.168.1.20.17008 where 192.168.1.20 is the IP of the Plan 9 instance inside QEMU. So, at least a connection is initia

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread erik quanstrom
> So, could it be that there are problems > doing IL through QEMU? There shouldn't > be, as the pcap device sends directly > through the interface... so far as I can > tell. > > Input welcome. do a packet trace from the host. it's also possible to turn on some il tracing on the fs. here are a co

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
Upon Steve's suggestion, I enabled *nodumpstack=1 in the PXE config for the Plan 9 in QEMU. The result follows: ... password: ! time... panic: boot process died: sys: demand load I/O error accessing /386/init: mount rpc error panic: boot process died: sys: demand load I/O error accessing /386/init

Re: [9fans] Recursive structural expressions?

2009-08-21 Thread J. R. Mauro
On Aug 21, 2009, at 10:24, Russ Cox wrote: Regular expressions, in the strict formal sense, have an important property: they completely express the set of patterns that can be searched for in a single linear-time pass through the text. That is, they have an associated linear-time performan

Re: [9fans] venti/copy -m

2009-08-21 Thread Russ Cox
> I thought kencc was allowed to reorder structure members, is that the case? No.

Re: [9fans] pipefrom fun

2009-08-21 Thread erik quanstrom
> Rewriting of From: is the reason for pipefrom. in the simple case, From: can be rewritten with /mail/box/$upasname/headers - erik

Re: [9fans] venti/copy -m

2009-08-21 Thread Venkatesh Srinivas
Thanks for the answer, In p9's venti/copy, in scoretreecmp, there are two casts, from Avl* to ScoreTree*; this depends on scoretree's avl being the first member of the structure; I thought kencc was allowed to reorder structure members, is that the case? Thanks, -- vs

Re: [9fans] Plan 9 via QEMU

2009-08-21 Thread matt
you can configure Qemu to use the host console as the guest serial console

[9fans] venti/copy question....

2009-08-21 Thread Venkatesh Srinivas
Hi, I have a few score trees in Venti that p9p's venti/copy wouldn't copy, but p9's would. venti/copy aborted with: copy: reading block (type 16): read asked for got da39a3ee5e6b4b0d3255bfef95601890afd80709 P9's ven

Re: [9fans] Recursive structural expressions?

2009-08-21 Thread Russ Cox
Regular expressions, in the strict formal sense, have an important property: they completely express the set of patterns that can be searched for in a single linear-time pass through the text. That is, they have an associated linear-time performance guarantee. In your particular case, adding recu

Re: [9fans] venti/copy -m

2009-08-21 Thread Russ Cox
On Fri, Aug 21, 2009 at 6:15 AM, Venkatesh Srinivas wrote: > Plan 9's venti/copy has an undocumented -m option. What does it do? On Fri, Aug 21, 2009 at 6:23 AM, erik quanstrom wrote: > the whole program is 262 lines long. > i'm betting what -m does can be discovered > by inspection. what, maybe,

Re: [9fans] Recursive structural expressions?

2009-08-21 Thread J. R. Mauro
On Aug 20, 2009, at 21:01, erik quanstrom wrote: Here's an example. Let's make the syntax extra pukey: @#, where # is 1-9, defines a `named procedure', which is the same thing as putting something in braces in Sam. x/.*\n/ @1{ ( @1 ) | @1 ( @1 ) ( ) | } x/re/ repeatedly sets . with matc

[9fans] Plan 9 via QEMU

2009-08-21 Thread Akshat Kumar
... on Acer Aspire One to add more fun. Yes, on the Acer Aspire One, I have no means to compile, with all hopes of GCC thwarted by the draconian schemes of archaic Linux package managers, all slowly drowning in dependency hell. But enough fantasising -- No GCC, no kernel sources (which are presum

Re: [9fans] pipefrom fun

2009-08-21 Thread Russ Cox
On Fri, Aug 21, 2009 at 12:59 AM, matt wrote: >> pipefrom is too late to rewrite outgoing addresses, >> because marshal has already written the To: > > I submitted a patch for marshal to do the From: part but was told I should > use pipefrom instead. I'll stick a sed in the send see how that works

Re: [9fans] venti/copy -m

2009-08-21 Thread erik quanstrom
> Plan 9's venti/copy has an undocumented -m option. What does it do? the whole program is 262 lines long. i'm betting what -m does can be discovered by inspection. it might be a good idea to submit a patch to the man page, too. - erik

[9fans] venti/copy -m

2009-08-21 Thread Venkatesh Srinivas
Hi, Plan 9's venti/copy has an undocumented -m option. What does it do? Thanks, -- vs

Re: [9fans] pipefrom fun

2009-08-21 Thread erik quanstrom
> >one thing i've thought would be useful since people mail from > >many places with many names is a translation from a set of from > >addresses to a mailbox name so that, e.g. the ned f command doesn't > >end up creating a bunch of folders for the same person. > > > > > I'll consider that when I

Re: [9fans] pipefrom fun

2009-08-21 Thread matt
Russ Cox wrote: pipefrom is too late to rewrite outgoing addresses, because marshal has already written the To: I submitted a patch for marshal to do the From: part but was told I should use pipefrom instead. I'll stick a sed in the send see how that works out :> line with the local addre

Re: [9fans] unvac troubles...

2009-08-21 Thread Fernan Bolando
On Fri, Aug 21, 2009 at 2:15 PM, Venkatesh Srinivas 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

Re: [9fans] pipefrom fun

2009-08-21 Thread matt
why not use /mail/lib/names.local for the first example? good point, upon my brief look the answer would be, although I can contrive upon boot to use a different file, in the general case, users can't edit it. i haven't read the script, though. ; ls -l /n/sources/contrib/maht/rc/pipefr