public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* "EMS driver version mismatch: got 3, expected 5, disabling"
@ 2016-08-30 17:59 Mouse
  2016-08-31 19:05 ` Stas Sergeev
  0 siblings, 1 reply; 4+ messages in thread
From: Mouse @ 2016-08-30 17:59 UTC (permalink / raw)
  To: linux-msdos

Okay, I was hoping to see a bit of list traffic before sending, but,
for whatever reason, I'm not seeing anything.  I hope it's not some
kind of filtering spazz - though I did get the list welcome mail, so
that seems unlikely.

Teal deer: I'm getting the message in the Subject:, but can't figure
out where to get an appropriate ems.sys.

In more detail....

I'm trying to use dosemu on Linux (kernel 3.13.0-48-generic, on
x86_64).  The binary distribution had some X issues - but I know a bit
about X, so I cloned the git tree and started to fix them.  I think I
have succeeded in fixing the immediate problem there, but now I'm
having other trouble.

The binary distribution claims to be 1.4.0.1 (in that when I run
dosemu.bin --version, the first line printed is "dosemu-1.4.0.1"); as a
disambiguator, dosemu.bin's MD5 hash is
60bf29180c9270018f6ba8f246e57a41.  But when I base my stuff on commit
77c5e739bf5f128802ef55763909568008eac6f0 ("Tagging 1.4.0.1", the only
child of commit 74b00d8d5b46d20ce384ab64544ea41a389afe70, "DOSEMU
1.4.0.1"), all I ever get is segfaults on startup after a complaint
about how LOWMEM mmap is failing.  The binary distribution's dosemu.bin
does print

EXPERIMENTAL: using non-zero memory base address 0x110000.

and strace leads me to think this is relevant (in that it's printed
immediately after the same mmaps fail, but then two more mmaps are done
with addr=0x110000).  However, I can't find that anywhere in the
1.4.0.1 tree.

So I moved my work over to the apparent development tip, basing it at
commit 18f6f5cdf1beceae8c7532718bfaf423e4a44f6a instead.  It still
crashed, but now I could find hints in the source that turning on
EXPERIMENTAL would help.  It did; I then got something that would start
(and, yes, the X issue was fixed) and complain about missing DOS.  So I
fetched dosemu-freedos-1.0-bin, through the chain of redirections (the
first one coming from either http://www.dosemu.org/stable/ or
http://www.dosemu.org/bleeding/):

http://prdownloads.sourceforge.net/dosemu/dosemu-freedos-1.0-bin.tgz?download
http://downloads.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz?download=
http://superb-sea2.dl.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz

which last finally gave me the gzipped tarball.  I did a make install
with this in place as dosemu-freedos-bin.tgz and then it was willing to
start, but told me

| DOSEMU 1.4.0.8-762-g400b188 (2016-08-30), configured: 2016-08-30 12:32:33 -0400
| Please test against a recent version before reporting bugs and problems.
| Submit Bugs & Patches to linux-msdos@vger.kernel.org or via http://dosemu.org.
| FreeDOS kernel build 2036 cvs [version Aug 18 2006 compiled Aug 18 2006]
| Kernel compatibility 7.10 - WATCOMC - 80386 CPU required - FAT32 support
| 
| (C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.
| All Rights Reserved. This is free software and comes with ABSOLUTELY NO
| WARRANTY; you can redistribute it and/or modify it under the terms of the
| GNU General Public License as published by the Free Software Foundation;
| either version 2, or (at your option) any later version.
| C: HD1, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB
| D: HD2, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB
| 
| EMS driver version mismatch, disabling.
| Please update your ems.sys from the latest dosemu package.
| 
| Press any key!

and I've been unable to find an ems.sys that works any better,
including the one generated from ems.S during the build.

It's true I have local patches, but nothing I expect to be relevant.  I
have made my git tree available for cloning in case anyone wants to
inspect what I have; git://git.rodents-montreal.org/Mouse/dosemu is the
thing to clone, and the local branch there is the one to look at.
(local-1.4.0.1 preserves a record of the work I did based on 1.4.0.1,
in case anyone is interested in that.)  Some of the changes are pure
localisms (eg, my choice of install directory), but most aren't.

I'm not sure whether the problem here is with dosemu, with something I
did, with my expectations, or what.  Any pointers would be most
appreciated.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "EMS driver version mismatch: got 3, expected 5, disabling"
  2016-08-30 17:59 "EMS driver version mismatch: got 3, expected 5, disabling" Mouse
@ 2016-08-31 19:05 ` Stas Sergeev
  2016-09-03 14:30   ` Mouse
  0 siblings, 1 reply; 4+ messages in thread
From: Stas Sergeev @ 2016-08-31 19:05 UTC (permalink / raw)
  To: Mouse, linux-msdos

30.08.2016 20:59, Mouse пишет:
> Okay, I was hoping to see a bit of list traffic before sending, but,
> for whatever reason, I'm not seeing anything.  I hope it's not some
> kind of filtering spazz - though I did get the list welcome mail, so
> that seems unlikely.
>
> Teal deer: I'm getting the message in the Subject:, but can't figure
> out where to get an appropriate ems.sys.
>
> In more detail....
>
> I'm trying to use dosemu on Linux (kernel 3.13.0-48-generic, on
> x86_64).  The binary distribution had some X issues - but I know a bit
> about X, so I cloned the git tree and started to fix them.  I think I
> have succeeded in fixing the immediate problem there, but now I'm
> having other trouble.
>
> The binary distribution claims to be 1.4.0.1 (in that when I run
> dosemu.bin --version, the first line printed is "dosemu-1.4.0.1"); as a
> disambiguator, dosemu.bin's MD5 hash is
> 60bf29180c9270018f6ba8f246e57a41.  But when I base my stuff on commit
> 77c5e739bf5f128802ef55763909568008eac6f0 ("Tagging 1.4.0.1", the only
> child of commit 74b00d8d5b46d20ce384ab64544ea41a389afe70, "DOSEMU
> 1.4.0.1"), all I ever get is segfaults on startup after a complaint
> about how LOWMEM mmap is failing.  The binary distribution's dosemu.bin
> does print
>
> EXPERIMENTAL: using non-zero memory base address 0x110000.
>
> and strace leads me to think this is relevant (in that it's printed
> immediately after the same mmaps fail, but then two more mmaps are done
> with addr=0x110000).  However, I can't find that anywhere in the
> 1.4.0.1 tree.
>
> So I moved my work over to the apparent development tip, basing it at
> commit 18f6f5cdf1beceae8c7532718bfaf423e4a44f6a instead.  It still
> crashed, but now I could find hints in the source that turning on
> EXPERIMENTAL would help.  It did; I then got something that would start
> (and, yes, the X issue was fixed) and complain about missing DOS.  So I
> fetched dosemu-freedos-1.0-bin, through the chain of redirections (the
> first one coming from either http://www.dosemu.org/stable/ or
> http://www.dosemu.org/bleeding/):
>
> http://prdownloads.sourceforge.net/dosemu/dosemu-freedos-1.0-bin.tgz?download
> http://downloads.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz?download=
> http://superb-sea2.dl.sourceforge.net/project/dosemu/dosemu-freedos/1.0/dosemu-freedos-1.0-bin.tgz
>
> which last finally gave me the gzipped tarball.  I did a make install
> with this in place as dosemu-freedos-bin.tgz and then it was willing to
> start, but told me
>
> | DOSEMU 1.4.0.8-762-g400b188 (2016-08-30), configured: 2016-08-30 12:32:33 -0400
> | Please test against a recent version before reporting bugs and problems.
> | Submit Bugs & Patches to linux-msdos@vger.kernel.org or via http://dosemu.org.
> | FreeDOS kernel build 2036 cvs [version Aug 18 2006 compiled Aug 18 2006]
> | Kernel compatibility 7.10 - WATCOMC - 80386 CPU required - FAT32 support
> |
> | (C) Copyright 1995-2006 Pasquale J. Villani and The FreeDOS Project.
> | All Rights Reserved. This is free software and comes with ABSOLUTELY NO
> | WARRANTY; you can redistribute it and/or modify it under the terms of the
> | GNU General Public License as published by the Free Software Foundation;
> | either version 2, or (at your option) any later version.
> | C: HD1, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB
> | D: HD2, Pri[ 1], CHS=    0-1-1, start=     0 MB, size=  2000 MB
> |
> | EMS driver version mismatch, disabling.
> | Please update your ems.sys from the latest dosemu package.
> |
> | Press any key!
>
> and I've been unable to find an ems.sys that works any better,
> including the one generated from ems.S during the build.
Remove your ~/.dosemu/* (ems.sys is there)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "EMS driver version mismatch: got 3, expected 5, disabling"
  2016-08-31 19:05 ` Stas Sergeev
@ 2016-09-03 14:30   ` Mouse
  2016-09-03 16:29     ` Stas Sergeev
  0 siblings, 1 reply; 4+ messages in thread
From: Mouse @ 2016-09-03 14:30 UTC (permalink / raw)
  To: linux-msdos

>> Teal deer: I'm getting the message in the Subject:, but can't figure
>> out where to get an appropriate ems.sys.

>> [...]

> Remove your ~/.dosemu/* (ems.sys is there)

Thank you very much!  This worked (as I'm sure does not surprise
anyone).

However, neither the old .dosemu nor the new (I didn't actually remove
~/.dosemu, just renamed it so dosemu wouldn't find it) contains
anything named EMS.SYS, nor ems.sys, nor any mix thereof.  So, as happy
as I am to have it fixed, I don't understand why this fixed it.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse@rodents-montreal.org
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: "EMS driver version mismatch: got 3, expected 5, disabling"
  2016-09-03 14:30   ` Mouse
@ 2016-09-03 16:29     ` Stas Sergeev
  0 siblings, 0 replies; 4+ messages in thread
From: Stas Sergeev @ 2016-09-03 16:29 UTC (permalink / raw)
  To: Mouse, linux-msdos

03.09.2016 17:30, Mouse пишет:
>>> Teal deer: I'm getting the message in the Subject:, but can't figure
>>> out where to get an appropriate ems.sys.
>>> [...]
>> Remove your ~/.dosemu/* (ems.sys is there)
> Thank you very much!  This worked (as I'm sure does not surprise
> anyone).
>
> However, neither the old .dosemu nor the new (I didn't actually remove
> ~/.dosemu, just renamed it so dosemu wouldn't find it) contains
> anything named EMS.SYS, nor ems.sys, nor any mix thereof.  So, as happy
> as I am to have it fixed, I don't understand why this fixed it.
There can be symlinks to system-wide dirs that contain ems.sys.
Check ~/.dosemu/drives/d in particular.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-03 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-30 17:59 "EMS driver version mismatch: got 3, expected 5, disabling" Mouse
2016-08-31 19:05 ` Stas Sergeev
2016-09-03 14:30   ` Mouse
2016-09-03 16:29     ` Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox