Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware - nie widzi /usr/src/linux/include
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
ai
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 227
Location: Poland, Krk

PostPosted: Thu Nov 04, 2004 4:23 pm    Post subject: vmware - nie widzi /usr/src/linux/include Reply with quote

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 * :P>

i niech mi ktos powie wtf ? ;]

poz. ai
_________________
just nothing ;)
Back to top
View user's profile Send private message
phranzee
Guru
Guru


Joined: 22 Nov 2003
Posts: 397
Location: katowice/pl

PostPosted: Thu Nov 04, 2004 6:31 pm    Post subject: Reply with quote

powiem brzydko - poszukaj na forum :D
mozesz tez zakomentowac fragment konfiga
_________________
signature fault
post dumped ;]
Back to top
View user's profile Send private message
ai
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 227
Location: Poland, Krk

PostPosted: Thu Nov 04, 2004 7:29 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=66673

hmm cos chyba sie kurfa bede musial nad tym glowic :P
_________________
just nothing ;)
Back to top
View user's profile Send private message
phranzee
Guru
Guru


Joined: 22 Nov 2003
Posts: 397
Location: katowice/pl

PostPosted: Thu Nov 04, 2004 7:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Thu Nov 04, 2004 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
phranzee
Guru
Guru


Joined: 22 Nov 2003
Posts: 397
Location: katowice/pl

PostPosted: Thu Nov 04, 2004 9:26 pm    Post subject: Reply with quote

ps auwx | grep vm
oraz kill ;)
a potem rmmod oba ;]
_________________
signature fault
post dumped ;]
Back to top
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Thu Nov 04, 2004 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Strus
l33t
l33t


Joined: 19 Apr 2004
Posts: 780
Location: Poland - Bochnia

PostPosted: Thu Nov 04, 2004 9:48 pm    Post subject: Reply with quote

zytek wrote:
Chyba muszę przekompilować jajko jeśli nie wstanie vmware ;)


Chyba tak :wink: 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
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Thu Nov 04, 2004 9:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Fri Nov 05, 2004 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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