Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jul 2012 09:17:52 -0400
From:      George Mitchell <george@m5p.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: 9.0-STABLE: Can't umount umass device
Message-ID:  <4FF44280.3090300@m5p.com>
In-Reply-To: <1341376920.1097.46.camel@revolution.hippie.lan>
References:  <4FF3918F.1080002@m5p.com> <1341376920.1097.46.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/04/12 00:42, Ian Lepore wrote:
> 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
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"

Thanks, this was the problem.  By the way, here between these two rows
of equals signs is the total amount of documentation that the gamin
port/package installed on my system:
======================================================================
======================================================================
Google showed me what to put in my /usr/local/etc/gamin/gaminrc file:

poll /flash

I appreciate the help!                                     -- George



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