Howdy,
I asked this in #winehackers yesterday, but didn't get a reply. Perhaps someone here knows. I've been testing wine on OpenBSD, with their patches from port, and with a few patches/hacks, notepad runs :-).
The big issues are mmap, which OpenBSD is really protective of. Luckily, their port has some patches for it: http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/wine/patches/patch-con... - hack http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/wine/patches/patch-lib... - worth reviewing and maybe including in wine
main port site - http://www.openbsd.org/cgi-bin/cvsweb/ports/emulators/wine/
The main question I have though, is that I can't get winetest to run there. When I run ./wine winetest or ./wine winetest-latest.exe, winetest begins to load, then bails out, saying mountmgr.sys isn't running, likely because my wineprefix is messed up. I'm not sure if it's an issue of OpenBSD being broken, the vm being too slow and timing out, or the lack of dbus/hal on OpenBSD to prevent mountmgr from running. I'm assuming it's either OpenBSD being broken or the vm being to slow, since other platforms without hal/dbus (OSX, etc.) still report results fine.
Does anyone have a better idea what's wrong?
On Mar 3, 2010, at 12:12 PM, Austin English wrote:
The main question I have though, is that I can't get winetest to run there. When I run ./wine winetest or ./wine winetest-latest.exe, winetest begins to load, then bails out, saying mountmgr.sys isn't running, likely because my wineprefix is messed up. I'm not sure if it's an issue of OpenBSD being broken, the vm being too slow and timing out, or the lack of dbus/hal on OpenBSD to prevent mountmgr from running. I'm assuming it's either OpenBSD being broken or the vm being to slow, since other platforms without hal/dbus (OSX, etc.) still report results fine.
There's an alternative implementation for Mac OS X using the Disk Arbitration framework. See dlls/mountmgr.sys/diskarb.c. OpenBSD may need its own implementation of the corresponding functionality.
Regards, Ken
On Wed, Mar 3, 2010 at 1:59 PM, Ken Thomases ken@codeweavers.com wrote:
On Mar 3, 2010, at 12:12 PM, Austin English wrote:
The main question I have though, is that I can't get winetest to run there. When I run ./wine winetest or ./wine winetest-latest.exe, winetest begins to load, then bails out, saying mountmgr.sys isn't running, likely because my wineprefix is messed up. I'm not sure if it's an issue of OpenBSD being broken, the vm being too slow and timing out, or the lack of dbus/hal on OpenBSD to prevent mountmgr from running. I'm assuming it's either OpenBSD being broken or the vm being to slow, since other platforms without hal/dbus (OSX, etc.) still report results fine.
There's an alternative implementation for Mac OS X using the Disk Arbitration framework. See dlls/mountmgr.sys/diskarb.c. OpenBSD may need its own implementation of the corresponding functionality.
Seems that is the case. I booted up an install I have on a spare PC, built wine 1.1.40 + patches, and ran ./wine winetest. Still fails with the mount manager error.
I've filed http://bugs.winehq.org/show_bug.cgi?id=21988.