From owner-freebsd-firewire Thu Jan 9 5:53: 5 2003 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 EAF7737B401 for ; Thu, 9 Jan 2003 05:53:03 -0800 (PST) Received: from globalit.internetx.de (globalit.internetx.de [62.116.147.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A261443E4A for ; Thu, 9 Jan 2003 05:53:01 -0800 (PST) (envelope-from H@Schmalzbauer.de) Received: from hscpr (port-212-202-225-90.reverse.qsc.de [212.202.225.90]) (authenticated bits=0) by globalit.internetx.de (8.12.2/8.12.2) with ESMTP id h09DqstA010842; Thu, 9 Jan 2003 14:52:54 +0100 From: "Harald Schmalzbauer" To: "Hidetoshi Shimokawa" Cc: Subject: RE: How to detach da0? (when unpluging harddisk) Date: Thu, 9 Jan 2003 14:52:57 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: 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 Hidetoshi Shimokawa wrote: > At Thu, 9 Jan 2003 12:02:26 +0100, > Harald Schmalzbauer wrote: >> >> Hello, >> >> these are my first steps with firewire and I'm astonished how >> beautiful things are working!!! Great work!!! >> I have an Adaptec firewire controller under 5.0-RC2 and when I >> connect my "Advance" external drive (fw & USB2) it's well recognized >> and I get da0. But when I unplug the device and do a "camcontrol >> devlist" I still see the "REXON" da0 and "camcontrol rescan all" is >> just hangig. Also sysinstall for example is not working in this >> state. >> >> So my question is how do I remove a device? > > The driver doesn't detach the device just after unplug to avoid > unexpected detaching of mounted filesystem. > > The device will be detached if it's not pluged after several bus > reset. Try 'fwcontrol -r' or plug and unplug another device several > times. > > Fwcontrol will be included in RC3 or you can get it from > http://people.freebsd.org/~simokawa/firewire/ I just cvsuped RELENG_5_0 for a softupdate problem and now I have fwcontrol! Thanks a lot, -Harry > > /\ Hidetoshi Shimokawa > \/ simokawa@sat.t.u-tokyo.ac.jp > PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message