http://bugs.winehq.org/show_bug.cgi?id=19752
Summary: Integrate support for v86-64? Product: Wine Version: 1.1.27 Platform: PC URL: http://sourceforge.net/projects/v86-64/ OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The error
wine: Cannot start DOS application "foo.exe" because vm86 mode is not supported on this platform.
pops up when trying to run 16 bit dos apps in wine on x86_64 systems (e.g. bug 16037, or trying to run win16test).
This is a kernel limitation for which a patch seems to be available: http://sourceforge.net/projects/v86-64/
That kernel patch also comes with a wine patch.
We may want to support it sometime.
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #1 from Austin English austinenglish@gmail.com 2009-08-16 14:37:34 --- Created an attachment (id=23119) --> (http://bugs.winehq.org/attachment.cgi?id=23119) patch
The patch from v86-64.
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-16 14:39:28 --- 16-bit windows apps can work. 16-bit DOS app in vm86 mode won't work. It's a hardware limitation (CPUs don't support vm86 mode in 64-bit protected mode).
http://bugs.winehq.org/show_bug.cgi?id=19752
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown
http://bugs.winehq.org/show_bug.cgi?id=19752
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=19752
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2010-05-19 05:39:49 --- (In reply to comment #2)
16-bit windows apps can work. 16-bit DOS app in vm86 mode won't work. It's a hardware limitation (CPUs don't support vm86 mode in 64-bit protected mode).
That patch actually switches the CPU into 32-bit PM mode, then VM86 mode. It will work even for 16-bit DOS apps.
http://bugs.winehq.org/show_bug.cgi?id=19752
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2011-11-08 09:00:18 CST --- So I take it this patch is not fit for wine?
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #5 from Damjan Jovanovic damjan.jov@gmail.com 2011-11-08 10:09:02 CST --- (In reply to comment #4)
So I take it this patch is not fit for wine?
See http://www.winehq.org/pipermail/wine-devel/2010-April/083002.html
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2011-11-08 10:12:01 CST --- (In reply to comment #5) Interesting. Did the feature make it into the linux kernel?
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #7 from André H. nerv@dawncrow.de 2011-11-08 12:43:02 CST --- i wonder where my comment moved to... so again: we went the dosbox way, but Support for this seems possible. so i will have a look at it next weekend and try to clean up the patch. and yeah, whats the state of the kernel part? if not yet in, do some distros ship it?
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2011-11-08 13:04:18 CST --- If that's going to be supported in the kernel it should be through the standard syscall. There's no reason to change Wine.
http://bugs.winehq.org/show_bug.cgi?id=19752
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com 2011-11-08 13:05:21 CST --- (In reply to comment #8) Does this mean this bug is invalid?
http://bugs.winehq.org/show_bug.cgi?id=19752
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID
--- Comment #10 from André H. nerv@dawncrow.de 2011-11-08 13:31:32 CST --- (In reply to comment #9)
(In reply to comment #8) Does this mean this bug is invalid?
i would say yes
http://bugs.winehq.org/show_bug.cgi?id=19752
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Austin English austinenglish@gmail.com 2011-11-14 14:25:46 CST --- Closing.