From mboxrd@z Thu Jan 1 00:00:00 1970 From: shmera@gmail.com (Ramesh Rajagopal) Date: Fri, 8 Feb 2013 17:13:50 +0530 Subject: Fwd: register_console is getting stuck in acquire_console_sem() In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org ---------- Forwarded message ---------- From: Ramesh Rajagopal Date: Fri, Feb 8, 2013 at 5:12 PM Subject: register_console is getting stuck in acquire_console_sem() To: kernelnewbies at nl.linux.org, majordomo at vger.kernel.org I am working on 2.6.35.7-02894-g0482b09-dirty this kernel. I am trying to use g_serial as console(gadget serial). For that I am calling register_console() from gserial_setup() function. But this is getting stuck at acquire_console_sem(). When I printed semaphore count it is infact 1, but internally it is getting stuck at down() function spin lock(). Any idea what it could be ? I have patch which enables gserial as console. I want to get the kernel prints on USB port(don't have uart on our board). Regards, Ramesh. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130208/b1389adf/attachment.html