Re: commit 554f76962d3a6eb5110415f1591aca83f96a84ae hangs USB for vmware 7.0.1

Petr Vandrovec
2010-03-06T03:45:38Z

Linus Torvalds wrote:
>
> On Sat, 6 Mar 2010, Jeff Chua wrote:
>> Linux version v2.6.33-5399-gcc7889f with reiser3 and vmware-7.0.1
>>
>> Starting vmware just hang even before displaying the main GUI. Reverting
>> 554f76962d3a6eb5110415f1591aca83f96a84ae solves the problem.
>>
>> It seems vmware is trying to access the USB but this commit blocks it.
>>
>> So, is this a vmware problem or shall this be reverted?

Hello,
does your box hang, or is it just vmware process that is hung? I've
noticed that my box here at work has this change too, and I do not see
any hang - neither in kernel, or in GUI startup, nor in test sample:

open("/proc/bus/usb/devices", O_RDWR) = 3
poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
poll([{fd=3, events=POLLIN}], 1, 5000) = 0 (Timeout)
exit_group(0) = ?
petr-dev3:/tmp# uname -a
Linux petr-dev3 2.6.33-64-05079-g6517b45-dirty #51 SMP PREEMPT Thu Mar 4
20:29:55 PST 2010 x86_64 GNU/Linux

Petr

[Removed Eli from CC. He left.]

>
> It's almost certainly a deadlock through some path that wasn't tested.
>
> Can you enable lockdep on that kernel when you run vmware, which should
> give us a nice callchain etc, and hopefully make it very obvious what goes
> on.
>
> Reverting it is obviously an option, but with some more info maybe there's
> a better solution.
>
> (It may be that the deadlock is obvious to Oliver/Greg even without any
> lockdep chains, of course, but still worth trying, I suspect)
>
> Linus