Hello Tony,
I am in front of my system, trying to see zaptel file in /etc/rc.d/init.d/, but there is no folder like this.
So, as you said i have to setup the zaptel loading by hand, can you please guide me how to do it.
When i do "modprobe zaptel", i get this output:
 
[EMAIL PROTECTED]:/usr/src/asterisk/zaptel-1.2.2# modprobe zaptel
FATAL: Error inserting zaptel (/lib/modules/2.6.15.1/misc/zaptel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[EMAIL PROTECTED]:/usr/src/asterisk/zaptel-1.2.2# modprobe ztdummy 
WARNING: Error inserting zaptel (/lib/modules/2.6.15.1/misc/zaptel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting zaptel (/lib/modules/2.6.15.1/misc/zaptel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ztdummy (/lib/modules/2.6.15.1/misc/ztdummy.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error running install command for ztdummy
and when i do dmesg, here is the output:
 
 
Linux version 2.6.15.1 ([EMAIL PROTECTED]) (gcc version 3.3.6) #1 SMP PREEMPT Wed Jan 9 08:45:05 CST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e8000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000007f730000 (usable)
 BIOS-e820: 000000007f730000 - 000000007f740000 (ACPI data)
 BIOS-e820: 000000007f740000 - 000000007f7f0000 (ACPI NVS)
 BIOS-e820: 000000007f7f0000 - 000000007f800000 (reserved)
 BIOS-e820: 00000000ffb80000 - 0000000100000000 (reserved)
1143MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000ff780
On node 0 totalpages: 522032
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 225280 pages, LIFO batch:31
  HighMem zone: 292656 pages, LIFO batch:31
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM                                ) @ 0x000fadc0
ACPI: RSDT (v001 A M I  OEMRSDT  0x08000427 MSFT 0x00000097) @ 0x7f730000
ACPI: FADT (v002 A M I  OEMFACP  0x08000427 MSFT 0x00000097) @ 0x7f730200
ACPI: MADT (v001 A M I  OEMAPIC  0x08000427 MSFT 0x00000097) @ 0x7f730390
ACPI: DSDT (v001  A0083 A0083202 0x00000202 INTL 0x02002026) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 15:4 APIC version 20
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
Processor #1 15:4 APIC version 20
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7f800000:80380000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=test-XXXXXX ro root=801 sata.i
Unknown boot option `sata.i': ignoring
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 3000.802 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 2063236k/2088128k available (2781k kernel code, 23736k reserved, 969k data, 216k init, 1170624k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6008.72 BogoMIPS (lpj=12017446)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 0000441d 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
mtrr: v2.0 (20020519)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 01
Booting processor 1/1 eip 2000
Initializing CPU#1
Calibrating delay using timer specific routine.. 6000.70 BogoMIPS (lpj=12001410)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000 0000441d 00000000 00000000
monitor/mwait feature present.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps: bfebfbff 00000000 00000000 00000080 0000441d 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU1: Thermal monitoring enabled
CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 01
Total of 2 processors activated (12009.42 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:00:02.0
PCI quirk: region 0800-087f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region 0480-04bf claimed by ICH4 GPIO
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P4._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 10 *11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 13 devices
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
pnp: 00:09: ioport range 0x680-0x6ff has been reserved
pnp: 00:09: ioport range 0x290-0x297 has been reserved
PCI: Ignore bogus resource 6 [0:0] of 0000:00:02.0
PCI: Bridge: 0000:00:1e.0
  IO window: d000-dfff
  MEM window: fe500000-fe5fffff
  PREFETCH window: disabled.
PCI: Setting latency timer of device 0000:00:1e.0 to 64
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1010642442.100:1): initialized
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 865 Chipset.
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
[drm] Initialized drm 1.0.0 20040925
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt 0000:01:0d.0[A] -> GSI 23 (level, low) -> IRQ 16
eth0: RealTek RTL8139 at 0xd800, 00:11:2f:f4:73:33, IRQ 16
eth0:  Identified 8139 chip type 'RTL-8101'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH5: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 17
ICH5: chipset revision 2
ICH5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: GCR-8523B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
libata version 1.20 loaded.
ata_piix 0000:00:1f.2: version 1.05
ACPI: PCI Interrupt 0000:00:1f.2[A] -> GSI 18 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1f.2 to 64
ata1: SATA max UDMA/133 cmd 0xEFE0 ctl 0xEFAE bmdma 0xEF90 irq 17
ata2: SATA max UDMA/133 cmd 0xEFA0 ctl 0xEFAA bmdma 0xEF98 irq 17
ata1: dev 0 cfg 49:2f00 82:346b 83:7d01 84:4003 85:3469 86:3c01 87:4003 88:207f
ata1: dev 0 ATA-6, max UDMA/133, 156301488 sectors: LBA48
ata1: dev 0 configured for UDMA/133
scsi0 : ata_piix
ATA: abnormal status 0x7F on port 0xEFA7
scsi1 : ata_piix
  Vendor: ATA       Model: ST380817AS        Rev: 3.42
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 < sda5 >
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
ieee1394: raw1394: /dev/raw1394 device initialized
usbmon: debugfs is not available
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: debug port 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: irq 16, io mem 0xfe77b800
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:1d.0: irq 18, io base 0x0000eec0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000ef00
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 17, io base 0x0000ef20
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:1d.3[A] -> GSI 16 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1d.3 to 64
uhci_hcd 0000:00:1d.3: UHCI Host Controller
uhci_hcd 0000:00:1d.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:1d.3: irq 18, io base 0x0000ef40
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1f.5 to 64
input: AT Translated Set 2 keyboard as /class/input/input0
input: ImPS/2 Generic Wheel Mouse as /class/input/input1
intel8x0_measure_ac97_clock: measured 56206 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel ICH5 with AD1888 at 0xfe77b400, irq 20
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
TCP established hash table entries: 262144 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
ip_conntrack version 2.4 (8192 buckets, 65536 max) - 212 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <[EMAIL PROTECTED]>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Starting balanced_irq
Using IPI Shortcut mode
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: sda1: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 852268
ext3_orphan_cleanup: deleting unreferenced inode 852267
ext3_orphan_cleanup: deleting unreferenced inode 852266
EXT3-fs: sda1: 3 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 216k freed
Adding 2097136k swap on /dev/sda5.  Priority:-1 extents:1 across:2097136k
EXT3 FS on sda1, internal journal
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
ztdummy: Unknown symbol zt_receive
ztdummy: Unknown symbol zt_transmit
ztdummy: Unknown symbol zt_unregister
ztdummy: Unknown symbol zt_register
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
ztdummy: Unknown symbol zt_receive
ztdummy: Unknown symbol zt_transmit
ztdummy: Unknown symbol zt_unregister
ztdummy: Unknown symbol zt_register
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
ztdummy: Unknown symbol zt_receive
ztdummy: Unknown symbol zt_transmit
ztdummy: Unknown symbol zt_unregister
ztdummy: Unknown symbol zt_register
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
ztdummy: Unknown symbol zt_receive
ztdummy: Unknown symbol zt_transmit
ztdummy: Unknown symbol zt_unregister
ztdummy: Unknown symbol zt_register
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
zaptel: Unknown symbol crc_ccitt_table
ztdummy: Unknown symbol zt_receive
ztdummy: Unknown symbol zt_transmit
ztdummy: Unknown symbol zt_unregister
ztdummy: Unknown symbol zt_register
 
 
any idea what could be the problem.
 
Regards
 
Vijay Gandhi
-----Original Message-----
From: Tony Mountifield [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 22, 2006 4:04 AM
To: Ray Burkholder; 'Vijay Gandhi'; 'tejas shah'; [email protected]
Subject: Re: Asterisk Configuration

Sorry, but that's complete nonsense. If the system has no Digium hardware with its associated driver loaded, then ztdummy absolutely IS required in order to provide a timing source to the zaptel module. The Linux lernel on its own doesn't know anything about providing timing to zaptel.
 
To Vijay, the answer is that you compile it from source just like you do the rest of asterisk. Download the tarbal for zaptel-1.2.2 (recently released), unpack it into /usr/src/zaptel, then just do:
 
# make all
# make install
# make config
 
The edit /etc/rc.d/init.d/zaptel and change the MODULES and RMODULES lines just to include ztdummy, and none of the hardware drivers.
 
If Slackware doesn't put startup scripts in /etc/rc.d/init.d then you might have to set up the zaptel loading by hand.
 
There is no need to recompile the kernel, nor to change its clock rate, since ztdummy doesn't use the kernel clock on 2.6.13 or higher.
 
Cheers
Tony
----- Original Message -----
Sent: Saturday, January 21, 2006 8:16 PM
Subject: RE: Asterisk Configuration

Kernel 2.6 doesn't need ztdummy as it has a 1000 hz timer built in.  On debian it default to 250hz so you might need to recompile your kernel to make what ever interval is needed by Asterisk (I think the kernel config has options for 100, 250 and 1000 hz).  It has been a while for me, so I'm not certain about the requirement.  I think the newsgroup or the code or the make file refers to it.


From: Vijay Gandhi [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 21, 2006 15:53
To: 'tejas shah'; [email protected]
Subject: Asterisk Configuration

Hi Guys,
 
Can anyone tell me how to install ztdummy on the slackware system with kernel 2.6.15, i am not using any digium hardware, i need to install ztdummy on my slackware system which is compiled with kernel 2.6.15.1.
Please suggest the best possible way...................
 
Regards
 
Vijay Gandhi

--
Scanned for viruses & dangerous content at One Unified and is believed to be clean.
--
Scanned for viruses & dangerous content at One Unified and is believed to be clean.

Reply via email to