Your message dated Fri, 15 Aug 2014 16:06:11 -0400
with message-id
<CANTw=MPo1R2ZmOq3q7bxrc=8rioci54oxlco2hteqvn+057...@mail.gmail.com>
and subject line Re: [pkg-wine-party] Bug#756571: Loops: modify_ldt: Invalid
argument; err:module:find_forwarded_export ... for 'krnl386.exe16.MapLS'
has caused the Debian Bug report #756571,
regarding Loops: modify_ldt: Invalid argument; err:module:find_forwarded_export
... for 'krnl386.exe16.MapLS'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
756571: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756571
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wine
Version: 1.4.1-4
Severity: normal
Tags: upstream
Dear Maintainer,
* What led up to the situation?
After 57 days of uptime, I rebooted and picked up a new kernel (there
were several kernel updates since early June). However, I was unable to
start Notes7 under Wine. The result is that the program looped after
generating these messages:
p11-kit: couldn't load module:
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so:
/usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open
shared object file: No such file or directory
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
err:module:find_forwarded_export module not found for forward
'krnl386.exe16.MapLS' used by L"c:\\windows\\system32\\KERNEL32.dll"
I'm pretty sure the first of these is irrelevant.
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
Web searching for terms in the final error message were unenlightening.
Eventually, I was lead to a launchpad bug 1327532[1] and a Linux
Kernel Mailing List discussion[2]. I was able to confirm that setting
ldt16 to 1 resolved the problem and allowed Notes7 to start.
# echo 1 > /proc/sys/abi/ldt16
From the linux-image-amd64 change log I saw that these two patches were
included in the kernel on 29 Jun 2014 (linux (3.2.60-1) wheezy;
urgency=medium"). I installed this kernel on July 7th.
- [amd64] modify_ldt: Ban 16-bit segments on 64-bit kernels
- [amd64] modify_ldt: Make support for 16-bit segments a runtime option
Eventually, I found Wine bug 36664[3] and FAQ-10.22[4].
The diagnosis was made difficult because my error message was unusual in
containing "find_forwarded_export" and my program is a 32-bit
application. Apparently, even some 32-bit applications make use of
16-bit DLLs or functions.
[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1327532
[2] https://lkml.org/lkml/2014/5/7/508
[3] https://bugs.winehq.org/show_bug.cgi?id=36664
[4] http://wiki.winehq.org/FAQ#head-bf26e320f9d279ba6d2e039f7d91f0a60a433f88
-- System Information:
Debian Release: 7.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
% uname -a
Linux anapneo 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
IBM Lotus Notes, version 7.0.3.
Versions of packages wine depends on:
ii debconf [debconf-2.0] 1.5.49
ii wine-bin 1.4.1-4
wine recommends no packages.
Versions of packages wine suggests:
pn binfmt-support <none>
pn klamav | clamav <none>
pn ttf-mscorefonts-installer <none>
pn winbind <none>
pn wine-doc <none>
Versions of packages libwine depends on:
ii debconf [debconf-2.0] 1.5.49
ii libc6 2.13-38+deb7u3
ii libdbus-1-3 1.6.8-1+deb7u3
ii libfontconfig1 2.9.0-7.1
ii libfreetype6 2.4.9-1.1
ii libgnutls26 2.12.20-8+deb7u2
ii libice6 2:1.0.8-2
ii libjpeg8 8d-1+deb7u1
ii libmpg123-0 1.14.4-1
ii libncurses5 5.9-10
ii libodbc1 2.2.14p2-5
ii libpng12-0 1.2.49-1
ii libsm6 2:1.2.1-2
ii libssl1.0.0 1.0.1e-2+deb7u11
ii libtiff4 3.9.6-11
ii libtinfo5 5.9-10
ii libx11-6 2:1.5.0-1+deb7u1
ii libxcomposite1 1:0.4.3-2
ii libxcursor1 1:1.1.13-1+deb7u1
ii libxext6 2:1.3.1-2+deb7u1
ii libxi6 2:1.6.1-1+deb7u1
ii libxinerama1 2:1.1.2-1+deb7u1
ii libxml2 2.8.0+dfsg1-7+wheezy1
ii libxrandr2 2:1.3.2-2+deb7u1
ii libxrender1 1:0.9.7-1+deb7u1
ii libxslt1.1 1.1.26-14.1
ii libxxf86vm1 1:1.1.2-1+deb7u1
ii multiarch-support 2.13-38+deb7u3
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages libwine recommends:
ii libgsm1 1.0.13-4
ii libv4l-0 0.8.8-3
ii libwine-alsa 1.4.1-4
ii libwine-gl 1.4.1-4
ii ttf-liberation 1.07.2-6
Versions of packages libwine suggests:
pn libwine-cms <none>
pn libwine-gphoto2 <none>
pn libwine-ldap <none>
pn libwine-openal <none>
pn libwine-print <none>
pn libwine-sane <none>
pn wine-doc <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
This problem is very unlikely to get fixed in the 1.4 series. For
anyone experiencing it, please use the workaround:
$ echo 1 > /proc/sys/abi/ldt16
Best wishes,
Mike
--- End Message ---