Click to See Complete Forum and Search --> : VMware on SuSE 8.2... again!
MkIII_Supra
08-31-2003, 05:37 PM
Okay here is my nightmare! I have finally found where the silly kernel.h files reside, but i am still getting the error message below. I am using a stock kernel on a fresh install (had to after my WD 60GB totally died! Shoulda heard the heads smash against the platters!)
Also the files are located here /usr/include/linux
I have been fighting this for 3 months, kinda getting frustrated. I have tried using the vanilla kernel that SuSE comes with, the Athlon that is comes with and no luck yet. And as far as installing a totally different Kernel... well scrub that idea! It seems that where all the other distros put their kernel files SuSE 8.2 doesn't so I am still figuring out where all the files are and how they are interconnected.
The directory of kernel headers (version 2.4.20) does not match your running
kernel (version 2.4.20-4GB-athlon). Even if the module were to compile
successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
mdwatts
08-31-2003, 06:04 PM
As we discussed in your previous thread on this, do you now have the kernel source installed for the default kernel version? VMware requires the correct kernel source installed.
ls-al /usr/src
drwxr-xr-x 4 root root 4096 Aug 8 15:14 .
drwxr-xr-x 12 root root 4096 Aug 8 14:04 ..
lrwxrwxrwx 1 root root 17 Aug 8 15:14 linux -> linux-2.4.20.SuSE
drwxr-xr-x 16 root root 4096 Aug 8 15:15 linux-2.4.20.SuSE
drwxr-xr-x 7 root root 4096 Aug 8 14:04 packages
MkIII_Supra
08-31-2003, 06:54 PM
John ls -al /usr/src/
total 0
drwxr-xr-x 3 root root 72 2003-08-29 13:04 .
drwxr-xr-x 16 root root 424 2003-08-30 09:55 ..
drwxr-xr-x 7 root root 168 2003-08-29 13:11 packages
John
I found 2 .h files that refer to the kernel in /usr/include/linux
Many of the file that are in places I have been told they were are not there, make sense? I look in /usr/src and there is nothing but packages there. I look into the sub folders and there are no .h files that are associated with the Linux kernel.
John pwd
/usr/src/packages
John ls -al /usr/src/packages/
total 0
drwxr-xr-x 7 root root 168 2003-08-29 13:11 .
drwxr-xr-x 3 root root 72 2003-08-29 13:04 ..
drwxrwxrwt 2 root root 48 2003-03-13 14:16 BUILD
drwxrwxrwt 8 root root 192 2003-08-29 13:11 RPMS
drwxrwxrwt 2 root root 88 2003-08-30 14:15 SOURCES
drwxrwxrwt 2 root root 80 2003-08-30 14:15 SPECS
drwxrwxrwt 2 root root 48 2003-03-13 14:16 SRPMS
John
Next ---
John ls -al /usr/src/packages/BUILD/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxr-xr-x 7 root root 168 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/
total 0
drwxrwxrwt 8 root root 192 2003-08-29 13:11 .
drwxr-xr-x 7 root root 168 2003-08-29 13:11 ..
drwxrwxrwt 2 root root 48 2003-03-13 14:16 athlon
drwxrwxrwt 2 root root 48 2003-03-13 14:16 i386
drwxrwxrwt 2 root root 48 2003-03-13 14:16 i486
drwxrwxrwt 2 root root 48 2003-03-13 14:16 i586
drwxrwxrwt 2 root root 48 2003-03-13 14:16 i686
drwxrwxrwt 2 root root 48 2003-03-13 14:16 noarch
John
Next --
John ls -al /usr/src/packages/RPMS/athlon/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/i386/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/i486/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/i586/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/i686/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/RPMS/noarch/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxrwxrwt 8 root root 192 2003-08-29 13:11 ..
John
Next --
John ls -al /usr/src/packages/SOURCES/
total 52
drwxrwxrwt 2 root root 88 2003-08-30 14:15 .
drwxr-xr-x 7 root root 168 2003-08-29 13:11 ..
-rw-r--r-- 1 root root 49359 2003-03-17 08:22 config.athlon.ikr
John
Next --
John ls -al /usr/src/packages/SPECS/
total 176
drwxrwxrwt 2 root root 80 2003-08-30 14:15 .
drwxr-xr-x 7 root root 168 2003-08-29 13:11 ..
-rw-r--r-- 1 root root 177986 2003-03-17 09:55 k_athlon.spec
John
Next --
John ls -al /usr/src/packages/SRPMS/
total 0
drwxrwxrwt 2 root root 48 2003-03-13 14:16 .
drwxr-xr-x 7 root root 168 2003-08-29 13:11 ..
John
/usr/src/packages
|-- BUILD
-- EMPTY
|-- RPMS
|-- athlon
-- EMPTY
|-- i386
-- EMPTY
|-- i486
-- EMPTY
|-- i586
-- EMPTY
|-- i686
-- EMPTY
|-- noarch
-- EMPTY
|-- SOURCES
-- config.athlon.ikr
|-- SPECS
-- k_athlon.spec
|-- SRPMS
-- EMPTY
So where else can I look? This has been a major issue that I have been trying to solve with no success. I am looking where people tell me to look and I can't find the files that I am looking for where I was told to look for them. This is a vanilla install for SuSE, there are no special set-ups or configurations on my part.
I have been trying on my laptop while my desktop was down and no luck there either. I finally found my firewall rules today so I could tweak them for my needs, only took a couple of days to find them. I was told to look for
/etc/rc.config/firewall.config so I could tweak the rules a bit...
And there is no /etc/rc/config for SuSE 8.2.
The main firewall config file is located here:
/etc/sysconfig/SuSEfirewall2
And I am running into the same problem with finding the kernel.h files.
When I run the ls -la on /usr/include/linux this is what I get:
MkIII Supra ls -la /usr/include/linux/
total 4277
-- EDITED FOR SIZE --
-rw-r--r-- 1 root root 5886 2002-11-28 15:53 kernel.h
-rw-r--r-- 1 root root 1590 2002-11-28 15:53 kernel_stat.h
-rw-r--r-- 1 root root 5544 2002-02-25 11:38 kernelcapi.h
-- EDITED FOR SIZE --
MkIII Supra
mdwatts
09-02-2003, 06:42 AM
You need the correct kernel-source package installed for your current running kernel version.
uname -r
If you are still running the stock/default kernel, then you will have the kernel-source-#.#.#.i586.rpm on your installation cd's or if upgraded, download and install from the SuSE ftp servers (updates etc.).
My distro (SCO) is SuSE based.
# rpm -q kernel-source
kernel-source-2.4.19.SuSE-82
mdwatts
09-02-2003, 07:18 AM
As I explained before, you need the kernel source that was used to build your current running kernel (post compiled) and NOT a clean kernel source.
The stock/default kernel-source can be found on your install cd's or at ftp://chuck.ucs.indiana.edu/linux/suse/suse/i386/8.2/suse/i586/kernel-source-2.4.20.SuSE-62.i586.rpm
If you are running a updated kernel version, then find the correct version at ftp://chuck.ucs.indiana.edu/linux/suse/suse/i386/update/8.2/rpm/i586
VMWare always requires you to have the kernel-source package installed that was used to build the current running kernel version in order to build it's own modules on installation/config.