|
From: gboutwel <gbo...@pr...> - 2004-10-29 18:57:53
|
> As weird as it can be, I'm currently trying to run User Mode Linux > under CoLinux. My attempts have failed so far, mainly because the > kernel boot will lock up in "calibrating delay loop..." > (this is easy to test, just launch any UML kernel to see this, on = > debian, this is as easy as typing "apt-get install user-mode-linux; linux") I guess I'm weird too... I do the same thing quite regularly. I don't think I ever got UML to work in coLinux 0.6.0, I think I had to move to some more recent version, the gettimeofday fix that's in them seems to be an key in this. Also, I find that I don't have problems with the loop at the Calibrating delay loop if the coLinux kernel is SKAS patched. If it's not SKAS patched (as the distributed version isn't) then just commenting ou the calibrate_delay in init/main.c seems to be enough to get it working. At least that's been my experience. I haven't had time to actually investigate what exactly is causing the loop but hope to some time soon. Most of my experimenting has been with coLinux 2.6.x kernels and uml 2.6.x kernels, but I believe the same is true for uml 2.4.x kernels. > - is it possible to fix something in coLinux (or the UML sources) to > bypass this specific problem. I'd be happy to do that myself, but = > I'd need directions. Yes, in init/main.c comment out the call to calibrate_delay function. Or track down what about that function is failing in coLinux. > - in the event where things work as expected ? Could colinux support > the skas and /dev/anon modes of UML. Again, I'd be happy to help but > would need some directions. As I said, I've actually been able to apply the 2.6.7 SKAS patch to an colinux patched kernel, build it and coLinux userland tools, and run 2.6.x UMLs (in both SKAS & TT mode) quite happily in it. I have an older binary package of that, if you search the mailing list archives (probably devel list not user list) you might find a link to them and you could use them, they might be step 'back' if you are already using recent snapshots. I hope in the near future to compile a more recent SKAS patched coLinux. George ---------------------------------------------------- Need to store your files online? Upload them for free in Praize Briefcase http://www.praize.com/cgi-bin/members/mybriefcase.cgi |