On Thu, 2010-03-11 at 10:13 +0100, Florian Fainelli wrote:
> Hi,
> 
> We maintain an UML kernel in OpenWrt and I wanted to update to 2.6.32.9 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 
> commit.
> 
> If you have any idea what I happening here?
> 

No. ;-)

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
be adequate.

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.

-Janjaap


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to