From owner-freebsd-bugs Thu Dec 25 21:50:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA24730 for bugs-outgoing; Thu, 25 Dec 1997 21:50:06 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA24724; Thu, 25 Dec 1997 21:50:01 -0800 (PST) (envelope-from gnats) Date: Thu, 25 Dec 1997 21:50:01 -0800 (PST) Message-Id: <199712260550.VAA24724@hub.freebsd.org> To: freebsd-bugs Cc: From: Dmitrij Tejblum Subject: Re: kern/2412 Reply-To: Dmitrij Tejblum Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/2412; it has been noted by GNATS. From: Dmitrij Tejblum To: Tim Vanderhoek Cc: h-nokubi@nmit.mt.nec.co.jp, freebsd-bugs@freebsd.org Subject: Re: kern/2412 Date: Thu, 25 Dec 1997 14:09:23 +0300 Tim Vanderhoek wrote: > Synopsis: Wine does not work > > State-Changed-From-To: open-closed > State-Changed-By: hoek > State-Changed-When: Thu Dec 25 01:41:10 PST 1997 > State-Changed-Why: > Configure your kernel with "options USER_LDT". See the handbook on how > to do this (options USER_LDT is not compiled-in by default). > I don't think it is correct answer. Did you looked to the 'Fix:' in this PR? USER_LDT is a 'new style' option that go in opt_user_ldt.h. Files sys/i386/i386/machdep.c sys/i386/i386/vm_machdep.c sys/pc98/i386/machdep.c contains #ifdef USER_LDT, but don't contain #include "opt_user_ldt.h". So, apparently, the ifdefed code in these files never work. I have no idea about purpose of the ifdefed code and LDT itself or why Wine work for most people, but it looks very suspicious. Dima