public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
@ 2008-12-29 15:39 Pongracz Istvan
  2008-12-30  1:17 ` Peter Ruskin
  2008-12-30 15:35 ` Paul Hartman
  0 siblings, 2 replies; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-29 15:39 UTC (permalink / raw
  To: gentoo-user

Hi,

I tried to compile vmware-server-1.0.8.126538 with
vmware-modules-1.0.0.15-r1 but compiling vmmon failed.

I got this error message:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: File or directory not found
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:172: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initializer
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:176: warning: initialization from incompatible pointer type
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
make[3]: ***
[/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only/linux/driver.o] Error 1
make[2]: ***
[_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vmmon-only] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo'
make: *** [vmmon.ko] Error 2


I tried with gcc 3.4.6, 4.2.4, 4.3.2, all of them failed.
I guess, this problem related to the kernel.

Is that possible to use vmware-server with the latest kernel?

Thank you,
István

-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-29 15:39 [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem Pongracz Istvan
@ 2008-12-30  1:17 ` Peter Ruskin
  2008-12-30 15:35 ` Paul Hartman
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Ruskin @ 2008-12-30  1:17 UTC (permalink / raw
  To: gentoo-user

On Monday 29 December 2008, Pongracz Istvan wrote:
> I tried to compile vmware-server-1.0.8.126538 with
> vmware-modules-1.0.0.15-r1 but compiling vmmon failed.
>
> I got this error message:
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/./include/compat_semaphore.h:5:27: error:
> asm/semaphore.h: File or directory not found
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c:171: error: unknown field ‘nopage’
> specified in initializer
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c:172: warning: initialization from
> incompatible pointer type
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c:175: error: unknown field ‘nopage’
> specified in initializer
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c:176: warning: initialization from
> incompatible pointer type
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
> /var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/vm
>mon-only/linux/driver.c:1781: error: too many arguments to
> function ‘smp_call_function’ make[3]: ***
> [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r1/work/v
>mmon-only/linux/driver.o] Error 1 make[2]: ***
> [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.15-r
>1/work/vmmon-only] Error 2 make[1]: *** [sub-make] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.28-gentoo'
> make: *** [vmmon.ko] Error 2
>
>
> I tried with gcc 3.4.6, 4.2.4, 4.3.2, all of them failed.
> I guess, this problem related to the kernel.
>
> Is that possible to use vmware-server with the latest kernel?
>
I wish I knew the answer to this too.  I haven't managed to get 
vmware-server working with any kernel after the 2.6.25 
gentoo-sources, with or without the vmware overlay.

-- 
Peter
========================================================================
Gentoo Linux: Portage 2.2_rc20			kernel-2.6.25-gentoo-r6
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+	gcc(GCC): 4.1.2
KDE: 3.5.9					Qt: 3.3.8
========================================================================



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-29 15:39 [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem Pongracz Istvan
  2008-12-30  1:17 ` Peter Ruskin
@ 2008-12-30 15:35 ` Paul Hartman
  2008-12-30 17:31   ` Pongracz Istvan
  1 sibling, 1 reply; 11+ messages in thread
From: Paul Hartman @ 2008-12-30 15:35 UTC (permalink / raw
  To: gentoo-user

On Mon, Dec 29, 2008 at 9:39 AM, Pongracz Istvan
<pongracz.istvan@gmail.com> wrote:
> Hi,
>
> I tried to compile vmware-server-1.0.8.126538 with
> vmware-modules-1.0.0.15-r1 but compiling vmmon failed.

Those are old, if you want to use a newer kernel use a newer vmware
ebuilds. Add the vmware overlay with layman and then you can get
vmware-server 2.0.0 and vmware-modules 1.0.0.23 -- this version of the
modules is working for me in kernel 2.6.28 (with vmware-workstation
6.5).



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 15:35 ` Paul Hartman
@ 2008-12-30 17:31   ` Pongracz Istvan
  2008-12-30 17:43     ` Pongracz Istvan
  0 siblings, 1 reply; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 17:31 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 09.35-kor Paul Hartman ezt írta:
> Those are old, if you want to use a newer kernel use a newer vmware
> ebuilds. Add the vmware overlay with layman and then you can get
> vmware-server 2.0.0 and vmware-modules 1.0.0.23 -- this version of the
> modules is working for me in kernel 2.6.28 (with vmware-workstation
> 6.5).
> 

Hi,

Thank you, now the situation is better :)
Unfortunately the VIX api installation failed.
I have the VIX file, downloaded before, but it seems nobody cares about
this file.

After I installed vmware-server, the 
/opt/vmware/server/bin/vmware-config.pl
failed to install vix api.

Anyway, I do not know, what is it.

Other thing, vmware-server-console unable to connect to the server on
localhost.

Unfortunately the web gui has no console, but a stupid message to
install the plugin. When I click to install, I got a more stupid "help"
how to install.

I got sick about vmware........ I guess, this is my fault....

I have to use this to get my usb scanner working under windows running
from real partition.

Probably I will buy a new scanner soon and drop out all the vmware
stuff.......

Cheers,
István
-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 17:31   ` Pongracz Istvan
@ 2008-12-30 17:43     ` Pongracz Istvan
  2008-12-30 20:19       ` Pongracz Istvan
  0 siblings, 1 reply; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 17:43 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 18.31-kor Pongracz Istvan ezt írta:

> Other thing, vmware-server-console unable to connect to the server on
> localhost.

It seems, this is the normal way. There is no this kind of console for
2.0.

> 
> Unfortunately the web gui has no console, but a stupid message to
> install the plugin. When I click to install, I got a more stupid "help"
> how to install.

Ok, I click on the "Install plugin" and I got the plugin.
Seems working, except only some messages on the blank screen:

Open the console in a new window.
Click anywhere to open the virtual machine.

I click everywhere, but nothing happened.

Now the situation is really better, but far from the "working level".

Cheers,
István

-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 17:43     ` Pongracz Istvan
@ 2008-12-30 20:19       ` Pongracz Istvan
  2008-12-30 20:48         ` Pongracz Istvan
  0 siblings, 1 reply; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 20:19 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 18.43-kor Pongracz Istvan ezt írta:

> Ok, I click on the "Install plugin" and I got the plugin.
> Seems working, except only some messages on the blank screen:
> 
> Open the console in a new window.
> Click anywhere to open the virtual machine.
> 
> I click everywhere, but nothing happened.

This happened, because something wrong with the plugin. When I try to
start the console, I got this error:

/home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc: symbol lookup error: /home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/lib/libvmwareui.so.0/libvmwareui.so.0: undefined symbol: _ZThn12_N4view10FieldEntry17delete_text_vfuncEii

Cool. Nothing in the web, except some guys from the "Vmware Community"
wrote for similar problems: wait for the next beta.

Ok, what can I do now?

Cheers,
IStván


-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 20:19       ` Pongracz Istvan
@ 2008-12-30 20:48         ` Pongracz Istvan
  2008-12-30 21:05           ` Paul Hartman
  0 siblings, 1 reply; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 20:48 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 21.19-kor Pongracz Istvan ezt írta:

> This happened, because something wrong with the plugin. When I try to
> start the console, I got this error:
> 
> /home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc: symbol lookup error: /home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/lib/libvmwareui.so.0/libvmwareui.so.0: undefined symbol: _ZThn12_N4view10FieldEntry17delete_text_vfuncEii
> 
> Cool. Nothing in the web, except some guys from the "Vmware Community"
> wrote for similar problems: wait for the next beta.
> 
> Ok, what can I do now?

Dear István, 

do not be stupid and don't panic :)

Here are the relevant information:
http://blog.discretia.org/?p=12
http://bugs.gentoo.org/show_bug.cgi?id=235344
http://bugs.gentoo.org/show_bug.cgi?id=239325

So, I had to rebuild libview.
Unfortunately there were a libview ebuild "bug" which caused that I was
not able to  compile it.
So, I applied a patch (see above) to that ebuild and 'et viola', finally
I got it working :)

Dude, I am tired.............. :)

Cheers,
István
-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 20:48         ` Pongracz Istvan
@ 2008-12-30 21:05           ` Paul Hartman
  2008-12-30 22:06             ` Pongracz Istvan
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Hartman @ 2008-12-30 21:05 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 30, 2008 at 2:48 PM, Pongracz Istvan
<pongracz.istvan@gmail.com> wrote:
> 2008. 12. 30, kedd keltezéssel 21.19-kor Pongracz Istvan ezt írta:
>
>> This happened, because something wrong with the plugin. When I try to
>> start the console, I got this error:
>>
>> /home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/bin/vmware-vmrc: symbol lookup error: /home/pongi/.mozilla/firefox/mv9y1pdy.default/extensions/VMwareVMRC@vmware.com/plugins/lib/libvmwareui.so.0/libvmwareui.so.0: undefined symbol: _ZThn12_N4view10FieldEntry17delete_text_vfuncEii
>>
>> Cool. Nothing in the web, except some guys from the "Vmware Community"
>> wrote for similar problems: wait for the next beta.
>>
>> Ok, what can I do now?
>
> Dear István,
>
> do not be stupid and don't panic :)
>
> Here are the relevant information:
> http://blog.discretia.org/?p=12
> http://bugs.gentoo.org/show_bug.cgi?id=235344
> http://bugs.gentoo.org/show_bug.cgi?id=239325
>
> So, I had to rebuild libview.
> Unfortunately there were a libview ebuild "bug" which caused that I was
> not able to  compile it.
> So, I applied a patch (see above) to that ebuild and 'et viola', finally
> I got it working :)
>
> Dude, I am tired.............. :)

Congratulations and enjoy your VMware until the next kernel release
breaks everything again. :P

Paul



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 21:05           ` Paul Hartman
@ 2008-12-30 22:06             ` Pongracz Istvan
  2008-12-30 22:28               ` Paul Hartman
  0 siblings, 1 reply; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 22:06 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 15.05-kor Paul Hartman ezt írta:

> > Dude, I am tired.............. :)
> 
> Congratulations and enjoy your VMware until the next kernel release
> breaks everything again. :P
> 
> Paul

Thank you Pauk :)

I think, it is better to get a linux friendly scanner to avoid using
vmware again.
Even they wrote, enjoy vmware, I can't. Not on my desktop to use this
bloody scanner nor on some servers.
We will migrate from vmware to openvz soon. There are some stupid
problems with vmware. For example the clock rate is different in the
same guest on two identical hosts (hardware+os). On one host the
internal clock working "well", but on the other host (same hardware/OS)
the clock speed is double. The mentioned solution did not work, of
course.

Anyway, if somebody has a working (but retired) linux friendly scanner
and he/she did not (or will) use it, please send it to me :)

Thank you and Happy New Year,
István

-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 22:06             ` Pongracz Istvan
@ 2008-12-30 22:28               ` Paul Hartman
  2008-12-30 22:40                 ` Pongracz Istvan
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Hartman @ 2008-12-30 22:28 UTC (permalink / raw
  To: gentoo-user

On Tue, Dec 30, 2008 at 4:06 PM, Pongracz Istvan
<pongracz.istvan@gmail.com> wrote:
> 2008. 12. 30, kedd keltezéssel 15.05-kor Paul Hartman ezt írta:
>
>> > Dude, I am tired.............. :)
>>
>> Congratulations and enjoy your VMware until the next kernel release
>> breaks everything again. :P
>>
>> Paul
>
> Thank you Pauk :)
>
> I think, it is better to get a linux friendly scanner to avoid using
> vmware again.
> Even they wrote, enjoy vmware, I can't. Not on my desktop to use this
> bloody scanner nor on some servers.
> We will migrate from vmware to openvz soon. There are some stupid
> problems with vmware. For example the clock rate is different in the
> same guest on two identical hosts (hardware+os). On one host the
> internal clock working "well", but on the other host (same hardware/OS)
> the clock speed is double. The mentioned solution did not work, of
> course.
>
> Anyway, if somebody has a working (but retired) linux friendly scanner
> and he/she did not (or will) use it, please send it to me :)
>
> Thank you and Happy New Year,
> István

I don't know your specific needs when it comes to scanning, but a few
years ago (2005) I got an Epson Perfection 2400 on eBay for about $15
USD. It is USB and has worked great with Gentoo (media-gfx/iscan)...
Epson seems to have an active Linux driver development team with
releases usually every month, and you can check their website for
recently added scanners to the supported list. I have not used any
other scanner in Linux, but so far I am perfectly happy with this
Epson (especially for $15).

http://avasys.jp/english/linux_e/

Regards,
Paul



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem
  2008-12-30 22:28               ` Paul Hartman
@ 2008-12-30 22:40                 ` Pongracz Istvan
  0 siblings, 0 replies; 11+ messages in thread
From: Pongracz Istvan @ 2008-12-30 22:40 UTC (permalink / raw
  To: gentoo-user

2008. 12. 30, kedd keltezéssel 16.28-kor Paul Hartman ezt írta:

> I don't know your specific needs when it comes to scanning, but a few
> years ago (2005) I got an Epson Perfection 2400 on eBay for about $15
> USD. It is USB and has worked great with Gentoo (media-gfx/iscan)...
> Epson seems to have an active Linux driver development team with
> releases usually every month, and you can check their website for
> recently added scanners to the supported list. I have not used any
> other scanner in Linux, but so far I am perfectly happy with this
> Epson (especially for $15).
> 
> http://avasys.jp/english/linux_e/
> 
> Regards,
> Paul
> 

Hi Paul,

You are right :)
After I sent the email, I realized, on ebay I can find scanners :)

Anyway, I have no special needs. I guess, all flatbed scanners do the
same job. I do not really understand, why to manufacture >1000000000
kind of flatbed scanners......

Cheers,
István
-- 
BSA. Mert megérdemlitek.
Open Source. Mert megérdemlem.
--
BSA. They value it.
Open Source. The value. It.
--
http://www.startit.hu
http://www.osbusiness.hu




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-12-30 22:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 15:39 [gentoo-user] vmware-server + gentoo kernel 2.6.28 - compiling problem Pongracz Istvan
2008-12-30  1:17 ` Peter Ruskin
2008-12-30 15:35 ` Paul Hartman
2008-12-30 17:31   ` Pongracz Istvan
2008-12-30 17:43     ` Pongracz Istvan
2008-12-30 20:19       ` Pongracz Istvan
2008-12-30 20:48         ` Pongracz Istvan
2008-12-30 21:05           ` Paul Hartman
2008-12-30 22:06             ` Pongracz Istvan
2008-12-30 22:28               ` Paul Hartman
2008-12-30 22:40                 ` Pongracz Istvan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox