Date: Fri, 10 Jul 2009 15:46:24 +0200 (CEST) From: Alexander Best <alexbestms@math.uni-muenster.de> To: Hans Petter Selasky <hselasky@c2i.net>, <freebsd-usb@freebsd.org>, <freebsd-current@freebsd.org> Subject: Re: detaching usb device without unmounting it Message-ID: <permail-20090710134624f7e55a9d00000439-a_best01@message-id.uni-muenster.de> In-Reply-To: <200907101541.16698.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
actually i'm running current: FreeBSD otaku 8.0-BETA1 FreeBSD 8.0-BETA1 #0 r195534: Fri Jul 10 11:52:48 CEST 2009 root@otaku:/usr/obj/usr/src/sys/ARUNDEL i386 updated my kernel sources a few hours ago. should i report this to the freebsd-current@ list then? 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20090710134624f7e55a9d00000439-a_best01>