[9fans] Small Plan9 box suggestions.

2011-02-25 Thread Jason Dreisbach
Hi all, Can anyone help shed some light in my search for a low power minimal plan 9 hardware setup to start experimenting with. Has anyone had success running plan 9 on a Fit PC (the only atom box we have access to)? Gumstix would be ideal, but their plan 9 support is a bit half baked right now.

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Sape Mullender
I suppose the use of counting semaphores in sleep/wakeup could help in cases like this (but I'm sure there are still plenty of other scenarios where they might not help). The value of the semaphore would represent something like number of things to do, so acquire(sema) would (atomically) wait

[9fans] Spice2g6 using f2c/plan9 was: Modern development language for Plan 9, WAS: Re: RESOLVED:

2011-02-25 Thread Fernan Bolando
On Sun, Feb 6, 2011 at 3:54 AM, Lyndon Nerenberg lyn...@orthanc.ca wrote: Agreed, but is there a FORTRAN compiler/cross-compiler for Plan 9? f2c (from netlib) is trivial to get running. This gives you Fortran 77. It has been sufficient for my needs (spice, zork, some grib stuff). --lyndon

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Bakul Shah
On Fri, 25 Feb 2011 09:37:39 +0100 Sape Mullender s...@plan9.bell-labs.com wrote: I suppose the use of counting semaphores in sleep/wakeup could help in cases like this (but I'm sure there are still plenty of other scenarios where they might not help). The value of the semaphore would

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Richard Miller
this means that any dynamic allocation of structures containing rendezvous is not possible because structure can be free'd before the rendezvous lock is dropped by the waking process. Déjà vu all over again ... This and other subtleties of sleep/wakeup were extensively explored in 9fans back

Re: [9fans] Small Plan9 box suggestions.

2011-02-25 Thread Jack Norton
Jason Dreisbach wrote: Hi all, Can anyone help shed some light in my search for a low power minimal plan 9 hardware setup to start experimenting with. Has anyone had success running plan 9 on a Fit PC (the only atom box we have access to)? Gumstix would be ideal, but their plan 9 support is

Re: [9fans] Small Plan9 box suggestions.

2011-02-25 Thread Jacob Todd
Does inferno have support for (a) webcam(s)? Or are you using linux for capturing things from the webcam? On Feb 25, 2011 9:14 AM, Jack Norton j...@0x6a.com wrote: Jason Dreisbach wrote: Hi all, Can anyone help shed some light in my search for a low power minimal plan 9 hardware setup to

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Charles Forsyth
the bug is calling wakeup(r) on deallocated r. sleep and wakeup communicate about the event represented by r, not the structure containing r.

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Russ Cox
in the case of this particular bug, i have at least 40µs grace and the change has held up for 12 hrs, where i could crash the machine in 5s before. i don't know about you but if i were shipping code that depended critically on not losing a race with a fast device, it would keep me up at night.

Re: [9fans] Small Plan9 box suggestions.

2011-02-25 Thread ron minnich
wireless support: se lucho's note about his almost-done wifi driver. That said, you might want wireless usb with the atheros chip (6000 series?) that does most of the wireless stack. Charles knows more. webcam: is this a usb webcam? USB support is getting better. low power -- is an atom mobo low

Re: [9fans] acme Local command on p9p

2011-02-25 Thread Russ Cox
How about reading /proc/$pid/environ (where $pid is the shell spawned for command execution) before the $pid exits and transfering all the environment variables back to the Acme's own environment? plan9port runs in more places than linux.

Re: [9fans] acme Local command on p9p

2011-02-25 Thread dexen deVries
On Friday 25 of February 2011 16:32:27 you wrote: How about reading /proc/$pid/environ (where $pid is the shell spawned for command execution) before the $pid exits and transfering all the environment variables back to the Acme's own environment? plan9port runs in more places than linux.

Re: [9fans] Small Plan9 box suggestions.

2011-02-25 Thread Jack Norton
Jacob Todd wrote: Does inferno have support for (a) webcam(s)? Or are you using linux for capturing things from the webcam? On Feb 25, 2011 9:14 AM, Jack Norton j...@0x6a.com mailto:j...@0x6a.com wrote: Jason Dreisbach wrote: Hi all, Can anyone help shed some light in my search for a

Re: [9fans] acme Local command on p9p

2011-02-25 Thread roger peppe
mac os for one On 25 February 2011 15:44, dexen deVries dexen.devr...@gmail.com wrote: On Friday 25 of February 2011 16:32:27 you wrote: How about reading /proc/$pid/environ (where $pid is the shell spawned for command execution) before the $pid exits and transfering all the environment

Re: [9fans] sleep/wakeup bug?

2011-02-25 Thread Venkatesh Srinivas
On Fri, Feb 25, 2011 at 1:51 AM, Russ Cox r...@swtch.com wrote: your layout in your first email (i think) assumes that wakeup can be called twice. it doesn't. the scenario in my first email has exactly one sleep and one wakeup. the canonical problem you have to avoid when implementing

Re: [9fans] acme Local command on p9p

2011-02-25 Thread David Leimbach
Sent from my iPhone On Feb 25, 2011, at 7:44 AM, dexen deVries dexen.devr...@gmail.com wrote: On Friday 25 of February 2011 16:32:27 you wrote: How about reading /proc/$pid/environ (where $pid is the shell spawned for command execution) before the $pid exits and transfering all the

Re: [9fans] Spice2g6 using f2c/plan9 was: Modern development language for Plan 9, WAS: Re: RESOLVED:

2011-02-25 Thread Lyndon Nerenberg
Do you have spice mkfiles available somewhere? Spice died when my previous venti server blew up. Re-doing the port is on my todo list, but not very high at the moment.