Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 6:52 AM, Russ Cox [EMAIL PROTECTED] wrote: Currently getting: 9vx panic: setsigsegv vx32 without alt stack Do you have strace installed (is there one?) on OS X? Can you run it with the -g (disable gui) flag under strace? No strace on Leopard. Dave Thanks.

Re: [9fans] 9vx

2008-06-27 Thread a
I'm guessing here, but I think this was a reference to the fact that in 10.5, Apple did some work to make X11 start automatically when the first X11 app is run; maybe that's not working for pietro. Is everyone having a problem on OS X on 10.5? I am. OS X doesn't have strace; ≤10.4 has ktrace,

Re: [9fans] 9vx

2008-06-27 Thread Venkatesh Srinivas
Works impressively well here. Even snarf/paste between host and 9vx is working. Did only the 9 kernel need modifications or did the applications binaries need to be recompiled as well? --vs

Re: [9fans] 9vx

2008-06-27 Thread Russ Cox
same error here. invoke with -t and it'll work. investigating. I believe, though I can't see yet why that would matter in this case. I do suspect that the behavior of signal handlers in threaded programs changed between 10.4 and 10.5. You might try rebuilding from source (the binary was built

Re: [9fans] 9vx

2008-06-27 Thread Gorka Guardiola
On Fri, Jun 27, 2008 at 3:58 PM, Venkatesh Srinivas [EMAIL PROTECTED] wrote: Works impressively well here. Even snarf/paste between host and 9vx is working. Did only the 9 kernel need modifications or did the applications binaries need to be recompiled as well? --vs 9vx requires no host

Re: [9fans] 9vx

2008-06-27 Thread erik quanstrom
Did only the 9 kernel need modifications or did the applications binaries need to be recompiled as well? [...] 9vx requires no host kernel modifications or special privileges, and it runs unmodified plan9 386 binaries. but that doesn't answer the question. the plan 9 kernel was modified.

Re: [9fans] 9vx

2008-06-27 Thread erik quanstrom
Seconded; everything works beautifully except that I'm not getting any network devices, it seems. there's not access to the network device per ce, but the network works fine for me. this is what i needed to do to connect to plan 9 networks 1. edit /lib/ndb/auth and /lib/ndb/local as

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 6:52 AM, Russ Cox [EMAIL PROTECTED] wrote: Currently getting: 9vx panic: setsigsegv vx32 without alt stack Do you have strace installed (is there one?) on OS X? Can you run it with the -g (disable gui) flag under strace? Without GUI I get a pretty good looking

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
Confirmed! That works great! On Fri, Jun 27, 2008 at 7:32 AM, Francisco J Ballesteros [EMAIL PROTECTED] wrote: MacOSX 10.5, running it with -t works fine here, including GUI. On Fri, Jun 27, 2008 at 4:30 PM, Pat Hacker [EMAIL PROTECTED] wrote: on OSX 10.5.3 % ./9vx.OSX -1g -u glenda

Re: [9fans] 9vx

2008-06-27 Thread andrey mirtchovski
confirmed for 10.5.3. On Fri, Jun 27, 2008 at 8:32 AM, Francisco J Ballesteros [EMAIL PROTECTED] wrote: MacOSX 10.5, running it with -t works fine here, including GUI.

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
building on x86 64 bit. first issue is that I get this:make: vx32-gcc: Command not found second is that I get this: gcc -Ilibvx32 -c -g -O3 -MD -std=gnu99 -I. -o libvx32/linux.o libvx32/linux.c libvx32/linux.c: In function `vx32_sighandler': libvx32/linux.c:254: error: structure has no member

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
On Fri, Jun 27, 2008 at 7:57 AM, ron minnich [EMAIL PROTECTED] wrote: building on x86 64 bit. first issue is that I get this:make: vx32-gcc: Command not found second is that I get this: gcc -Ilibvx32 -c -g -O3 -MD -std=gnu99 -I. -o libvx32/linux.o libvx32/linux.c libvx32/linux.c: In

Re: [9fans] 9vx

2008-06-27 Thread Uriel
What broke in lguest? seemed quite nice from what I have seen so far, just wondering because I was pondering using it for some projects. Not to mean anything against vx32/9vx which is quite damned awesome as far as I can see. uriel But lguest just broke big time so if I can get this to work,

Re: [9fans] 9vx - os x fix

2008-06-27 Thread David Leimbach
Yep that's working ok. Though I'm losing the ability to send capital letters to X11 in general, I'm not sure if that's an artifact of this or not. Dave On Fri, Jun 27, 2008 at 8:31 AM, Russ Cox [EMAIL PROTECTED] wrote: It looks like calling fork() in OS X 10.5 doesn't copy the alternate

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
I can send capital letters just fine, but I can't chord with the option/apple buttons like I'm used to on the native drawterm/acme. Need to get the latest changes from acme-sac.osx and write a native client, I suppose :) Is it supposed to run at full-load? Both cores are fully utilized and

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
This with a new untar, HOSTCFLAGS I added -m32 [EMAIL PROTECTED] src]$ make 9vx/9vx make: vx32-gcc: Command not found make: vx32-gcc: Command not found make: *** No rule to make target `9vx/9vx'. Stop. OK, I can see that 9vx/9vx target in 9vx/Makefrag, but the alarm just went off and I gotta

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
On Fri, Jun 27, 2008 at 8:41 AM, Uriel [EMAIL PROTECTED] wrote: What broke in lguest? seemed quite nice from what I have seen so far, just wondering because I was pondering using it for some projects. some things changed on the plan 9 side, and then on the lguest side, and I can no longer build

Re: [9fans] 9vx - os x fix

2008-06-27 Thread David Leimbach
Funny! Chording works great for me! (I'm suspecting my X11 is borked though, it may be completely unrelated to this project). On Fri, Jun 27, 2008 at 8:56 AM, andrey mirtchovski [EMAIL PROTECTED] wrote: I can send capital letters just fine, but I can't chord with the option/apple buttons

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
On Fri, Jun 27, 2008 at 10:34 AM, David Leimbach [EMAIL PROTECTED] wrote: Funny! Chording works great for me! (I'm suspecting my X11 is borked though, it may be completely unrelated to this project). button 2/3 emulation with option and apple keys works, but i'm using button1+option+apple to

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
trying to answer my own question about high cpu load, it looks like 9vx is busy switching all the time. if anyone knows these tracing facilities better, please step up :) dappprof (profiles execution, elapsed time is in nanoseconds): CALL

[9fans] 9vx frogs

2008-06-27 Thread Anthony Martin
Trying to exec a filename with frogs in it causes the first validnamedup() in sysexec to throw an error. The waserror branch then tries to free(file) causing an invalid pointer in munmap_chunk. I can provide a trace if necessary but I think it's just a matter of not trying to free file before it

Re: [9fans] 9vx - os x fix

2008-06-27 Thread Russ Cox
Replying to many messages... please read to find yours. Yep that's working ok. Though I'm losing the ability to send capital letters to X11 in general, I'm not sure if that's an artifact of this or not. Almost certainly not. The -F workaround is about new fork semantics. The capital

Re: [9fans] 9vx - os x fix

2008-06-27 Thread andrey mirtchovski
make 9vx/9vx on 10.5.3 that fails with: gcc -g -O3 -MD -std=gnu99 -I. -I. -I9vx -I9vx/a -Wall -Wno-missing-braces -c -o 9vx/main.o 9vx/main.c 9vx/main.c: In function 'sigsegv': 9vx/main.c:491: error: 'struct __darwin_mcontext32' has no member named 'es' 9vx/main.c:492: error: 'struct

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
I'm on this 32 bit machine using vx32. Wow, nice. Boots like a bat. now all I want is my fossil and venti :-) This is really sweet. I think we've got an easy way to show people Plan 9 now. thanks Russ! ron

Re: [9fans] 9vx - os x fix

2008-06-27 Thread Russ Cox
Thanks. Will add the #define. and darwin-asm.S just seems to be missing everywhere. in fact, there is no definition for vx32_getcontext: Oops. That's on my Mac at home; guess I forgot to copy it off. Russ

Re: [9fans] 9vx

2008-06-27 Thread Pietro Gagliardi
On Jun 27, 2008, at 1:39 PM, ron minnich wrote: This is really sweet. I think we've got an easy way to show people Plan 9 now. I agree: a self-contained 9 could really solve all my QEMU worries and boot CD nonsense! (No mouse detection, kbd init failed x infinity, inverse video - sorry)

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 10:39 AM, ron minnich [EMAIL PROTECTED] wrote: I'm on this 32 bit machine using vx32. Wow, nice. Boots like a bat. now all I want is my fossil and venti :-) This is really sweet. I think we've got an easy way to show people Plan 9 now. thanks Russ! ron And

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
oh man I love this 9vx. Indeed, this is truly excellent.

Re: [9fans] 9vx

2008-06-27 Thread Skip Tavakkolian
i've not had a chance to look through the sources. is a windows port feasible? i mean, any updates beyond what's on page 3 of the paper.

Re: [9fans] 9vx

2008-06-27 Thread Brian L. Stuart
So i realized I'm being foolish w.r.t my comments on i want my venti in the 9vx directory dd if=/dev/zero of=arenas bs=1048576 count=whatever do for index and bloom follow venti instructions. voila. Venti. Rinse and repeat for fossil. I haven't tried this yet, but is there any reason

Re: [9fans] 9vx

2008-06-27 Thread Pietro Gagliardi
On Jun 27, 2008, at 7:13 PM, Skip Tavakkolian wrote: i've not had a chance to look through the sources. is a windows port feasible? If you call translating the X API to Win32 or C++ .NET feasible, then yes! I'm struggling to Cocoa-ize it. It seems like a much easier job than with drawterm.

Re: [9fans] 9vx

2008-06-27 Thread Dave Eckhardt
libvx32/freebsd.c:20:2: warning: #warning libvx32 and FreeBSD 5 and 6's libpthread are not compatible. I guess the priority of my upgrade laptop's FreeBSD thread has just increased. Dave Eckhardt

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 4:41 PM, Dave Eckhardt [EMAIL PROTECTED][EMAIL PROTECTED] wrote: libvx32/freebsd.c:20:2: warning: #warning libvx32 and FreeBSD 5 and 6's libpthread are not compatible. I guess the priority of my upgrade laptop's FreeBSD thread has just increased. Dave Eckhardt

Re: [9fans] 9vx

2008-06-27 Thread David Leimbach
On Fri, Jun 27, 2008 at 4:34 PM, Pietro Gagliardi [EMAIL PROTECTED] wrote: On Jun 27, 2008, at 7:13 PM, Skip Tavakkolian wrote: i've not had a chance to look through the sources. is a windows port feasible? If you call translating the X API to Win32 or C++ .NET feasible, then yes! I'm

Re: [9fans] 9vx

2008-06-27 Thread Uriel
Life is so boring when your OS doesn't break compatibility with existing APIs every other release... but my heart is torn between FreeBSD and OS X; ah I got the solution: whoever breaks backwards compatibility (again) first wins! I'm in a hurry to pick my next OS, but this shouldn't take more than

Re: [9fans] 9vx

2008-06-27 Thread ron minnich
On Fri, Jun 27, 2008 at 4:29 PM, Brian L. Stuart [EMAIL PROTECTED] wrote: I haven't tried this yet, but is there any reason you couldn't put block special files for disk partitions in the 9vx directory and put the arenas, etc there, assuming of course all the permissions were set right? I

[9fans] space glenda - in acrylic

2008-06-27 Thread Rob Pike
http://flickr.com/photos/redlense/2429073822/

[9fans] prof, libc, and fixed length fields

2008-06-27 Thread Pietro Gagliardi
Bentley: /n/sources/contrib/pietro/bentley.bundle Bentley profiler output (on test program in bundle): /n/sources/ contrib/pietro/bentley.profout It demonstrates two deficiencies of the prof program as is: - line 312 should be modified to add a space after the first format, so that

Re: [9fans] 9vx

2008-06-27 Thread Fernan Bolando
On 6/27/08, Russ Cox [EMAIL PROTECTED] wrote: a quick announcement: http://swtch.com/9vx/ i'll have time to say more later. russ Wow. This is cool! I can now test my ports locally. It should be possible for two 9vx instance to communicate with each other right? Bryan and

Re: [9fans] 9vx

2008-06-27 Thread Brian L. Stuart
I haven't tried this yet, but is there any reason you couldn't put block special files for disk partitions in the 9vx directory and put the arenas, etc there, assuming of course all the permissions were set right? I'll probably give it a try later tonight unless someone yells Stop! You'll