All of lore.kernel.org
 help / color / mirror / Atom feed
From: shmera@gmail.com (Ramesh Rajagopal)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Fwd: register_console is getting stuck in acquire_console_sem()
Date: Fri, 8 Feb 2013 17:13:50 +0530	[thread overview]
Message-ID: <CAF0w+pXQigddWNHsAOMyhGbnd-4VJWYWqH6iaCKjYdpctufmng@mail.gmail.com> (raw)
In-Reply-To: <CAF0w+pVW8d94+pmKL10JvAajbonweJOPOM3Q3Uq6fyt_jz=byA@mail.gmail.com>

---------- Forwarded message ----------
From: Ramesh Rajagopal <shmera@gmail.com>
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 

           reply	other threads:[~2013-02-08 11:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAF0w+pVW8d94+pmKL10JvAajbonweJOPOM3Q3Uq6fyt_jz=byA@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF0w+pXQigddWNHsAOMyhGbnd-4VJWYWqH6iaCKjYdpctufmng@mail.gmail.com \
    --to=shmera@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.