PDA

View Full Version : 16-bit support missing??



wingnux
April 14th, 2008, 11:36 AM
After updating to .59 (even after reverting to .58) I keep getting errors like this:

wingnux@wingnux:~/.wine/drive_c$ wine /media/cdrom/SETUP.EXE
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
err:dosmem:load_winedos Could not load winedos.dll, DOS subsystem unavailable
winevdm: unable to exec '--app-name': 16-bit support missing


Even when running winecfg!

wingnux@wingnux:~/.wine/drive_c$ winecfg
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report


Can anyone tell me what is it about and how to solve it? Thanks in advance!

SarahKH
April 16th, 2008, 05:22 PM
It's a bug, kinda. Basically changes have been made in the sysctl file to protect the first 64k of kernel memory to stop future attacks.

You can revert the change by using:

sudo sysctl -w vm.mmap_min_addr=0

This *might* allow 16bit apps to work, it might not, but it will stop the complaining.

wingnux
April 18th, 2008, 10:47 PM
Thank you VERY MUCH! =)

click
April 28th, 2008, 08:32 PM
Thank you very much for the solution. It indeed works. However, I want to ask does this setting change disables any other software to work in wine? What was the previously defined setting if I want to reverse it back?

cogadh
April 29th, 2008, 12:09 AM
By running that command it temporarily resets the sysctl setting to allow Wine to work. At the next reboot, it will go back to the original setting. Changing it temporarily or permanently will not affect any other software, but it may make your system very slightly less secure.

error420
May 12th, 2008, 04:32 PM
It's a bug, kinda. Basically changes have been made in the sysctl file to protect the first 64k of kernel memory to stop future attacks.

You can revert the change by using:

sudo sysctl -w vm.mmap_min_addr=0

This *might* allow 16bit apps to work, it might not, but it will stop the complaining.

Installed flawlessly! THANK YOU!

bryanagee
May 21st, 2008, 01:33 AM
Much appreciated. The only scary thing is how many windoze apps rely on that old 16-bit code slag. =)

JGrubbs
July 3rd, 2008, 05:52 PM
This worked for me as well! Now I can install my six year old's Lego Land on his Edubuntu system. Thanks!