Re: [9fans] 8 cores

2008-07-16 Thread sqweek
On Wed, Jul 16, 2008 at 1:12 PM, Benjamin Huntsman
[EMAIL PROTECTED] wrote:
 That being said, while huge scalability is certainly research-worthy, does 
 anyone actually run anything on Plan 9 that needs or would otherwise benefit 
 from 8+ CPUs and more than a few GB's of RAM?

 The Blue gene HPC folks come to mind.

 Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

 Some people would like to, but to my knowledge fourth edition hasn't
been ported to any other platforms. I've heard rumors of a near
complete x86_64 port, and there's occasional interest in sparc and ppc
ports.
-sqweek



Re: [9fans] Can't install Plan9 on VMWare

2008-07-16 Thread Antonin Vecera
On Wed, Jul 16, 2008 at 10:30 AM, Philip Silva [EMAIL PROTECTED] wrote:
 you either remove the cdrom from the virtual machine or make it to
 emulate scsi.
 if you're iso is more than 2 days old, you'll have to do
 % echo hwaccel off  /dev/vgactl
 to get vga working well.
 I see, well I removed the cdrom. But when installing plan9 I entered ega (or
 was it cga?!) in order to not start rio. Maybe I should just run through the
 installation process again - which is extremely slow here.

VMware is the fastest PC emulator i ever run.

 Anyways, text mode now works fine, but when I'm changing /dev/vgactl
 with echo type vesa  /dev/vgactl and echo hwaccel off  /dev/vgactl

only echo hwaccel off  /dev/vgactl should be sufficient

 after a reboot the file turns out to be the old one looking like this:
 type cga
 bland time 30 idle 0 state on
 hwaccel on
 hwblank off
 panning off
 addr p 0x0 v 0x0 size 0x0

 BTW: When I enter echo type vga  /dev/vgactl i get
 echo: write error: bad VGA control message type vga. And it seems that
 I cannot edit the file with ed.

 Philip Silva


1. create virtual machine
2. boot from CD
3. if your graphics isn't readable, create with mouse new window and
type echo hwaccel off  /dev/vgactl + Enter, exit + Enter
4. screen will not refresh immediately, but you can type Enter and
prompt will be refreshed
5. go on with installation
6. after that, before you reboot, edit your VMware configuration file
(*.vmx) and changeide1:0.present = TRUEto false.
   (I suppose ide1:0 is your cd-rom)
7. save and boot

Here is my VMware config file (you could change ethernet connection
type to bridge or whatever you use), maybe it helps you:


config.version = 8
virtualHW.version = 6
virtualHW.productCompatibility = hosted

displayName = Monty

extendedConfigFile = Monty.vmxf

guestOS = other

memsize = 256

numvcpus = 2

nvram = Monty.nvram

floppy0.present = FALSE

ide0:0.present = TRUE
ide0:0.fileName = Monty.vmdk
ide0:0.redo = 

ide1:0.present = FALSE
ide1:0.fileName = ..\plan9.iso
ide1:0.deviceType = cdrom-image

ethernet0.present = TRUE
ethernet0.addressType = generated
ethernet0.pciSlotNumber = 16
ethernet0.generatedAddress = 00:0c:29:14:4b:0a
ethernet0.generatedAddressOffset = 0
ethernet0.connectionType = custom
ethernet0.vnet=VMnet1

tools.remindInstall = TRUE
tools.upgrade.policy = manual

logging = FALSE

uuid.location = 56 4d fe 9e 4d 1f ee a5-09 ec c7 eb 59 da e6 09
uuid.bios = 56 4d 01 b5 ac 72 1c dd-02 da c4 2a 37 14 4b 0a



Re: [9fans] 8 cores

2008-07-16 Thread C H Forsyth
Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

yes: http://tinyurl.com/5jc8u8, for instance



Re: [9fans] 8 cores

2008-07-16 Thread John Waters
Hi Mr Forsyth,

I tried to respond to your directly, but the mail bounced.
Here in Saudi Arabia tinyurl is blocked (by the govt). Is it possible
that you (or someone else) can expand the URL for me and send it to me
off-list?

Thanks
John Waters,
No relation to the director

On Wed, Jul 16, 2008 at 2:37 PM, C H Forsyth [EMAIL PROTECTED] wrote:
Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

 yes: http://tinyurl.com/5jc8u8, for instance





Re: [9fans] 8 cores

2008-07-16 Thread Russ Cox
 Some people would like to, but to my knowledge fourth edition hasn't
 been ported to any other platforms.

Plan 9 has always run on multiple architectures,
and the fourth edition is no different.  ls /sys/src/9
will show you that there are ports to the Alpha PC (alphapc)
the HP iPaq (bitsy), and a few PowerPC boards (mtx, ppc).

Russ




Re: [9fans] 8 cores

2008-07-16 Thread a
For me the URL works out to:

http://domino.research.ibm.com/comm/research_projects.nsf/pages/hare.index.html

HARE! Awesome.
Anthony




Re: [9fans] web plumbing on OS X drawterm

2008-07-16 Thread Russ Cox
 I mostly get to my Plan 9 cpu servers via drawterm from
 my OS X laptop these days (9vx soon, once I get a
 comfortable environment there). I have a script that
 calls drawterm with the right arguments. I just added
 this to the script:
   mkfifo /tmp/open.fifo
   while () {open `{cat open.fifo}}

There is a web command in plan9port, so this doesn't
need to be OS X specific:

mkfifo /tmp/web.fifo
while() { web `{cat /tmp/web.fifo} }

Russ




Re: [9fans] 8 cores

2008-07-16 Thread erik quanstrom
 I'd like to ask a question, but before I do, feel I should say, I've
 been on this list long enough to understand that Plan 9 is a research
 vessel, not an OS that's targeted at commercial deployment...

i can't agree with this label research os if you mean
to imply that it's not stable or somehow unfinished.

i run the company's infastructure on plan 9 and our main product
— that is my paycheck — depends on plan 9.

i spend a lot less time fixing things now than i did when i
ran a different company's infastructure on aix and linux.
i also suffer much less downtime.

on the other hand, if by research os you mean simple
and flexable, then i couldn't agree more.

 That being said, while huge scalability is certainly research-worthy,
 does anyone actually run anything on Plan 9 that needs or would
 otherwise benefit from 8+ CPUs and more than a few GB's of RAM?

this style product will easily scale to that level

http://tinyurl.com/5e3q9p   [coraid.com]

the real question is can you find a big enough
chassis.

if that doesn't compel you, running upas imap server for ~40 users
with 1.3gb of inboxes might.  since upas has the bad manners to load
the entire mailbox, we're using about 90% of the 3.5gb bios will spare
us in 32bit mode.  i also watched it at 100% cpu for a solid hour
yesterday.

it's embarassing that mail is such a hog.  this is our scalability plan:

/n/sources/contrib/quanstro/src/nupas/

- erik




Re: [9fans] 8 cores

2008-07-16 Thread Uriel
 if that doesn't compel you, running upas imap server for ~40 users
 with 1.3gb of inboxes might.  since upas has the bad manners to load
 the entire mailbox, we're using about 90% of the 3.5gb bios will spare
 us in 32bit mode.  i also watched it at 100% cpu for a solid hour
 yesterday.

There is supposedly an amd64 port somewhere which should let you use
more ram, but you already know that. Of course we all also know how
releasing code that people might find useful and even improve is a
crazy idea...

 it's embarassing that mail is such a hog.  this is our scalability plan:

/n/sources/contrib/quanstro/src/nupas/

Agreed

uriel



Re: [9fans] 8 cores

2008-07-16 Thread Uriel
You could always import /net from a 9grid node in a (more) free
country ;) (Maybe SA should start filtering 9P connections ;)

Peace

uriel

On Wed, Jul 16, 2008 at 2:13 PM, John Waters [EMAIL PROTECTED] wrote:
 Hi Mr Forsyth,

 I tried to respond to your directly, but the mail bounced.
 Here in Saudi Arabia tinyurl is blocked (by the govt). Is it possible
 that you (or someone else) can expand the URL for me and send it to me
 off-list?

 Thanks
 John Waters,
 No relation to the director

 On Wed, Jul 16, 2008 at 2:37 PM, C H Forsyth [EMAIL PROTECTED] wrote:
Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

 yes: http://tinyurl.com/5jc8u8, for instance







Re: [9fans] 8 cores

2008-07-16 Thread John Waters
I have a means to circumvent the filters, but not at my current location.
Thankfully 9p flows as poorly as all the other protocols here in KSA,
but it still flows. I wonder sometimes if I am the only plan 9 user in
The Kingdom... Where most folks are accustomed to five nines of
availability, the denizens of my hot/dusty/boring city are generally
happy with five sevens.

Getting back to the topic at hand, does anyone know any specific
8-core capable motherboards that are running plan 9 on bare metal?

ma salaama
jcw

On Wed, Jul 16, 2008 at 4:44 PM, Uriel [EMAIL PROTECTED] wrote:
 You could always import /net from a 9grid node in a (more) free
 country ;) (Maybe SA should start filtering 9P connections ;)

 Peace

 uriel

 On Wed, Jul 16, 2008 at 2:13 PM, John Waters [EMAIL PROTECTED] wrote:
 Hi Mr Forsyth,

 I tried to respond to your directly, but the mail bounced.
 Here in Saudi Arabia tinyurl is blocked (by the govt). Is it possible
 that you (or someone else) can expand the URL for me and send it to me
 off-list?

 Thanks
 John Waters,
 No relation to the director

 On Wed, Jul 16, 2008 at 2:37 PM, C H Forsyth [EMAIL PROTECTED] wrote:
Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

 yes: http://tinyurl.com/5jc8u8, for instance









Re: [9fans] 8 cores

2008-07-16 Thread Robert William Fuller

Uriel wrote:

You could always import /net from a 9grid node in a (more) free
country ;) (Maybe SA should start filtering 9P connections ;)

Peace


Glad to hear that device remoting has some practical applications :-) 
Given the US Department of Homeland Insecurity, we may need that in the 
US soon.  Hopefully, the current regime will die a gruesome political 
death in the coming election.




Re: [9fans] web plumbing on OS X drawterm

2008-07-16 Thread Skip Tavakkolian
i added /dev/showfile for windows a while back.  in that case, dt
hands anything it is given on /dev/showfile to explorer (closest thing
to plumber on windows).  plumb rule for urls hands them to a script
that looks like this:

echo -n $*  /mnt/term/dev/showfile

   mkfifo /tmp/open.fifo
   while () {open `{cat open.fifo}}
 I also have a srcipt on the Plan 9 side, 'web':
   #!/bin/rc
   
   fifoname=/mnt/term/tmp/open.fifo
   
   if (test -e $fifoname)
   echo $*  $fifoname
   if not
   lynx2txt $*




Re: [9fans] 8 cores

2008-07-16 Thread Benjamin Huntsman
i can't agree with this label research os if you mean
to imply that it's not stable or somehow unfinished.

Not at all.  Just meant that one doesn't run their company's Oracle database on 
it.
Not because it's not worthy of doing so, but such things just aren't compiled 
for it.

...you mean simple and flexable, then i couldn't agree more.

And always trying to find the right or most elegant way to do things...


Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?

yes: http://tinyurl.com/5jc8u8, for instance

Hadn't seen that before.  Anyone know what cluster interface they're using?

Thanks!!
-Ben
winmail.dat

Re: [9fans] web plumbing on OS X drawterm

2008-07-16 Thread Antonin Vecera
On Wed, Jul 16, 2008 at 4:08 PM, Skip Tavakkolian [EMAIL PROTECTED] wrote:
 i added /dev/showfile for windows a while back.  in that case, dt
 hands anything it is given on /dev/showfile to explorer (closest thing
 to plumber on windows).  plumb rule for urls hands them to a script
 that looks like this:

echo -n $*  /mnt/term/dev/showfile

Could you please tell me in more details where should I write it?
I am not familiar with plumb rules.

Antonin



Re: [9fans] 8 cores

2008-07-16 Thread Uriel
On Wed, Jul 16, 2008 at 5:02 PM, Benjamin Huntsman
[EMAIL PROTECTED] wrote:
i can't agree with this label research os if you mean
to imply that it's not stable or somehow unfinished.

 Not at all.  Just meant that one doesn't run their company's Oracle database 
 on it.
 Not because it's not worthy of doing so, but such things just aren't compiled 
 for it.

You might be able to run Oracle with linuxemu... if Firefox runs, anything can!

uriel



Re: [9fans] web plumbing on OS X drawterm

2008-07-16 Thread Skip Tavakkolian
echo -n $*  /mnt/term/dev/showfile
 
 Could you please tell me in more details where should I write it?
 I am not familiar with plumb rules.

in $home/lib/plumbing add a line to plumb to winstart for the
following rule:

typeis text
datamatches 
'(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[EMAIL 
PROTECTED]([.:[EMAIL 
PROTECTED])*/?[a-zA-Z0-9_?,%#~/\-+=]+([:.][a-zA-Z0-9_?,%#~/\-+=]+)*'
plumb   to web
plumb   start winstart $0

the script /rc/bin/winstart looks like this:

#!/bin/rc
echo -n $*  /mnt/term/dev/showfile

a better script would test existance of /dev/showfile first.




Re: [9fans] 8 cores

2008-07-16 Thread Roman V. Shaposhnik
On Tue, 2008-07-15 at 18:28 -0400, erik quanstrom wrote:
 coming as no suprise, the pc port of plan 9
 does work just fine with 8 cores.
 
 mpls; cat /dev/sysstat
   0   14271  21350133991116   0   
 0   0  99   0 

Looking at the output 99% is idle time. Have you had a chance to
look at this system when it is fully loaded with something 
meaningful?

Thanks,
Roman.




[9fans] Corrupted meta data

2008-07-16 Thread Brian L. Stuart
How do you remove a file with corrupted meta data?
I was in 9vx and trying to recompile a kernel so
I could get a boot file with the local method
and it locked.  After I killed 9vx and started it
up again, I can't mk because main.8 has corrupted
meta data.  check in fossilcons reports it, but
apparently can't fix it.  I also can't remove
it in fossilcons any more than I can from an rc
prompt.

Any magic?

Thanks,
BLS




Re: [9fans] setting up a differnet keyboard

2008-07-16 Thread Pietro Gagliardi

9fat:
cp /sys/lib/kbmap/uk /n/9fat

try again with kbmap=uk and reboot.

On Jul 16, 2008, at 4:46 PM, Robert Hibberdine wrote:


Thanks for reply.

putting kbmap=uk into plan9.ini
gives a message

boot: can't open kbd map: 'uk' file does not exist.

So I triedkbmap=/sys/lib//kbmap/uk in plan9.ini   This didn't  
work either. I got the message


boot: can't open kbd map: 'sys' file does not exist.

Not sure what the next step is, so any help is much appreciated

Bob



Francisco J Ballesteros wrote:

IIRC, putting kbmap=uk
in plan9.ini should work.


On Tue, Jul 15, 2008 at 9:47 PM, Robert Hibberdine
[EMAIL PROTECTED] wrote:


Hi,

I want to setup my new plan9 termnial with a UK keyboard. I found  
kbmap but

this appears to be an interactive program. Even if you do

 kbmap /sys/lib/kbmap/uk

it still acts in an interactive manner. Is this right?

A qick glance at the code reveals that
 cp  /sys/lib/kbmap/uk   /dev/kbmap  (put into my  lib/ 
profile)


should work too,  and it does.   But is this the 'correct' way to  
do it? I
just want my keyboard to be the right one when when my terminal  
windows

start.


TIA

Bob















Re: [9fans] Corrupted meta data

2008-07-16 Thread Russ Cox
 How do you remove a file with corrupted meta data?
 I was in 9vx and trying to recompile a kernel so
 I could get a boot file with the local method
 and it locked.  After I killed 9vx and started it
 up again, I can't mk because main.8 has corrupted
 meta data.  check in fossilcons reports it, but
 apparently can't fix it.  I also can't remove
 it in fossilcons any more than I can from an rc
 prompt.
 
 Any magic?

Can you clri the file from fossilcons?

Russ




Re: [9fans] setting up a differnet keyboard

2008-07-16 Thread Francisco J Ballesteros
I think you need to add the map to the kernel, as a root file so that
boot could find it before reaching the file server.


On Wed, Jul 16, 2008 at 10:46 PM, Robert Hibberdine
[EMAIL PROTECTED] wrote:
 Thanks for reply.

 putting kbmap=uk into plan9.ini
 gives a message

 boot: can't open kbd map: 'uk' file does not exist.

 So I triedkbmap=/sys/lib//kbmap/uk in plan9.ini   This didn't work
 either. I got the message

 boot: can't open kbd map: 'sys' file does not exist.

 Not sure what the next step is, so any help is much appreciated

 Bob



 Francisco J Ballesteros wrote:

 IIRC, putting kbmap=uk
 in plan9.ini should work.


 On Tue, Jul 15, 2008 at 9:47 PM, Robert Hibberdine
 [EMAIL PROTECTED] wrote:


 Hi,

 I want to setup my new plan9 termnial with a UK keyboard. I found kbmap
 but
 this appears to be an interactive program. Even if you do

  kbmap /sys/lib/kbmap/uk

 it still acts in an interactive manner. Is this right?

 A qick glance at the code reveals that
  cp  /sys/lib/kbmap/uk   /dev/kbmap  (put into my
  lib/profile)

 should work too,  and it does.   But is this the 'correct' way to do it?
 I
 just want my keyboard to be the right one when when my terminal windows
 start.


 TIA

 Bob












[9fans] venti + Nt

2008-07-16 Thread Benjamin Huntsman
Has anyone gotten Nt to read/write from Venti on a Plan 9 or Linux system?

I figure one could set up something with SAMBA, but there's no native 9p for 
Nt, right?



Re: [9fans] 8 cores

2008-07-16 Thread Iruata Souza
On Wed, Jul 16, 2008 at 2:12 AM, Benjamin Huntsman
[EMAIL PROTECTED] wrote:
 Furthermore, does anyone out there run Plan 9 on non-x86 hardware anymore?


only for the fun of it, I'm slowly trying to port it to my SGI O2.

iru



Re: [9fans] 8 cores

2008-07-16 Thread erik quanstrom
 On Tue, 2008-07-15 at 18:28 -0400, erik quanstrom wrote:
 coming as no suprise, the pc port of plan 9
 does work just fine with 8 cores.
 
 mpls; cat /dev/sysstat
   0   14271  21350133991116   0  
  0   0  99   0 
 
 Looking at the output 99% is idle time. Have you had a chance to
 look at this system when it is fully loaded with something 
 meaningful?

not really.  a kernel compile from ramfs took about 2.9s with an
average of more than 3s of cpu used for every second of real time.  a
compile from the fs over a gigabit link took about 1s longer, but used
far less cpu.

neither is particular impressive, but i'm not using a great percentage
of the cycles available ( ~3/8) and i am using the slowest processor on
the sheet and, due to my misreading of the datasheet, i have only half
the memory channels populated.

did you have anything specific in mind?

- erik




Re: [9fans] Plan 9 on MacBook?

2008-07-16 Thread Pietro Gagliardi

The ISO I got that was supposed to work natively on an iMac had:
- keyboard error messages (but I think it worked)
- no working mouse
- inverse video
But good luck on a MacBook!

On Jul 16, 2008, at 10:30 PM, [EMAIL PROTECTED] wrote:


I now have a more-or-less unused MacBook. I'm
considering spending some time trying to get Plan 9
working on it. Has anyone gotten beyond confirming
that it won't work out of the box?
Anthony







Re: [9fans] Plan 9 on MacBook?

2008-07-16 Thread Pietro Gagliardi
Intel - there is no prebuilt PPC binary. That ELCR point is what made  
me get QEMU in the first place. You can find the ISO somewhere in /n/ 
sources/contrib. du and you can't miss it; it was made by someone else  
on the list.


On Jul 16, 2008, at 10:40 PM, [EMAIL PROTECTED] wrote:


This was an intel or ppc iMac? Did you make (if so,
how) or acquire (if so, from where) this ISO?

Getting that far would be much better than the
current stock ISO, which gets to the ELCR print.
Anthony







Re: [9fans] venti + Nt

2008-07-16 Thread a
Perhaps related: fossilcons(8), talking about stat, says:
  The bits denoted by capital letters are included to support
  non-Plan 9 systems.  They are not made visible by the 9P
  protocol.
Has anything ever been done with this, or is this support still
theoretical?