I always have trouble with iFax after I upgrade the kernel on my RedHat fax server. Here are my notes to upgrade the Brooktrout / Cantana / iFax / Hylafax / Dialogic / bt-tr1034 driver.
Stop BT service:
service bt-tr1034 stop
The kernel-smp version, the kernel-smp-devel version must match.
Check kernel version:
uname -a
|Linux server 2.6.9-89.31.1.ELsmp #1 SMP Tue Oct 19 17:42:26 EDT 2010 i686 i686 i386 GNU/Linux
Check the kernel-devel version:
rpm -qa |grep kernel-smp-devel |kernel-smp-devel-2.6.9-89.33.1.EL
The kernel-smp will probably be upgraded via YUM automatically. But the kernel-smp-devel may need manual intervention.
Uninstall any unmatching version:
yum remove kernel-smp-devel-2.6.9-89.33.1.EL
Install a matching version:
yum install kernel-smp-devel-2.6.9-89.31.1.EL
Verify RedHat Release:
echo "Red Hat Enterprise Linux ES release 4" > /etc/redhat-release
Make BT Driver:
cd /var/spool/hylafax/bt/tr1034/driver
make -f Makefile.kerndep INSTALLED_ARCH=i686
Start BT service:
service bt-tr1034 start
Verify everything is working ok. If not, it'll show here:
cat /var/spool/hylafax/tmp/ecc_trace.txt
faxstat