[6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Gilles
Hello

Since the Ports collection showed that there were more recent versions
of Asterisk and Zaptel, I tried to compile/install Zaptel, but it
fails, even after stopping Zaptel cleanly, and even after stopping
Asterisk itself:

=
# kldstat
Id Refs AddressSize Name
 1   14 0xc040 7a05b0   kernel
 35 0xc2caa000 32000zaptel.ko
 41 0xc2ce 7000 qozap.ko
 51 0xc2ce7000 2tau32pci.ko
 61 0xc2d09000 5000 wcfxo.ko
 71 0xc2d0e000 a000 wcfxs.ko
 91 0xc2d26000 c000 wct4xxp.ko
=
# /usr/local/etc/rc.d/zaptel stop
 zaptelkldunload: can't find file wcte12xp.ko: No such file or
directory
kldunload: can't find file wcte11xp.ko: No such file or directory
kldunload: can't find file wct1xxp.ko: No such file or directory
kldunload: can't find file wctdm24xxp.ko: No such file or directory
kldunload: can't find file wctdm.ko: No such file or directory
kldunload: can't unload file: Device busy
=
# kldunload zaptel
kldunload: can't unload file: Device busy
=
# kldunload qozap
# kldunload wcfxo
# kldunload wcfxs
# kldunload wct4xxp
# kldunload zaptel 
kldunload: can't unload file: Device busy
=
# kldunload -f zaptel
kldunload: can't unload file: Device busy
=
Dec 20 14:21:39 freebsd kernel: kldunload: attempt to unload file that
was loaded by the kernel
=

What is the right way to upgrade Zaptel, without rebooting the host?

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Gilles
On Sat, 20 Dec 2008 14:25:28 +0100, Gilles gilles.gana...@free.fr
wrote:
Since the Ports collection showed that there were more recent versions
of Asterisk and Zaptel, I tried to compile/install Zaptel, but it
fails, even after stopping Zaptel cleanly, and even after stopping
Asterisk itself:

After rebooting, I lose the SSH connection when typing ztcf -vv, and
I see the following error message in /var/log/messages:

Dec 20 14:37:21 freebsd kernel: Zapata Telephony Interface Registered
on major 196
Dec 20 14:37:21 freebsd kernel: Zaptel Version: zaptel-bsd-ng v0.0.1
Dec 20 14:37:21 freebsd kernel: Zaptel Echo Canceller: MG2
Dec 20 14:37:21 freebsd kernel: wctdm0 port 0xb400-0xb4ff mem
0xf500-0xf5000fff irq 9 at device 11.0 on pci2
Dec 20 14:37:21 freebsd kernel: wctdm0: [FAST]
Dec 20 14:37:21 freebsd kernel: Freshmaker version: 71
Dec 20 14:37:21 freebsd kernel: Freshmaker passed register test
Dec 20 14:37:21 freebsd kernel: Module 0: Installed -- AUTO FXO (FCC
mode)
Dec 20 14:37:21 freebsd kernel: Module 1: Not installed
Dec 20 14:37:21 freebsd kernel: Module 2: Not installed
Dec 20 14:37:21 freebsd kernel: Module 3: Not installed
Dec 20 14:37:21 freebsd kernel: Found a Wildcard TDM: Wildcard TDM400P
REV E/F (1 modules)
Dec 20 14:37:21 freebsd kernel: link_elf: symbol te11xp_init undefined

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [6.3/Asterisk + Zaptel] Unloading module for upgrade?

2008-12-20 Thread Wojciech Puchar

# kldunload -f zaptel
kldunload: can't unload file: Device busy
=
Dec 20 14:21:39 freebsd kernel: kldunload: attempt to unload file that
was loaded by the kernel
=
What is the right way to upgrade Zaptel, without rebooting the host?


please stop asterisk first to be able to reload zaptel.
you can't unload used module!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org