Red Hat does not provide AppleTalk kernel modules for Red Hat Enterprise Linux 5.1. For common systems a pre-compiled kernel module from HELIOS is available. Optionally you may compile the kernel module on your own.
Note: This description covers Red Hat Enterprise Linux 5.1 but may be similar on other versions.
To check your kernel version and patch details enter the following command on a shell:
# uname -r
2.6.18-53.1.13.el5
To check the processor architecture enter the following command on a shell:
# uname -m
x86_64
The pre-compiled kernel module should fit for most customers:
Red Hat Enterprise Linux 5.1 64-bit SMP*
* Symmetric Multiprocessing
Note: We compiled the module for the current kernel version 2.6.18-53.1.13.el5 on a x86_64 machine. Other or upcoming kernel patch levels, superseding level 53, have not been tested yet and may need to be compiled manually.
Download the pre-compiled kernel modules from:
http://webshare.helios.de
User Name: tools
Password: tools
HELIOS Tools
sharepoint. Open the “RHEL5 AppleTalk modules” folder, select the “RHEL5-x86_64-2.6.18-53.1.13.el5.tar” file and select “Transfer” > “Download” from the menu bar.# cd /usr/local/helios
# tar xf RHEL5-x86_64-2.6.18-53.1.13.el5.tar
We compiled the module for the current kernel version 2.6.18-53.1.13.el5 on a x86_64 machine. Substitute the version and architecture strings as needed. If you do a kernel update later, you may need to re-compile the module to fit the new kernel.
Note: This section addresses experts.
# yum install ncurses-devel
# yum install kernel-devel
# yum install make
# yum install gcc
# yum install unifdef
# yum install rpm-build
# yum install redhat-rpm-config
rpm -ivh <package>
kernel-2.6.18-53.1.13.el5.x86_64
# mkdir /usr/src/redhat
# rpm -ivh /path/to/kernel-2.6.18-53.1.13.el5.src.rpm
# cd /usr/src/redhat/SPECS
# rpmbuild -bp --target=x86_64 kernel-2.6.spec
exit 0
.# cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64
uname -r
) from the “/boot” directory into the current directory:# cp /boot/config-2.6.18-53.1.13.el5 .config
# make menuconfig
# cp Makefile Makefile.sav
EXTRAVERSION
, like shown in the example below. Make sure that the specified version information matches exactly the one used for your current kernel (check uname -r
):# uname -r
2.6.18-53.1.13.el5
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 18
EXTRAVERSION = -53.1.13.el5
# make
scripts/kconfig/conf -s arch/x86_64/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86_64
CC arch/x86_64/kernel/asm-offsets.s
GEN include/asm-x86_64/asm-offsets.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
CC init/main.o
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
CC init/do_mounts.o
make[1]: *** [init/do_mounts.o] Interrupt
make: *** [init] Interrupt
# make M=net/appletalk
LD net/appletalk/built-in.o
CC [M] net/appletalk/aarp.o
CC [M] net/appletalk/ddp.o
CC [M] net/appletalk/dev.o
CC [M] net/appletalk/atalk_proc.o
CC [M] net/appletalk/sysctl_net_atalk.o
LD [M] net/appletalk/appletalk.o
Building modules, stage 2.
MODPOST
CC net/appletalk/appletalk.mod.o
LD [M] net/appletalk/appletalk.ko
# insmod net/appletalk/appletalk.ko
kernel: NET: Registered protocol family 5
rmmod appletalk
. Make sure that the HELIOS services are not running when doing so.# cd /usr/local/helios
# tar xf script-only.tar
Note: Feedback is appreciated!