From: Adam A. <ad...@at...> - 2006-01-15 23:51:14
|
On 11 Jan 2006, at 20.37, Blaisorblade wrote: > On Thursday 12 January 2006 02:28, Adam Atlas wrote: >> I'm trying to run a UML system. Specifically, I'm using Umlazi >> (though I have this problem even if I run the kernel manually), with >> the prebuilt Debian-Woody-Base + UMLconfig system. I've tried three >> kernels -- linux-2.4.22-xfs5um, linux-2.4.26-20040615-1um, and >> >> vmlinux-2.6.14.3-bs3. In every case, the kernel dies thusly: >>> kjournald starting. Commit interval 5 seconds >>> EXT3-fs: mounted filesystem with ordered data mode. >>> VFS: Mounted root (ext3 filesystem) readonly. >>> Mounted devfs on /dev >>> init_new_context_skas - new_mm failed, errno = -13 >>> init_new_context_skas - new_mm failed, errno = -13 >>> Kernel panic: No init found. Try passing init= option to kernel. >> >> I've messed around with the kernel options, but to no avail. Any >> ideas? > Never seen this. > > You have something strange - it can't write on /proc/mm (13 = EACCES, > permission denied). But it thinks it's on a SKAS host. > > SKAS-patched the host? It's a 32-bit one, right? > > If not you need to enable TT mode for the guest (for 2.4.x) > > If yes, instead, can you post result of ls -l /proc/mm? > > For that 2.6 I expect you have another error from the guest. I haven't SKAS-patched the host. I know it would be best to do so, but I'm wary of trying to, because I'm not very familiar with kernel compilation, and I don't have physical access to this machine. (It's a colocated server. I hope to use it for virtual hosting, and thus I'd like to use UML to increase security by isolating services and clients.) But I think Grub has some sort of fallback option, so I suppose I can give it a try. I'm running 2.6.12-10-386 as my host. Is that SKAS-patchable? Anyway, you are correct, that was not the error message I got with all the precompiled kernels. I was mistaken; I had different problems with other kernels. But before I try any further debugging, I shall try the SKAS patch. Do you know where I'd find one compatible with my host? Thanks for the assistance. - Adam |