Re: [PATCH 2/2] USB: hub: change the locking in hub_activate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 1 Sep 2016, Vaibhav Hiremath wrote:

> >> I can put prints to trace the execution flow, lets see what comes out
> >> from it.
> > How easily can you reproduce the problem?
> 
> Very easily. I would say 7-8 times out of 10.

Then you can add a printk in hub_activate() just before the call to
device_lock().  Maybe print out the values of the count, owner, and
magic fields of hdev->dev.mutex.  Or anything else you can think of
that might be helpful.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux