You are not logged in.

#1 2006-12-10 13:23:55

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

new kernel - no sourcen

[root@LinuXanT patch-2.6.19]# pacman -Q | grep kernel
kernel-headers 2.6.18.1-1
kernel26 2.6.19-3
[root@LinuXanT patch-2.6.19]#
i wanted to install vmware
and there are no kernel sourcen
sad(

Offline

#2 2006-12-10 14:02:21

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: new kernel - no sourcen

There are no sources, but necessary headers are in /lib/modules/2.6.19-ARCH/build or /usr/src/linux-2.6.19-ARCH. vmware installer is known to be stupid and not find them, there are many threads about this on these forums.

Offline

#3 2006-12-11 09:20:38

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

Re: new kernel - no sourcen

in both pathes are not sources

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /lib/modules/2.6.19-ARCH/build

The path "/lib/modules/2.6.19-ARCH/build" is an existing directory, but it does
not contain a "linux" subdirectory as expected.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /usr/src/linux-2.6.19-ARCH

The path "/usr/src/linux-2.6.19-ARCH" is an existing directory, but it does not
contain a "linux" subdirectory as expected.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include]
[root@LinuXanT vmware-server-distrib]# ls /lib/modules/2.6.19-ARCH/build/lib/modules/2.6.19-ARCH/build
ls: Zugriff auf /lib/modules/2.6.19-ARCH/build/lib/modules/2.6.19-ARCH/build nicht möglich: Datei oder Verzeichnis nicht gefunden
[root@LinuXanT vmware-server-distrib]# ls /usr/src/linux-2.6.19-ARCH
Makefile        arch   crypto   fs       init    lib  net      security  usr
Module.symvers  block  drivers  include  kernel  mm   scripts  sound
[root@LinuXanT vmware-server-distrib]#

Offline

#4 2006-12-11 10:03:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: new kernel - no sourcen

As brain0 suggested - search the forum, the solution is there. There's a page in the wiki too, I think.

Offline

#5 2006-12-11 10:37:02

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: new kernel - no sourcen

thecrazylol wrote:

in both pathes are not sources

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.19-ARCH/build/include] /lib/modules/2.6.19-ARCH/build

Why don't you let it use that first suggestion? It's the same that you entered, but with /include/ appended.

Offline

#6 2006-12-11 17:15:39

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

Re: new kernel - no sourcen

if i use the appended /include/ it says wrong kernel headers...
i posted at beginning that "pacman -Q | grep kernel" said that there are no actual kernel sourcen/headers, so i think its a temporary problem because the headers are not in the repo's?

Offline

#7 2006-12-11 18:26:20

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: new kernel - no sourcen

thecrazylol wrote:

if i use the appended /include/ it says wrong kernel headers...
i posted at beginning that "pacman -Q | grep kernel" said that there are no actual kernel sourcen/headers, so i think its a temporary problem because the headers are not in the repo's?

As far as I have heard, this is a common problem with the vmware install scripts. Similar issues have been discussed very often on these forums.

Offline

#8 2006-12-11 18:30:26

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: new kernel - no sourcen

thecrazylol wrote:

i think its a temporary problem because the headers are not in the repo's?

Then I shudder to think what this command is finding...

[chris@marbles ~]$ find /usr/src/linux-2.6.19-ARCH/include/ | wc -l
4398

And I wonder what ".h" files it's finding as well...

[chris@marbles ~]$ find /usr/src/linux-2.6.19-ARCH/include/ | grep ".h$" | wc -l
3693

The kernel package is fine.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#9 2006-12-11 21:11:23

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: new kernel - no sourcen

As has been posted many times before , tell vmware-config.pl to use this directory :
/usr/src/linux-2.6.19-ARCH/include


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2006-12-11 23:37:54

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

Re: new kernel - no sourcen

same problem...
i think i 've found a solution
i will test it tomorrow
http://www.vmware.com/community/thread. … 30&#530530

Offline

#11 2006-12-12 00:14:51

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: new kernel - no sourcen

I havn't used vmware for a while (actually stopped using it because of this vmware-config.pl mess), but I remember I edited the script so it skipped kernel version checking.  Worked fine.  I commented out these lines basically:

   if (not ($header_version_uts eq $gSystem{'uts_release'})) {
     if ($source eq 'user') {
       print wrap('The directory of kernel headers (version '
                  . $header_version_uts . ') does not match your running '
                  . 'kernel (version ' . $gSystem{'uts_release'} . ').  Even '
                  . 'if the module were to compile successfully, it would not '
                  . 'load into the running kernel.' . "nn", 0);
     }
     return '';
   }

That might help.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#12 2006-12-15 09:04:11

campylobacter
Member
From: Austria
Registered: 2004-04-12
Posts: 60
Website

Re: new kernel - no sourcen

thecrazylol wrote:

same problem...
i think i 've found a solution
i will test it tomorrow
http://www.vmware.com/community/thread. … 30&#530530

Thank you! It works perfectly with this little patch

Offline

#13 2006-12-15 16:46:34

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

Re: new kernel - no sourcen

which patch (of the two ones) u have used?
or are the two packages for different problems? i can't understand english perfectly wink sorry

Offline

#14 2006-12-16 17:11:31

campylobacter
Member
From: Austria
Registered: 2004-04-12
Posts: 60
Website

Re: new kernel - no sourcen

thecrazylol wrote:

which patch (of the two ones) u have used?
or are the two packages for different problems? i can't understand english perfectly wink sorry

At first i tried the last patch, and it would not work. So, the i did also the tasks from the first entry, and now it works.

Offline

#15 2006-12-21 20:32:12

thecrazylol
Member
Registered: 2006-10-05
Posts: 27

Re: new kernel - no sourcen

is running suprising good big_smile

Offline

Board footer

Powered by FluxBB