On Sunday 20 August 2006 11:37, Mathew Brown wrote: > Hi, > I think I solved it. I also think that I found a bug. Here's what I > did and why I think it's a bug: > > I thought the problem might be related to 2.6.17-9 so I downloaded > 2.6.16 and compiled it. It's behavior was different but it still > wouldn't boot. It would give me the following: > > Checking that ptrace can change system call numbers...OK > Checking syscall emulation patch for ptrace...OK > Checking advanced syscall emulation patch for ptrace...OK > Checking PROT_EXEC mmap in /tmp...OK > Checking for the skas3 patch in the host: > - /proc/mm...not found > - PTRACE_FAULTINFO...not found > - PTRACE_LDT...not found > UML running in SKAS0 mode > > and then hang forever (adding stderr=1 didn't show anything after the > UML running in SKAS0 mode line). Running top would show me 90%+ CPU > utilization on the host. I then tried re-compiling both 2.6.17-9 and > 2.6.16 again. This time, I removed support for TT (CONFIG_MODE_TT is > not set). I had included it in both 2.6.17-9 and 2.6.16 in case I > wanted to run this UML host on a 2.4 kernel which only had TT support > (not SKAS0 support). Both kernels compiled fine and they both boot > without any problems :D The strange thing is that both of them show > "UML running in SKAS0 mode" but it looks like they might be using TT or > that TT is somehow interacting with SKAS0 resulting in the incorrect > behavior in both the kernels that I compiled. Do you think that this is > the reason?
Err, enabling TT mode, even if TT mode is not used, changes something in the resulting binary, beyond the TT code (which is disabled if you don't use TT mode); this is not the first report of this we see. Can you check that if you enabled Static Linking of the binary (it's always on in TT mode) the resulting binary still works? Jeff, could you add to the "Tracing Thread mode" the (OBSOLETE) / (DEPRECATED) mark so that users won't enable it? -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user