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. -- Alexander MotinReceived on Sat Aug 17 2013 - 14:41:45 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC