Craig White
2005-Aug-22 20:29 UTC
[CentOS] Need a little kick start to compile appletalk module
RHEL 4 (and thus CentOS 4) do not have appletalk module included. CentOSPlus rather thoughtfully has the 'unsupported' version which would have the appletalk module but I have been unable to get the old megaraid driver to run compiled from the kernel-devel for these 'unsupported' kernels. Thus I would love to simply compile the appletalk module myself from the standard kernel-devel for the standard i686/i686smp kernels as I have to do for the old megaraid driver. Thus it would appear, that I would need the kernel source for this. How would I 'isolate' the appletalk kernel stuff? Would I install the kernel-sourcecode rpm - like... <http://centos.cs.ucr.edu/centos/4.1/os/i386/CentOS/RPMS/kernel- sourcecode-2.6.9-11.EL.noarch.rpm> and hunt down the appletalk directory and compile the module separately pretty much as I do with the older megaraid code? Is it reasonable to hope that the necessary code for the appletalk kernel module would be contained in one subdirectory? Is there an easier way that I am missing? Craig
Johnny Hughes
2005-Aug-22 20:51 UTC
[CentOS] Need a little kick start to compile appletalk module
On Mon, 2005-08-22 at 13:29 -0700, Craig White wrote:> RHEL 4 (and thus CentOS 4) do not have appletalk module included. > CentOSPlus rather thoughtfully has the 'unsupported' version which would > have the appletalk module but I have been unable to get the old megaraid > driver to run compiled from the kernel-devel for these 'unsupported' > kernels. > > Thus I would love to simply compile the appletalk module myself from the > standard kernel-devel for the standard i686/i686smp kernels as I have to > do for the old megaraid driver. > > Thus it would appear, that I would need the kernel source for this. > > How would I 'isolate' the appletalk kernel stuff? Would I install the > kernel-sourcecode rpm - like... > <http://centos.cs.ucr.edu/centos/4.1/os/i386/CentOS/RPMS/kernel- > sourcecode-2.6.9-11.EL.noarch.rpm> > and hunt down the appletalk directory and compile the module separately > pretty much as I do with the older megaraid code? Is it reasonable to > hope that the necessary code for the appletalk kernel module would be > contained in one subdirectory? Is there an easier way that I am missing?I haven't looked, but the appletalk stuff should be in a separate directory ... but it might depend on some other items. What errors are you having for the megaraid driver? Do not use the kernel-sourcecode to get the buildtree ... it doesn't contain arch specific patches and configuration changes. The best way to get a full kernel tree that is fully adjusted for your arch is to download the kernel-xxxxx-src.rpm and install it using: rpm -Uvh kernel-xxxxx.src.rpm then cd /usr/src/redhat/SPECS (or another location if you build with another %_topdir in your .rpmmacros) then do rpmbuild -bp --target i686 kernel-2.6.spec (substitute the arch you are concerned about) and then go to cd ../BUILD you should have a kernel directory under there that you can move to /usr/src in the ../SOURCE directory are all the config files for all the other arches .... so you only have to unpack it once. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050822/bd4e4362/attachment-0001.sig>
Greg Swallow - SkyNet
2005-Aug-22 22:50 UTC
[CentOS] Need a little kick start to compile appletalk module
Craig White wrote:> RHEL 4 (and thus CentOS 4) do not have appletalk module included. > CentOSPlus rather thoughtfully has the 'unsupported' version which would > have the appletalk module but I have been unable to get the old megaraid > driver to run compiled from the kernel-devel for these 'unsupported' > kernels.It has been done already for SMEServer 7.0 Beta (whose RPMS are built on Centos 4.1). Here is a link to the SRPM: http://distro.ibiblio.org/pub/linux/distributions/e-smith/devel/repo/SRPMS/k ernel-module-appletalk-0.0.1-2_2.6.9_11.EL.src.rpm If you want the compiled rpms (much easier) you'll have to get them out of the ISO for SME 7 Beta1 here: http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/iso/ Greg