Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 317908 Details for
Bug 380907
x11-drivers/xf86-input-vmmouse-12.7.0: /usr/bin/vmmouse_detect segfaults during boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch accepted in Debian and Redhat
enable-detect-in-kvm.diff (text/plain), 772 bytes, created by
Faustus
on 2012-07-11 11:59:50 UTC
(
hide
)
Description:
Patch accepted in Debian and Redhat
Filename:
MIME Type:
Creator:
Faustus
Created:
2012-07-11 11:59:50 UTC
Size:
772 bytes
patch
obsolete
>Subject: Not calling iopl() is triggering an undesired SEGV >References: bnc#604966 > > Reverts the following upstream commit: > > commit bcdec3d0cd4434770cd841c33c030e0d7203881f > Author: Philip Langdale <philipl@fido2.homeip.net> > Date: Thu Oct 23 23:35:28 2008 -0700 > > Remove call to iopl(). It's not portable and isn't necessary. > >diff --git a/tools/vmmouse_detect.c b/tools/vmmouse_detect.c >index e5f14a3..0dd4827 100644 >--- a/tools/vmmouse_detect.c >+++ b/tools/vmmouse_detect.c >@@ -47,6 +47,11 @@ main(void) > signal(SIGSEGV, segvCB); > > #if defined __i386__ || defined __x86_64__ >+ /* >+ * To access i/o ports above 0x3ff, we need to be in iopl(3). >+ */ >+ >+ iopl(3); > if (VMMouseClient_Enable()) { > VMMouseClient_Disable(); > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 380907
: 317908