[FreeBSD 6.3] Right-way to recover a module?
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 AddressSize Name 19 0xc040 7a05b0 kernel 21 0xc0ba1000 5c304acpi.ko 121 0xc2d6c000 19000linux.ko 131 0xc3ba9000 32000zaptel.ko 171 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [FreeBSD 6.3] Right-way to recover a module?
=== # /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 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. ___ on my machine here: [EMAIL PROTECTED] ~]# pkg_info -L zaptel-1.4.6_7|less Information for zaptel-1.4.6_7: Files: /usr/local/bin/fxo_test /usr/local/bin/fxotune /usr/local/bin/ztcfg /usr/local/bin/ztmonitor /usr/local/bin/zttest /usr/local/bin/zttool /usr/local/etc/zaptel.conf.sample /usr/local/include/zaptel/tonezone.h /usr/local/include/zaptel/zaptel.h /usr/local/lib/libtonezone.a /usr/local/lib/zaptel/linker.hints /usr/local/lib/zaptel/qozap.ko /usr/local/lib/zaptel/tau32pci.ko /usr/local/lib/zaptel/wcfxo.ko /usr/local/lib/zaptel/wcfxs.ko /usr/local/lib/zaptel/wct1xxp.ko /usr/local/lib/zaptel/wct4xxp.ko /usr/local/lib/zaptel/wcte11xp.ko /usr/local/lib/zaptel/wcte12xp.ko /usr/local/lib/zaptel/zaphfc.ko /usr/local/lib/zaptel/zaptel.ko /usr/local/lib/zaptel/ztdummy.ko /usr/local/etc/rc.d/zaptel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]