[lkml]   [2014]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [tip:x86/urgent] x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels
    On 2014-04-14 09:48 +0200, Alexandre Julliard wrote:

    > Linus Torvalds <> writes:
    >> On Fri, Apr 11, 2014 at 11:45 AM, Brian Gerst <> wrote:
    >>> I haven't tested it recently but I do know it has worked on 64-bit
    >>> kernels. There is no reason for it not to, the only thing not
    >>> supported in long mode is vm86. 16-bit protected mode is unchanged.
    >> Afaik 64-bit windows doesn't support 16-bit binaries, so I just
    >> assumed Wine wouldn't do it either on x86-64. Not for any real
    >> technical reasons, though.
    >> HOWEVER. I'd like to hear something more definitive than "I haven't
    >> tested recently". The "we don't break user space" is about having
    >> actual real *users*, not about test programs.
    >> Are there people actually using 16-bit old windows programs under
    >> wine? That's what matters.

    It seems that at least some 32-bit programs are also broken, since after
    upgrading the kernel to 3.14.3 I can no longer start my old chess
    database program:

    | % file CB70.exe
    | CB70.exe: PE32 executable (GUI) Intel 80386, for MS Windows
    | % LANG=C wine CB70.exe
    | modify_ldt: Invalid argument
    | modify_ldt: Invalid argument
    | modify_ldt: Invalid argument
    | modify_ldt: Invalid argument
    | modify_ldt: Invalid argument

    And here it just hangs, with wineboot.exe taking 100% CPU. I had to
    kill first wineboot.exe and then CB70.exe. :-(

    > Yes, there is still a significant number of users, and we still
    > regularly get bug reports about specific 16-bit apps. It would be really
    > nice if we could continue to support them on x86-64, particularly since
    > Microsoft doesn't ;-)

    I would rather not set up a virtual machine just for wine (I don't have
    Windows anymore).


     \ /
      Last update: 2014-05-07 11:41    [W:4.047 / U:0.600 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site