From owner-freebsd-questions@FreeBSD.ORG Mon Sep 8 07:08:39 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 72C831065671 for ; Mon, 8 Sep 2008 07:08:39 +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 004C28FC1F for ; Mon, 8 Sep 2008 07:08:38 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KcarS-0007E3-Hk for freebsd-questions@freebsd.org; Mon, 08 Sep 2008 07:08:34 +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 ; Mon, 08 Sep 2008 07:08:34 +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 ; Mon, 08 Sep 2008 07:08:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Mon, 08 Sep 2008 09:08:25 +0200 Lines: 50 Message-ID: <7rj9c4tpje56ooq1cgt1lvkn2v40ev1jvn@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 Sender: news Subject: [FreeBSD 6.3] Right-way to recover a module? 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: Mon, 08 Sep 2008 07:08:39 -0000 Hello I'm running Asterisk 1.4.20.1 on a FreeBSD that I compiled from the Ports collection. It's the second time I'm having an issue with a FXO card and/or the Zaptel driver that connects the card to the OS. I couldn't figure out what else to do, so I just rebooted the server, but I'd like to know what happened, and whether there's a less drastic solution. Here's some infos: =========== # /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 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 Sep 6 19:11:12 freebsd kernel: kldunload: attempt to unload file that was loaded by the kernel # kldstat Id Refs Address Size Name 1 9 0xc0400000 7a05b0 kernel 2 1 0xc0ba1000 5c304 acpi.ko 12 1 0xc2d6c000 19000 linux.ko 13 1 0xc3ba9000 32000 zaptel.ko 17 1 0xc3c0d000 a000 wcfxs.ko # kldunload -i 13 kldunload: can't unload file: Device busy # kldunload -i 17 kldunload: can't unload file: Device busy =========== Support tells me something that I don't understand but could be comprehensible by FreeBSD experts : "have you checked the modules? it is still under the kernel? i am not very sure the location of ko file in freebsd, please check that, according to the error, it reports that the ko files lost. " Thanks for any tip.