From owner-freebsd-firewire Tue Nov 19 9:50:16 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23B8937B401 for ; Tue, 19 Nov 2002 09:50:12 -0800 (PST) Received: from monsterjam.org (rdu74-164-138.nc.rr.com [24.74.164.138]) by mx1.FreeBSD.org (Postfix) with SMTP id BDA8543E75 for ; Tue, 19 Nov 2002 09:50:11 -0800 (PST) (envelope-from jason@monsterjam.org) Received: (qmail 30891 invoked from network); 19 Nov 2002 17:50:12 -0000 Received: from unknown (HELO monsterjam.org) (10.1.1.3) by 0 with SMTP; 19 Nov 2002 17:50:12 -0000 Date: Tue, 19 Nov 2002 12:50:11 -0500 (EST) From: jason To: firewire@freebsd.org Subject: module wont unload? Message-ID: <20021119124214.P30327-100000@monsterjam.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-firewire@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG customer is running FreeBSD 4.6.1-RELEASE-p7 and was previously running firewire-20020717.tar.gz was able to load the modules fine and mount a firewire drive.. that drive went bad, and he got a a maxtor 5000dv. I saw the following messages in the syslog, but couldnt get the drive to mount..so I then unloaded the old kernel modules (sbp and firewire). I then downloaded /compiled/installed the new modules and I still couldnt figure out what the /dev/xxxxxx name was.. so I tried unloading the sbp and firewire modules. but now the firewire module wont unload because it says its in use.. linkerunload: attempt to unload file that was loaded by the kernel linkerunload: attempt to unload file that was loaded by the kernel linkerunload: attempt to unload file that was loaded by the kernel linkerunload: attempt to unload file that was loaded by the kernel linkerunload: attempt to unload file that was loaded by the kernel su-2.05a# kldunload firewire kldunload: can't unload file: Device busy any ideas? how can I find the /dev/xxxx name? the old one was /dev/sda1. but that didnt seem to work. Sorry, dont have the messages. do I have to reboot to get that kernel module unloaded? Jason Nov 16 14:23:13 crusher /kernel: firewire0: BUS reset Nov 16 14:23:13 crusher /kernel: firewire0: node_id = 0x0800ffc0, Bus reset failure Nov 16 14:23:13 crusher /kernel: firewire0: BUS reset Nov 16 14:23:13 crusher last message repeated 11 times Nov 16 14:23:13 crusher /kernel: firewire0: node_id = 0x8800ffc0, non CYCLEMASTER mode Nov 16 14:23:13 crusher /kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) Nov 16 14:23:13 crusher /kernel: fw_set_bus_manager: 63->0 (loop=0) Nov 16 14:23:13 crusher /kernel: send phy_config root_node=-1 gap_count=1 Nov 16 14:23:13 crusher /kernel: start AT DMA status=11 Nov 16 14:23:14 crusher /kernel: bus_explore done Nov 16 14:23:14 crusher /kernel: firewire0: BUS reset Nov 16 14:23:14 crusher /kernel: firewire0: BUS reset Nov 16 14:23:14 crusher /kernel: firewire0: node_id = 0x8800ffc0, non CYCLEMASTER mode Nov 16 14:23:14 crusher /kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) Nov 16 14:23:14 crusher /kernel: fw_set_bus_manager: 63->0 (loop=0) Nov 16 14:23:14 crusher /kernel: send phy_config root_node=-1 gap_count=1 Nov 16 14:23:14 crusher /kernel: start AT DMA status=12 Nov 16 14:23:14 crusher /kernel: firewire0:Discover new S400 device ID:0010b9ff001e8e34 Nov 16 14:23:14 crusher /kernel: bus_explore done Nov 16 14:23:14 crusher /kernel: Nov 16 14:23:14 crusher /kernel: sbp_post_explore: EUI:0010b9ff001e8e34 spec=0 key=0. Nov 16 14:32:17 crusher su: jason to root on /dev/ttyp3 Nov 17 08:19:54 crusher su: jason to root on /dev/ttyp3 Nov 17 10:24:24 crusher /kernel: sbp_detach Nov 17 10:24:24 crusher /kernel: firewire0: BUS reset Nov 17 10:24:24 crusher last message repeated 14 times Nov 17 10:24:24 crusher /kernel: firewire0: node_id = 0x8800ffc0, non CYCLEMASTER mode Nov 17 10:24:24 crusher /kernel: firewire0: 2 nodes, maxhop <= 1, cable IRM = 0 (me) Nov 17 10:24:24 crusher /kernel: fw_set_bus_manager: 63->0 (loop=0) Nov 17 10:24:24 crusher /kernel: send phy_config root_node=-1 gap_count=1 Nov 17 10:24:24 crusher /kernel: start AT DMA status=12 Nov 17 10:24:24 crusher /kernel: sbp0: detached Nov 17 10:24:25 crusher /kernel: bus_explore done Nov 17 10:24:30 crusher /kernel: firewire0: detached Nov 17 10:24:30 crusher /kernel: fwohci0: detached Nov 17 10:25:32 crusher su: jason to root on /dev/ttyp4 Nov 17 10:27:46 crusher /kernel: fwohci0: mem 0xfeaf8000-0x feafbfff,0xfeaff800-0xfeafffff irq 3 at device 9.0 on pci2 Nov 17 10:27:46 crusher /kernel: fwohci0: PCI bus latency is 250. Nov 17 10:27:46 crusher /kernel: cache size 4. Nov 17 10:27:46 crusher /kernel: fwohci0: OHCI version 1.0 (ROM=1) Nov 17 10:27:46 crusher /kernel: fwohci0: No. of Isochronous channel is 4. Nov 17 10:27:46 crusher /kernel: fwohci0: resetting OHCI...done (0) Nov 17 10:27:46 crusher /kernel: fwohci0: BUS_OPT 0xa002 -> 0xf800a002 Nov 17 10:27:46 crusher /kernel: fwohci0: Link 1394a available S400, 3 ports, maxrec 2048 bytes. Nov 17 10:27:46 crusher /kernel: fwohci0: Enable 1394a Enhancements Nov 17 10:30:11 crusher /kernel: sbp_identify Nov 17 12:44:16 crusher proftpd[14911]: localhost (81.49.65.38[81.49.65.38]) - Format-Nic kname 'write' is not defined. Nov 17 12:44:16 crusher proftpd[14911]: localhost (81.49.65.38[81.49.65.38]) - Format-Nic kname 'auth' is not defined. Nov 17 12:44:16 crusher proftpd[14911]: localhost (81.49.65.38[81.49.65.38]) - no such us er 'anonymous' Nov 17 12:44:16 crusher last message repeated 4 times Nov 17 12:44:16 crusher proftpd[14911]: localhost (81.49.65.38[81.49.65.38]) - USER anony mous: no such user found from 81.49.65.38 [81.49.65.38] to 192.168.1.99:21 Nov 18 09:49:50 crusher su: jason to root on /dev/ttyp3 Nov 18 09:53:46 crusher /kernel: linkerunload: attempt to unload file that was loaded by the kernel -- ======================================== | Jason Welsh jason@monsterjam.org | | http://monsterjam.org | ======================================== The trouble with being poor is that it takes up all your time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message