Random ...
February 2018
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28      
Tags ...

Linux++:::: compiling kernel modules in Fedora Core
Posted at 05.Jan,2005 13:02  Comments 0 / Trackbacks 0 / Like this post!
Technorati tag(s):
Always read the release notes! They're important; as I've discovered.

As of FC3, kernel-source is no longer built. To get the the source tree, we need to get the .src.rpm, and do a:

$cd /usr/src/redhat/SPECS
$rpmbuild -bp kernel-kernelversion.spec
$make oldconfig
$ln -s /usr/src/redhat/BUILD/kernel-kernelversion/linux-kernelversion /usr/src/linux

or mv the whole tree to /usr/src/linux

I discovered this while trying to compile and install hostap*. After the above steps, hostap* drivers compiled, and was installed successfully.

The release notes also mentioned compiling without the exploded source tree; but I haven't successfully done that. More zen needed, methinks.

Another FC zen; to load vlan configuration at boot time, change the necessary at /etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-ethx

The parameters are included in sysconfig.txt file; usually in /usr/share/doc/initscripts-version/

Bookmark and Share

Is this entry helpful? Comments/Donate/Click some google ads.  
Trackback is http://myzope.kedai.com.my/blogs/kedai/8/tbping 

Post a comment