VMware 12.5.9 su Slack 14.2 con kernel 5.10.4

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3788
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

VMware 12.5.9 su Slack 14.2 con kernel 5.10.4

Messaggio da joe »

Il tentativo di installare Virtualbox è naufragato con un nulla di fatto.
La compilazione fallisce, l'utilizzo del precompilato consigliatomi in altra discussione anche.

Allora ho tentato con VMware.
Mai usato non sapevo neanche dove pescarlo.
Slackbuilds pronti non ne ho trovato così sono ricorso all'installer, per la cronaca preso da qui:
https://my.vmware.com/en/web/vmware/dow ... layer/16_0

Purtroppissimo la mia CPU è troppo vetusta e non è supportata dall'attuale versione 16.x di wmware.
Alla fino ho trovato una soluzione praticabile nell'installazione di vmware 12.5.9. Quindi una versione vecchia che dovrebbe supportare credo anche macinini più vecchi.
Sì ma da dove si ottiene quella vecchia versione?

Dopo alcune ricerche, come già altre volte ho trovato una risposta nel repo AUR di Archlinux.
https://aur.archlinux.org/packages/vmwa ... station12/

Bene, lì si trova anche il link al "boundle" cioè all'installer:
https://download3.vmware.com/software/w ... _64.bundle

Per completezza ho trovato informazioni anche sul loro solito wiki:
https://wiki.archlinux.org/index.php/VM ... are_bundle

Leggo che ci dovrebbero essere delle pathces da applicare per installarlo su sistemi con kernel nuovi. D'altra parte la versione in questione è vecchia e pensata per kernel vecchi.
Nel mio caso ho aggiornato il kernel alla versione attuale 5.10.4. Quindi è facile presumere che l'installazione non vada liscia liscia senza patchare qualcosa ecc...
E infatti manco a dirlo, lanciando l'installazione come segue:

Codice: Seleziona tutto

# ./VMware-Workstation-Full-12.5.9-7535481.x86_64.bundle --eulas-agreed --console -p /usr
Sembra filare tutto liscio fino a quando salta fuori quanto segue:

Codice: Seleziona tutto

Extracting VMware Installer...done.
Would you like to check for product updates on startup? [yes]: no

Would you like to help make VMware software better by sending
anonymous system data and usage statistics to VMware? [yes]: no

Please enter the user that will initially connect to Workstation
Server. Without setting this correctly, you will not be able to share
VMs with other users. Additional users and administrators can be
configured later in Workstation by selecting "Shared VMs" and clicking
"Permissions".  [root]:

Please choose a directory for your shared virtual machines.
[/var/lib/vmware/Shared VMs]:

Please enter the port to use for https access to Workstation Server.
(HTTPS port:) [443]:

Enter license key. (optional) You can enter this information later.:

Installing VMware Installer 2.1.0
Copying files...
Configuring...
Installing VMware Player Setup 12.5.9
Copying files...
Configuring...
Installing VMware VMX 12.5.9
Copying files...
Configuring...
Installing VMware VIX Core Library 1.15.8
Copying files...
Configuring...
Installing VMware Network Editor 12.5.9
Copying files...
Configuring...
Installing VMware Network Editor User Interface 12.5.9
Copying files...
Configuring...
Installing VMware Tools for NetWare 10.1.6
Copying files...
Configuring...
Installing VMware Tools for legacy Linux 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows 2000, XP and Server 2003 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows 95, 98, Me and NT 10.1.6
Copying files...
Configuring...
Installing VMware Tools for FreeBSD 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows Vista or later 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Solaris 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Linux 10.1.6
Copying files...
Configuring...
Installing VMware USB Arbitrator 15.2.0
Copying files...
Configuring...
Rolling back VMware USB Arbitrator 15.2.0
Removing files...
Deconfiguring...
All configuration information is about to be removed. Do you wish to
keep your configuration files? [yes]: yes

Uninstalling VMware Tools for Windows 2000, XP and Server 2003 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for Linux 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for Solaris 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for legacy Linux 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for FreeBSD 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for Windows 95, 98, Me and NT 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Tools for Windows Vista or later 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware Network Editor User Interface 12.5.9
Removing files...
Deconfiguring...
Uninstalling VMware Network Editor 12.5.9
Removing files...
Deconfiguring...
Uninstalling VMware Tools for NetWare 10.1.6
Removing files...
Deconfiguring...
Uninstalling VMware VIX Core Library 1.15.8
Removing files...
Deconfiguring...
Uninstalling VMware VMX 12.5.9
Removing files...
Deconfiguring...
Uninstalling VMware Player Setup 12.5.9
Removing files...
Deconfiguring...
Uninstalling VMware Installer 2.1.0
Removing files...
Deconfiguring...
Installation was unsuccessful.
[/code

In sintesi il punto in cui l'installer sembra ripensarci e smontare tutta l'installazione fatta fin lì, potrebbe riguardare il componente USB Arbitrator:
[code]
Installing VMware USB Arbitrator 15.2.0
Copying files...
Configuring...
Rolling back VMware USB Arbitrator 15.2.0
Removing files...
Deconfiguring...
All configuration information is about to be removed. Do you wish to
keep your configuration files? [yes]: yes
Perché e per come non si sa, almeno da quello che compare a terminale.
Non so però se ci siano anche dei logs in cui andare a vedere cosa non ha funzionato e perché...

Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3788
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

Re: VMware 12.5.9 su Slack 14.2 con kernel 5.10.4

Messaggio da joe »

Un piccolo aggiornamento.

Avviando l'installer col comando seguente l'installazione riporta un inaspettato esito "successful"

Codice: Seleziona tutto

./VMware-Workstation-Full-12.5.9-7535481.x86_64.bundle --required --eulas-agreed --console -p /usr --custom -I

Codice: Seleziona tutto

Extracting VMware Installer...done.
Product installation path prefix. (Desktop integration files, such as
icons and .desktop entries, will still be installed under /usr.)
[/usr]:

System service runlevel directory (contains rc?.d directories).  Use
an empty directory if your system does not support rc?.d style
directories. [/etc/rc.d]:

System service scripts directory (commonly /etc/init.d).
[/etc/rc.d/init.d]:

Do you want to install shortcuts for your desktop? [yes]:

Would you like to check for product updates on startup? [yes]: no

Would you like to help make VMware software better by sending
anonymous system data and usage statistics to VMware? [yes]: no

Please enter the user that will initially connect to Workstation
Server. Without setting this correctly, you will not be able to share
VMs with other users. Additional users and administrators can be
configured later in Workstation by selecting "Shared VMs" and clicking
"Permissions".  [root]:

Please choose a directory for your shared virtual machines.
[/var/lib/vmware/Shared VMs]:

Please enter the port to use for https access to Workstation Server.
(HTTPS port:) [443]:

Enter license key. (optional) You can enter this information later.:

Installing VMware Installer 2.1.0
Copying files...
Configuring...
Installing VMware Player Setup 12.5.9
Copying files...
Configuring...
Installing VMware VMX 12.5.9
Copying files...
Configuring...
Installing VMware VIX Core Library 1.15.8
Copying files...
Configuring...
Installing VMware Network Editor 12.5.9
Copying files...
Configuring...
Installing VMware Network Editor User Interface 12.5.9
Copying files...
Configuring...
Installing VMware Tools for NetWare 10.1.6
Copying files...
Configuring...
Installing VMware Tools for legacy Linux 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows 2000, XP and Server 2003 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows 95, 98, Me and NT 10.1.6
Copying files...
Configuring...
Installing VMware Tools for FreeBSD 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Windows Vista or later 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Solaris 10.1.6
Copying files...
Configuring...
Installing VMware Tools for Linux 10.1.6
Copying files...
Configuring...
Installing VMware USB Arbitrator 15.2.0
Copying files...
Configuring...
Installing VMware Player Application 12.5.9
Copying files...
Configuring...
Installing VMware Workstation Server 12.5.9
Copying files...
Configuring...
Installing VMware OVF Tool component for Linux 4.1.0
Copying files...
Configuring...
Installing VMware VProbes component for Linux 12.5.9
Copying files...
Configuring...
Installing VMware VIX Workstation-12.0.0 Library 1.15.8
Copying files...
Configuring...
Installing VMware Workstation 12.5.9
Copying files...
Configuring...
Installation was successful.
Bene... l'opzione che ha condotto al risultato apparentemente positivo è la "-I" che sta per "--ignore-errors".
Il che non significa che no ci siano stati errror ,ma solo che si sono ignorati. Questo fatto non fa ben sperare considerato che senza quell'opzione, non si installava.
Ad ogni modo...

Ora, se lancio ad esempio il comando "vmware", non si apre nulla, non succede niente.
Siccome no l'ho mai utilizzato non so neanche come farlo partire, e la cosa più ovvia ovvero digitare vmware e invio, non dà alcun riscontro... Almeno saltasse fuori un errore...

Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3788
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

Re: VMware 12.5.9 su Slack 14.2 con kernel 5.10.4

Messaggio da joe »

Ho tentato l'applicazione delle patches per adeguare alcuni moduli di vmware 12.5 (quindi vecchia) al kernel in uso (5.10.4 quindi recente).
Sono partito dal seguire queste indicazioni.

https://github.com/mkubecek/vmware-host ... er/INSTALL

Ho fatto l'installazione diretta dei 2 moduli vmmon e vmnet. Quindi punto 2a con "make install".
Poi leggendo il punto 2b, ho provato anche la sostituzione dei tarball originali in /usr/lib/vmware/modules/source. vmmon.tar e vmnet.tar li ho sostituiti con quelli corretti attraverso le patches ottenuto con "make tarballs" come indicato nelle istruzioni dell'INSTALL

Alla fine ho lanciato il comando indicato per installare i nuovi moduli archiviati in tar (installazione che comunque avevo già eseguito con make install seguendo il punto 2.a delle istruzioni).
Il comando sarebbe:

Codice: Seleziona tutto

# vmware-modconfig --console --install-all
Errore di segmentazione
Come potete ben capire l'esito è piuttosto deludente.
Cercando in rete ho trovato questa segnalazione:

https://communities.vmware.com/t5/VMwar ... -p/2316322

Da cui però non ho ben capito se vi sia una soluzione.
In ogni caso provando a lanciare "vmware", continua a non aprirsi nulla... Pur avendo riavviato il servizio /etc/init-d/vmware restart.

Rispondi