Re: [9fans] lguest on 2.6.25

2008-08-28 Thread Richard Miller
As for the load issue: The full cpu usage that I was seeing earlier actually stops after a several minutes. ... Is this genrandom behavior anything out of the ordinary? /dev/random normally runs at 100% cpu after booting, and whenever its queue of random bytes is getting empty. Since it

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread erik quanstrom
When genrandom is running, stats shows a load of around 3000. Otherwise, load is always around 2000. what are the other two processes that are constantly running? - erik

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread erik quanstrom
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. via has release the padlock documentation. unfortunately one needs to enable floating point and sse to use the padlock rng.

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread ron minnich
this is weird. So, to recap, your timezone is set correctly, and yet you are four hours off. A useful thing to do is cat /dev/time and see how it changes. The time from lguest is simple: you read a 64-bit # which is time. It's just like Xen that way. Also, try this to test another issue: date

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread John Soros
i think it is weird too, as far as i could mesure it, it took 60 seconds, here it is: cpu% date sleep 60 date Thu Aug 28 22:19:21 CET 2008 Thu Aug 28 22:20:22 CET 2008 cpu% My timezones are all set up to be CET (host and plan9 guest), the hardware clock is set to UTC. I am running vanilla

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread Alex Lee
On Thu, Aug 28, 2008 at 10:38 AM, ron minnich [EMAIL PROTECTED] wrote: this is weird. So, to recap, your timezone is set correctly, and yet you are four hours off. A useful thing to do is cat /dev/time and see how it changes. The time from lguest is simple: you read a 64-bit # which is time.

Re: [9fans] lguest on 2.6.25

2008-08-28 Thread John Soros
yep, i get exactly the same: plan9: % date Thu Aug 28 23:40:17 CET 2008 Linux host: $ date Thu Aug 28 20:06:02 CEST 2008 even the time difference seems to be the same. strange! rgds John On Thu, 28 Aug 2008 12:24:32 -0500 Alex Lee [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2008 at 10:38 AM, ron

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.

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?

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.

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread John Soros
On Sun, 24 Aug 2008 23:58:21 -0500 Alex Lee [EMAIL PROTECTED] wrote: On Sun, Aug 24, 2008 at 11:32 PM, ron minnich [EMAIL PROTECTED] wrote: [snip] lguestnetwork is see this line? It's a variable read in /rc/bin/cpurc. You can check that script and see how it can be set so that

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread erik quanstrom
Hello, I have gotten the lguest port working on the 2.6.25.0 kernel, it works mighty fine here. The load issue for me is only on plan9, on the host I can see with 'top' that the lguest guest isn't consuming all the cpu, so this might ust be a plan9 problem. I have also seen quite a few

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread ron minnich
On Mon, Aug 25, 2008 at 3:56 AM, erik quanstrom [EMAIL PROTECTED] wrote: Hello, I have gotten the lguest port working on the 2.6.25.0 kernel, it works mighty fine here. The load issue for me is only on plan9, on the host I can see with 'top' that the lguest guest isn't consuming all the

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread ron minnich
On Mon, Aug 25, 2008 at 7:52 AM, ron minnich [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 3:56 AM, erik quanstrom [EMAIL PROTECTED] wrote: Hello, I have gotten the lguest port working on the 2.6.25.0 kernel, it works mighty fine here. The load issue for me is only on plan9, on the host I

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread erik quanstrom
both the excessive load and these messages sound like a timesync problem. yeah, that's really weird. One option is to set up the kernels without any fancy timers -- just use the old PC timers. do you think that's the problem? time jumping backwards doesn't seem like something that could be

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread ron minnich
On Mon, Aug 25, 2008 at 7:59 AM, erik quanstrom [EMAIL PROTECTED] wrote: it any event, fixing timesync properly is likely to fix the excessive load problem. good to know. I probably jumped to the wrong conclusion. ron

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread John Soros
Hello again, Well, i don't think I am starting two timesync, ps a shows only one: cpu% ps a |grep timesync bootes 770:00 0:00 92K Preadtimesync I also can not write to /dev/rtc, so the timesync part of cpurc fails, this part in particular =snip if(! ps|grep -s

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread lucio
Well, i don't think I am starting two timesync, ps a shows only one: If Xen is anything to go by, time keeping is a problem in virtualisation. And Erik is misguiding you :-) Thing is, if timesync is wresting with the clock as it seems to do if two instances are running, it does consume a lot

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread John Soros
Hello. For one timesync couldn't write to the rtc, so I commented out the lines in cpurc. Well, here timesync is not the problem, time is reported incorrectly, and I do not really know how to set it. I tried echoing unix time into '#r' and /dev/rtc, with no luck: $sysname# ls -l /dev/rtc

Re: [9fans] lguest on 2.6.25

2008-08-25 Thread ron minnich
I just realized that even one timesync is too much. You should not run any at all. The hardware clock is set from Linux and I don't even allow it to be set. It makes no sense to do that. So don't let timesync run. thanks ron

[9fans] lguest on 2.6.25

2008-08-24 Thread Alex Lee
Hi all, I'd like to set up a cpu/auth/file server for my home network. I already have a laptop server running Ubuntu 8.04, so the idea is to also get Plan 9 running on it, via lguest. It's mostly working, but I'm encountering a few problems. Here's what I've done so far (maybe it's excessive

Re: [9fans] lguest on 2.6.25

2008-08-24 Thread ron minnich
OK, I see this note and am sorry this is not working well for you. I will try again this week to get this going. It's harder now as I'm now on a 64-bit machine and 64-bit lguest is not there. But I'll try to get you an answer. Sorry ron

Re: [9fans] lguest on 2.6.25

2008-08-24 Thread ron minnich
On Sun, Aug 24, 2008 at 4:23 PM, Alex Lee [EMAIL PROTECTED] wrote: Here's what I've done so far (maybe it's excessive list every single step, but just in case...): not at all! 1. Grab relevant files. - Download 9lguestcpu.2.6.25.elf and RUNLGUEST from Ron's contrib directory - Get

Re: [9fans] lguest on 2.6.25

2008-08-24 Thread Alex Lee
On Sun, Aug 24, 2008 at 11:32 PM, ron minnich [EMAIL PROTECTED] wrote: [snip] lguestnetwork is see this line? It's a variable read in /rc/bin/cpurc. You can check that script and see how it can be set so that networking is a little better. More I do not recall and the machine is not nearby