From owner-freebsd-current@FreeBSD.ORG Fri Jul 10 13:48:02 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1402106566C; Fri, 10 Jul 2009 13:48:02 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-out1.uni-muenster.de (ZIVM-OUT1.UNI-MUENSTER.DE [128.176.192.8]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9228FC16; Fri, 10 Jul 2009 13:48:02 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) X-IronPort-AV: E=Sophos;i="4.42,378,1243807200"; d="scan'208";a="276859969" Received: from zivmaildisp2.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.143]) by zivm-relay1.uni-muenster.de with ESMTP; 10 Jul 2009 15:48:01 +0200 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 5555B1B07E4; Fri, 10 Jul 2009 15:48:01 +0200 (CEST) Date: Fri, 10 Jul 2009 15:48:01 +0200 (CEST) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Hans Petter Selasky , , Message-ID: In-Reply-To: <200907101541.16698.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: detaching usb device without unmounting it X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2009 13:48:03 -0000 oh. i just did. ;-) didn't see you put freebsd-current@ in the "To:" field. alex Hans Petter Selasky schrieb am 2009-07-10: > This is not an USB issue. > Try -current. > --HPS > On Friday 10 July 2009 11:05:48 Alexander Best wrote: > > since the usb2 stack allows one to detach a mounted usb device > > without the > > kernel panic'ing i'd like to know which steps are necessary to be > > taken > > after detaching a device? because i tried the following: > > 1. attach device > > 2. mount device > > 3. detach device > > when i tried to unmount the device i got the follwing error > > message: > > g_vfs_done():label/usb[WRITE(offset=19456, length=4096)]error = 6 > > and the console got locked up (ctr+c didn't work). so i tried to > > reboot > > using ctrl+alt+del. however after the message: "All buffers synced" > > there > > was no reboot. so i had to do a hard reset. however after the reset > > freebsd > > fsck'ed my harddrives. so they didn't unmount properly. > > should i have used `umount -f`? or just plug the device back in > > again? or > > isn't it possible to unmount a device that has already been > > detached? > > i'm running r195476 btw. > > alex > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to > > "freebsd-usb-unsubscribe@freebsd.org"