From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 10:37:38 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 9B2F01065677 for ; Fri, 20 Jun 2008 10:37:38 +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 56DAF8FC17 for ; Fri, 20 Jun 2008 10:37:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K9dzp-0006Hj-1e for freebsd-questions@freebsd.org; Fri, 20 Jun 2008 10:37:33 +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 ; Fri, 20 Jun 2008 10:37:33 +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 ; Fri, 20 Jun 2008 10:37:33 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Fri, 20 Jun 2008 12:37:24 +0200 Lines: 29 Message-ID: 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 Sender: news Subject: Restarting a driver? 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: Fri, 20 Jun 2008 10:37:38 -0000 Hello Out of curiosity, why can't I restart the Zaptel driver that is used by Asterisk to communicate with a PCI telephony card? # /usr/local/etc/rc.d/zaptel restart 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 wct4xxp.ko: No such file or directory kldunload: can't find file wct1xxp.ko: No such file or directory kldunload: can't unload file: Device busy kldunload: can't find file wcfxo.ko: No such file or directory kldunload: can't find file tau32pci.ko: No such file or directory kldunload: can't find file qozap.ko: No such file or directory kldunload: can't unload file: Device busy zaptelkldload: can't load /usr/local/lib/zaptel/zaptel.ko: File exists # tail /var/log/messages [...] Jun 20 12:34:42 freebsd kernel: kldunload: attempt to unload file that was loaded by the kernel Do some device drivers require using special commands to unload/reload? Thank you.