winedos.dll question

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Martin Gregorie

winedos.dll question

Post by Martin Gregorie »

I'm trying to install a Win95 vintage program, EWview, from a set of
three floppies in WINE 1.1.9, buy all I'm seeing is:

$ wine setup.exe
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable

However, I would seem to have winedos.dll installed:

$ locate winedos.dll
/usr/lib/wine/winedos.dll.so

I've read the documentation, FAQs, HOWTOs and known bugs at WineHQ but
nothing mentions this problem.

Obviously I'm missing something, but what?


Martin
Martin Gregorie

winedos.dll question

Post by Martin Gregorie »

Follows self up (stupid boy!)

On Tue, 2009-03-03 at 00:01 +0000, Martin Gregorie wrote:
I'm trying to install a Win95 vintage program, EWview, from a set of
three floppies in WINE 1.1.9, buy all I'm seeing is:
I copied the files off all three floppies into a single directory in my
wine user before changing into that directory and seeing the following:

$ wine setup.exe
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable
$ locate winedos.dll
/usr/lib/wine/winedos.dll.so


Martin
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

winedos.dll question

Post by austin987 »

On Mon, Mar 2, 2009 at 6:01 PM, Martin Gregorie <[email protected]> wrote:
I'm trying to install a Win95 vintage program, EWview, from a set of
three floppies in WINE 1.1.9, buy all I'm seeing is:

$ wine setup.exe
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable

However, I would seem to have winedos.dll installed:

$ locate winedos.dll
/usr/lib/wine/winedos.dll.so

I've read the documentation, FAQs, HOWTOs and known bugs at WineHQ but
nothing mentions this problem.

Obviously I'm missing something, but what?


Martin



http://wiki.winehq.org/PreloaderPageZeroProblem

--
-Austin
Martin Gregorie

winedos.dll question

Post by Martin Gregorie »

On Mon, 2009-03-02 at 18:28 -0600, Austin English wrote:
Well, Fedora 8 doesn't have /etc/sysctl.d/wine.conf, so Fedora 8/yum
evidently didn't set it. I created a file:

===========/etc/sysctl.d/wine.conf================
vm.mmap_min_addr = 0
==================================================

This has had no effect. I'm still just seeing:

$ wine setup.exe
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable

Since DOS support *is* apparently available in the form of

/usr/lib/wine/winedos.dll.so

why can't wine find it? A related program, the EW logfile uploader, a
graphical Win95 programs runs successfully.

I tried running wineconsole with the same result. I also tried and
winedbg, which initially showed:

0x60419652:movl %esi,0x0(%esp)

which I assume is expected. Typing 'cont' produced:

First chance exception: page fault on write access to 0x00010400 in
32-bit code (0x601de3d7).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:601de3d7 ESP:0033f308 EBP:0033f368 EFLAGS:00210246( - 00
-RIZP1)
EAX:00000000 EBX:60948798 ECX:00000023 EDX:00000000
ESI:00010400 EDI:00010400
Stack dump:
0x0033f308: 0010e6f5 60911ad3 00010400 00000000
0x0033f318: 0000008c 602fd561 601404c4 60949f0c
0x0033f328: 6030e97d 602fcedf 00010000 00100000
0x0033f338: 00000600 6030f914 60367aa4 00000000
0x0033f348: 00110014 60948798 00000000 0000ffff
0x0033f358: 0000f301 60948798 00000000 60900000
Backtrace:
=>1 0x601de3d7 (0x0033f368)
2 0x60911f52 in winedos (+0x11f52) (0x0033f398)
3 0x60939d93 in winedos (+0x39d93) (0x0033f3b8)
4 0x6030e965 call_dll_entry_point+0x15() in ntdll (0x0033f3d8)
5 0x603109b9 in ntdll (+0x309b9) (0x0033f518)
6 0x60311164 in ntdll (+0x31164) (0x0033f568)
7 0x60312827 LdrLoadDll+0x87() in ntdll (0x0033f598)
8 0x604098a0 in kernel32 (+0x498a0) (0x0033f7f8)
9 0x60409aab LoadLibraryExW+0x4b() in kernel32 (0x0033f828)
10 0x60409be3 LoadLibraryExA+0x43() in kernel32 (0x0033f848)
11 0x60409c1d LoadLibraryA+0x2d() in kernel32 (0x0033f868)
12 0x604fd9fd main+0xad() in winevdm (0x0033fed8)
13 0x604feccb in winevdm (+0xeccb) (0x0033ff08)
14 0x60419657 in kernel32 (+0x59657) (0x0033ffe8)
0x601de3d7: repe stosl %es:(%edi)
Wine-dbg>

Entering 'cont' a few times merely repeated the error and stack dump.
'quit' exits and reports:

$ err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem
unavailable
winevdm: unable to exec 'D:\ewview3.08.2\one\setup.exe': DOS support
unavailable


All this means very little to me since I don't know wine's internals.
Does it mean anything more to someone who does understand the innards?

As I said, this is wine-1.1.9 - the latest version in the Fedora 8
repository. WINE release notes don't mention this problem, so presumably
upgrading to a later version would not help.


Thanks,
Martin
John Drescher

winedos.dll question

Post by John Drescher »

On Tue, Mar 3, 2009 at 7:12 AM, Martin Gregorie <[email protected]> wrote:
On Mon, 2009-03-02 at 18:28 -0600, Austin English wrote:
Well, Fedora 8 doesn't have /etc/sysctl.d/wine.conf, so Fedora 8/yum
evidently didn't set it. I created a file:

===========/etc/sysctl.d/wine.conf================
vm.mmap_min_addr = 0
==================================================

This has had no effect. I'm still just seeing:
Did you reboot after setting this?

John
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: winedos.dll question

Post by vitamin »

Martin Gregorie wrote: ===========/etc/sysctl.d/wine.conf================
vm.mmap_min_addr = 0
==================================================
This has had no effect. I'm still just seeing:
Run 'sudo sysctl -p' or reboot.
Martin Gregorie

winedos.dll question

Post by Martin Gregorie »

On Tue, 2009-03-03 at 09:27 -0600, vitamin wrote:
Martin Gregorie wrote:
===========/etc/sysctl.d/wine.conf================
vm.mmap_min_addr = 0
==================================================
This has had no effect. I'm still just seeing:
Run 'sudo sysctl -p' or reboot.
It turns out that the F8 version of /etc/sysctl.conf doesn't contain an
include for sysctl.d, which figures since the directory didn't exist
until I created it. Neither the sysctl(8) or the sysctl.conf(8) manpage
mentions an include directive.

In the meantime I've added "vm.mmap_min_addr = 0" into /etc/sysctl.conf,
but is there an (undocumented) sysctl.conf parameter that would make
sysctl search the /etc/sysctl.d directory for files or is Ubuntu using a
different version of sysctl?

The version I have in both Fedora 8 and 9 is:

sysctl (procps version 3.2.7)


Martin
Locked