From: Dan A. <da...@gm...> - 2004-02-22 23:56:37
|
On Wed, Feb 18, 2004 at 12:22:44AM +0200, Dan Aloni wrote: > I've temporarily hidden away the Gentoo image that Pat released last > week from the sourceforge page due to instabilities of that image > running under the latest coLinux version. The image itself is not to > blame. Currently, both Linux kernel and userspace code compiled with > -march=i686 that runs under coLinux may cause the host machine to > spontaneously reboot. I am pleased to tell that I finally got this fixed a few minutes ago. It wasn't actually i686 releated, but it was caused indirectly by the i686-optimized pthreads library, that uses modify_ldt() in order to implement TLS (thread local storage) using the %gs register. The fix was quite easy: wrap the switch code with safe preservation of %gs and %fs, so if either one of them is invalid, we won't get a GPF in the switch code itself, and instead just sllently nullify the register. Another instability issue behind us. -- Dan Aloni da...@gm... |