Re: [9fans] mmap and shared libraries

2008-11-04 Thread Lyndon Nerenberg
A standalone statically linked binary is going to be considerable larger while in flight over data links. But that static binary only flies once, geting sucked into memory with a (mostly) simple bcopy equiv at process launch time. Shared memory regimes thrash the living daylights out of MMUs a

Re: [9fans] mmap and shared libraries

2008-11-04 Thread ron minnich
On Tue, Nov 4, 2008 at 9:17 PM, Roman Shaposhnik <[EMAIL PROTECTED]> wrote: > A standalone statically linked binary is going to be considerable larger > while > in flight over data links. > ah yes well maybe. [EMAIL PROTECTED]:~/mtelnet> ls -l `which emacs` -rwxr-xr-t 1 root root 4587528 2006-06

Re: [9fans] Questions on notes

2008-11-04 Thread ron minnich
On Tue, Nov 4, 2008 at 9:05 PM, Roman Shaposhnik <[EMAIL PROTECTED]> wrote: > On Nov 3, 2008, at 9:41 AM, [EMAIL PROTECTED] wrote: >>> >>> Frankly, I was trying to see whether an external process reading >>> on somebody else's /proc/n/note would make any sense. One thing >>> that I wanted to implem

Re: [9fans] mmap and shared libraries

2008-11-04 Thread Roman Shaposhnik
On Nov 3, 2008, at 5:16 AM, [EMAIL PROTECTED] wrote: A thought ... Shared libraries do 2 possibly useful things: 1) save space 2) stop you having to re-link when a new library is released. Now 2) doesn't really happen anyway, due to .so versioning hell, so we're left with 1) ... I know it's ki

Re: [9fans] Questions on notes

2008-11-04 Thread Roman Shaposhnik
On Nov 3, 2008, at 9:41 AM, [EMAIL PROTECTED] wrote: Frankly, I was trying to see whether an external process reading on somebody else's /proc/n/note would make any sense. One thing that I wanted to implement was a "note thief" process that would constantly read on a target's /proc/n/note and han

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread Roman Shaposhnik
On Nov 4, 2008, at 8:00 PM, erik quanstrom wrote: i don't think the kernel has this level of control. let's suppose that we have a process that gets a stop message that's doing i/o. let's suppose that it's doing io to a particularly cranky device with lots of neat locks that really hates gettin

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread Roman Shaposhnik
On Nov 4, 2008, at 8:01 PM, erik quanstrom wrote: I'm asking is -- "dear kernel, please don't advance this process even if you otherwise can". All I need is a frozen state so that I can not so easy on a multiprocessor. (unless you turn all but one processor off.) Hm. May be its getting late

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread erik quanstrom
> I'm asking is -- "dear kernel, please don't advance this process even > if you otherwise can". All I need is a frozen state so that I can not so easy on a multiprocessor. (unless you turn all but one processor off.) - erik

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread erik quanstrom
> I'm glad you've asked ;-) In fact, there's a bigger context and it is > around managing processes run by cpu(1) from the terminal host. I was > planning on writing an email on that subject to this list over the > weekend but I need to amass some level of intelligence in that area > first. > > F

Re: [9fans] Questions on notes

2008-11-04 Thread Roman V. Shaposhnik
On Mon, 2008-11-03 at 18:48 +, Brian L. Stuart wrote: > > > > Frankly, I was trying to see whether an external process reading > > > > on somebody else's /proc/n/note would make any sense. One thing > > > > that I wanted to implement was a "note thief" process that would > > > > constantly read

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread Roman V. Shaposhnik
On Mon, 2008-11-03 at 17:01 -0800, ron minnich wrote: > On Sun, Nov 2, 2008 at 9:55 PM, Roman Shaposhnik <[EMAIL PROTECTED]> wrote: > > when somebody tries to stop a process that is waiting for the IO the process > > doesn't get transferred to a Stopped state immediately but only when > > the sched

[9fans] /dev/cputemp

2008-11-04 Thread erik quanstrom
i dug out the code i wrote some time ago to read cpu temperature (or the closest stand in for it i could find) on most modern amd and intel processors. it's wrapped up with a change to extend the model macro so that conroe l processors don't appear to be xeons. /n/sources/contrib/quanstro/src/9/p

Re: [9fans] Time travel

2008-11-04 Thread Jack Johnson
On Tue, Nov 4, 2008 at 3:09 PM, Lyndon Nerenberg <[EMAIL PROTECTED]> wrote: > Make that "Get off of my Wifi!" Those crazy kids with their Hulu loops. -J

[9fans] aha! that pesky OSX gui failure case

2008-11-04 Thread Jeff Sickel
At IWP9 I demonstrated a certain condition where Inferno and drawterm would fail to start up the gui environment w/o entering a nice spinning cursor on Leopard. As it turns out, there is a third party application that causes this case to rear it's ugly head: Audio Hijack Pro (fantastic app

Re: [9fans] Programming tutorial draft

2008-11-04 Thread Jeff Sickel
A suggestion for the next app to be supported in linuxemu: DjVu. Since we don't have a C++ compiler outside of older versions of gcc, getting a linux version of DjVuLibre up and running would be fantastic. -jas On Nov 4, 2008, at 6:09 PM, [EMAIL PROTECTED] wrote: ah come on, PDFs are so 2002,

Re: [9fans] Programming tutorial draft

2008-11-04 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, it also covers Runes. On Nov 4, 2008, at 6:54 PM, Pietro Gagliardi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 /n/sources/contrib/pietro/programming.pdf This only covers files, processes, and little else. I began a part on segme

[9fans] Time travel

2008-11-04 Thread Lyndon Nerenberg
On Tue, 4 Nov 2008, Kim Shrier wrote: Maybe I'm getting too old... Hey you kids! Get off of my lawn. Make that "Get off of my Wifi!" --lyndon (in firm denial of becoming a legitimate 'grey beard')

Re: [9fans] Programming tutorial draft

2008-11-04 Thread ericvh
ah come on, PDFs are so 2002, where's the you tube video? -eric On Nov 4, 2008 5:54pm, Pietro Gagliardi <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 /n/sources/contrib/pietro/programming.pdf This only covers files, processes, and little else. I began a part o

[9fans] Programming tutorial draft

2008-11-04 Thread Pietro Gagliardi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 /n/sources/contrib/pietro/programming.pdf This only covers files, processes, and little else. I began a part on segments, but I don't know if it will stay. I haven't touched it since August, but I plan to start it again perhaps in a few days. -

Re: [9fans] Questions about plan9.

2008-11-04 Thread hiro
> Thanks alot, people in comp.os.plan9 are much more polite then in > comp.os.vms. > > you should not be too sure about that *g*

Re: [9fans] mmap

2008-11-04 Thread Kim Shrier
On Nov 4, 2008, at 9:02 AM, ron minnich wrote: On Mon, Nov 3, 2008 at 11:15 PM, Andrew Simmons <[EMAIL PROTECTED]> wrote: I don't want to imply that Ron is quite such an old fart as me, but somehow I don't get the impression that he was a kid in 1981, when "Time Bandits" came out. Ron, if you

Re: [9fans] Questions about plan9.

2008-11-04 Thread Nolan Hamilton
On Nov 4, 7:06 am, [EMAIL PROTECTED] (Robert Raschke) wrote: > On Tue, Nov 4, 2008 at 4:39 PM, Nolan Hamilton > > <[EMAIL PROTECTED]> wrote: > > Can somebody give me instructions on > > 1.  How can I can configure mail? ( and do not just redirect me to the > > wiki page on it.) > > :-) > > Do you

Re: [9fans] Questions about plan9.

2008-11-04 Thread Robert Raschke
On Tue, Nov 4, 2008 at 4:39 PM, Nolan Hamilton <[EMAIL PROTECTED]> wrote: > Can somebody give me instructions on > 1. How can I can configure mail? ( and do not just redirect me to the > wiki page on it.) :-) Do you mean reading mail or setting up a mail server? For the former, the easiest is to

Re: [9fans] Questions about plan9.

2008-11-04 Thread Nolan Hamilton
Can somebody give me instructions on 1. How can I can configure mail? ( and do not just redirect me to the wiki page on it.) 2. How can I read newsgroups on plan9? Internet works and everything.

Re: [9fans] punched cards live

2008-11-04 Thread David Leimbach
On Tue, Nov 4, 2008 at 7:25 AM, Eris Discordia <[EMAIL PROTECTED]>wrote: > i think it's a tradition at this point to use 0x20 and not 0x00 to >> fill a fixed-with signature. ata identify device uses 0x20 to fill >> out fixed-width fields like the serial number. i'd be interested >> where this tr

Re: [9fans] mmap

2008-11-04 Thread David Leimbach
On Mon, Nov 3, 2008 at 8:43 PM, Enrico Weigelt <[EMAIL PROTECTED]> wrote: > * ron minnich <[EMAIL PROTECTED]> wrote: > > > I wish I could remember. It had the usual guys in silvery suits. They > > walk through a frame and are back in time. Key point was, at the end, > > that they ended up escaping

Re: [9fans] mmap and shared libraries

2008-11-04 Thread ron minnich
On Tue, Nov 4, 2008 at 7:06 AM, Eris Discordia <[EMAIL PROTECTED]> wrote: > Attempts to live boot Plan 9 on the same machine fail because > some 9wacko believes CD-ROM drives must be secondary master or > something--and I won't move a jumper to suit a 9wacko's whim; not that I've > ever been asked

Re: [9fans] mmap

2008-11-04 Thread ron minnich
On Mon, Nov 3, 2008 at 11:15 PM, Andrew Simmons <[EMAIL PROTECTED]> wrote: > I don't want to imply that Ron is quite such an old fart as me, but > somehow I don't get the impression that he was a kid in 1981, when > "Time Bandits" came out. Ron, if you could give some clue as to when > you saw the

Re: [9fans] mmap and shared libraries

2008-11-04 Thread Eris Discordia
I can run Plan 9 quite nicely in 128 MB of RAM. In the same amount of memory FreeBSD is paging nightmare, despite it's wonderfully complex shared library environment. You're wrong. Case in point: my FreeBSD 6.2-RELEASE installation on a 233 MHz PII (one of those Slot 1 processors) with 128 MB o

Re: [9fans] Questions about plan9.

2008-11-04 Thread C H Forsyth
>ut I used both of you commands, no error messages ip/ipconfig -D will print a little bit more (and i mean `a', `little' and `bit')

Re: [9fans] punched cards live

2008-11-04 Thread Eris Discordia
i think it's a tradition at this point to use 0x20 and not 0x00 to fill a fixed-with signature. ata identify device uses 0x20 to fill out fixed-width fields like the serial number. i'd be interested where this tradition popped up. 0 would make more sense. I risk being wrong--as always--and sa

Re: [9fans] Questions about plan9.

2008-11-04 Thread Nolan Hamilton
On Nov 4, 3:39 am, [EMAIL PROTECTED] (Pietro Gagliardi) wrote: > On Nov 4, 2008, at 8:04 AM, [EMAIL PROTECTED] wrote: > > > Hi, I just recently fell in love with plan9, it's a great operating > > system, However there are somethings I do not know how to do. > > > 1.  How can I get internet through

Re: [9fans] Questions about plan9.

2008-11-04 Thread Nolan Hamilton
On Nov 4, 3:39 am, [EMAIL PROTECTED] (Pietro Gagliardi) wrote: > On Nov 4, 2008, at 8:04 AM, [EMAIL PROTECTED] wrote: > > > Hi, I just recently fell in love with plan9, it's a great operating > > system, However there are somethings I do not know how to do. > > > 1.  How can I get internet through

Re: [9fans] mmap

2008-11-04 Thread Charles Forsyth
"time travel" plots reminds me of an obscure but splendid czech film that i've only seen once http://filmjournal.net/czech/2006/09/18/tomorrow-ill-wake-up-and-scald-myself-with-tea/ but have yet to find on DVD. it is very funny.

Re: [9fans] Questions about plan9.

2008-11-04 Thread Pietro Gagliardi
On Nov 4, 2008, at 8:04 AM, [EMAIL PROTECTED] wrote: Hi, I just recently fell in love with plan9, it's a great operating system, However there are somethings I do not know how to do. 1. How can I get internet through a ethernet cord?(I am not sure which ethernet card I have , but the computer

[9fans] Questions about plan9.

2008-11-04 Thread nolan . h . hamilton
Hi, I just recently fell in love with plan9, it's a great operating system, However there are somethings I do not know how to do. 1. How can I get internet through a ethernet cord?(I am not sure which ethernet card I have , but the computer I have is a Dell Dimension 1100.) 2. Were can I get a

Re: [9fans] Quick question on stopping a process that waits for IO

2008-11-04 Thread erik quanstrom
>> Is there any way I can poke the target process so that it gets attention >> from the scheduler an can be put in a Stopped state? > > I know, I know we all don't like those guys who talk to themselves > on mailing lists replying to their own emails, but since there were > no takers here's what

Re: [9fans] mmap

2008-11-04 Thread Bakul Shah
On Tue, 04 Nov 2008 20:15:04 +1300 "Andrew Simmons" <[EMAIL PROTECTED]> wrote: > I don't want to imply that Ron is quite such an old fart as me, but > somehow I don't get the impression that he was a kid in 1981, when > "Time Bandits" came out. Ron, if you could give some clue as to when > you saw