Paket installiert

Software besorgen und anwenden
Post Reply
Message
Author
Andreas

Paket installiert

#1 Post by Andreas »

Hi,
Hab nun das Paket installiert. Verwende den Kernel 2.2.16-22. Laut VMWare wurde make mrproper nie ausgeführt. Kann ich das nachträglich machen ohne mein System zu "töten"?
Anbei der Dialog von VMWare wo ich Verzeichnisse angegeben habe die nach Kernel Sourcen aussahen (bei Redhat 7.0)
In dem Verz. /usr/src/redhat/SOURCES was ich auch ausprobiert habe befinden sich lauter Dateien die "2.2.16-22" beinhalten und am Ende ".patch" stehen haben. Dieses Verzeichniss wollte VMWare aber auch nicht ;(

Grüsse von Andreas, der nach seinen Quellen sucht.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/i386-glibc21-linux/include

The path "/usr/i386-glibc21-linux/include" is a kernel header file directory,
but it does not contain the file "linux/version.h" as expected. This can happen
if the kernel has never been built, or if you have invoked the "make mrproper"
command in your kernel directory. In any case, you may want to rebuild your
kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/redhat/SOURCES

The path "/usr/src/redhat/SOURCES" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

Das ist im VZ /usr/i386-glibc21-linux/include


-rw-r--r-- 1 root root 2315 Jul 26 2000 _G_config.h
-rw-r--r-- 1 root root 83 Jul 26 2000 a.out.h
-rw-r--r-- 1 root root 6996 Jul 26 2000 aio.h
-rw-r--r-- 1 root root 2141 Jul 26 2000 aliases.h
-rw-r--r-- 1 root root 1313 Jul 26 2000 alloca.h
-rw-r--r-- 1 root root 1822 Jul 26 2000 ar.h
-rw-r--r-- 1 root root 26023 Jul 26 2000 argp.h
-rw-r--r-- 1 root root 7275 Jul 26 2000 argz.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 arpa
drwxr-xr-x 2 root root 4096 Apr 9 14:04 asm
-rw-r--r-- 1 root root 3319 Jul 26 2000 assert.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 bits
-rw-r--r-- 1 root root 1519 Jul 26 2000 byteswap.h
-rw-r--r-- 1 root root 3542 Jul 26 2000 complex.h
-rw-r--r-- 1 root root 2412 Jul 26 2000 cpio.h
-rw-r--r-- 1 root root 2207 Jul 26 2000 crypt.h
-rw-r--r-- 1 root root 9461 Jul 26 2000 ctype.h
-rw-r--r-- 1 root root 35668 Jul 26 2000 db.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 db1
-rw-r--r-- 1 root root 5835 Jul 26 2000 db_185.h
-rw-r--r-- 1 root root 0 Apr 30 10:58 dir.txt
-rw-r--r-- 1 root root 9771 Jul 26 2000 dirent.h
-rw-r--r-- 1 root root 3805 Jul 26 2000 dlfcn.h
-rw-r--r-- 1 root root 59669 Jul 26 2000 elf.h
-rw-r--r-- 1 root root 1798 Jul 26 2000 endian.h
-rw-r--r-- 1 root root 2968 Jul 26 2000 envz.h
-rw-r--r-- 1 root root 2384 Jul 26 2000 err.h
-rw-r--r-- 1 root root 2481 Jul 26 2000 errno.h
-rw-r--r-- 1 root root 2762 Jul 26 2000 error.h
-rw-r--r-- 1 root root 1890 Jul 26 2000 execinfo.h
-rw-r--r-- 1 root root 4579 Jul 26 2000 fcntl.h
-rw-r--r-- 1 root root 9512 Jul 26 2000 features.h
-rw-r--r-- 1 root root 3969 Jul 26 2000 fenv.h
-rw-r--r-- 1 root root 3347 Jul 26 2000 fmtmsg.h
-rw-r--r-- 1 root root 2959 Jul 26 2000 fnmatch.h
-rw-r--r-- 1 root root 3100 Jul 26 2000 fpu_control.h
-rw-r--r-- 1 root root 3342 Jul 26 2000 fstab.h
-rw-r--r-- 1 root root 5327 Jul 26 2000 fts.h
-rw-r--r-- 1 root root 4295 Jul 26 2000 ftw.h
-rw-r--r-- 1 root root 3641 Jul 26 2000 gconv.h
-rw-r--r-- 1 root root 5861 Jul 26 2000 getopt.h
-rw-r--r-- 1 root root 7007 Jul 26 2000 glob.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 gnu
-rw-r--r-- 1 root root 2446 Jul 26 2000 gnu-versions.h
-rw-r--r-- 1 root root 4606 Jul 26 2000 grp.h
-rw-r--r-- 1 root root 1808 Jul 26 2000 iconv.h
-rw-r--r-- 1 root root 5012 Jul 26 2000 ieee754.h
-rw-r--r-- 1 root root 13657 Jul 26 2000 inttypes.h
-rw-r--r-- 1 root root 8421 Jul 26 2000 langinfo.h
-rw-r--r-- 1 root root 126 Jul 26 2000 lastlog.h
-rw-r--r-- 1 root root 1486 Jul 26 2000 libgen.h
-rw-r--r-- 1 root root 4173 Jul 26 2000 libintl.h
-rw-r--r-- 1 root root 11673 Jul 26 2000 libio.h
-rw-r--r-- 1 root root 3964 Jul 26 2000 limits.h
-rw-r--r-- 1 root root 8045 Jul 26 2000 link.h
drwxr-xr-x 7 root root 8192 Apr 24 14:26 linux
-rw-r--r-- 1 root root 5097 Jul 26 2000 locale.h
-rw-r--r-- 1 root root 7594 Jul 26 2000 malloc.h
-rw-r--r-- 1 root root 13475 Jul 26 2000 math.h
-rw-r--r-- 1 root root 2232 Jul 26 2000 mcheck.h
-rw-r--r-- 1 root root 1059 Jul 26 2000 memory.h
-rw-r--r-- 1 root root 3474 Jul 26 2000 mntent.h
-rw-r--r-- 1 root root 1561 Jul 26 2000 monetary.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 net
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netash
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netatalk
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netax25
-rw-r--r-- 1 root root 17034 Jul 26 2000 netdb.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 neteconet
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netinet
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netipx
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netpacket
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netrom
drwxr-xr-x 2 root root 4096 Apr 9 14:04 netrose
drwxr-xr-x 2 root root 4096 Apr 9 14:04 nfs
-rw-r--r-- 1 root root 1713 Jul 26 2000 nl_types.h
-rw-r--r-- 1 root root 1750 Jul 26 2000 nss.h
-rw-r--r-- 1 root root 22806 Jul 26 2000 obstack.h
-rw-r--r-- 1 root root 3178 Jul 26 2000 paths.h
-rw-r--r-- 1 root root 22 Jul 26 2000 poll.h
-rw-r--r-- 1 root root 5061 Jul 26 2000 printf.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 protocols
-rw-r--r-- 1 root root 20299 Jul 26 2000 pthread.h
-rw-r--r-- 1 root root 1590 Jul 26 2000 pty.h
-rw-r--r-- 1 root root 4499 Jul 26 2000 pwd.h
-rw-r--r-- 1 root root 1054 Jul 26 2000 re_comp.h
-rw-r--r-- 1 root root 20701 Jul 26 2000 regex.h
-rw-r--r-- 1 root root 6953 Jul 26 2000 regexp.h
-rw-r--r-- 1 root root 11473 Jul 26 2000 resolv.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 rpc
drwxr-xr-x 2 root root 4096 Apr 9 14:04 rpcsvc
-rw-r--r-- 1 root root 2846 Jul 26 2000 sched.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 scsi
-rw-r--r-- 1 root root 5406 Jul 26 2000 search.h
-rw-r--r-- 1 root root 2601 Jul 26 2000 semaphore.h
-rw-r--r-- 1 root root 3814 Jul 26 2000 setjmp.h
-rw-r--r-- 1 root root 1451 Jul 26 2000 sgtty.h
-rw-r--r-- 1 root root 3395 Jul 26 2000 shadow.h
-rw-r--r-- 1 root root 12044 Jul 26 2000 signal.h
-rw-r--r-- 1 root root 264 Jul 26 2000 stab.h
-rw-r--r-- 1 root root 8497 Jul 26 2000 stdint.h
-rw-r--r-- 1 root root 20926 Jul 26 2000 stdio.h
-rw-r--r-- 1 root root 27633 Jul 26 2000 stdlib.h
-rw-r--r-- 1 root root 13456 Jul 26 2000 string.h
-rw-r--r-- 1 root root 2104 Jul 26 2000 strings.h
-rw-r--r-- 1 root root 2660 Jul 26 2000 stropts.h
drwxr-xr-x 2 root root 4096 Apr 9 14:04 sys
-rw-r--r-- 1 root root 25 Jul 26 2000 syscall.h
-rw-r--r-- 1 root root 5469 Jul 26 2000 sysexits.h
-rw-r--r-- 1 root root 24 Jul 26 2000 syslog.h
-rw-r--r-- 1 root root 3801 Jul 26 2000 tar.h
-rw-r--r-- 1 root root 214 Jul 26 2000 termio.h
-rw-r--r-- 1 root root 3520 Jul 26 2000 termios.h
-rw-r--r-- 1 root root 14313 Jul 26 2000 tgmath.h
-rw-r--r-- 1 root root 15186 Jul 26 2000 thread_db.h
-rw-r--r-- 1 root root 9314 Jul 26 2000 time.h
-rw-r--r-- 1 root root 2725 Jul 26 2000 ttyent.h
-rw-r--r-- 1 root root 2005 Jul 26 2000 ucontext.h
-rw-r--r-- 1 root root 1679 Jul 26 2000 ulimit.h
-rw-r--r-- 1 root root 36756 Jul 26 2000 unistd.h
-rw-r--r-- 1 root root 23 Jul 26 2000 ustat.h
-rw-r--r-- 1 root root 1583 Jul 26 2000 utime.h
-rw-r--r-- 1 root root 3329 Jul 26 2000 utmp.h
-rw-r--r-- 1 root root 2763 Jul 26 2000 utmpx.h
-rw-r--r-- 1 root root 2059 Jul 26 2000 values.h
-rw-r--r-- 1 root root 22 Jul 26 2000 wait.h
-rw-r--r-- 1 root root 18728 Jul 26 2000 wchar.h
-rw-r--r-- 1 root root 12949 Jul 26 2000 wctype.h
-rw-r--r-- 1 root root 2573 Jul 26 2000 wordexp.h
-rw-r--r-- 1 root root 1572 Jul 26 2000 xlocale.h

Sebastian Ude

Re: Paket installiert

#2 Post by Sebastian Ude »

Stop, jetzt bring doch nicht alles durcheinander <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">.

Deine Kernel-Headers liegen normalerweise in /usr/src/linux/include/linux, wobei /usr/include/linux ein Symlink auf /usr/src/linux/include/linux ist.
Dann wäre da noch /usr/src/linux/include/asm, was ein Symlink auf /usr/src/linux/include/asm-[Architektur] ist, und auch hier existiert unter /usr/include wieder ein Symlink.

Dass du alle Include-Verzeichnisse deines Systems durchprobierst, hilft dir herzlich wenig.


Zu dem "make mrproper":

"make mrproper" im Kernel-Source-Tree ist ein aggresiveres "make clean" (okay es ist raus - die Kernel-Entwicklung wird durch Schleichwerbung finanziert <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">).
Dabei werden neben allen Objektdateien auch die aktuelle Konfiguration, alle aufgezeichneten Abhängigkeiten und automatisch generierte Dateien wie eben include/linux/version.h gelöscht.

Wie ich bereits sagte, die version.h wird erst generiert, wenn man im Kernel-Dir ein "make menuconfig" (bzw. xconfig) oder ein "make dep" absetzt, und sie wird beim "make mrproper" wieder gelöscht.
Und genau das sagt dir das Vmware-Installationsscript ja auch.

Installiere bitte (falls noch nicht geschehen) dass kernel-sources-Paket, wechsele dann nach /usr/src/linux, setz ein "make dep" ab und schau mal, was das Installationsscript dann sagt.

Andreas

Re: Paket installiert

#3 Post by Andreas »

Also ich hab das Paket installiert. Bei mir heisst das Verzeichniss /usr/src/redhat/SOURCES (/usr/src/linux gibts nämlich bei mir nicht ;( ). Damit ich mal davon ausgehen kann, dass wir das gleiche Verz. meinen, hier ein Listing was dort alles ist:

3dfx.gif
Device3Dfx.tar.gz
README.kernel-sources
balsa-1.0.0.tar.bz2
dir.txt
drm-2.4.0-test6-pre5.patch
ibcs-2.1-981105.tar.gz
installkernel
ipvs-0.9.14-2.2.16.patch
kernel-2.2-BuildASM.sh
kernel-2.2-modulerename.script
kernel-2.2.16-alpha-BOOT.config
kernel-2.2.16-alpha-enterprise.config
kernel-2.2.16-alpha-smp.config
kernel-2.2.16-alpha.config
kernel-2.2.16-i386-BOOT.config
kernel-2.2.16-i386-smp.config
kernel-2.2.16-i386.config
kernel-2.2.16-i586-smp.config
kernel-2.2.16-i586.config
kernel-2.2.16-i686-enterprise.config
kernel-2.2.16-i686-smp.config
kernel-2.2.16-i686.config
kernel-2.2.16-sparc-BOOT.config
kernel-2.2.16-sparc-enterprise.config
kernel-2.2.16-sparc-smp.config
kernel-2.2.16-sparc.config
kernel-2.2.16-sparc64-BOOT.config
kernel-2.2.16-sparc64-enterprise.config
kernel-2.2.16-sparc64-smp.config
kernel-2.2.16-sparc64.config
ksymoops-2.3.4-mandir.patch
ksymoops-2.3.4.tar.gz
linux-2.2.14-PIII-xor.patch
linux-2.2.14-PIII.patch
linux-2.2.14-alpha-objstrip-include.patch
linux-2.2.14-serial_sysrq.patch
linux-2.2.16-3c90x.patch
linux-2.2.16-556.patch
linux-2.2.16-810fix.patch
linux-2.2.16-aacraid-1.0.3-paths.patch
linux-2.2.16-aacraid-1.0.3.patch
linux-2.2.16-aacraid-1.0.4.patch
linux-2.2.16-aacraid-1.0.5.patch
linux-2.2.16-aacraid-1.0.6.patch
linux-2.2.16-ac97state.patch
linux-2.2.16-acenic-0.45.patch
linux-2.2.16-agpdep.patch
linux-2.2.16-agpgart-2.4-compat.patch
linux-2.2.16-agpgart-i815.patch
linux-2.2.16-agphjlfixes.patch
linux-2.2.16-agpviasuper.patch
linux-2.2.16-aic7xxx-5.1.29.patch
linux-2.2.16-aic7xxx-5.1.30.patch
linux-2.2.16-aic7xxx-5.1.31.patch
linux-2.2.16-alphamsnd.patch
linux-2.2.16-atalkports.patch
linux-2.2.16-atalksmp.patch
linux-2.2.16-bigmem-dcache.patch
linux-2.2.16-bigmem-initrd.patch
linux-2.2.16-bigmem-raw.patch
linux-2.2.16-bigmem.patch
linux-2.2.16-cciss-0.9.9.patch
linux-2.2.16-ccisscleanup.patch
linux-2.2.16-cipe.patch
linux-2.2.16-combo.patch
linux-2.2.16-cpqarray.patch
linux-2.2.16-cpqfcts.patch
linux-2.2.16-cs46xx.patch
linux-2.2.16-drm.patch
linux-2.2.16-e100.patch
linux-2.2.16-e1000.patch
linux-2.2.16-eepro.patch
linux-2.2.16-eof.patch
linux-2.2.16-extradevs.patch
linux-2.2.16-fb-modules.patch
linux-2.2.16-gcc296.patch
linux-2.2.16-gdth.patch
linux-2.2.16-i2c.patch
linux-2.2.16-i2oinc.patch
linux-2.2.16-ibcs-locking.patch
linux-2.2.16-ibcs-rh.patch
linux-2.2.16-ide-20000805.patch
linux-2.2.16-iobuffix.patch
linux-2.2.16-iovec.patch
linux-2.2.16-ip-masq-vpn.patch
linux-2.2.16-kaweth.patch
linux-2.2.16-kgcc.patch
linux-2.2.16-ksym-version.patch
linux-2.2.16-kvmfix.patch
linux-2.2.16-lfs-bigmem.patch
linux-2.2.16-lfs-headers.patch
linux-2.2.16-lfs.patch
linux-2.2.16-lm_sensors.patch
linux-2.2.16-lockd.patch
linux-2.2.16-loop-F1.patch
linux-2.2.16-loop.patch
linux-2.2.16-megaraid-1b08b.patch
linux-2.2.16-micoff.patch
linux-2.2.16-multilun.patch
linux-2.2.16-newagpdist.patch
linux-2.2.16-newids.patch
linux-2.2.16-nobfddep.patch
linux-2.2.16-pcmcia-3com.patch
linux-2.2.16-pcmcia-config.patch
linux-2.2.16-pcmcia-install.patch
linux-2.2.16-pcmcia-xircom.patch
linux-2.2.16-presound.patch
linux-2.2.16-qlc.patch
linux-2.2.16-quiet.patch
linux-2.2.16-raid-B2.patch
linux-2.2.16-raw-fixup.patch
linux-2.2.16-raw-fixup2.patch
linux-2.2.16-rawio.patch
linux-2.2.16-resourcelen.patch
linux-2.2.16-rhconfig.patch
linux-2.2.16-sard.patch
linux-2.2.16-scsi-blacklist.patch
linux-2.2.16-scsi-offline.patch
linux-2.2.16-scsi-reservation.patch
linux-2.2.16-server-tuning.patch
linux-2.2.16-sigio.patch
linux-2.2.16-skfp.patch
linux-2.2.16-slab.patch
linux-2.2.16-sound-stereo.patch
linux-2.2.16-sparc-drmfixes.patch
linux-2.2.16-sparc-eepro.patch
linux-2.2.16-sparc-fixes.patch
linux-2.2.16-sparc-gcc296.patch
linux-2.2.16-sparc-nfs.patch
linux-2.2.16-sparc-signal.patch
linux-2.2.16-sparc-sysreq.patch
linux-2.2.16-sparcdma-writesync.patch
linux-2.2.16-sunpartshaddap.patch
linux-2.2.16-usb2.4.0-test2-pre2.patch
linux-2.2.16-usbdevfs-2.patch
linux-2.2.16-usbdevfs.patch
linux-2.2.16-usbquiet.patch
linux-2.2.16-usbreset.patch
linux-2.2.16-useio.patch
linux-2.2.16-vm-backout.patch
linux-2.2.16.tar.gz
linux-merge-config.awk
linux-merge-modules.awk
linux-rhconfig-22.h
module-info
pcmcia-cs-2.8.8-network.script
pcmcia-cs-3.1.19.tar.gz
rhkmvtag.c
xcdroast-0.98alpha6-rh.tar.gz

Wenn das dass FALSCHE Verzeichniss ist, dann sag mir bitte nach welchen Dateien ich ausschau halten soll.
Dort ein "make dep" liefert:

make: *** Keine Regel, um >>dep<< zu erstellen. Schluss.

So nebenbei: Unter /usr/include/linux ist ein Haufen *.h Dateien unter anderem eine "version.h" in der steht UTS_RELEASE "2.4.0-0.26"
Komisch sollte da nicht was mit 2.2.16-22 stehen???
- auf der Konsole beim Login steht auch 2.2.16-22 -

PS: Ich hab aber das richtige Kernelsourcepaket installiert! (2.2.16)

Sebastian Ude

Re: Paket installiert

#4 Post by Sebastian Ude »

>What is the location of the directory of C
>header files that match your running
>kernel? [/usr/src/linux/include]

Gib hier mal /usr/include an.

Andreas

Re: Paket installiert

#5 Post by Andreas »

"
The directory of kernel headers (version 2.4.0-0.26) does not match your running kernel (version 2.2.16-22). Consequently, even if the compilation of the module was successful, the module would not load into the runnin kernel.
"
Dann kommt wieder die gleiche Frage...
Hab im Verz. /usr/include auch mal "make dep" ausprobiert. Ging dort auch nicht ;(

Sebastian Ude

Re: Paket installiert

#6 Post by Sebastian Ude »

Naja, wenn in /usr/include/linux Kernel-Headers vom 2.4.0er-Kernel liegen, aktuell aber 2.2.16 läuft, dann streikt das Vmware-Installationsscript.

Sag mir mal bitte welche kernel-* RPMs installiert sind, und welche Versionen der Pakete.

Und das mit dem "make dep" in /usr/include vergisst du lieber schnell <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">.

ronny
Posts: 313
Joined: 24. Apr 2001 11:11
Location: Muehlacker, BW

Re: Paket installiert

#7 Post by ronny »

du hast das kernel-source.src.rpm installiert, du musst aber kernel-source.i386.rpm installieren!
und auch das passende kernel-headers paket

dann gibts auch ein /usr/src/linux

Andreas

Re: Paket installiert - D A N K E

#8 Post by Andreas »

Das Kernel-source.src.rpm hat mir gefehlt!!!! deshalb gings nciht !!!! jetzt hab ich das verzeichnis !!! DANKE. Alles funktioniert!

Post Reply