I've been having a problem recently with my Funtoo VM (VMware for Windows host).
When I run startx with the vmware video driver installed, I get a segfault such as the following:
[ 326.599] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 326.599] (II) vmware(0): Initialized VMware Xinerama extension.
[ 326.599] (II) vmware(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 326.600] (EE) vmware(0): Unable to map mmio BAR. Invalid argument (22)
[ 326.607] (EE) vmware(0): Unable to map frame buffer BAR. Invalid argument (22)
[ 326.607] (EE)
[ 326.607] (EE) Backtrace:
[ 326.607] (EE) 0: Xorg (xorg_backtrace+0x4d) [0x555a895894cd]
[ 326.607] (EE) 1: Xorg (0x555a893e3000+0x1aa199) [0x555a8958d199]
[ 326.607] (EE) 2: /lib64/libpthread.so.0 (0x7f61c95c4000+0x14ab0) [0x7f61c95d8ab0]
[ 326.607] (EE) 3: /lib64/libc.so.6 (0x7f61c93fa000+0x16a82d) [0x7f61c956482d]
[ 326.607] (EE) 4: /usr/lib64/xorg/modules/drivers/vmware_drv.so (0x7f61ca984000+0x6e9b) [0x7f61ca98ae9b]
[ 326.607] (EE) 5: Xorg (AddScreen+0xd7) [0x555a8943a417]
[ 326.608] (EE) 6: Xorg (InitOutput+0x3fe) [0x555a89479e6e]
[ 326.608] (EE) 7: Xorg (0x555a893e3000+0x5af7f) [0x555a8943df7f]
[ 326.608] (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xe7) [0x7f61c941bbe7]
[ 326.608] (EE) 9: Xorg (_start+0x2a) [0x555a89427dea]
[ 326.608] (EE)
[ 326.608] (EE) Segmentation fault at address 0x0
[ 326.608] (EE)
Fatal server error:
[ 326.608] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 326.608] (EE)
[ 326.608] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 326.608] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 326.608] (EE)
[ 326.613] (EE) Server terminated with error (1). Closing log file.
If I uninstall xf86-video-vmware or just move the driver file to a different name, the X11 starts up and uses the modeset driver and seems to work ok.
Because I can get it to work with modeset, this is really a minor issue but it bugs me that I can't use the vmware driver. I've searched several times for hints on how to fix this but I am at a loss.
I've tried various kernel versions (4.19.2-gentoo, 4.20.0-gentoo, 4.9.168_p1 from debian LTS and 5.0.0-pf2) and I've played around with USE flags to the point that I don't remember everything I have done.
In addition, I followed an article I found on how to get a good stacktrace so my system is currently built with the FEATURES="splitdebug" variable set in make.conf.
So I've got a full gdb backtrace also which I will post at the end.
Any advice would be greatly appreciated. I am definitely in over my head on this problem. Again, it's a minor issue.
Question
cbdougla
I've been having a problem recently with my Funtoo VM (VMware for Windows host).
When I run startx with the vmware video driver installed, I get a segfault such as the following:
[ 326.599] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 326.599] (II) vmware(0): Initialized VMware Xinerama extension.
[ 326.599] (II) vmware(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 326.600] (EE) vmware(0): Unable to map mmio BAR. Invalid argument (22)
[ 326.607] (EE) vmware(0): Unable to map frame buffer BAR. Invalid argument (22)
[ 326.607] (EE)
[ 326.607] (EE) Backtrace:
[ 326.607] (EE) 0: Xorg (xorg_backtrace+0x4d) [0x555a895894cd]
[ 326.607] (EE) 1: Xorg (0x555a893e3000+0x1aa199) [0x555a8958d199]
[ 326.607] (EE) 2: /lib64/libpthread.so.0 (0x7f61c95c4000+0x14ab0) [0x7f61c95d8ab0]
[ 326.607] (EE) 3: /lib64/libc.so.6 (0x7f61c93fa000+0x16a82d) [0x7f61c956482d]
[ 326.607] (EE) 4: /usr/lib64/xorg/modules/drivers/vmware_drv.so (0x7f61ca984000+0x6e9b) [0x7f61ca98ae9b]
[ 326.607] (EE) 5: Xorg (AddScreen+0xd7) [0x555a8943a417]
[ 326.608] (EE) 6: Xorg (InitOutput+0x3fe) [0x555a89479e6e]
[ 326.608] (EE) 7: Xorg (0x555a893e3000+0x5af7f) [0x555a8943df7f]
[ 326.608] (EE) 8: /lib64/libc.so.6 (__libc_start_main+0xe7) [0x7f61c941bbe7]
[ 326.608] (EE) 9: Xorg (_start+0x2a) [0x555a89427dea]
[ 326.608] (EE)
[ 326.608] (EE) Segmentation fault at address 0x0
[ 326.608] (EE)
Fatal server error:
[ 326.608] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 326.608] (EE)
[ 326.608] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 326.608] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 326.608] (EE)
[ 326.613] (EE) Server terminated with error (1). Closing log file.
If I uninstall xf86-video-vmware or just move the driver file to a different name, the X11 starts up and uses the modeset driver and seems to work ok.
Because I can get it to work with modeset, this is really a minor issue but it bugs me that I can't use the vmware driver. I've searched several times for hints on how to fix this but I am at a loss.
I've tried various kernel versions (4.19.2-gentoo, 4.20.0-gentoo, 4.9.168_p1 from debian LTS and 5.0.0-pf2) and I've played around with USE flags to the point that I don't remember everything I have done.
In addition, I followed an article I found on how to get a good stacktrace so my system is currently built with the FEATURES="splitdebug" variable set in make.conf.
So I've got a full gdb backtrace also which I will post at the end.
Any advice would be greatly appreciated. I am definitely in over my head on this problem. Again, it's a minor issue.
gdb-bt-full.txt
Link to comment
Share on other sites
6 answers to this question
Recommended Posts