Last weekend I installed PCLinuxOS 2010 over the earlier version, but preserved my /home directories. One problem I have found and not been able to resolve is that Wine refuses to run and produces the following error message:
err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode
Has anyone else had this problem and found a solution?
Incidentally, the software I am trying to run under Wine is called scrivner.exe. It is ancient and originally written for CP/M. However, it is useful, to me at least as it does arithmetic on specially marked up plain text files and then puts the results back in the text file. Very good for remittance advices, form letters and reports.
The clue to a solution is found here: http://wiki.winehq.org/PreloaderPageZeroProblem
In PCLOS 2009 if you cat /proc/sys/vm/mmap_min_addr the result is 0
If you do the same in PCLOS 2010 the result is 4096 and this seems to cause the problem I reported above.
The cure is to enter at the command line as root: sysctl -w vm.mmap_min_addr=0
This cure is only for the current session and needs to be repeated for each re-boot.
For a permanent cure, there is a recommendation in the link above to change the line in /etc/sysctl.conf that reads:
vm.mmap_min_addr = 65536 to
vm.mmap_min_addr = 0
However, I haven't tried it as sysctl.conf doesn't have a line setting the minimum address to 65536 and I will probably just set it from the command line on a sessional basis.