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.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"