Date: Mon, 23 Dec 1996 14:55:07 +0100 From: se@freebsd.org (Stefan Esser) To: dev@fgate.flevel.co.uk (Developer) Cc: freebsd-current@freebsd.org Subject: Re: Wine on Freebsd Current Message-ID: <Mutt.19961223145507.se@x14.mi.uni-koeln.de> In-Reply-To: <Pine.BSF.3.95.961223130402.22474A-100000@fgate.flevel.co.uk>; from Developer on Dec 23, 1996 13:06:16 %2B0000 References: <Pine.BSF.3.95.961223130402.22474A-100000@fgate.flevel.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 23, dev@fgate.flevel.co.uk (Developer) wrote: > > Has anyone got any ideas why the new version of Wine does not work with > the freebsd-current kernel? > > I get an error saying: > > i386_set_ldt: Invalid argument > Did you reconfigure the kernel with "options USER_LDT"? > > But USER_LDT is enabled in the kernel, along with linux emulation?? You need to put back the following file contents into /usr/ports/emulators/wine/patches/patch-an: ---- 8< cut here ---- 8< cut here ---- 8< cut here ---- 8< cut here ---- *** memory/selector.c~ Fri Sep 13 18:47:32 1996 --- memory/selector.c Tue Oct 1 19:51:10 1996 *************** *** 14,18 **** --- 14,22 ---- + #ifdef __FreeBSD__ + #define FIRST_LDT_ENTRY_TO_ALLOC 17 + #else #define FIRST_LDT_ENTRY_TO_ALLOC 6 + #endif ---- 8< cut here ---- 8< cut here ---- 8< cut here ---- 8< cut here ---- Since this was no longer necessary under -current, but reduces the number of usable LDT entries, I had removed it, but had not considered that it is still required for older FreeBSD kernes. Sorry for the inconvenience caused by this! I will add this patch back when I commit the upgrade to Wine-96.12.22 to the ports tree, later this week ... Regards, STefan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961223145507.se>