Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] amd64 and vmware-server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Mon Nov 17, 2008 10:41 pm    Post subject: [solved] amd64 and vmware-server Reply with quote

Code:
/opt/vmware/server/bin/vmware-config.pl


yields the following error after configuring network and asking where to store virtual machine files:

Code:
sh: /opt/vmware/server/lib/bin/vmware-vmx: No such file or directory
Please enter your 20-character serial number.


I have a serial number, but no matter what I enter, it tells me it's invalid. I think it's related to the fact that vmware-vmx can't run, I did see an old post on ubuntu that asked to apt-get ia32 and various other 32-bit libraries, none of which seem to be in portage. :S The vmware-vmx file exists and it is executable. I've searched the forums here to no avail. Any advice?


Last edited by dtjohnst on Wed Nov 26, 2008 11:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
Crymson
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 203
Location: New England

PostPosted: Tue Nov 18, 2008 12:38 am    Post subject: Reply with quote

What version vmware is your serial for? Is it the same as your installed version?
_________________
Knowledge is Power // Power Corrupts // Study Hard // Be Evil
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 1:38 am    Post subject: Reply with quote

VMWare's website says 1.0.x, and I'm running the latest stable from Portage, so 1.0.6.91891.

http://www.vmware.com/download/server/

I'm really starting to feel like either amd64 or maybe hardened is borked. I've never run in to so many packages that don't compile and need workarounds. I've got 2 pending posts here, and at least a half-dozen other issues that Google helped me figure out. I don't "think" it's hardened because I'm finding my issues have a lot of other people with the same problems, only on different distros and those fixes aren't applicable with Gentoo. I might just be better off going with x86, although I was hoping to vritualize Exchange 2008 to test and it needs 64-bit.
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Tue Nov 18, 2008 8:08 am    Post subject: Reply with quote

Hi,
You need to have a multilib installation! Check that you have support for 32bit elf files in the Kernel and those emul-linux-x86 packages installed!
-I once had to reinstall all of those emul-linux packages to get vmware-server running! :wink:

Cheers
_________________
Power to the people!
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 2:02 pm    Post subject: Reply with quote

Hmm. That might fix both my errors here: this one and the one a little further down the page on v86d. Thanks, I'll try it out and report back.
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 2:56 pm    Post subject: Reply with quote

I switched to the hardened/amd64/multilib profile, added multilib to USE flags then tried to oneshot the toolchain, failed. Seemed to be related to glibc. Tried to install that with multilib, failed. Removed multilib from use and switched profiles back to hardened/amd64, compiles fine. Is there something I need to install/do beforehand in order to switch to multilib?
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 3:49 pm    Post subject: Reply with quote

Hmm, I see you can't switch according to the Gentoo help files. :S THat kinda sucks. Reinstall I guess.
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Tue Nov 18, 2008 4:40 pm    Post subject: Reply with quote

Quote:
THat kinda sucks.

you're right! :roll:
_________________
Power to the people!
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 5:32 pm    Post subject: Reply with quote

Ummm........ok. This is new.

Started a reinstall, not a big deal, it was an empty system. But I'm getting a strange error now. I'm trying to use genkernel to build my initrd because I use nvraid, and when I run
Code:
genkernel --lvm --dmraid --install initrd
I get an error:
Code:
* DMRAID: Adding support (compiling binaries)...

bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
         Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the 'bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

/bin/tar: Child returned status 2
/bin/tar: Error exit delayed from preview errors
* ERROR: Could not extract dmraid binary cache!


I tried reinstalling dmraid and device-mapper but that didn't resolve the issue. I don't know where the binary cache is located either to run a -tvv on them. :S

EDIT: Disregard. Found it in /var/cache. It was in fact corrupt, I deleted the dmraid files here and copied them over from /usr/portage/distfiles, then reran genkernel without issue.
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 388
Location: Canada

PostPosted: Tue Nov 18, 2008 7:35 pm    Post subject: Reply with quote

Quote:
I switched to the hardened/amd64/multilib profile, added multilib to USE flags then tried to oneshot the toolchain, failed. Seemed to be related to glibc. Tried to install that with multilib, failed. Removed multilib from use and switched profiles back to hardened/amd64, compiles fine. Is there something I need to install/do beforehand in order to switch to multilib?


vmware-server (amd64) does not work with hardened-sources>2.6.23.
See https://forums.gentoo.org/viewtopic-t-698452-highlight-vmwareserver.html
for more details.

It runs fine for me on amd64 with gentoo-sources-2.6.25.
I have all the 32 bit libraries that I could find installed. I no longer rember what they are.
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Tue Nov 18, 2008 11:28 pm    Post subject: Reply with quote

Quote:
vmware-server (amd64) does not work with hardened-sources>2.6.23.
See https://forums.gentoo.org/viewtopic-t-698452-highlight-vmwareserver.html
for more details.

It runs fine for me on amd64 with gentoo-sources-2.6.25.
I have all the 32 bit libraries that I could find installed. I no longer rember what they are.


Shoot. That sucks too. I see by that thread (and the subsequent links) that the PaX crew might be fixing it. That's good. I'll keep my fingers crossed for that.
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 388
Location: Canada

PostPosted: Tue Nov 18, 2008 11:53 pm    Post subject: Reply with quote

Quote:
Shoot. That sucks too. I see by that thread (and the subsequent links) that the PaX crew might be fixing it. That's good. I'll keep my fingers crossed for that.


As of Oct 13, it was not fixed. See http://forums.grsecurity.net/viewtopic.php?f=3&t=2001&start=0&st=0&sk=t&sd=a
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum