From owner-freebsd-questions@FreeBSD.ORG Sat Dec 20 13:25:44 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3C091065676 for ; Sat, 20 Dec 2008 13:25:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5758FC25 for ; Sat, 20 Dec 2008 13:25:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LE1pq-0001LA-K2 for freebsd-questions@freebsd.org; Sat, 20 Dec 2008 13:25:38 +0000 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Dec 2008 13:25:38 +0000 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Dec 2008 13:25:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Sat, 20 Dec 2008 14:25:28 +0100 Lines: 47 Message-ID: <6dspk45mhp9u834qgmm465u70j56ir7qtj@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 X-Antivirus: avast! (VPS 081219-0, 19/12/2008), Outbound message X-Antivirus-Status: Clean Sender: news Subject: [6.3/Asterisk + Zaptel] Unloading module for upgrade? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2008 13:25:44 -0000 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 Address Size Name 1 14 0xc0400000 7a05b0 kernel 3 5 0xc2caa000 32000 zaptel.ko 4 1 0xc2ce0000 7000 qozap.ko 5 1 0xc2ce7000 20000 tau32pci.ko 6 1 0xc2d09000 5000 wcfxo.ko 7 1 0xc2d0e000 a000 wcfxs.ko 9 1 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.