View previous topic :: View next topic |
Author |
Message |
ai Apprentice
Joined: 21 Mar 2004 Posts: 227 Location: Poland, Krk
|
Posted: Thu Nov 04, 2004 4:23 pm Post subject: vmware - nie widzi /usr/src/linux/include |
|
|
czesc ;]
zaemergowalem vmware-workstation i wszystko niby cacy ;]
ale gdy probuje go skonfigurowac wyskakuje mi cos takiego :
Code: |
shadow ai # /opt/vmware/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.
Stopping VMware services:
Virtual machine monitor done
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] |
no to spoko daje [enter] a on mi :
Code: | The path "/usr/src/linux/include" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected. |
i dupa ..... oczywiscie sie zdziwilem i daje
Quote: | shadow ai # ls -la /usr/src/linux/include
total 32
drwxr-xr-x 5 root root 4096 Oct 15 14:24 .
drwxr-xr-x 18 root root 4096 Oct 15 14:24 ..
lrwxr-xr-x 1 root root 8 Aug 28 11:28 asm -> asm-i386
drwxrwxrwx 2 root root 4096 Oct 15 14:24 asm-i386
drwxrwxrwx 144 root root 8192 Aug 28 11:28 config
drwxrwxrwx 2 root root 12288 Oct 15 14:24 linux
|
<tak juz nawet dalem chmod 777 * >
i niech mi ktos powie wtf ? ;]
poz. ai _________________ just nothing |
|
Back to top |
|
|
phranzee Guru
Joined: 22 Nov 2003 Posts: 397 Location: katowice/pl
|
Posted: Thu Nov 04, 2004 6:31 pm Post subject: |
|
|
powiem brzydko - poszukaj na forum
mozesz tez zakomentowac fragment konfiga _________________ signature fault
post dumped ;] |
|
Back to top |
|
|
ai Apprentice
Joined: 21 Mar 2004 Posts: 227 Location: Poland, Krk
|
|
Back to top |
|
|
phranzee Guru
Joined: 22 Nov 2003 Posts: 397 Location: katowice/pl
|
Posted: Thu Nov 04, 2004 7:30 pm Post subject: |
|
|
Code: | cat vmware-config.patch
--- vmware-config.pl 2004-08-24 00:12:16.643586896 -0700
+++ vmware-config.pl.works 2004-08-24 00:11:09.269829264 -0700
@@ -1856,15 +1856,15 @@
$header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
# We found a valid page offset
- if (defined($gSystem{'page_offset'}) and
- not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
- if ($source eq 'user') {
- print wrap('The kernel defined by this directory of header files does '
- . 'not have the same address space size as your running '
- . 'kernel.' . "\n\n", 0);
- }
- return '';
- }
+ #if (defined($gSystem{'page_offset'}) and
+ # not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
+ # if ($source eq 'user') {
+ # print wrap('The kernel defined by this directory of header files does '
+ # . 'not have the same address space size as your running '
+ # . 'kernel.' . "\n\n", 0);
+ # }
+ # return '';
+ #}
}
return $answer; |
_________________ signature fault
post dumped ;] |
|
Back to top |
|
|
zytek Apprentice
Joined: 06 Feb 2004 Posts: 233 Location: Poland, Ostrów Wlkp.
|
Posted: Thu Nov 04, 2004 9:17 pm Post subject: |
|
|
Uhm, ja się podczepie. Zemergowałem, skonfigurowałem (u mnie nie było problemów jak wyżej), moduły vmmon i vmnet się załadowały, odpalam:
Code: |
kanapa root # /etc/init.d/vmware start
* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]
* Virtual ethernet [ !! ]
* Bridged networking on /dev/vmnet0 [ ok ]
* Host-only networking on /dev/vmnet1 (background)[ ok ]
* Host-only networking on /dev/vmnet8 (background) [ ok ]
* NAT service on /dev/vmnet8
|
Uhm. Co jest nie tak? Mógłby ktoś pomóc z odpaleniem tego? BSD chcę potestować Oczywiście potrzebuję dostęp do netu z wirtualnej maszyny.
Dlaczego te dwie usługi nie startują? Po tym nieudanym starcie pojawia się znów /etc/vmware/not_configured no i już nic nie zrobię. Jakieś porady?
Last edited by zytek on Thu Nov 04, 2004 9:33 pm; edited 1 time in total |
|
Back to top |
|
|
phranzee Guru
Joined: 22 Nov 2003 Posts: 397 Location: katowice/pl
|
Posted: Thu Nov 04, 2004 9:26 pm Post subject: |
|
|
ps auwx | grep vm
oraz kill
a potem rmmod oba ;] _________________ signature fault
post dumped ;] |
|
Back to top |
|
|
zytek Apprentice
Joined: 06 Feb 2004 Posts: 233 Location: Poland, Ostrów Wlkp.
|
Posted: Thu Nov 04, 2004 9:36 pm Post subject: |
|
|
Zabiłem procesy. Z modułami gorzej:
kanapa root # rmmod vmnet
FATAL: Kernel does not have unload support.
Chyba muszę przekompilować jajko jeśli nie wstanie vmware |
|
Back to top |
|
|
Strus l33t
Joined: 19 Apr 2004 Posts: 780 Location: Poland - Bochnia
|
Posted: Thu Nov 04, 2004 9:48 pm Post subject: |
|
|
zytek wrote: | Chyba muszę przekompilować jajko jeśli nie wstanie vmware |
Chyba tak musisz zaznaczyć coś w tym stylu:
Code: |
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
# CONFIG_KMOD is not set
|
|
|
Back to top |
|
|
zytek Apprentice
Joined: 06 Feb 2004 Posts: 233 Location: Poland, Ostrów Wlkp.
|
Posted: Thu Nov 04, 2004 9:49 pm Post subject: |
|
|
Nowe jajko gotowe. Teraz działa, ale bridged networking nie startuje, po czym skrypt się w ogóle zatrzymuje i zamyśla.. Spróbuję ponownie skonfigurować.
edit: ech, lsmod się zatrzymuje nic nie robiąc, po re-emerge vmware-workstation i wyczyszczeniu /etc/vmware - vmware-config.pl nie działa.. geezez. Jutro się tym zajmę.. |
|
Back to top |
|
|
zytek Apprentice
Joined: 06 Feb 2004 Posts: 233 Location: Poland, Ostrów Wlkp.
|
Posted: Fri Nov 05, 2004 12:47 am Post subject: |
|
|
Szybka kompilacja waniliowego 2.6.9, remerge vmware, konfiguracja bez samby i od razu wszystko ruszyło, lsmod też już się nie zawiesza;) vivid sux? nevermind |
|
Back to top |
|
|
|