Re: [9fans] mouse trouble in VMWare Fusion

2008-08-27 Thread John Waters
Actually I used Plan9 on VMWare workstation for Linux for quite a
while without too many problems. Then again all I was doing was
working though Nemo's book. :)

VMWare Fusion is definitely not yet ready for prime time, I have
noticed some interoperability problems with other Guest OSes (FreeBSD)
and a few heisenburg type issues on Linux. I have also started to
experience conditions where Plan9 will not boot, complaining of divide
errors or memory problems, then boot w/o issue after sending a
ctrl-alt-del from the pulldown menu. I suppose that's why its half the
price of VMWare Workstation...

Lakshmi, from VMWare support, blew me off at the mere mentioning of Plan 9.

As for setting up physical hardware, I am on the tail end of a 11
month contract in Riyadh, Saudi Arabia. I need more stuff like I need
a hole in my head. I prefer virtualization-related silliness to
dealing with the experts in th local computer souk and subsequent
sale/transportation of the gear when its time to go home.

Ghabi kushi kabi kam.

*sigh*
Johnny

On Wed, Aug 27, 2008 at 7:14 AM, Adrian Tritschler [EMAIL PROTECTED] wrote:
 2008/8/27 Skip Tavakkolian [EMAIL PROTECTED]:

 I had the same problem under VMware workstation 5.5 and couldn't solve
 it, I ended up working around it by making the VMware plan9 system a
 cpu/auth box and connecting to it with drawterm from the linux host
 system.

 it is not this problem?

 http://groups.google.com/group/comp.os.plan9/msg/96b8706125ee5c42

 Suggestion is to echo -n hwaccel off /dev/vgactl

 From memory that helped, but didn't get rid of the problem entirely on
 my system.  It made the graphics usable/readable, but the mouse was
 still wildly erratic.

  Adrian





[9fans] Export local plumber to remote unix host?

2008-08-27 Thread Jon Dugan
Hello,

I read my email on a remote Unix machine which I access from a few terminals
via ssh.  The terminals are also Unix hosts (usually OS X). This works great
for reading text.  However, I frequently receive attachements.  What I'd like
to be able to do is export at least my plumber over the ssh connection to the
remote host so I can display the attachments locally.  This seems to be the
opposite of what import(1) does.  I guess what I want is cpu(1) for
plan9port...  or at least a limited version of it.

This seems like it should be doable, but I think I'm looking at it the wrong
way.

Any suggestions?  (Unfortunately the Unix boxes and Word documents aren't
going away any time soon for me...)

Thanks,

Jon



Re: [9fans] Does Plan 9 work under Microsoft's Hyper-V?

2008-08-27 Thread Paweł Lasek
On Wed, Aug 27, 2008 at 10:02, bituman [EMAIL PROTECTED] wrote:
 I couldnt got Plan9 to natively run on my machine, so i thought it'd be a
 nice 2-in-1 learning experience to get it working under Hyper-V.
 Since i wouldnt like the one thing i learn to be: this cant be done, id like
 to ask if anyone had succes getting it run with MS virtualization?

 Sandor Nagy



If the Xen 3.x port is in any shape, it would be a good starting point
for running it under Hyper-V, as it was advertised to support Xen
guests. Also there might be some way to make it emulate a full
machine, but I don't know about that. It certainly would be an
interesting solution for getting Plan 9 into Business - Windows 2008
seems to be fairly well integrated with Hyper-V.


-- 
Paweł Lasek


[9fans] Favorite sam command language idioms?

2008-08-27 Thread plus852
Does anyone have some favorite sam command language idioms, tips,
tricks, etc.?



[9fans] FYI, glendix new 13 syscalls

2008-08-27 Thread simplicity
Hi,

A quick status update: 13 system calls have been implemented - just
enough to get a basic set of utilities running. So far we have cat,
sed, grep, 8c and a few others to run. Notable executables that don?t
work are 8l, ls, awk and sam (either because they look for filesystems
that aren?t there, or depend on stat which isn?t implemented correctly
as of yet).

Grab sources via git from here.
http://sources.glendix.org/?p=gitroot/glendix/main.git;a=summary

All the files inside syscall/ are to be put inside the linux kernel
tree (replacing files with the same name). The files inside loader/
are just a normal kernel module. Both together will let you execute
native Plan 9 binaries in Linux.

Patches, comments and suggestions are most welcome!
http://glendix.org/

TIA



Re: [9fans] Any Brits going to iwp9? ...

2008-08-27 Thread matt




I plan to go via train nottingham - london - paris - italy - greece 
(including a couple of ferries)


Last time I tried to sort it the timetables for Oct. weren't complete  
but it's time to look again now


naturally, 5 mins after I sent this I got told about a feature film were 
shooting up until the Thursday so it looks like I'll be flying out last 
minute, hopefully I'll catch the train back.


dammit !!






Re: [9fans] Any Brits going to iwp9? ...

2008-08-27 Thread spyros lalis

Public transportation from Athens to Volos is via train
(you must usually change trains in Larissa) or bus.

To reach the Liosion intercity bus station from the airport:

Option 1, via the metro (about 60')
* from the airport take line 3 (Line 3), direction Egaleo
* at Monastiraki change to line 1, direction Kifisia
* get off at Kato Patissia
* walk to the bus station (+15')

Option 2, via suburban rail and metro (about 45')
* from the airport take the suburban railway, direction Larissa
* at Neratziotisa change to metro line 1, direction Piraeus
* get off at Kato Patissia
* walk to the bus station (+15')

A map that shows how to reach the bus station from Kato Patissia
http://maps.google.com/maps/ms?ie=UTF8hl=enmsa=0ll=38.011549,23.725061spn=0.00754,0.012939z=16msid=100308688324317463199.0004556f172375b58a10c

Option 3, via bus (no idea how much this takes):
* take bus X93 from the airport, which passes
  by the Liosion intercity bus station

To reach the Larissa train station from the airport:

Option 1, via the metro (about 45')
* from the airport take line 3, direction Egaleo
* at Syntagma change to line 2, direction Aghios Antonios
* get off at Larissa
* walk over to the nearby train station

Option 2, via the suburban rail (about 40')
* from the airport take the suburban railway, direction Larissa
* get off at Larissa

Note that the station Larissa is an abbreviation
for Train Station to Larissa, not the city itself.

We will try to collect relevant timetable information
for train and bus connections from Athens/Thessaloniki
(some of this is not yet available and/or in Greek).
I will send a note when done.


Perhaps some other guy could tell how to get to Volos from Athens...




Re: [9fans] Does Plan 9 work under Microsoft's Hyper-V?

2008-08-27 Thread Eris Discordia
I tried running Plan 9 4e on Microsoft Virtual PC (v6.0.156.0, both 32- and 
64-bit versions). It wouldn't work due to a strange problem with (virtual) 
disk I/O. Virtual Server 2005 uses similar technology so I think it would 
fail, too. Though, I didn't exactly give it a try. Hardware virtualization 
often creates more problems that software, right?


--On Wednesday, August 27, 2008 10:02 AM +0200 bituman [EMAIL PROTECTED] 
wrote:



I couldn't got Plan9 to natively run on my machine, so i thought it'd be a
nice 2-in-1 learning experience to get it working under Hyper-V.
Since i wouldnt like the one thing i learn to be: this cant be done, id
like to ask if anyone had succes getting it run with MS virtualization?

Sandor Nagy









Re: [9fans] Does Plan 9 work under Microsoft's Hyper-V?

2008-08-27 Thread erik quanstrom
 The run from cd booted up just fine in MS Virtual Server 2005. I
 never got round to installing it fully though. If I remember
 correctly, I started an install once, but had to turn off disk dma and
 then the formatting of a small venti (~3-4GB) took more than two
 hours, so I aborted. Got a faster machine now, so maybe I'll try
 that again.
 

i didn't think that dma was the default.  if it is, i would
think that this would cause more problems than it would
solve.  slow is better than not working at all.

- erik



Re: [9fans] Does Plan 9 work under Microsoft's Hyper-V?

2008-08-27 Thread Robert Raschke
On Wed, Aug 27, 2008 at 2:16 PM, erik quanstrom [EMAIL PROTECTED] wrote:
 The run from cd booted up just fine in MS Virtual Server 2005. I
 never got round to installing it fully though. If I remember
 correctly, I started an install once, but had to turn off disk dma and
 then the formatting of a small venti (~3-4GB) took more than two
 hours, so I aborted. Got a faster machine now, so maybe I'll try
 that again.


 i didn't think that dma was the default.  if it is, i would
 think that this would cause more problems than it would
 solve.  slow is better than not working at all.

Running another install into MSVirtualServer R2 SP1 just now with an
old iso had lying around (20070329) and I misremembered. Disk dma had
to be on, otherwise you get lots of i/o errors. It is the copydist
that takes forever. I'll post back once I got it all up. I may try it
with the latest iso as well.

Robby



Re: [9fans] Export local plumber to remote unix host?

2008-08-27 Thread sqweek
On Wed, Aug 27, 2008 at 4:02 PM, Jon Dugan [EMAIL PROTECTED] wrote:
 What I'd like
 to be able to do is export at least my plumber over the ssh connection to the
 remote host so I can display the attachments locally.  This seems to be the
 opposite of what import(1) does.  I guess what I want is cpu(1) for
 plan9port...  or at least a limited version of it.

 Any suggestions?  (Unfortunately the Unix boxes and Word documents aren't
 going away any time soon for me...)

 You have two problems here:
1) Accessing plan 9's plumber from unix
2) Accessing unix files (attachments) from plan 9

 1 isn't too difficult, a listen1 with exportfs -r /mnt/plumb combined
with an ssh port forward (-L or -R, can't remember which applies here)
will give you access to the plumber via p9p's 9p (probably in
combination with srv -a for authentication).
 2 is a little more problematic. It's easy enough to run u9fs over ssh
(see srvssh), but the caveat is when you plumb an attachment like say
/home/jon/mail/foo.doc the plumber running on plan 9 is going to go
/home? wtf is that?. As long as you can devise a convention to get
around that you should be good to go.

 Of course, seems like it might be a bit simpler to run acme Mail.
-sqweek



Re: [9fans] Export local plumber to remote unix host?

2008-08-27 Thread erik quanstrom
  Of course, seems like it might be a bit simpler to run acme Mail.
'
i.e. imap.

- erik




Re: [9fans] Export local plumber to remote unix host?

2008-08-27 Thread sqweek
On Wed, Aug 27, 2008 at 11:57 PM, sqweek [EMAIL PROTECTED] wrote:
 On Wed, Aug 27, 2008 at 4:02 PM, Jon Dugan [EMAIL PROTECTED] wrote:
 What I'd like
 to be able to do is export at least my plumber over the ssh connection to the
 remote host so I can display the attachments locally.

  You have two problems here:
 1) Accessing plan 9's plumber from unix
 2) Accessing unix files (attachments) from plan 9

 Whoops, I missed the note about terminals being unix, and thought
they were plan 9 terminals (funny assumption to make in 9fans, I
know). You'll have to take that as imagine if you were running plan
9, then you could just do this ;)
 I thought Enrico did some work on serving across the network from
p9p, but I don't see anything in hg about it. That will probably be
your main sticking point, problem 2 doesn't change much.
-sqweek



Re: [9fans] Export local plumber to remote unix host?

2008-08-27 Thread a
Let me make sure I understand the problem right: you have p9p
installed on two Unix boxes, A and B. Sitting at A, you ssh to B to
read your mail, and want to be able to plumb (or something
similar) attachments and have applications on A display them.
I presume you're also using non-p9p applications to view the
attachments.

If that's right, the problem is in two parts: having B feed
messages to the plumber on B, and having B find the files
referenced.

You can probably make the terminal mount the server; do so.
How doesn't matter: v9fs, fuse, nfs, afp, whatever. Just get it at,
say, /mnt/B. Make a plumbing rule that checks for files in
/mnt/B (after the normal check for files). You want
arg isfile  /mnt/B/$1
or something very similar in that rule. Now when you plumb
/home/me/attachment1, after not finding that file locally
your plumber will look for /mnt/B/home/me/attachment1.
Have the 'plumb start' bit call open or OpenOffice or whatnot.

For the other part, rather than trying to figure out how to pass
messages around (which is easy if you can mount A from B:
just set $NAMESPACE to /mnt/A/whatever; but you likely
can't do that), just use the local plumber in the first place. For
example, 9term's plumb menu item (like plan9's rio) will
just feed things to a local plumber. If you've set the plumbing
rule up as described above, that's all you need.

(If you're using pine or something that 9term isn't up to, I'm
told there's an rxvt-unicode extension for plumbing, but I
didn't know what rxvt-unicode was before being told that,
so I can't speak any more to it. ask in #plan9 on freenode.)

If, for whatever reason, you need to do something like
!plumb from mail (and can't mount A from B), things are
harder for you. A fake plumber to shuttle bytes to A is
probably doable, but it's likely a lot less work to figure out
how to use a local plumber instead.

Anthony




Re: [9fans] lguest on 2.6.25

2008-08-27 Thread Alex Lee
On Tue, Aug 26, 2008 at 1:44 AM, John Soros [EMAIL PROTECTED] wrote:
 Ok, still, it would be great to know how to set the time, as my time is way 
 off (by more than 4 hours).
 Best++
 John

Hi again,

A couple of updates: I'm getting the same cron messages and time
problems that John is seeing. I've made sure that timesync isn't
running. My lguest time is about 3.5 hours ahead of host time.

As for the load issue: The full cpu usage that I was seeing earlier
actually stops after a several minutes.

After booting, ^T^Tp shows genrandom as Running. Several minutes later
the cpu usage drops to near idle, and genrandom goes to Wakeme. Then
every now and then (I'm not sure if anything in particular triggers
it, or if just randomly happens) I see the cpu usage jump again, and I
can see that genrandom is once again Running. Then after several
minutes it stops again.

When genrandom is running, stats shows a load of around 3000.
Otherwise, load is always around 2000.

The problem looks similar to this:
http://9fans.net/archive/2006/03/588 -- except that the lguest
instance works fine while genrandom is running. Is this genrandom
behavior anything out of the ordinary?

Alex


-- 
Alex Lee [EMAIL PROTECTED]



Re: [9fans] lguest on 2.6.25

2008-08-27 Thread ron minnich
On Mon, Aug 25, 2008 at 11:44 PM, John Soros [EMAIL PROTECTED] wrote:
 Ok, still, it would be great to know how to set the time, as my time is way 
 off (by more than 4 hours).

What's the time on your host (Linux) look like? Are you sure it's not
a time zone setup issue?

Is it always four hours? It should not be drifting.

ron



Re: [9fans] lguest on 2.6.25

2008-08-27 Thread ron minnich
On Wed, Aug 27, 2008 at 7:28 PM, Alex Lee [EMAIL PROTECTED] wrote:

 The problem looks similar to this:
 http://9fans.net/archive/2006/03/588 -- except that the lguest
 instance works fine while genrandom is running. Is this genrandom
 behavior anything out of the ordinary?


I don't think so. Genrandom make me want to look at using the hardware
RNGs a few years ago, but then Intel killed firmware hub and the whole
idea kind of went away.

ron