Are you running udev? If so, you need to follow the directions in README.udev...

http://www.voip-info.org/wiki-Asterisk+Fedora+Core+3


   Help!: line 146: Unable to open master device '/dev/zap/ctl'

You are probably running udev and don't know it.. were you paying attention during the make? If you were, you would have seen this fly by:
**** Dynamic filesystem detected -- not creating device nodes
**** If you are running udev, read README.udev

If you didn't, try doing a:

[EMAIL PROTECTED] zaptel]# make devices


In your zaptel directory and see if it comes up.. If it does, view the suggested README.udev.

*Run "udevstart" to re-read the new configuration and to create the zap nodes.*

*Note:* My Fedora Core 3 install which came with a 2.6.9 kernel did just this. If you follow the directions in README.udev, you will fix this.



L wrote:
Hi list,

I m wondering is there a bug regarding the zaptel/ztdummy? or it is just my misconfiguration? As the log shown zaptel is refering to the /dev/zap/ctl when it suppose to refer to /dev/zapctl as i m concering.

I m using
1) zaptel-1.2.1
2) kernel 2.6.12-1.1381_FC3
3) no zap's PCI hardware

On the second try I started the modprobe manually and the system shown the statement ("line 0: Unable to open master device '/dev/zap/ctl'"). But when i crosscheck using lsmod, ztdummy is actually loaded into the kernel. And this line somehow cause init.d/zaptel failed to load the later half of the script.

------------------------------------------------------------------------
[EMAIL PROTECTED] ~]#* modprobe zaptel
[EMAIL PROTECTED] ~]#* lsmod | grep z
Module                  Size  Used by
zaptel                208132  0
crc_ccitt               2113  1 zaptel
dm_zero                 2113  0
dm_mod                 57333  6 dm_snapshot,dm_zero,dm_mirror
[EMAIL PROTECTED] ~]#* modprobe ztdummy
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

FATAL: Error running install command for ztdummy
[EMAIL PROTECTED] ~]#* lsmod | grep z
Module                  Size  Used by
ztdummy                 3924  0
zaptel                208132  1 ztdummy
crc_ccitt               2113  1 zaptel
dm_zero                 2113  0
dm_mod                 57333  6 dm_snapshot,dm_zero,dm_mirror
------------------------------------------------------------------------
Any idea?

-L-
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to