Reconfigure kernel for dmx3191d.ko module.
Paul Howarth
paul at city-fan.org
Mon Feb 14 15:02:42 UTC 2005
Malcolm Candlish wrote:
> Kernel reconfiguration for Fedora Core 3 on an AMD64 14/02/2005
>
> The following procedure to create the dmx3191d.ko module was undertaken;
> please read the end of the following file:-
>
> Work within a terminal.
> su
> password
> vi /etc/sysconfig/kernel
> (Check that line beginning with UPGRADEDEFAULT ends in YES. If not,
> delete no and change to YES).
>
> mkdir /usr/src/redhat
> mkdir /usr/src/redhat/Build
> mkdir /usr/src/redhat/RPMS
> mkdir /usr/src/redhat/SOURCES
> mkdir /usr/src/redhat/SPECS
>
> (Obtain a src.rpm.kernel from either the source CD on via the internet
> by commant: up2date --get-source kernel ).
>
> rpm -i /home/malcolm/kernel-2.6.9-1.667.src.rpm
> (Use your own path).
>
> vi /usr/src/redhat/SPECS/kernel-2.6.spec
> ( change line #define buildsmp 1 =to 0) This saves disk space if no
> multi-processor.
>
> cd /usr/src/redhat/SPECS
> rpmbuild -bp --target=x86_64 kernel-2.6.spec
>
> cp /boot/kernel-config /path/kenel-config
>
> cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
> make gconfig
>
> make modules
> make modules_install
> depmod -a
>
> make clean
>
> make bzImage
>
> # /sbin/insmod -f /lib/modules/2.6.9-
> prep/kernel/drivers/scsi/dmx3191d.ko
> insmod: error inserting '/lib/modules/2.6.9-
> prep/kernel/drivers/scsi/dmx3191d.ko': -1 Unknown symbol in module
>
> Could some one please tell me where I have gone wrong! I thought the new
> kernel would be automatically be selected.
You are probably running kernel 2.6.9-1.667 but have built modules for
kernel 2.6.9-prep. Why not follow the instructions at
http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/ to
build yourself a full new kernel with this module included? Or follow
the instructions in the release notes to build the module out-of-tree?
Paul.
More information about the fedora-list
mailing list