uml-patches-2.6.0-1.tar.bz2 contains all the patches below. Later versions of it will be numbered 2.6.0-2, -3 ... -- A-Orig From Jeff Dike(this is simply a split of his latest patch, i.e. -test9). You must apply all these before anything else. The A-04 must not be used for the host kernel. C-MainChanges These are changes to the UML code itself. See below for details. They are indipendent from each other (at least they should!). E-Skas These patches makes UML support the SKAS mode for nested UML. The two patches are in order. F-i386 This patch, which requires the E-Skas one, makes the host kernel. G-LinkScripts These patches are for the link scripts. They must be applied in order. H-Makefiles These patches are for the UML build system. To apply in order. I-01-Debian_workaround.patch If the host is a Debian unstable, you'll need this fix, or UML won't compile. If you are not sure, apply it: it doesn't hurt. This shouldn't be dependant on the H-Makefiles patches, but if you apply both, it goes after. Reason: the /usr/include/asm/ldt.h on it comes from 2.6 headers (together with /usr/include/asm) and there is a name-only change. ---A-Orig: A-01-Uml-update.patch The whole set of arch/um changes from Jeff Dike A-02-Hostfs+hppfs.patch Hostfs and HPPFS filesystems. A-03-TTY_silly.patch A simple change, a bit too intrusive, which is needed for now; will be replaced by a better one. A-04-MM-compile-fix.patch Needed or mm/memory.c won't compile. But this needs to be replaced, too; you should remove this to compile for the host kernel. I've some reports of crashes when it is applied on the host kernel (whether this is the reason or not, I don't know). ---C-MainChanges C-01-Compile_no_proc_mm.patch With this, you can disable CONFIG_PROC_MM on the UML kernel. C-02-WarningFix.patch Fix some warnings when compiling UML; two of them are likely to be real bugs. C-03-Module_fixes.patch This makes the UML build with module support enabled. There are also some exports and fixes for the ones in user_syms.c. C-04-Sigjmp.patch Directly from Michael A. Young, so I quote: Error "Child ????? exited with signal 11". The signal stack isn't properly restored in some cases. This patch should fix it (it is a forward port of the patch in the 2.4 uml kernel). C-05-Removal_of_smplock.patch Useless for users. The include/asm/smplock.h header was removed during 2.5 development. This patches does this removal. Actually, only for Jeff Dike. ---E-Skas E-01-Add_proc_mm_support.patch Adds /proc/mm support to UML to run nested UML's (actually from Jeff Dike, only some bits changed). This is needed also to apply the host-skas patch (i.e. F-01). See also E-02. E-02-Proc_mm_speedup.patch This is a speedup from Ingo Molnar on the host kernel side. Just apply this if you applied E-01. It is the MM_COPY_SEGMENTS removal (it becomes a no-op). Applied the ret = count fix. ---F-i386 F-01-i386_skas_support.patch This adds the support for SKAS mode to the host kernel. ---G-LinkScripts G-01-Align_fix.patch Apply it. It is needed at times (I think depending on the host glibc versions, but I'm not sure) but doesn't hurt anyway. G-02-Uml-Selinux.patch Directly from him, too: Compile fails with errors about security code. The selinux code doesn't quite work in UML, but this patch fixes it. G-03-LinkScriptCleanup.patch Fix some bugs in the link script (which cause /proc/kallsyms not to contain the vmlinux symbols). ---H-Makefiles H-01-Fix_clean_mrproper.patch removes errors when doing make clean/mrproper ARCH=um H-02-User_obj_makefiles.patch Fix almost completely the Makefiles of UML for the new "Kbuild API", to avoid unneeded recompilation and output verbosity. H-03-Kbuild_cleanup.patch This patch does an additional cleanup of Makefiles. No user-visible change (apart even less verbosity). H-04-Pcap_link_fix.patch This should allow who wants to build UML with Pcap network support. Not yet tested, what it does is just to link the linux binary against libpcap, too. I didn't include the Young's patch for Fedora Core 1 since it is just a partial fix. Disable exec-shield as he suggests, or for UML only by running, instead of ./linux, i386 ./linux. i386 is an alias to setarch, which can be found here: ftp://ftp.rpmfind.net/linux/rawhide/1.0/i386/Fedora/RPMS/setarch-1.0-1.i386.rpm CREDITS The code comes from these people: - Jeff Dike: the UML main author. All the A-Orig code is from him. - Ingo Molnar; his combo UML patch is here: http://people.redhat.com/mingo/UML-patches/ - Michael A. Young; see here http://toast.debian.net/~may/umlproject/bugs.html - the UML-devel mailing list for testing and help - and finally me. However, blame me for every bug you find, and thanks them for their work.