[9fans] Go tool capabilities (Was: going too far?)

2013-02-20 Thread lucio
 This is correct. The go tool supports files with an
 extension matching (go|[chsS]|swig(cxx)?|syso).

Sorry to hi-jack the thread here, does the go tool invoke the native
host compiler or the Plan 9-like one for .c files?  I guess the same
question applies for .[sS] extensions?

++L




[9fans] Go tool capabilities (Was: going too far?)

2013-02-20 Thread lucio
 This is correct. The go tool supports files with an
 extension matching (go|[chsS]|swig(cxx)?|syso).

Sorry to hi-jack the thread here, does the go tool invoke the native
host compiler or the Plan 9-like one for .c files?  I guess the same
question applies for .[sS] extensions?

++L




[9fans] [RQ:] SATA HD 2+ TB native recommendations

2013-02-20 Thread Peter A. Cejchan
Hi, folks,

I am about to buy an internal HD for my native Plan9 box.
I need 2TB or more, can anyone recommend me a model that is tested to work?
Native, not p9p.

Also, can anyone recommend a hi-res video card, SXGA+ or better, 24-bit
depth?
I am aware of the Supported PC Hardware page, of course, however, I would
appreciate your personal experience.

Thanks, best regards,
++pac


[9fans] arcnet

2013-02-20 Thread steve

just a straw poll, anyone here use arcnet or know of any significant modern use,

my employer uses it for data comms in TV stations, but this is becoming
superseded by ethernet these days, are we the last bastion?

-Steve




Re: [9fans] arcnet

2013-02-20 Thread Matthew Veety
It seems so. I haven't heard it being used in my lifetime.

On Feb 20, 2013, at 11:57, steve st...@quintile.net wrote:

 
 just a straw poll, anyone here use arcnet or know of any significant modern 
 use,
 
 my employer uses it for data comms in TV stations, but this is becoming
 superseded by ethernet these days, are we the last bastion?
 
 -Steve
 
 



Re: [9fans] [RQ:] SATA HD 2+ TB native recommendations

2013-02-20 Thread Nicolas Bercher

On 20/02/2013 15:04, erik quanstrom wrote:

4k drives only work in 9atom.  and they're not recommended
as a boot drive.


Do you mean 4k drives that reports 4k block size or 4k drives that
report 512B?



i've found it hard to tell, even reading the data sheets if a drive
is 512 or 4k.  but many drives have the lba number on the sticker.  and
for example 3907029168 corresponds to 512-byte sectors, 2T.

3907029168*512/1000^4 = 2.0

- erik


My WD hdd hosts a Plan 9 from Bell Labs from Bell Labs, it is a
WDC WD15EARS-00Z.  I'm 99% sure* it is a 4k hdd that reports 512B block
sizes.  And when I installed the system, I did all the partitioning by
hand to ensure alignment for every Plan 9 partition.  It was quite a
pain.

I didn't take a look seriously to the sticker, I will next time the
box will be opened.


Nicolas

--
* If I remember well, I did some tests with misaligned partitions
under Linux, R/W operations were so slow...!  To me, it's hard to be
sure whether it's a 512B or 4kB hdd without performing some tests, like
this.



Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
 How does one reboot remotely (from drawterm)?
 I see that /srv/fscons is chmod 600 and owned by bootes.
 What is the standard way to do this?

by cpuing in as bootes.  from drawterm it is legal
to cpu -h $cpuserver -u bootes.

if you have more than a trivial number of machines,
a serial console server is a good idea.  that makes this
sort of thing a little easier.

- erik



Re: [9fans] How to reboot with normal user

2013-02-20 Thread Costin Chirvasuta
Logically...
Need to read up on the manuals.

Thanks!

On Thu, Feb 21, 2013 at 2:28 AM, erik quanstrom
quans...@labs.coraid.com wrote:
 How does one reboot remotely (from drawterm)?
 I see that /srv/fscons is chmod 600 and owned by bootes.
 What is the standard way to do this?

 by cpuing in as bootes.  from drawterm it is legal
 to cpu -h $cpuserver -u bootes.

 if you have more than a trivial number of machines,
 a serial console server is a good idea.  that makes this
 sort of thing a little easier.

 - erik




Re: [9fans] How to reboot with normal user

2013-02-20 Thread Benjamin Huntsman
 How does one reboot remotely (from drawterm)?

Couldn't consolefs be rigged to allow certain named users (or a group) to do 
things like what he's asking for?

-Ben



Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
On Wed Feb 20 19:49:22 EST 2013, bhunts...@mail2.cu-portland.edu wrote:
  How does one reboot remotely (from drawterm)?
 
 Couldn't consolefs be rigged to allow certain named users (or a group) to do 
 things like what he's asking for?

why would rigging be involved?  it naturally does that.
when i'm doing kernel debugging, this is a pretty natural
way to go:

C victim
victim# ^P
cpu0: exiting


- erik



Re: [9fans] How to reboot with normal user

2013-02-20 Thread Benjamin Huntsman
why would rigging be involved?  it naturally does that.
when i'm doing kernel debugging, this is a pretty natural
way to go:

C victim
victim# ^P
cpu0: exiting


- erik

I thought so.  I just said rigging because I didn't remember how to get it 
set up. :)

-Ben



Re: [9fans] How to reboot with normal user

2013-02-20 Thread erik quanstrom
On Wed Feb 20 20:13:40 EST 2013, bhunts...@mail2.cu-portland.edu wrote:
 why would rigging be involved?  it naturally does that.
 when i'm doing kernel debugging, this is a pretty natural
 way to go:
 
 C victim
 victim# ^P
 cpu0: exiting
 
 
 - erik
 
 I thought so.  I just said rigging because I didn't remember how to get it 
 set up. :)

the trick of using ^T^Tr on terminals and ^P on
cpu servers is slick!

- erik



[9fans] multi-processor support

2013-02-20 Thread Deepak Chawla
My Vbox VM has 2 CPUs, but /dev/sysstat only has one line entry for CPU ID
0. I'm running Erik's 9atom on the VM. Do I need to run anything to start
the other processor?


Re: [9fans] multi-processor support

2013-02-20 Thread erik quanstrom
 My Vbox VM has 2 CPUs, but /dev/sysstat only has one line entry for CPU ID
 0. I'm running Erik's 9atom on the VM. Do I need to run anything to start
 the other processor?

does your plan9.ini have *nomp=1?

- erik



Re: [9fans] arcnet

2013-02-20 Thread lucio
 my employer uses it for data comms in TV stations, but this is becoming
 superseded by ethernet these days, are we the last bastion?

How do they propose to maintain it when the equipment starts failing?

++L




Re: [9fans] multi-processor support

2013-02-20 Thread Deepak Chawla
I do. I'll set it to 0.

BTW, whats with the * in the beginning of some of the names?


On Wed, Feb 20, 2013 at 11:27 PM, erik quanstrom quans...@quanstro.netwrote:

  My Vbox VM has 2 CPUs, but /dev/sysstat only has one line entry for CPU
 ID
  0. I'm running Erik's 9atom on the VM. Do I need to run anything to start
  the other processor?

 does your plan9.ini have *nomp=1?

 - erik




Re: [9fans] multi-processor support

2013-02-20 Thread cinap_lenrek
* denotes that the key is for the kernel and will not show
up in the enviroment. sometimes, theres a difference between
a key having the value 0 and a key not being present. often,
the kernel will just check for the presence of a key and ignore
its value. but this is not the case for *nomp :)

--
cinap