On Thu, 2010-03-11 at 10:13 +0100, Florian Fainelli wrote:
> We maintain an UML kernel in OpenWrt and I wanted to update to 188.8.131.52 and
> ran into a segfault directly from the start:
> Program received signal SIGSEGV, Segmentation fault.
> 0x0821db5f in __libc_setup_tls ()
> This used to work fine with 2.6.30, but I have not bisected the offending
> If you have any idea what I happening here?
I would advise to stay away from 2.6.31 and 2.6.32 for UML. Too much has
been changing in mainstream with regard to interfaces and bugfixing for
block handling operations. Also ext4 support is buggy.
2.6.33 however is working fine for me, also the final public release
version. I don't need additional patching as to the patch I sent
earlier. I use a static build, and compile on ubuntu lucid x64. Although
the patch may compile with earlier kernel versions, it probably will not
I encountered the following restrictions:
- Loading of modules does not (always?) work if guest has e.g. more than
512 MB memory. This has to do with the memory addressing, loading of
modules in memory, x64_86 and high mem support. Work around is just to
compile in the required modules. You will need to compile in general
dynamic module loading support however, to prevent OS level errors.
- Nested uml does not work.