andrebrait
April 27th, 2008, 06:40 AM
Hmm... so, you were running winecfg and looke at this:
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
Or this
preloader: Warning: failed to reserve range 00000000-60000000
And you never saw this bug before? :confused:
Well... here's the solution... :)
Open your console and type:
sudo sysctl -w vm.mmap_min_addr=0
But it will only fix the problem until the next reboot, so, to fix it permanently, edit sysctl using any text editor.
For Ubuntu
sudo gedit /etc/sysctl.conf
For Kubuntu
sudo kedit /etc/sysctl.conf
There have been a few years since I used KDE for the last time... don't know if Kedit is still the default text editor.
For Xubuntu
sudo nano /etc/sysctl.conf
Look for this line:
vm.mmap_min_addr = 65536
Now change it to:
vm.mmap_min_addr = 0
That's it :lolflag:
Sources:
http://wiki.winehq.org/PreloaderPageZeroProblem
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/114025
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
preloader: Warning: failed to reserve range 00000000-00010000
Or this
preloader: Warning: failed to reserve range 00000000-60000000
And you never saw this bug before? :confused:
Well... here's the solution... :)
Open your console and type:
sudo sysctl -w vm.mmap_min_addr=0
But it will only fix the problem until the next reboot, so, to fix it permanently, edit sysctl using any text editor.
For Ubuntu
sudo gedit /etc/sysctl.conf
For Kubuntu
sudo kedit /etc/sysctl.conf
There have been a few years since I used KDE for the last time... don't know if Kedit is still the default text editor.
For Xubuntu
sudo nano /etc/sysctl.conf
Look for this line:
vm.mmap_min_addr = 65536
Now change it to:
vm.mmap_min_addr = 0
That's it :lolflag:
Sources:
http://wiki.winehq.org/PreloaderPageZeroProblem
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/114025