Re: [9fans] trace device paper from aki&john&ron now available

2008-09-23 Thread ron minnich
On Mon, Sep 22, 2008 at 5:03 AM,  <[EMAIL PROTECTED]> wrote:
> I don't yet have any kind of P9 system, so no access to sources. Can I get a 
> copy of the ps file?
>

If you have a 32-bit machine, you have vx32, and can boot plan 9 in
about 2 seconds (literally). Take a look, it's great!

ron



Re: [9fans] Init hangs

2008-09-23 Thread Ralph Moritz
Rodolfo kix García   kix.es> writes:
 
> Hi!
> 
> I am not sure, and my reply can be stupid ...
> 
> Try to disconect the CD-Rom in vmware, and boot plan9

Hi Rodolfo,

I tried this but init still hangs...

I'd like to try Eric's patch, but I need a little hand-holding. What are the
steps to mount my fossil partition, apply the patch, compile and install?

TAL,
Ralph




[9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread Gary V. Vaughan

I'm having several problems with 9vx, following the instructions here:

  http://9fans.net/archive/2008/07/118

If I boot with:

  $ ./9vx.OSX -u glenda

9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.

If I try:

  $ replica/pull -v /dist/replica/network

I get a 'unable to set uid/gid' error on every file that is pulled.

After some advice on IRC, I though perhaps both were related to  
permission problems having 9vx run as glenda over a plan9.tar.gz  
unpacked by user gary.


However, I also created a new 'glenda' user in OSX.  But even logged  
in as glenda and everything reinstalled by 'glenda' in her home  
directory...   both bugs are still present: upas/fs hangs and prevents  
rio starting up, and when I comment that line out and try replica/pull  
I *still* get uid/gid errors.


What is the best way to run 9vx on a mac, and have it behave well?

Or failing that, what is the best way to run plan 9 on mac os x?

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




[9fans] iwp9 registration open

2008-09-23 Thread spyros lalis

The registration for iwp9 is now OPEN!

http://iwp9.inf.uth.gr/

Note that the registration deadline
has been changed to Oct 5th!

And that the workshop will NOT take place
UNLESS we have at least 15 participants.

So (a) those people interested should
register ASAP, but (b) please do not
finalize your bookings/reservations
until you receive a confirmation that
the workshop will indeed take place.

On behalf of the organizers
Spyros



[9fans] Teleporting Mouse in VMWare Fusion 1.1.3

2008-09-23 Thread Gary V. Vaughan
I've been trying to install the plan9.iso into VMWare Fusion on my  
mac.  I see from the list archives that other people have been  
experiencing the odd mouse pointer teleportation issue I've been  
suffering.  Does anyone know what is causing this, or how to fix it?


I suspect the vmware drivers in plan9 have bit rotted slightly.  If  
it's too much work to fix them, is there any way to at least turn off  
explicit vmware drivers in plan9 and see whether I'm right?


Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




[9fans] rio startup fails in VMWare Fusion 2.0.0

2008-09-23 Thread Gary V. Vaughan
...so I thought I'd upgrade to the latest and greatest Fusion release,  
but things are even worse.


If I boot from the iso, and select option '2' for the livecd option  
and taking the defaults of ps2 mouse, 640x480x8 resolution and xga  
monitor, I get the following error messages:


  aux/vga: vgactlw: : unknown vmware id 0740
  rio: can't open display: initdisplay /dev/draw/new: no frame buffer
  init: rc exit status: rio 9: display open

And then the boot sequence starts /bin/rc, and I get a 'term%' prompt.

Is this also related to bit rotted vmware drivers?

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




Re: [9fans] Teleporting Mouse in VMWare Fusion 1.1.3

2008-09-23 Thread andrey mirtchovski
if you moved the mouse during rio startup you may cause rio to be out
of sync with the values from the mouse driver. there is a reset
command in the driver which causes this behaviour to stop. if you have
a window open "echo reset > /dev/mousectl" sometimes helps. rebooting
and keeping the hands off the mouse while rio is booting should make
it work (fingers crossed :)



On Tue, Sep 23, 2008 at 9:59 AM, Gary V. Vaughan <[EMAIL PROTECTED]> wrote:
> I've been trying to install the plan9.iso into VMWare Fusion on my mac.  I
> see from the list archives that other people have been experiencing the odd
> mouse pointer teleportation issue I've been suffering.  Does anyone know
> what is causing this, or how to fix it?
>
> I suspect the vmware drivers in plan9 have bit rotted slightly.  If it's too
> much work to fix them, is there any way to at least turn off explicit vmware
> drivers in plan9 and see whether I'm right?
>
> Cheers,
>Gary
> --
> Email me:  [EMAIL PROTECTED]  ._(()
> Read my blog:  http://blog.azazil.net \' )
> And my other blog: http://www.machaxor.net=( \
> ...and my book:http://sources.redhat.com/autobook _(~_)'
>
>
>



Re: [9fans] Teleporting Mouse in VMWare Fusion 1.1.3

2008-09-23 Thread Gary V. Vaughan

Hi Andrey,

Thanks for the response!

On 24 Sep 2008, at 00:09, andrey mirtchovski wrote:

On Tue, Sep 23, 2008 at 9:59 AM, Gary V. Vaughan <[EMAIL PROTECTED]> wrote:
I've been trying to install the plan9.iso into VMWare Fusion on my  
mac.  I
see from the list archives that other people have been experiencing  
the odd
mouse pointer teleportation issue I've been suffering.  Does anyone  
know

what is causing this, or how to fix it?

I suspect the vmware drivers in plan9 have bit rotted slightly.  If  
it's too
much work to fix them, is there any way to at least turn off  
explicit vmware

drivers in plan9 and see whether I'm right?


if you moved the mouse during rio startup you may cause rio to be out
of sync with the values from the mouse driver. there is a reset
command in the driver which causes this behaviour to stop. if you have
a window open "echo reset > /dev/mousectl" sometimes helps. rebooting
and keeping the hands off the mouse while rio is booting should make
it work (fingers crossed :)


I'm pretty sure I didn't move the mouse during boot, but I'll definitely
give the /dev/mousectl reset a try.

Unfortunately, vmware gets a bit antsy if you try to run multiple  
versions
without rebooting inbetween, and I have some processes running that I  
can't
stop tonight.  I'll report back on whether a careful 'hands-off-mouse'  
rio

boot prevents the problem tomorrow.

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread André Günther
Make sure you have a volume with case sensitive files. Download  
current plan9.iso. Mount it. copy over:


./9vx.OSX -u glenda -r /Volume/thevolume


On 23.09.2008, at 17:07, Gary V. Vaughan wrote:


I'm having several problems with 9vx, following the instructions here:

 http://9fans.net/archive/2008/07/118

If I boot with:

 $ ./9vx.OSX -u glenda

9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.

If I try:

 $ replica/pull -v /dist/replica/network

I get a 'unable to set uid/gid' error on every file that is pulled.

After some advice on IRC, I though perhaps both were related to  
permission problems having 9vx run as glenda over a plan9.tar.gz  
unpacked by user gary.


However, I also created a new 'glenda' user in OSX.  But even logged  
in as glenda and everything reinstalled by 'glenda' in her home  
directory...   both bugs are still present: upas/fs hangs and  
prevents rio starting up, and when I comment that line out and try  
replica/pull I *still* get uid/gid errors.


What is the best way to run 9vx on a mac, and have it behave well?

Or failing that, what is the best way to run plan 9 on mac os x?

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'






Re: [9fans] rio startup fails in VMWare Fusion 2.0.0

2008-09-23 Thread Federico G. Benavento
try "vesa" for monitor and play with different resolutions
"aux/vga -m vesa -p" should give you some info.

On Tue, Sep 23, 2008 at 2:08 PM, Gary V. Vaughan <[EMAIL PROTECTED]> wrote:
> ...so I thought I'd upgrade to the latest and greatest Fusion release, but
> things are even worse.
>
> If I boot from the iso, and select option '2' for the livecd option and
> taking the defaults of ps2 mouse, 640x480x8 resolution and xga monitor, I
> get the following error messages:
>
>  aux/vga: vgactlw: : unknown vmware id 0740
>  rio: can't open display: initdisplay /dev/draw/new: no frame buffer
>  init: rc exit status: rio 9: display open
>
> And then the boot sequence starts /bin/rc, and I get a 'term%' prompt.
>
> Is this also related to bit rotted vmware drivers?
>
> Cheers,
>Gary
> --
> Email me:  [EMAIL PROTECTED]  ._(()
> Read my blog:  http://blog.azazil.net \' )
> And my other blog: http://www.machaxor.net=( \
> ...and my book:http://sources.redhat.com/autobook _(~_)'
>
>
>



-- 
Federico G. Benavento



Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread a
// 9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.

This is a known bug, although last i heard the cause was still a bit
of a mystery. Locally, I run upas/fs -n in my termrc, and then open
mailboxes I want explicitly down the road (since, from my 9vx
terminal, they're all IMAP for me at this point, this isn't a problem
for me; YMMV).

There was some discussion a while ago about using replica with
9vx. I've seen the same stuff you're describing. Russ posted a link to
a Plan 9 distribution tailored to 9vx for use with update; it was
different from both the stock ISO and the file system included with
the 9vx package. I'm using that (and 9vx from the vx32 source).

My OS X and Plan 9 user names match, but I don't think that matters
much. Having extracted a Plan 9 root into /opt/9vx, I run 9vx as 
/Users/a/bin/9vx.OSX -u a -r /opt/9vx
and things work more or less as expected.

Anthony




Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread Fazlul Shahriar
On Tue, Sep 23, 2008 at 7:34 PM,  <[EMAIL PROTECTED]> wrote:
> // 9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.
>
> This is a known bug, although last i heard the cause was still a bit
> of a mystery. Locally, I run upas/fs -n in my termrc, and then open
> mailboxes I want explicitly down the road (since, from my 9vx
> terminal, they're all IMAP for me at this point, this isn't a problem
> for me; YMMV).

I do: upas/fs 

Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread Gary V. Vaughan

On 24 Sep 2008, at 08:27, Fazlul Shahriar wrote:

On Tue, Sep 23, 2008 at 7:34 PM,  <[EMAIL PROTECTED]> wrote:

// 9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.

This is a known bug, although last i heard the cause was still a bit
of a mystery. Locally, I run upas/fs -n in my termrc, and then open
mailboxes I want explicitly down the road (since, from my 9vx
terminal, they're all IMAP for me at this point, this isn't a problem
for me; YMMV).


I do: upas/fs 

Yep, that fixes it for me too.  Tx.

I'll try to find some time towards the end of the week to investigate
why it is doing that.

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread erik quanstrom
> > I do: upas/fs  > Haven't investigated why it's reading stdin.
> 
> Yep, that fixes it for me too.  Tx.
> 
> I'll try to find some time towards the end of the week to investigate
> why it is doing that.

upas/fs does not read from fd 0.  the reason it hangs must be that upas/fs 
doesn't close
fd 0.  this would likely also work

upas/fs <[0=]

what i don't understand right now is why this would hang
under 9vx.

- erik



Re: [9fans] rio startup fails in VMWare Fusion 2.0.0

2008-09-23 Thread Gary V. Vaughan

Hi Frederico,

Thanks for the response!

On 24 Sep 2008, at 02:03, Federico G. Benavento wrote:

On Tue, Sep 23, 2008 at 2:08 PM, Gary V. Vaughan <[EMAIL PROTECTED]> wrote:
...so I thought I'd upgrade to the latest and greatest Fusion  
release, but

things are even worse.

If I boot from the iso, and select option '2' for the livecd option  
and
taking the defaults of ps2 mouse, 640x480x8 resolution and xga  
monitor, I

get the following error messages:

aux/vga: vgactlw: : unknown vmware id 0740
rio: can't open display: initdisplay /dev/draw/new: no frame buffer
init: rc exit status: rio 9: display open

And then the boot sequence starts /bin/rc, and I get a 'term%'  
prompt.


Is this also related to bit rotted vmware drivers?


try "vesa" for monitor and play with different resolutions
"aux/vga -m vesa -p" should give you some info.


Using "vesa" for monitor along with all of the resolutions I tried  
actually
hangs (i.e. I don't even get a text-mode term% prompt), as does "aux/ 
vga -m vesa -p"

if I type it at the text mode prompt.

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




Re: [9fans] rio startup fails in VMWare Fusion 2.0.0

2008-09-23 Thread erik quanstrom
> Using "vesa" for monitor along with all of the resolutions I tried  
> actually
> hangs (i.e. I don't even get a text-mode term% prompt), as does "aux/ 
> vga -m vesa -p"
> if I type it at the text mode prompt.

ah!  vmware seems to be doing a much
better job these days of emulating real
live hardware!

- erik



Re: [9fans] Running 9vx.OSX on full plan 9 distribution

2008-09-23 Thread Gary V. Vaughan

Hi Anthony,

On 24 Sep 2008, at 07:34, [EMAIL PROTECTED] wrote:

// 9vx hangs at the upas/fs invocation in /usr/glenda/lib/profile.

This is a known bug, although last i heard the cause was still a bit
of a mystery. Locally, I run upas/fs -n in my termrc, and then open
mailboxes I want explicitly down the road (since, from my 9vx
terminal, they're all IMAP for me at this point, this isn't a problem
for me; YMMV).


Well, that might work for me in time since my real email is all on IMAP
too, but while I'm getting my feet wet, I'm still doing all my real work
in OS X :)


There was some discussion a while ago about using replica with
9vx. I've seen the same stuff you're describing. Russ posted a link to
a Plan 9 distribution tailored to 9vx for use with update; it was
different from both the stock ISO and the file system included with
the 9vx package. I'm using that (and 9vx from the vx32 source).


Yeah, I'm also using the tarball Russ linked from the list archive link
I posted.


My OS X and Plan 9 user names match, but I don't think that matters
much. Having extracted a Plan 9 root into /opt/9vx, I run 9vx as
/Users/a/bin/9vx.OSX -u a -r /opt/9vx
and things work more or less as expected.


Now that I'm starting upas/fs < /dev/null, things seem relatively
normal here too.  I'll worry about the replica issues later I think.

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




[9fans] ape/psh can't exec in 9vx

2008-09-23 Thread Gary V. Vaughan

Was just starting to settle in to 9vx, but this is a real showstopper:

  term% ls -ld /bin/ape
  d-rwxr-xr-x Z 1 gary gary 578 Sep 23 11:28 /bin/ape
  term%  ls -l /bin/ape/sh
  --rwxr-xr-x Z 1 gary gary 482209 Sep 23 11:28 /bin/ape/sh
  term% /bin/ape/uname -a
  Plan9 vx32 4 0 i386
  term% ape/psh
  $ /bin/ape/uname -a
  /bin/sh: /bin/ape/uname: cannot execute - Access denied

Any ideas on how to debug this one?

Cheers,
Gary
--
Email me:  [EMAIL PROTECTED]  ._(()
Read my blog:  http://blog.azazil.net \' )
And my other blog: http://www.machaxor.net=( \
...and my book:http://sources.redhat.com/autobook _(~_)'




Re: [9fans] ape/psh can't exec in 9vx

2008-09-23 Thread andrey mirtchovski
i couldn't find out what the bug was but it was in the library's
interaction with the VM environment and not in SH: for example, pcc
also crashed when attempting to exec ape's 'diff'. acid's truss wasn't
useful since it immediately faulted with: "invalid opcode 8c 24 d0 at
eip 000130c3"

anyway, if you just recompile "ape" you will not see the problem, or
at least that's what worked for me:

% cd /sys/src/ape
% mk nuke && mk install
% uname
uname: '/bin/uname' file does not exist
% ape/psh
$ uname -a
Plan9 vx32 4 0 i386
$

you may want to do it from the init rc window before you have started
rio: it crashed the VM with "9vx panic: sigsegv on cpu3" with amazing
regularity.

andrey
On Tue, Sep 23, 2008 at 11:17 PM, Gary V. Vaughan <[EMAIL PROTECTED]> wrote:
> Was just starting to settle in to 9vx, but this is a real showstopper:
>
>  term% ls -ld /bin/ape
>  d-rwxr-xr-x Z 1 gary gary 578 Sep 23 11:28 /bin/ape
>  term%  ls -l /bin/ape/sh
>  --rwxr-xr-x Z 1 gary gary 482209 Sep 23 11:28 /bin/ape/sh
>  term% /bin/ape/uname -a
>  Plan9 vx32 4 0 i386
>  term% ape/psh
>  $ /bin/ape/uname -a
>  /bin/sh: /bin/ape/uname: cannot execute - Access denied
>
> Any ideas on how to debug this one?
>
> Cheers,
>Gary
> --
> Email me:  [EMAIL PROTECTED]  ._(()
> Read my blog:  http://blog.azazil.net \' )
> And my other blog: http://www.machaxor.net=( \
> ...and my book:http://sources.redhat.com/autobook _(~_)'
>
>
>