Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2013 00:55:03 +0300
From:      Alexander Panyushkin <vsityz@gmail.com>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        Hans Petter Selasky <hps@bitfrost.no>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: USB no proper work
Message-ID:  <520FF137.1020709@gmail.com>
In-Reply-To: <520FA7C3.2060708@FreeBSD.org>
References:  <520E8602.5050408@gmail.com> <520E8842.4020609@bitfrost.no> <520E8DE1.1090609@gmail.com> <520F16B6.1070106@bitfrost.no> <520FA7C3.2060708@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
17.08.2013 19:41, Alexander Motin пишет:
> On 17.08.2013 09:22, Hans Petter Selasky wrote:
>> On 08/16/13 22:38, Alexander Panyushkin wrote:
>>> ========This deatach==========
>>> Aug 16 23:24:05 scorpion kernel: ugen1.2: <Generic> at usbus1
>>> (disconnected)
>>> Aug 16 23:24:05 scorpion kernel: umass0: at uhub0, port 4, addr 2
>>> (disconnected)
>>> Aug 16 23:24:05 scorpion kernel: (da0:umass-sim0:0:0:0): lost device 
>>> - 0
>>> outstanding, 2 refs
>>
>> Hi,
>>
>> The 2 refs is a problem that someone is keeping the device opened.
>> That's the problem and that's what is stopping the enumeration thread.
>
> 2 refs may be not a CAM bug. One of them can be GEOM reference and 
> another is open device reference. What were the file systems on the 
> device and were they active/mounted during detach?
>
> Just recently I tested hot-plug device with ZFS on 10-CURRENT using 
> USB sticks and found no problems in either CAM or USB stack around 
> device disconnect.
>

On USB device  FAT-32 file system.  When I removed flash drive, the file 
system has been unmounted.




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