broken links in /lib/modules/`uname -r`
Paul Howarth
paul at city-fan.org
Fri Aug 26 17:19:11 UTC 2005
Christopher J. Bottaro wrote:
> I recently did a "yum update" and it installed a new kernel:
> 2.6.12-1.1372_FC3. I like to build my own ipw2200 module, so I tried and
> it failed. With a little investigation I found some broken links:
>
> lrwxrwxrwx 1 root root 47 Aug 25 15:45 build
> -> ../../../usr/src/kernels/2.6.12-1.1372_FC3-i686
> drwxr-xr-x 9 root root 4096 Aug 25 15:45 kernel
> -rw-r--r-- 1 root root 194916 Aug 25 15:45 modules.alias
> -rw-r--r-- 1 root root 69 Aug 25 15:45 modules.ccwmap
> -rw-r--r-- 1 root root 234004 Aug 25 15:45 modules.dep
> -rw-r--r-- 1 root root 813 Aug 25 15:45 modules.ieee1394map
> -rw-r--r-- 1 root root 357 Aug 25 15:45 modules.inputmap
> -rw-r--r-- 1 root root 16284 Aug 25 15:45 modules.isapnpmap
> -rw-r--r-- 1 root root 169632 Aug 25 15:45 modules.pcimap
> -rw-r--r-- 1 root root 89255 Aug 25 15:45 modules.symbols
> -rw-r--r-- 1 root root 268793 Aug 25 15:45 modules.usbmap
> lrwxrwxrwx 1 root root 5 Aug 25 15:45 source -> build
>
> "build" and "source" are broken links. I tried installing the .src.rpm and
> did an rpmbuild, but to no avail. What am I missing?
>
> This seems to be new for kernel-2.6.12-1.1372_FC3. Before, all the headers
> needed to build modules were included in the rpm, the src rpm wasn't
> needed, nor was anything else.
This one kernel was accidentally built "the FC4 way" with a separate
kernel-devel package. Install that and the links will work.
Paul.
More information about the fedora-list
mailing list