Re: USB gadgets with configfs hang reboot

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

 





On 26.04.2016 19:49, Tony Lindgren wrote:
* Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx> [160426 09:46]:


On 26.04.2016 18:03, Alan Stern wrote:
On Tue, 26 Apr 2016, Felipe Balbi wrote:

Is there a reason why a process (pnatd in this particular case) doesn't
get killed on reboot?

there might be, and that's probably the bug we're trying to figure
out. But so far, no idea.

One possible reason is that the process is in an uninterruptible wait
inside the kernel, waiting for something that isn't going to happen.

The process waits in poll(&fds, 1u, -1), where fds contains only the fd of
/dev/ttyGS2. Nothing suspicious I can see here.

I think the easy way to reproduce this is to start getty or minicom
on /dev/ttyG* and disconnect the USB cable.


At least here, it is not needed to have USB cable connected, as soon as /dev/ttyG* is open()-ed, it is not possible to reboot/powerdown the device.

Ivo
--
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