CrossOver Support

Cannot create 16-bit LDT segments


Description


Wine needs to be able to create 16-bit LDT segments in order to be able to run 16-bit applications. Note that quite a few applications that one would normally expect to be 32-bit actually involve some 16-bit code, in their launcher for instance.

However around version 3.14 the Linux kernel removed support for 16-bit segments on 64-bit systems pending resolution for a security issue, which is most likely the reason for this message.

Resolution


The best way to solve this issue is to upgrade to a Linux kernel where the related security issue has been fixed. This should mean 3.16 or greater. Barring that, the simplest solution is most likely to downgrade the Linux kernel to 3.13 or older.

For some Linux kernels another solution is to run the following command as root:
    echo 1 >/proc/sys/abi/ldt16

However this means reopening the potential security issue in those kernels. Also this will need to be done again every time the computer is restarted so you may want to set up an init.d script to do so.
Last modified on 2014-06-19 11:13:07 by Fran├žois Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/Diag/BrokenLDT16
Please Wait...
eyJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNTA5MDI4MzM5fQ==