Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jul 2012 22:42:00 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        George Mitchell <george+freebsd@m5p.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 9.0-STABLE: Can't umount umass device
Message-ID:  <1341376920.1097.46.camel@revolution.hippie.lan>
In-Reply-To: <4FF3918F.1080002@m5p.com>
References:  <4FF3918F.1080002@m5p.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2012-07-03 at 20:42 -0400, George Mitchell wrote:
> uname -a:
> FreeBSD wonderland.m5p.com 9.0-STABLE FreeBSD 9.0-STABLE #9: Sun Jun  3 
> 10:01:09 EDT 2012 
> george@wonderland.m5p.com:/usr/obj/usr/src/sys/WONDERLAND  amd64
> 
> dmesg | grep umass:
> umass0: <Bulk-In, Bulk-Out, Interface> on usbus2
> umass0:  SCSI over Bulk-Only; quirks = 0x4000
> umass0:3:0:-1: Attached to scbus3
> (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
> (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
> (probe0:umass-sim0:0:0:0): SCSI status: Check Condition
> (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not 
> ready to ready change, medium may have changed)
> da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
> 
> # mount -t msdosfs /dev/da0s1 /flash
> # umount /flash
> umount: unmount of /flash failed: Device busy
> 
> -- George Mitchell

Are you running a desktop environment that automatically launches
gam_server to watch for changes on mounted filesystems?  If so, the fix
is to edit /usr/local/etc/gamin/gaminrc and tell it to use polling
rather than kernel notification on the mount points you use for
removable media.

-- Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1341376920.1097.46.camel>