Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Triggering kgdb on linux-2.6.37 with ttyOx
Date: Mon, 21 Mar 2011 01:14:59 -0400	[thread overview]
Message-ID: <20110321051459.GA5575@denix.org> (raw)
In-Reply-To: <AANLkTik0yYB28d951apBxi9R0uVHHGFPcijtrjxsNpu6@mail.gmail.com>

On Fri, Mar 18, 2011 at 09:33:13AM +0100, Tarjei Knapstad wrote:
> In recent kernels the omap serial consoles have been renamed from
> ttySx to ttyOx. This seems to be an issue for kgdb. Setting kernel
> boot parameters has no effect:
> 
> kgdb=ttyO2,115200n8 kgdboc=ttyO2,115200n8 kgdbwait
> 
> and attempting to trigger kgdb from the console also fails:
> 
> # echo ttyO2 > /sys/module/kgdboc/parameters/kgdboc
> -bash: echo: write error: No such device
> 
> Attempting to send 'g' to sysrequest also does nothing, not sure if
> there has been changes to the magic sysrq stuff as well?
> # echo g > /proc/sysrq-trigger
> [  120.267944] SysRq : HELP : loglevel(0-9) reBoot Crash
> terminate-all-tasks(E) memory-full-oom-kill(F) kill-all-tasks(I) t
> haw-filesystems(J) saK show-memory-usage(M) nice-all-RT-tasks(N)
> powerOff show-registers(P) show-all-timers(Q) unRaw Sync s
> how-task-states(T) Unmount show-blocked-tasks(W)
> 
> I've had a look at the kgdb code, but I can't figure out what to patch
> to make it understand that ttyO2 is a valid terminal. Any suggestions?

Have you tried asking on the linux-omap mailing list[1]?

[1] http://vger.kernel.org/vger-lists.html#linux-omap

-- 
Denys



      reply	other threads:[~2011-03-21  5:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18  8:33 Triggering kgdb on linux-2.6.37 with ttyOx Tarjei Knapstad
2011-03-21  5:14 ` Denys Dmytriyenko [this message]

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=20110321051459.GA5575@denix.org \
    --to=denis@denix.org \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox