[CentOS] unsupported modules on CentOS 4

Craig White craigwhite at azapple.com
Fri Aug 19 05:59:39 UTC 2005


On Thu, 2005-08-18 at 21:44 -0500, Johnny Hughes wrote:
> On Thu, 2005-08-18 at 18:07 -0700, Craig White wrote:
> > On Thu, 2005-08-18 at 16:52 -0700, Craig White wrote:
> > > I know that appletalk module is not included in RHEL 4 and therefore not
> > > included in CentOS 4.
> > > 
> > > RHEL 3/CentOS 3 had them in kernel-[smp-]unsupported
> > > 
> > > Is there a way to get the module loaded in CentOS 4.1 or do I have to
> > > compile a kernel from source?
> > > 
> > ----
> > OK - lo and behold, I find unsupported stuff in centosplus (thanks guys
> > - you are really good)
> > 
> > when I installed them, they are placed in a separate tree and that
> > confuses me...
> > 
> > [root at srv1 etc]# ls -l /lib/modules/
> > total 48
> > drwxr-xr-x  3 root root 4096 Aug 18 17:56 2.6.9-11.106.unsupported
> > drwxr-xr-x  3 root root 4096 Aug 18 17:57 2.6.9-11.106.unsupportedsmp
> > drwxr-xr-x  3 root root 4096 Aug 16 21:23 2.6.9-11.EL
> > drwxr-xr-x  3 root root 4096 Aug 16 21:24 2.6.9-11.ELsmp
> > drwxr-xr-x  2 root root 4096 Jun  8 19:58 kabi-4.0-0
> > drwxr-xr-x  2 root root 4096 Jun  8 20:24 kabi-4.0-0smp
> > 
> > so my guess is that I have to 
> > cp -R /lib/modules/xxx.unsupportedsmp/kernel/net/appletalk \
> > /lib/modules/xxxELsmp/kernel/net
> > 
> > and then I suppose I have to mkinitrd and reboot to make the copied
> > Appletalk module work?
> > 
> > Am I missing something simpler?
> > 
> > Craig
> > 
> 
> It is a new kernel ... unlike the RHEL-3 kernel (where they left stuff
> enabled and removed it from the kernel) in RHEL-4 they turned everything
> off ... so there is no way to turn it on except to recompile the whole
> kernel with everything on.  We did not want to name it the same thing as
> the old kernel, so you have another kernel in grub to boot from.
----
OK - this is turning into a hassle now - something in
kernel-2.6.9-11.106.unsupportedsmp is conflicting with the megaraid
module that I am building which I can make work with the smp (and the
up) version of the standard 2.6.9-11.EL kernel.

I removed all versions of kernel-[smp-]-devel and then did a yum install
of the new ones...

yum --enablerepo=centosplus install kernel-
devel-2.6.9-11.106.unsupported kernel-smp-devel-2.6.9-11.106.unsupported

and then built the appropriate megaraid.ko for each and moved the
megaraid.ko into their
respective /lib/modules/kernel-2.6.9-11.106.unsupported
[smp]/kernel/drivers/scsi/megaraid directory and did the mkinitrd and
replaced the initrd created by the install of these unsupported kernels
and they begin to load and break down in a panic (they actually get
started since they do see the RAID drives but they break shortly
thereafter).

I can boot the 2.6.9-11.EL[smp] kernels that I created in much the same
way, but not the unsupported SMP or UP

Is there any sort of instruction for me to get the appletalk module
source and build it myself as a module for the standard 2.6.9-11.EL
[smp] ?

Thanks

Craig





More information about the CentOS mailing list