Re: [uml-user] UML wall clock

2007-04-18 Thread Gregory Smith
On Wed, Apr 18, 2007 at 11:59:52PM -0500, Gregory Smith wrote: > -- snip > 1176957979.606483 [UML] Trying to nanosleep for 10 seconds > 1176957980.633799 [HOST] Sent "stop" to UML > 1176957995.634926 [HOST] Sent "go" to UML > 1176957995.655234 [UML] Woke up with 0.0 seconds remainin

Re: [uml-user] UML wall clock

2007-04-18 Thread Gregory Smith
On Thu, Apr 19, 2007 at 12:26:53AM -0400, Jeff Dike wrote: > Do you really care about gettimeofday? That is tied to the host, in > the sense that the UML gtod calls the host's gtod. However, sleeps > inside UML should behave as you want. If you can demonstrate > otherwise, please do. Right, it'

Re: [uml-user] UML wall clock

2007-04-18 Thread Jeff Dike
On Wed, Apr 18, 2007 at 10:44:27PM -0500, Gregory Smith wrote: > On Wed, Apr 18, 2007 at 10:48:47PM -0400, Jeff Dike wrote: > > Disable CONFIG_UML_REAL_TIME_CLOCK. That will turn off UML's attempts > > to catch up with the real world when it's been asleep for a while. > > This measure seems to be

Re: [uml-user] UML wall clock

2007-04-18 Thread Gregory Smith
Hi Jeff, On Wed, Apr 18, 2007 at 10:48:47PM -0400, Jeff Dike wrote: > Disable CONFIG_UML_REAL_TIME_CLOCK. That will turn off UML's attempts > to catch up with the real world when it's been asleep for a while. This measure seems to be, on its own, insufficient. For example, the UML binary in the

Re: [uml-user] UML wall clock

2007-04-18 Thread Jeff Dike
On Wed, Apr 18, 2007 at 08:13:46PM -0500, Gregory Smith wrote: > I'd like to pause UML's wall clock (and jiffies count) when I > issue a "stop" to the VM, and resume it when I issue "go", so that > the VMs notion of time only reflects its running time. Disable CONFIG_UML_REAL_TIME_CLOCK. That wil

[uml-user] UML wall clock

2007-04-18 Thread Gregory Smith
Hi list, I'd like to pause UML's wall clock (and jiffies count) when I issue a "stop" to the VM, and resume it when I issue "go", so that the VMs notion of time only reflects its running time. I've been poking around a bit, but I've only just started learning about the internals of the linux kern

Re: [uml-user] MySQL Problems

2007-04-18 Thread Antoine Martin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Fabio A. Mazzarino wrote: > Antonine: > > I've downloaded a pre-compiled uml because I need it working for yesterday. Compiling a guest kernel should not take more than 10 mins on a standard pc. I do offer pre-compiled kernels for those that want

Re: [uml-user] MySQL Problems

2007-04-18 Thread Brock, Anthony - NET
Fabio, Let me know if you want a newer, pre-compiled guest kernel (I have one for 2.6.20.6). While this will not help with the TLS issue, it does offer a LOT of bug fixes. In the mean time, you can find compilation instructions on the main website at: http://user-mode-linux.sourceforge.net/compil

Re: [uml-user] MySQL Problems

2007-04-18 Thread Fabio A. Mazzarino
Jeff: You are right. There's no way to have TLS support if host doesn't support it in first place. I should have know before too. Anyway. Problem solved now. Fabio. Jeff Dike escreveu: > On Wed, Apr 18, 2007 at 08:47:08PM +0100, Antoine Martin wrote: > >> Have you tried updating the h

Re: [uml-user] MySQL Problems

2007-04-18 Thread Jeff Dike
On Wed, Apr 18, 2007 at 08:47:08PM +0100, Antoine Martin wrote: > Have you tried updating the host and guest to recent kernels? > > Fabio A. Mazzarino wrote: > > > > host # uname -a > > Linux loghost1 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux Whoops, I missed this. UML TLS sup

Re: [uml-user] MySQL Problems

2007-04-18 Thread Jeff Dike
On Wed, Apr 18, 2007 at 04:14:32PM -0300, Fabio A. Mazzarino wrote: > I've done some wrong things here, and now have deleted the right tls > directory. Now it seems to be working just fine. So the problem does not > apply *only* to 64 bits, but also to 32 bits. You shouldn't need that - UML has

Re: [uml-user] MySQL Problems

2007-04-18 Thread Fabio A. Mazzarino
Antonine: I've downloaded a pre-compiled uml because I need it working for yesterday. I plan to recompile uml later. Unffortunately the host is allocated in a datacenter, so kernel compiling is a little bit tricky and I try to avoid it. Later, when I plan to have more free time, I'll do i

Re: [uml-user] MySQL Problems

2007-04-18 Thread Antoine Martin
Fabio, I had a similar problem but this is now resolved. Have you tried updating the host and guest to recent kernels? Antoine Fabio A. Mazzarino wrote: > I need to build a LAMP server using UML. Apache and PHP5 work fine, but > MySQL don't. > > I've just found a similar problem here: > .

[uml-user] Compiling New Modules

2007-04-18 Thread Fabio A. Mazzarino
Hello again: I'm having some problems when compiling new modules. I got the pre-compiled uml through Debian repository. uname follows: guest # uname -a Linux neo 2.6.18 #2 Wed Oct 4 19:34:37 CEST 2006 i686 GNU/Linux And I need ip_tables module working. So I've downloaded 2.6.18 kernel into

Re: [uml-user] MySQL Problems

2007-04-18 Thread Fabio A. Mazzarino
Jeff: Thanks for your help. I've done some wrong things here, and now have deleted the right tls directory. Now it seems to be working just fine. So the problem does not apply *only* to 64 bits, but also to 32 bits. I still have another doubt, but I'll ask in another thread. Thanks agai

Re: [uml-user] Does UML Currently Emulate SMP?

2007-04-18 Thread kewlemer
> What is the status of SMP support in UML? (That is, can I start up a > UML session that uses separate processes on my uniprocessor host to > emulate a machine with multiple CPUs?) > http://marc.info/?l=user-mode-linux-user&m=117630269322060&w=2 >From the UML homepage - "Searchable list archives

[uml-user] Does UML Currently Emulate SMP?

2007-04-18 Thread Stephens, Allan
[Apologies if you've received this twice. My earlier posting appears to have been lost.] What is the status of SMP support in UML? (That is, can I start up a UML session that uses separate processes on my uniprocessor host to emulate a machine with multiple CPUs?) Jeff Dike's "User Mode Linux"