Error: missing /dev/zap

Hi,

I am using zaptel-1.2.10 and below mention os.

cat /etc/issue
CentOS release 4.4 (Final)
Kernel \r on an \m

uname -r
2.6.9-42.ELsmp

ls -l /lib/modules/2.6.9-42.ELsmp
total 680
lrwxrwxrwx 1 root root 39 Mar 18 16:13 build -> /usr/src/kernels/2.6.9-42.0.10.EL-i686/
drwxr-xr-x 9 root root 4096 Jan 31 22:43 kernel
-rw-r–r-- 1 root root 119161 Mar 18 19:31 modules.alias
-rw-r–r-- 1 root root 69 Mar 18 19:31 modules.ccwmap
-rw-r–r-- 1 root root 136140 Mar 18 19:31 modules.dep
-rw-r–r-- 1 root root 73 Mar 18 19:31 modules.ieee1394map
-rw-r–r-- 1 root root 357 Mar 18 19:31 modules.inputmap
-rw-r–r-- 1 root root 235 Mar 18 19:31 modules.isapnpmap
-rw-r–r-- 1 root root 114122 Mar 18 19:31 modules.pcimap
-rw-r–r-- 1 root root 67974 Mar 18 19:31 modules.symbols
-rw-r–r-- 1 root root 155849 Mar 18 19:31 modules.usbmap
lrwxrwxrwx 1 root root 6 Mar 18 16:13 source -> build/

When i am starting the zaptel service it gives me following error. I want to use ztdummy (MeetMe) application.

/etc/init.d/zaptel start
Loading zaptel framework: FATAL: Module zaptel not found.
[FAILED]
Waiting for zap to come online…Error: missing /dev/zap!

I had uncommented the ztdummy from Makefile of zaptel sources.

Pls. tell me wht should i do to get the /dev/zap and retify my problem.

Thanks…

Have you installed the devel package for smp ?

what you dont seem to have is the extra directory which has the modules in.

/lib/modules/2.6.9-34.0.1.ELsmp/extra total 4452 -rw-r--r-- 1 root root 253721 Feb 25 14:21 pciradio.ko -rw-r--r-- 1 root root 225568 Feb 25 14:21 tor2.ko -rw-r--r-- 1 root root 167571 Feb 25 14:21 torisa.ko -rw-r--r-- 1 root root 150685 Feb 25 14:21 wcfxo.ko -rw-r--r-- 1 root root 212783 Feb 25 14:21 wct1xxp.ko -rw-r--r-- 1 root root 1349865 Feb 25 14:21 wct4xxp.ko -rw-r--r-- 1 root root 424162 Feb 25 14:21 wctdm24xxp.ko -rw-r--r-- 1 root root 273585 Feb 25 14:21 wctdm.ko -rw-r--r-- 1 root root 283670 Feb 25 14:21 wcte11xp.ko -rw-r--r-- 1 root root 185152 Feb 25 14:21 wcusb.ko -rw-r--r-- 1 root root 434341 Feb 25 14:21 zaptel.ko -rw-r--r-- 1 root root 140145 Feb 25 14:21 ztd-eth.ko -rw-r--r-- 1 root root 125453 Feb 25 14:21 ztd-loc.ko -rw-r--r-- 1 root root 104282 Feb 25 14:21 ztdummy.ko -rw-r--r-- 1 root root 135898 Feb 25 14:21 ztdynamic.ko

Yes i have install the devel package of kernel smp. But in ls -l /lib/modules/2.6.9-42.ELsmp there is no extra folder in that. How to get that. And pls. let me know wht i am missing.

Thanks for your reply.

Hi

What if any errors were reported when you compiled zaptel.

Did you check the spinlock.h file ?

Ian

Might be a known problem when zaptel Makefile tries to install modules to /lib/modules/[major version]/ instead of /lib/modules/[version]-[arch]/. See if you find an extraneous directory /lib/modules/2.6.9/extra/. (My recollection about zaptel 1.2.10 was that it actually installs into misc/ instead of extra/, so check that, too.)

Thanks all

AFter i update my kernel my problem gets solve. Thanks a lot to all.