View previous topic :: View next topic |
Author |
Message |
varnyu n00b
Joined: 23 Aug 2002 Posts: 16
|
Posted: Tue Feb 25, 2003 5:57 pm Post subject: Strange VMware (X?) problem |
|
|
I just emerged VMware and got the following problem during startup and vmware doesn't starts:
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 2833 requests (2832 known processed) with 99 events remaining.
(vmware-config.pl run successfully except some variable redefinition warnings)
VMware Workstation 3.2.0 build-2230,
gcc 3.2.2,
xfree: 4.2.99.4,
kernel: 2.4.20-xfs_pre6
Anyone has idea what should I do with this? |
|
Back to top |
|
|
Thames n00b
Joined: 25 Feb 2003 Posts: 53
|
Posted: Tue Feb 25, 2003 6:44 pm Post subject: Re: Strange VMware (X?) problem |
|
|
Quote: | I just emerged VMware and got the following problem during startup and vmware doesn't starts:
XIO: fatal IO error 0 (Success) on X server ":0.0"
after 2833 requests (2832 known processed) with 99 events remaining.
|
I second this... I have the exact same problem, although the number of events and requests is different.
Quote: | VMware Workstation 3.2.0 build-2230,
gcc 3.2.2,
xfree: 4.2.99.4,
kernel: 2.4.20-xfs_pre6 |
My system is:
gcc: 3.2.2-r1
xfree-4.2.99.902
Vanilla source: 2.4.20
glibc: 2.3.2-pre1
After a long search on google, the best answer I could find, was that is has somethings to do with threading (pthreads)...
Thames |
|
Back to top |
|
|
StuBear Apprentice
Joined: 26 Feb 2003 Posts: 157 Location: Melbourne,AUSTRALIA
|
Posted: Wed Feb 26, 2003 10:02 am Post subject: |
|
|
This is a glibc issue, I guess you have recently upgraded to the latest glibc? I can't remember the version number cause I'm on windoze at work .
I found a fix on vmware.linux.experimental
vmware.linux.experimental on Google Groups
I followed these instructions and it solved the problem, will file a bug with the fix on bugzilla when I get home |
|
Back to top |
|
|
narensankar Tux's lil' helper
Joined: 04 Nov 2002 Posts: 109
|
Posted: Wed Feb 26, 2003 8:01 pm Post subject: |
|
|
The fix on vmware-experimental does not work for me as non root. I am on gentoo latest and greated with unstable I strictly followed the instructions
and I can run vmware as root. But not as a user. It seems that the LD_PRELOAD works, as I can see the reloc messages, but then I get permission denied messages for vmmon. It seems that using LD_PRELOAD kills the suid bit that is propagated from vmware to vmware-mks and vmware-ui. I can chmod a+rw /dev/misc/vmmon and then the ui starts, but it dies complaining about permissions on /dev/tty0 and /dev/tty7 (my x is running on tty7). So in order to get it to work, I had to chmod a+rw /dev/vc/0 and /dev/vc/7. For full screen I had to chmod a+rw /dev/vc/8.
Then vmware works fine. So I don't know if changing all these permissions is the right thing to do, but at least it got vmware running.
I don't know if this suid behavior is gentoo specific or in general.
Hope this helps. |
|
Back to top |
|
|
StuBear Apprentice
Joined: 26 Feb 2003 Posts: 157 Location: Melbourne,AUSTRALIA
|
Posted: Thu Feb 27, 2003 1:09 am Post subject: |
|
|
narensankar wrote: | It seems that the LD_PRELOAD works, as I can see the reloc messages, but then I get permission denied messages for vmmon. It seems that using LD_PRELOAD kills the suid bit that is propagated from vmware to vmware-mks and vmware-ui. I can chmod a+rw /dev/misc/vmmon and then the ui starts, but it dies complaining about permissions on /dev/tty0 and /dev/tty7 (my x is running on tty7). So in order to get it to work, I had to chmod a+rw /dev/vc/0 and /dev/vc/7. For full screen I had to chmod a+rw /dev/vc/8. |
Got exactly the same problem as user, root runs fine. At least one other person on the thread on vmware.linux.expreimental had the same trouble. I think it is to do with where Gentoo puts the vmware libs.
I'm going to go through the ldd man page and see if there is a work around to stop it dropping suid. |
|
Back to top |
|
|
mallchin l33t
Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Mon Mar 03, 2003 12:47 am Post subject: |
|
|
I found the bug posting relating to this and indeed it is glibc but has anyone solved this without changing permissions on devices?
It'd be nice to keep suid intact...
Until then it's no vmware for me _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
Back to top |
|
|
BernieKe Tux's lil' helper
Joined: 02 Jul 2002 Posts: 130 Location: California/Bangalore/Belgium
|
Posted: Tue Mar 04, 2003 2:35 pm Post subject: |
|
|
Hi, i did like told here, and as root i can indeed get everything to work fine (if i do xhost + localhost), and as a user vmware starts, but no fullscreen (i did do chmod a+rw /dev/vc/8)
this is the error:
Code: | Unable to turn on Direct Graphics.
Failed to switch to fullscreen SVGA mode. |
This used to work with DGA.
Bernard |
|
Back to top |
|
|
|