On Thu, May 22, 2008 at 07:02:49PM +0200, Benedict Verheyen wrote: > I tried and i got this error when starting the UML: > arch_switch_tls failed, errno = EINVAL > PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 > PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 > arch_switch_tls failed, errno = EINVAL > PTRACE_SET_THREAD_AREA failed, err = -22, index = 0 > arch_switch_tls failed, errno = EINVAL > > and it keeps printing that. > > I used kernel 2.6.25.4 with the latest skas patch and left all the > options the same. Host is kernel 2.6.24.3 with the previous skas patch. > > I made my guest kernel with these commands: > make menuconfig ARCH=um > make-kpkg --arch=um clean > make-kpkg --arch=um --append-to-version=.22may2008 kernel_image > modules_image
This is a stock 2.6.25.4 you've using dpkg to build? If not, could you build a kernel.org kernel? If you see this with a stock kernel, any chance you can bisect it? I don't see any suspicious tls-related things between 2.6.24 and 2.6.25. There are ~100 changes in arch/um between 2.6.24 and 2.6.25, so if you restrict the bisection to arch/um, it should take 6-7 compiles to find the commit which broke it. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user