Date: Sun, 24 Jun 2007 09:25:13 GMT From: Nino Ivanov <vion_vanion@gmx.net> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/113981: umount -f /mnt causing a crash if USB-stick is removed before umount Message-ID: <200706240925.l5O9PDQk027147@www.freebsd.org> Resent-Message-ID: <200706240930.l5O9U7xL058845@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113981 >Category: usb >Synopsis: umount -f /mnt causing a crash if USB-stick is removed before umount >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 24 09:30:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nino Ivanov >Release: FreeBSD 6.2 >Organization: >Environment: FreeBSD .localdomain 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Dear Sir or Madam, umount -f /mnt causes a crash for me under the following circumstances: - Plug in a USB-Stick - Issue the command: sudo mount_msdosfs /dev/da0s1 /mnt - Plug out the USB-Stick - Issue the command: sudo umount -f /mnt My system then crashes, whether typing that in an xterm or from the command-line with no X started. I have been able to cause this behaviour on two different machines. I did the same with a floppy disk: No crash occured; I was instead returned to the command prompt. If I simply issue umount -f /mnt without mounting anything beforehand, no crash happens, either. I know this is not the way unmounting should be done; yet I mention it out of stability considerations. Kind Regards, Nino Ivanov >How-To-Repeat: - Plug in a USB-Stick - Issue the command: sudo mount_msdosfs /dev/da0s1 /mnt - Plug out the USB-Stick - Issue the command: sudo umount -f /mnt >Fix: Not a fix, but it does not happen with floppies for me. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706240925.l5O9PDQk027147>