From: Henrik N. <um...@hn...> - 2005-10-17 19:06:05
|
On Mon, 17 Oct 2005, Etay Meiri wrote: >> If this thing is new enough to have skas0, then just disable >> CONFIG_MODE_TT and gdb it normally. > > > Will it still run if my host kernel is not skas enabled? Yes. SKAS0 is implementing memory management usign the same principles as SKAS, but without support from the host kernel. Performance is not as good as "real" SKAS, but the good thing is that to the main parts of the UML kernel memory management there is no difference other than performance and also that the SKAS model is behaving much better in terms of being a host process. Due to the better behaviour of UML in SKAS0 mode gdb can be used directly on the kernel just as you gdb any other application. TT mode on the other hand implements memory (and even process) management very differently, behaving very oddly in terms of what a host process normally does. For this reason you can't gdb TT mode directly and instead have to use the debug option asking TT mode to gdb itself with some very magic tricks. Regards Henrik |