Re: kernel source install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You installed the SRPM.
You'll need to build the kernel before you see anything
in /lib/modules...

Gilboa

On Sun, 2005-10-09 at 10:44 -0400, jsmforum@xxxxxxxxxxxxx wrote:
> Hey all,
> 
> I'm trying to get ndiswrappers installed on FC4.  When I run make, it keeps complaining about not finding the kernel source.  Currently I'm running kernel 2.6.13-1.1526_FC4 and have installed 
> (I believe) the source for that kernel.  However when I do a rpm -qa | grep kernel, the source doesn't show up.
> 
> [root@localhost ~]# rpm -ivh kernel-2.6.13-1.1526_FC4.src.rpm
>    1:kernel                 ########################################### [100%]
> [root@localhost ~]# rpm -qa | grep kernel
> kernel-2.6.13-1.1526_FC4
> [root@localhost ~]#
> 
> [root@localhost ~]# cd /lib/modules/2.6.13-1.1526_FC4/
> [root@localhost 2.6.13-1.1526_FC4]# ls -lah
> total 1.1M
> drwxr-xr-x  3 root root 4.0K Oct  8 14:45 .
> drwxr-xr-x  6 root root 4.0K Oct  9 10:32 ..
> lrwxrwxrwx  1 root root   23 Oct  8 14:45 build -> /usr/src/redhat/SOURCES
> drwxr-xr-x  9 root root 4.0K Oct  8 13:46 kernel
> -rw-r--r--  1 root root 226K Oct  8 13:46 modules.alias
> -rw-r--r--  1 root root   69 Oct  8 13:46 modules.ccwmap
> -rw-r--r--  1 root root 239K Oct  8 13:46 modules.dep
> -rw-r--r--  1 root root  813 Oct  8 13:46 modules.ieee1394map
> -rw-r--r--  1 root root  357 Oct  8 13:46 modules.inputmap
> -rw-r--r--  1 root root  16K Oct  8 13:46 modules.isapnpmap
> -rw-r--r--  1 root root 169K Oct  8 13:46 modules.pcimap
> -rw-r--r--  1 root root  90K Oct  8 13:46 modules.symbols
> -rw-r--r--  1 root root 273K Oct  8 13:46 modules.usbmap
> lrwxrwxrwx  1 root root    5 Oct  8 13:46 source -> build
> 
> and /urs/src/redhat/SOURCES contains:
> 
> [root@localhost build]# ls -l
> total 43776
> -rw-rw-r--  1 root root    32823 Sep  9  2004 COPYING.modules
> -rw-rw-r--  1 root root      139 Sep  9  2004 genkey
> -rw-rw-r--  1 root root    57352 Sep 28 19:10 kernel-2.6.13-i586.config
> -rw-rw-r--  1 root root    57336 Sep 28 19:10 kernel-2.6.13-i686.config
> -rw-rw-r--  1 root root    57504 Sep 28 19:10 kernel-2.6.13-i686-smp.config
> -rw-rw-r--  1 root root    60132 Sep 28 19:10 kernel-2.6.13-i686-xen0.config
> -rw-rw-r--  1 root root    60114 Sep 28 19:10 kernel-2.6.13-i686-xenU.config
> -rw-rw-r--  1 root root    54183 Sep 28 19:10 kernel-2.6.13-ia64.config
> -rw-rw-r--  1 root root    54950 Sep 28 19:10 kernel-2.6.13-ppc64.config
> -rw-rw-r--  1 root root    55355 Sep 28 19:10 kernel-2.6.13-ppc64iseries.config
> -rw-rw-r--  1 root root    56172 Sep 28 19:10 kernel-2.6.13-ppc.config
> -rw-rw-r--  1 root root    56182 Sep 28 19:10 kernel-2.6.13-ppc-smp.config
> -rw-rw-r--  1 root root    54205 Sep 28 19:10 kernel-2.6.13-s390.config
> -rw-rw-r--  1 root root    54172 Sep 28 19:10 kernel-2.6.13-s390x.config
> -rw-rw-r--  1 root root    54826 Sep 28 19:10 kernel-2.6.13-x86_64.config
> -rw-rw-r--  1 root root    54791 Sep 28 19:10 kernel-2.6.13-x86_64-smp.config
> -rw-rw-r--  1 root root      474 Sep 20 22:22 linux-2.4.0-test11-vidfail.patch
> -rw-rw-r--  1 root root     5750 Sep 20 22:22 linux-2.6.0-sleepon.patch
> -rw-rw-r--  1 root root      316 Sep 20 22:22 linux-2.6.10-crash-xen.patch
> -rw-rw-r--  1 root root      562 Sep 20 22:22 linux-2.6.10-ppc-headerabuse.patch
> -rw-rw-r--  1 root root      383 Sep 28 18:32 linux-2.6.10-revert-module-invalidparam.patch
> -rw-rw-r--  1 root root     3897 Sep 20 22:22 linux-2.6.10-x86_64-read-implies-exec32.patch
> -rw-rw-r--  1 root root     1186 Sep 20 22:22 linux-2.6.10-x86-tune-p4.patch
> 
> etc........
> 
> so did I screw something up here?  What am I missing?
> 
> thanks,
> 
> Jeff
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux