Reconfigure kernel for dmx3191d.ko module.
Malcolm Candlish
bm at candlish.uklinux.net
Mon Feb 14 14:31:31 UTC 2005
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.
--
--
Malcolm Candlish <bm at candlish.uklinux.net>
More information about the users
mailing list