From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: dosemu 1.1.5.6 Date: Sat, 16 Aug 2003 12:09:15 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3F3DE6AB.7070506@aknet.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hello. >> Is there any chance for ALTLinux to get upgraded to >> NPTL so that you can test the patches? > Not sure about ALT Linux, but I can build kernel myself. > (Or it was about glibc?) I am afraid it is about both. > What is NPTL, BTW, and how to enable it? Not easy, unless you have RedHat9, where it is enabled by default (hence the problems). You have to install an RH-patched kernel, like "kernel-2.4.21-20.1.2024.2.1.nptl RPM for i686" and the RH-patched glibc >= 2.3.1-7. Then you can do getconf GNU_LIBPTHREAD_VERSION and it will answer "NPTL" instead of the usual "LinuxThreads". Then you just start dosemu and it should crash on any DPMI app, but not if you are using its startup script which now disables NPTL with that LD_ASSUME_KERNEL trick. > I didn't found such bug report at sourceforge, Here it is: https://sourceforge.net/tracker/index.php?func=detail&aid=770746&group_id=49784&atid=457447 That guy provided me with an access to his RH system, but he put there only one DPMI testcase which he wrote himself: that program only switches to prot.mode and does nothing. With that my patch dosemu doesn't crash on that prog, but as the prog does nothing, this is not a sufficient testing. And the guy himself got tired of patches and simply upgraded from CVS :( > so can you describe me a testcase? Any DPMI program basically. FoxPro will do just fine for example. > I'll be glad to check it. Let's see how easy will it be to turn your distro to an NPTL-enabled one. I am afraid also some other progs may stop working, so don't do that unless you have a separate machine for testings or RH9 distro handy.