Re: [9fans] missing machs unearthed

2010-04-05 Thread Brian L. Stuart
My impression is that mp tables are getting worse and worse on new hardware because vendors assume everyone is running an acpi-aware OS. it's not clear to me that's it's not just general low quality, Does that imply that we can expect the acpi tables to be often incorrect too? 

[9fans] Factotum discrepancy

2010-02-25 Thread Brian L. Stuart
There appears to be a disagreement between the factotum man page and its actual behavior regarding the -a option.  In the man page, the wording: -a   supplies the address of the authentication server to      use.  Without this option, it will attempt to find an      authentication server by

Re: [9fans] Just one piece o' help.

2010-01-11 Thread Brian L. Stuart
I guess the need for running configure first is gone here. Most definitely. [Editorial comment on configure elided] I'm having trouble finding info on how to mount a thumb drive. If you are running usbd, it should detect when you insert the drive and run usb/disk for it. This will make

Re: [9fans] bootargs in 9vx

2009-12-15 Thread Brian L. Stuart
Is there a way to pass args like fs, auth, sysname, nvram, whatever to /boot/boot in 9vx? Yes and no. Out of the box, I'm pretty sure there isn't, however, a while back as part of supporting native Plan9 partitions, I added some support for plan9.ini. I've got some instructions and old

Re: [9fans] Scanners

2009-11-25 Thread Brian L. Stuart
The scanner ist connect via 1G ethernet. On the Touchscreen  is an Option Scan to network. The scanner scans direct to a cifs share (aquarella on plan9). No need for spezial software except a Cifs Server. The scanner use smbclient. That's neat. It makes sense too, using ethernet

Re: [9fans] Scanners

2009-11-25 Thread Brian L. Stuart
to having cifs as an option.  But when did it become popular to say that ftp should not be an option for transferring a file? The basic little flatbed on the website can scan to FTP. I'm not sure why the original poster chose to mention SMB and not FTP, but it's an option. DOH!

Re: [9fans] nice quote

2009-09-04 Thread Brian L. Stuart
KR is beautiful in this respect. In contrast, I never managed to bite in Stroustrup's description. Ok, now I'll get provocative: Then why do so many people have a problem understanding C? Are you saying that there is a significant number of people who understand C++ but not C? 

Re: [9fans] nice quote

2009-09-03 Thread Brian L. Stuart
KR is beautiful in this respect. In contrast, I never managed to bite in Stroustrup's description. Ok, now I'll get provocative: Then why do so many people have a problem understanding C? Are you saying that there is a significant number of people who understand C++ but not C? The reason

Re: [9fans] nice quote

2009-09-02 Thread Brian L. Stuart
Q: Will C continue to be important into the future? (Dave Kirk, Nvidia)A: No, I think C will die like Fortran has let me explain the joke. In HPC circles, people have been predicting the death of fortran for 30 years. Fortran has continued to grow and thrive. The predictions continue,

Re: [9fans] new 9atom.iso

2009-08-28 Thread Brian L. Stuart
Did you use the plan 9 kencc to build that inferno kernel? As I understand, inferno's 8c doesn't have the H5 option... I used the versions with Inferno, except that I borrowed a couple files from Plan9's 8l to get the H5 support. And in case anyone's curious, I booted it with grub a little

Re: [9fans] GSOC: Drawterm for the iPhone

2009-03-26 Thread Brian L. Stuart
9vx could replace drawterm in our environment, but i think the following work is required. 9vx needs - to be able to boot with no local files other than the executable, (i.e. directly from a plan 9 fs) Actually, I've been using it this way for a while. More precisely, when I'm on my home

Re: [9fans] threads vs forks

2009-03-06 Thread Brian L. Stuart
P.S. My belief in it was actually reaffirmed by a raving endorsement it got from an old LISP community. Those guys are a bit like 9fans, if you know what I mean ;-) You mean intelligent people who appreciate elegance? :) Sorry. Couldn't resist. BLS

Re: [9fans] Google Summer of code 2009

2009-03-06 Thread Brian L. Stuart
For whatever mixture of factors, we ended up below the line last year. This year more groups are expected to apply, and Google has indicated they plan to support fewer groups and fewer students this year as compared to last year. Each of those trends seems likely to push us further below

Re: [9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread Brian L. Stuart
I wrote a really simple program, forktest.c. Next, I performed some experiments using this program. Fork is faster for statically linked executables. It becomes slower as more libraries are added to a dynamically linked executable. What fascinates me here is that forktest doesn't even use

Re: [9fans] Sources Gone?

2009-02-03 Thread Brian L. Stuart
information can't leak in principle, but root scores are dangerous, which is why open-access venti servers are problematic - if such a score *does* happen to leak, then unconditional access to all your data has also leaked. If I understand correctly, this line of discussion is primarily

Re: [9fans] Small program PlanKey (paraphrase of DOSKey)

2009-01-29 Thread Brian L. Stuart
This isn't a *TeX complaints forum, but... I'm spending more time trying to figure out how to properly layout my page and get the headers right, wa-wa (in LaTeX) -- instead of submitting my proof to the damn journal. How feasible is a solution to this mess? Which journal is it? A

Re: [9fans] 9vx hangs w/ fossil [was: installing from 9vx?]

2009-01-15 Thread Brian L. Stuart
but after a few dozen seconds, it seems that 9vx froze (everything stopped and I couldn't act on any of the windows nor open a new one). I killed 9vx and retried (after having checked/fixed fossil from fscons), and got the same behaviour. ... Stuart, haven't you encountered this problem as

Re: [9fans] graphics scaling

2008-12-22 Thread Brian L. Stuart
i've found it quite solid under Ubuntu 8.04, and i'm running an old version of 9vx. the last time i said that i'd had no trouble it promptly blew up, but apart from that i haven't had any trouble, once it starts up. i haven't used drawterm in ages, except on windows. The main issue I had

Re: [9fans] graphics scaling

2008-12-22 Thread Brian L. Stuart
if the version on my file server (which I keep more up to date) has the muti-line tag behavior. To be honest, the only time I really notice it is when I'm trying to get to the Del tag in a directory listing in a really narrow column. BLS On Dec 22, 2008, at 9:14 AM, Brian L. Stuart wrote

Re: [9fans] Grid computing architecture w/ 9P + Java ;-)

2008-12-01 Thread Brian L. Stuart
P.S. Speaking of Inferno -- I have always wanted to run it natively on these puppies: http://www.sunspotworld.com/ That's a seriously cool idea. I just discovered we have a dev kit here at work. I can't say for sure whether the powers that be will approve of me spending time working on

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-20 Thread Brian L. Stuart
This is why I've been trying to stay out of it. So how to think about it? First, it's *not* NAT, because there's no address translation going on. I know. I understood this after the discussions of the past few days. Yet you're still contending the following: What I pointed out to

Re: [9fans] Plan 9 != Inferno... right?

2008-11-20 Thread Brian L. Stuart
I'm just about ready to take the plunge (again) into Plan 9 for file Welcome to the pool. The water's great. started to get the impression that Inferno is perhaps a better way to go for a newbie like me to the whole rio/acme/fossil Way. Is this mistaken? For rio/acme/fossil, you do want to

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-20 Thread Brian L. Stuart
but /net is not a fs. '#I' the ip stack and '#l' the ethernet device are usually bound in union on /net. ip subsumes its subprotocols and arp. there is nothing preventing one from adding a new networking protocol nor is there anything preventing one from adding a new type of networking

Re: [9fans] Plan 9 != Inferno... right?

2008-11-20 Thread Brian L. Stuart
I think a more precise way of saying it is that in 9p2000 and the new styx, authentication has been moved outside the protocol proper. styx==9p now; the names are used by convention to imply the auth method, if any. You're right. I stand corrected. For some reason I had thought that the

Re: [9fans] Next IWP9

2008-11-10 Thread Brian L. Stuart
i have offered to host in athens, ga. home of coraid, the university of georgia, and almost never any snow. we're just outside atlanta. That would work better really well for me, as I'm in Memphis--much easier to drive to Atlanta than to the northeast, or Greece for that matter... And since

Re: [9fans] on a slightly more fun note

2008-11-05 Thread Brian L. Stuart
Just booted Plan 9 on a 1024+16 node BG/P this week. . I'll echo the congratulations. Plan is to double it just a few times until we hit 65536 or so. Then the fun begins: turning on all cores, so we get to 262144 cpus. So how many cores is that for each member of the Plan 9 community? :-)

Re: [9fans] Questions on notes

2008-11-03 Thread Brian L. Stuart
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 handle the notes externally using a different kind of

Re: [9fans] Questions on notes

2008-11-03 Thread Brian L. Stuart
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 handle the notes externally using a

Re: [9fans] non greedy regular expressions

2008-10-28 Thread Brian L. Stuart
This guy seems to blur the distinctions here. His discussion He doesn't. If one reads the whole section part of which was quoted one will see that he clearly states DFA and NFA are theoretically equivalent, but then goes on to explain that DFA and NFA _implementations_ are not

Re: [9fans] The late upamalloc

2008-09-29 Thread Brian L. Stuart
If you are working on the driver in my contrib dir, there are probably newer versions of it somewhere, but don't ask me where you could find them or who might have them, I don't even remember where I got that one from. I think that's the one I started with. As far as I know some of the

[9fans] The late upamalloc

2008-09-27 Thread Brian L. Stuart
Okay, I've been taking a crack at the broadcom driver that's been lying around. It's pretty old and used the upamalloc call. But upamalloc is now gone and I don't seem to be able to find the right way to replace it. After looking at other drivers and at the old upamalloc code on sourcesdump,

Re: [9fans] accessing a network with 9vx

2008-09-26 Thread Brian L. Stuart
I just downloaded 9vx and started up on my box. On http://swtch.com/9vx/ it is mentioned that I can access my host's network stack, but I cannot figure out how (or maybe I am not understanding it right?). There is no network interface on /net. Can someone point me some docs on how to

[9fans] PCMCIA ethernet-solved partially

2008-09-19 Thread Brian L. Stuart
For those who have been paying attention, I found the problem with the 3c589 last night. I needed to add one line to ether589.c. In reset(), it sets up some parts of an Ether structure. Then when setting the media type, it calls etherelnk3reset() indirectly through configASIC. But

Re: [9fans] PCMCIA Ethernet

2008-09-18 Thread Brian L. Stuart
There's is some code laying around for Broadcom 570x cards: http://plan9.bell-labs.com/sources/contrib/uriel/mirror/bc.tgz I'll take a look at it. I seem to recall some discussion of it and that it was in a pretty incomplete state. If I'm remembering correctly, I'm thinking my chances might

Re: [9fans] PCMCIA Ethernet

2008-09-18 Thread Brian L. Stuart
I was using a 3c589 until a few years ago, then I moved to a Netgear FA411 which is somwhat more mechanically robust - I broke the plug on the 3com card :-( It sounds like for a number of people it's working just fine, and no one's put forward any real magic to make it work, except for using

Re: [9fans] PCMCIA Ethernet

2008-09-17 Thread Brian L. Stuart
I am using a 3c589 and remember having the same symptoms at first. Jmk then gave me the hint to try the other slot which amazingly did the trick. I then didn't investigate that further. Incidentally, I'm also having a 572 lying around I'm hoping to get running someday. As far as I remember,

[9fans] PCMCIA Ethernet

2008-09-16 Thread Brian L. Stuart
Is anyone currently successfully using a pcmcia ethernet card? The last time I tried to do this, I came to the conclusion that I would need to sacrifice a chicken to get it to work, and I ended up moving on to something else. But I'm back to trying this. I've tried with several versions of the

[9fans] Mirrorarenas in p9p

2008-07-31 Thread Brian L. Stuart
I'm running a p9p venti server under Linux using several (small by current standards) physical drives as my arena pool. I got a 500GB external USB drive to use as a backup of the arenas. But here's the gotcha. The number of blocks per cylinder on the 500GB drive isn't the same as the other

Re: [9fans] Mirrorarenas in p9p

2008-07-31 Thread Brian L. Stuart
- Is this going to cause any problems? - Is there a better way to handle this? could you use disk/prep instead of disk/fdisk? prep should work in this situation as long as the sector size on both drives is the same. I don't think so. Unless it's been added recently, p9p doesn't have

Re: [9fans] Mirrorarenas in p9p

2008-07-31 Thread Brian L. Stuart
Also, if you do create a Plan 9 partition and then prep it to make subpartitions (you'd have to use 9vx, copying the binaries from sources), then p9p venti can handle those partition names too: /dev/sda1:arenas assuming /dev/sda1 is a Plan 9 fdisk partition containing a subpartition named

Re: [9fans] 9vx and local file systems

2008-07-24 Thread Brian L. Stuart
The changes I mentioned earlier that allow 9vx to use a local disk partition as root are ready for advised* public consumption. I've put everything up on the page: http://umdrive.memphis.edu/blstuart/9vx/local9vx.html Russ, if you want to consider these for inclusion in the main tree, you can

Re: [9fans] 9vx and local file systems

2008-07-23 Thread Brian L. Stuart
- boot/boot did bad things if the localroot wasn't set, so when using boot/boot it's now . I think this is fixed in hg now. I found one place where localroot was going to be used even though it shouldn't. Yes, that seems to work correctly now. I'm beginning to think the lock-ups

[9fans] 9vx and local file systems

2008-07-18 Thread Brian L. Stuart
A little while back Russ suggested that someone might want to look into making 9vx boot using a native fossil/venti file system partition for root. For anyone who's interested, as of this morning, that is working. It's a little kludgy in places, but mostly it's not too bad. When I've cleaned it

Re: [9fans] 9vx and local file systems

2008-07-18 Thread Brian L. Stuart
- boot/boot did bad things if the localroot wasn't set, so when using boot/boot it's now . What bad things did it do? The code is supposed to cope gracefully with localroot == nil. I'd rather fix the code that couldn't cope. Ah, that means I need to remember. As you get older, one of

Re: [9fans] Corrupted meta data

2008-07-17 Thread Brian L. Stuart
Can you clri the file from fossilcons? Unfortunately, that just reports the corrupted meta data too. Interestingly, when I started it up this morning, the check didn't report an error with it. But then after trying to access it, check now reports: error: could not unpack meta block:

Re: [9fans] Corrupted meta data

2008-07-17 Thread Brian L. Stuart
Your best bet is probably to clri /active/sys/src/9/pc and not look back. clri /active/sys/src/9/pc no_lb_mode = 1 ; It is happy now. It's more likely in a bad loop somewhere. Is it repeatedly doing I/O during the 100% cpu? I don't honestly know. Next time it happens, I'll check and see.

Re: [9fans] Corrupted meta data

2008-07-17 Thread Brian L. Stuart
It's more likely in a bad loop somewhere. Is it repeatedly doing I/O during the 100% cpu? It just locked again. Here's what I'm seeing. In top, the first thread is using 100% of the CPU and all the other threads are in the S state with no run time. I don't see any indications either in

[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

Re: [9fans] 9vx on OpenBSD-4.3

2008-07-10 Thread Brian L. Stuart
Me again - Were you successfull in porting 9vx to OpenBSD? If you need some testing help, contact me. Speaking of that, does anyone have an idea where NetBSD would fit into that? Of the bunch, that's the one I've used most and have deployed in the most places. I would think there would be

Re: [9fans] 9vx on OpenBSD-4.3

2008-07-10 Thread Brian L. Stuart
i'm interested in netbsd as a replacement for linux to serve 9p in small ARM machines... i could use this Why not Inferno? (Native or hosted) uriel thanks, i'd overlooked that option I must say though that having to re-target to limbo is a minus. Is there a 'plan9 c' to dis

Re: [9fans] 9vx

2008-06-27 Thread Brian L. Stuart
So i realized I'm being foolish w.r.t my comments on i want my venti in the 9vx directory dd if=/dev/zero of=arenas bs=1048576 count=whatever do for index and bloom follow venti instructions. voila. Venti. Rinse and repeat for fossil. I haven't tried this yet, but is there any reason

Re: [9fans] 9vx

2008-06-27 Thread Brian L. Stuart
I haven't tried this yet, but is there any reason you couldn't put block special files for disk partitions in the 9vx directory and put the arenas, etc there, assuming of course all the permissions were set right? I'll probably give it a try later tonight unless someone yells Stop! You'll

Re: [9fans] P9P on Solaris

2008-05-28 Thread Brian L. Stuart
That's probably because the stack pointer points at the wrong end of the stack. There are some magic #defines you can put in that change the meaning of ... Once you get the thread library working, you will probably have to add support for the Solaris FS to libdiskfs, unless it is the same

Re: [9fans] P9P on Solaris

2008-05-15 Thread Brian L. Stuart
I'm sorry about that. There aren't supposed to be anonymous unions and structs in the source code, but they creep in. I've removed them from hfs.h. Thanks, that got me farther. I was able to coerce it to build the libraries and some applications. But, surprise surprise, the threading

[9fans] P9P on Solaris

2008-05-13 Thread Brian L. Stuart
What compiler has been successfully used to build p9p on Solaris? I've got a Solaris 9 install and have tried the gcc 2.95 from the extras cd and Sun Studio 11 and both have heartburn on the anonymous unions and structs used in hfs.h in libdiskfs. Thanks, BLS

Re: [9fans] v9fs/fossil oddity

2008-05-08 Thread Brian L. Stuart
-- Original message -- From: Eric Van Hensbergen [EMAIL PROTECTED] On Thu, May 8, 2008 at 12:56 PM, Brian L. Stuart [EMAIL PROTECTED] wrote: - v9fs defines P9_OEXCL to be 4, where /sys/include/libc.h defines OEXCL to be 0x1000 Which version of v9fs

Re: [9fans] v9fs/fossil oddity

2008-05-08 Thread Brian L. Stuart
From: Brian L. Stuart [EMAIL PROTECTED] From: Eric Van Hensbergen [EMAIL PROTECTED] On Thu, May 8, 2008 at 12:56 PM, Brian L. Stuart [EMAIL PROTECTED] wrote: - v9fs defines P9_OEXCL to be 4, where /sys/include/libc.h defines OEXCL to be 0x1000 Which version of v9fs are you using

Re: [9fans] Authentication questions

2008-05-06 Thread Brian L. Stuart
are you sure that both your auth server is running (look for results from 'ps | grep keyfs') and that you're running the network listener for it (service.auth/tcp567)? the connection refused says it's just They are. As it turns out, it was a combination of operator error and misleading

Re: [9fans] Authentication questions

2008-05-06 Thread Brian L. Stuart
As long as I'm at it, though, I've got a question about listen. It's filling a rather large logfile with lots of address in use errors. As I look into things, it appears that I'm starting listen both in /bin/cpurc and in /cfg/phantom/cpurc with the latter specifying the -t option. That

Re: [9fans] p9p/linux factotum port

2008-05-06 Thread Brian L. Stuart
is anyone already working on an factotum port to p9p or native Linux ? P9P already has factotum. BLS

Re: [9fans] Authentication questions

2008-05-05 Thread Brian L. Stuart
Once again, I find myself in the unhappy, but familiar, place of being befuddled by security/authentication. ... I know it's bad form to reply to your own question, but I've gotten a bit farther. I realized that /bin/service/tcp564 isn't the right way to go about it. After a good slap on the

Re: [9fans] A new age has arrived

2008-04-01 Thread Brian L. Stuart
i can sleep easier knowing that this technology has finally been accepted by the general public: It would appear their intent is that everyone sleep easier. What worries me is the inventory reduction. This OS is already very lean. I'm not sure what there is to reduce. BLS

<    1   2