http://bugs.winehq.org/show_bug.cgi?id=29270
Bug #: 29270 Summary: wineboot fails to start for 64-bit install, 32-bit prefix is fine, other errors about range reservation Product: Wine Version: 1.3.34 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lorenzen.robert@gmail.com Classification: Unclassified
I am running Gentoo Linux with Gentoo-Sources 3.1.1-hardened for a kernel, and wine-1.3.34 compiled from source. USE flags for wine are:
X alsa cups dbus fontconfig gecko gnutls hardened jpeg mp3 ncurses openal opengl oss perl png samba scanner ssl threads truetype win32 win64 xcomposite xinerama xml
USE flags NOT enable:
capi custom-cflags gphoto2 gsm gstreamer lcms ldap opencl test v4l
So I have a working install of Microsoft Office 2007 installed in its own 32-bit prefix in /home/bobby/.win32, if I run:
WINEPREFIX="/home/bobby/.win32" winecfg
I get no errors at all and also the drive tab will work in winecfg, however if I then remove my 64-bit prefix with
rm -rf ~/.wine
and then
WINEPREFIX="/home/bobby/.wine" winecfg
I get the following errors in terminal:
preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000 err:process:start_wineboot failed to start wineboot, err 1359 preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000 err:winecfg:WinMain failed to restart 64-bit L"C:\windows\system32\winecfg.exe", err 1359 preloader: Warning: failed to reserve range 00007ffffe000000-00007fffffff0000
and if i then go to the drive tab in the winecfg window that opened another error shows in terminal:
err:winecfg:open_mountmgr failed to open mount manager err 2
however all of this works just fine if i specify WINEPREFIX="/home/bobby/.win32"
Note that I do run a hardened kernel but it does not have grsecurity or SELinux enabled, only PaX and all PaX markings are disabled for /usr/bin/wine, in fact I ran:
paxctl -zpemrxs /usr/bin/wine
just to make sure
Also I have this problem in wine-1.3.29, im not sure of the builds in between, i had masked upgrading past 1.3.29 because 1.3.30 broke my Office 2007 install, but that regression is gone in 1.3.34 but not I have this problem...
I have searched every where for some answers but have found little. If this is the wrong place to post about this then my apologies, I just didn't know who else to ask and thought the people that made the software might be a good place to start. :)
I am not attaching anything at this point because I believe I have posted everything relevant here but I do have the build log for 1.3.34 if it would somehow help or if you need anything else just let me know and I will post it with haste ;)
http://bugs.winehq.org/show_bug.cgi?id=29270
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2011-12-08 03:06:14 CST --- Most likely you need to disable the security stuff for wine-preloader, not wine.
http://bugs.winehq.org/show_bug.cgi?id=29270
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2011-12-08 03:24:08 CST --- And of course you need to do this on the 64-bit binaries too, wine64 and/or wine64-preloader.
http://bugs.winehq.org/show_bug.cgi?id=29270
Robert lorenzen.robert@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Robert lorenzen.robert@gmail.com 2011-12-08 12:42:46 CST --- thank you!! i didn't realize that there was a 'wine-preloader' binary to mark, after I did:
paxctl -zpemrxs /usr/bin/wine-preloader; paxctl -zpemrxs /usr/bin/wine64-preloader; paxctl -zpemrxs /usr/bin/wine64
I no longer get the wineboot failed errors, however I do still get the failure to reserve that same range of memory. Is that ok? or rather a *known* issue?
I'll do some testing today to make sure it is really 'resolved' but typing
winecfg
gives me none of the errors besides the warning about range reservation and it will also allow me to select the drive letter mappings, so cheers!
http://bugs.winehq.org/show_bug.cgi?id=29270
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |INVALID
--- Comment #4 from Austin English austinenglish@gmail.com 2011-12-08 12:49:34 CST --- Nothing was fixed in wine.