You are not logged in.

#1 2010-12-11 13:14:51

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

[SOLVED] Wine doesn't work

Hello. I've upgraded to 64 bit Arch yesterday, but I'm thinking already to revert: one of the main problems is that wine doesn't work.

I create a wine configuration with:

$ WINEARCH=win32 winecfg

then I start a game, for example:

$ WINEARCH=win32 wine /mnt/media/Igre/Counter\ Strike/cstrike.exe 
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
wine: Unhandled page fault on read access to 0x00401194 at address 0x401194 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00401194 in 32-bit code (0x00401194).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00401194 ESP:0032fe94 EBP:0032fea8 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00000000 EBX:7b8849cc ECX:0032ff10 EDX:0032ff10
 ESI:7ffdf000 EDI:00401194
Stack dump:
0x0032fe94:  7b855d5c 7ffdf000 7bc4bd6a 7b8849cc
0x0032fea4:  7ffdf000 0032fee8 7b85699f 7ffdf000
0x0032feb4:  00401194 00000000 00000000 00000000
0x0032fec4:  00000000 00000000 00000000 00000000
0x0032fed4:  00000000 00000000 7bc9c57c ffc5a7e4
0x0032fee4:  00110758 0032fef8 7bc714d0 7ffdf000
000c: sel=0067 base=00000000 limit=00000000 32-bit r--
Backtrace:
=>0 0x00401194 EntryPoint() in cstrike (0x0032fea8)
  1 0x7b85699f start_process+0x5e() in kernel32 (0x0032fee8)
  2 0x7bc714d0 call_thread_func+0xb() in ntdll (0x0032fef8)
  3 0x7bc73760 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  4 0x7bc4a07a start_process+0x29() in ntdll (0x0032ffe8)
0x00401194 EntryPoint in cstrike: pushl $0x403154
Modules:
Module  Address                 Debug info      Name (49 modules)
PE        400000-  408000       Export          cstrike
PE      66000000-66152000       Deferred        msvbvm60
ELF     7b800000-7b97f000       Export          kernel32<elf>
  \-PE  7b810000-7b97f000       \               kernel32
ELF     7bc00000-7bcb9000       Export          ntdll<elf>
  \-PE  7bc10000-7bcb9000       \               ntdll
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7e602000-7e607000       Deferred        libxfixes.so.3
ELF     7e607000-7e610000       Deferred        libxcursor.so.1
ELF     7e610000-7e617000       Deferred        libxrandr.so.2
ELF     7e617000-7e61f000       Deferred        libxrender.so.1
ELF     7e61f000-7e624000       Deferred        libxxf86vm.so.1
ELF     7e624000-7e644000       Deferred        imm32<elf>
  \-PE  7e630000-7e644000       \               imm32
ELF     7e644000-7e649000       Deferred        libxdmcp.so.6
ELF     7e649000-7e661000       Deferred        libxcb.so.1
ELF     7e661000-7e678000       Deferred        libice.so.6
ELF     7e678000-7e792000       Deferred        libx11.so.6
ELF     7e792000-7e7a0000       Deferred        libxext.so.6
ELF     7e7c5000-7e867000       Deferred        winex11<elf>
  \-PE  7e7d0000-7e867000       \               winex11
ELF     7e877000-7e8a0000       Deferred        libexpat.so.1
ELF     7e8a0000-7e8ce000       Deferred        libfontconfig.so.1
ELF     7e8ce000-7e8e3000       Deferred        libz.so.1
ELF     7e8e3000-7e968000       Deferred        libfreetype.so.6
ELF     7e969000-7e96c000       Deferred        libxau.so.6
ELF     7e98d000-7ea79000       Deferred        oleaut32<elf>
  \-PE  7e9a0000-7ea79000       \               oleaut32
ELF     7ea79000-7eaed000       Deferred        rpcrt4<elf>
  \-PE  7ea90000-7eaed000       \               rpcrt4
ELF     7eaed000-7ebef000       Deferred        ole32<elf>
  \-PE  7eb00000-7ebef000       \               ole32
ELF     7ebef000-7ec49000       Deferred        advapi32<elf>
  \-PE  7ec00000-7ec49000       \               advapi32
ELF     7ec49000-7ecd4000       Deferred        gdi32<elf>
  \-PE  7ec50000-7ecd4000       \               gdi32
ELF     7ecd4000-7ee06000       Deferred        user32<elf>
  \-PE  7ecf0000-7ee06000       \               user32
ELF     7efb6000-7efdb000       Deferred        libm.so.6
ELF     7efdb000-7efe2000       Deferred        libsm.so.6
ELF     7efe8000-7f000000       Deferred        version<elf>
  \-PE  7eff0000-7f000000       \               version
ELF     f74a0000-f74a4000       Deferred        libuuid.so.1
ELF     f74a6000-f74aa000       Deferred        libdl.so.2
ELF     f74c3000-f74cf000       Deferred        libnss_files.so.2
ELF     f74cf000-f761b000       Deferred        libc.so.6
ELF     f761b000-f7635000       Deferred        libpthread.so.0
ELF     f7635000-f7775000       Export          libwine.so.1
ELF     f7776000-f7794000       Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) F:\Igre\Counter Strike\cstrike.exe
        00000009    0 <==
0000000e services.exe
        00000016    0
        00000015    0
        00000014    0
        00000010    0
        0000000f    0
00000011 winedevice.exe
        00000017    0
        00000013    0
        00000012    0
00000018 explorer.exe
        00000019    0
Backtrace:
=>0 0x00401194 EntryPoint() in cstrike (0x0032fea8)
  1 0x7b85699f start_process+0x5e() in kernel32 (0x0032fee8)
  2 0x7bc714d0 call_thread_func+0xb() in ntdll (0x0032fef8)
  3 0x7bc73760 call_thread_entry_point+0x6f() in ntdll (0x0032ffc8)
  4 0x7bc4a07a start_process+0x29() in ntdll (0x0032ffe8)

What's going on?
Here's what I have installed:

lib32-alsa-lib
lib32-ati-dri
lib32-dbus-core
lib32-expat
lib32-fontconfig
lib32-freetype2
lib32-gcc-libs
lib32-giflib
lib32-glib2
lib32-glibc
lib32-gnutls
lib32-lcms
lib32-libcups
lib32-libdrm
lib32-libgcrypt
lib32-libgl
lib32-libgpg-error
lib32-libice
lib32-libjpeg
lib32-libldap
lib32-libmng
lib32-libpng
lib32-libsm
lib32-libtiff
lib32-libtool
lib32-libx11
lib32-libxau
lib32-libxcb
lib32-libxcursor
lib32-libxdamage
lib32-libxdmcp
lib32-libxext
lib32-libxfixes
lib32-libxi
lib32-libxml2
lib32-libxrandr
lib32-libxrender
lib32-libxss
lib32-libxt
lib32-libxv
lib32-libxxf86dga
lib32-libxxf86vm
lib32-mesa
lib32-mpg123
lib32-ncurses
lib32-openal
lib32-openssl
lib32-pcre
lib32-qt
lib32-readline
lib32-sqlite3
lib32-util-linux-ng
lib32-v4l-utils
lib32-zlib

I've also tried to export the LIBGL_DRIVERS_PATH to /usr/lib32/xorg/modules/dri/, no use, still the same.

Thanks for all the help you can give. smile

Last edited by Demon (2010-12-12 21:31:50)

Offline

#2 2010-12-11 19:20:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Wine doesn't work

How did you mount that filesystem?
http://wiki.winehq.org/FAQ#head-497f1a2 … 2c7767afa2

$ WINEARCH=win32 wine /mnt/media/Igre/Counter\ Strike/cstrike.exe
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?

Please, edit your post and use [ code ] tags instead of [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

Last edited by karol (2010-12-11 19:28:54)

Offline

#3 2010-12-12 18:16:58

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Wine doesn't work

Update: I had installed custom compiled mesa. But now I've installed mesa from official repos and still the same. So this isn't a problem related to my drivers.

Offline

#4 2010-12-12 21:34:04

Demon
Member
From: Republic of Srpska, BA
Registered: 2008-03-02
Posts: 246

Re: [SOLVED] Wine doesn't work

The problem was this: the partition on which the games were installed has jfs filesystem, mounted with "users" option. Removed this option from fstab and everything is normal now.

http://wiki.jswindle.com/index.php/WINEPREFIX#Symlinks

Offline

Board footer

Powered by FluxBB