<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Ramesh Rajagopal</b> <span dir="ltr"><<a href="mailto:shmera@gmail.com">shmera@gmail.com</a>></span><br>Date: Fri, Feb 8, 2013 at 5:12 PM<br>
Subject: register_console is getting stuck in acquire_console_sem()<br>To: <a href="mailto:kernelnewbies@nl.linux.org">kernelnewbies@nl.linux.org</a>, <a href="mailto:majordomo@vger.kernel.org">majordomo@vger.kernel.org</a><br>
<br><br>I am working on 2.6.35.7-02894-g0482b09-dirty this kernel. <br><br>I am trying to use g_serial as console(gadget serial). For that I am calling register_console() from gserial_setup() function. <br>
But this is getting stuck at acquire_console_sem(). When I printed semaphore count it is infact 1, but internally it is <br>getting stuck at down() function spin lock(). Any idea what it could be ? <br><br>I have patch which enables gserial as console. <br>
<br>I want to get the kernel prints on USB port(don't have uart on our board). <br><br><br>Regards,<br>Ramesh.<br>
</div><br>