Re: HighPoint Rocket Raid Module compile FC11-UPDATE

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

 



Bob Hartung wrote:
Update:

  module rr232x.ko appears to have been built.
  I copied it into

   /lib/modules/2.6.30.8-64.fc11.x86_64/kernel/drivers/scsi


uname -r reports kernel version 2.6.30.8-64.fc11.x86_64 is running

chmod 744 rr232x.ko
then with modprobe rr232x or modprobe rr232x.ko
I get a FATAL error telling me that module rr232x.ko does not exist.

When building kernel modules for an existing kernel, you MUST modify the
Makefile source code from the kernel source RPM to match the version of
the running kernel.  By default, the kernel source does NOT have the
running kernel's version, even if it is the source for that kernel.

Example, I'm running 2.6.30.8-64.fc11.x86_64.  I've installed the
kernel-2.6.30.8-64.fc11.src.rpm RPM, then to prep for kernel building:

	rpm -bp --target=x86_64 ~rpmbuild/SPEC/kernel.spec

If you look at the Makefile in
~/rpmbuild/BUILD/kernel-2.6.30/linux-2.6.30.x86_64

you'll find:

	VERSION = 2
	PATCHLEVEL = 6
	SUBLEVEL = 30
	EXTRAVERSION = .8

If I were to build as it stands, the modules would be versioned to
2.6.30.8 and wouldn't load (or be installed in the correct /lib/modules
directory if I did a "make modules-install").  The Makefile must be
modified to:

	EXTRAVERSION = .8-64

to match the running kernel before anything is built (including
"make menuconfig", "make xconfig" or "make oldconfig").
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                 IGNORE that man behind the keyboard!               -
-                                                - The Wizard of OS  -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

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

  Powered by Linux