From: James Petterson <jpetterson@PARKS.com.br>
To: Rod Boyce <rod_boyce@DMCWave.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Redirecting printk to a file
Date: Wed, 1 Aug 2001 10:30:17 -0300 [thread overview]
Message-ID: <01080110301702.01194@james.parks.com.br> (raw)
In-Reply-To: <3B674930.EAD7ED1C@mvista.com>
On Tuesday 31 July 2001 21:11, Dan Malek wrote:
> Rod Boyce wrote:
> > We are having a bit of a quandary we are trying to redirect the output of
> > printk
>
> Don't assign a system console, or bump the loglevel real high.
> Then just use the syslog daemon to move it from the kernel circular
> buffer to a file. This is all standard Linux stuff.
>
> -- Dan
For debugging purposes, there's another option that I've found easier to
setup:
1. Set the loglevel to a high priority
echo 1 > /proc/sys/kernel/printk
2. Open a telnet session to your board and, in the opened session:
cat /proc/kmsg
James
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
prev parent reply other threads:[~2001-08-01 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-31 23:51 Redirecting printk to a file Rod Boyce
2001-08-01 0:11 ` Dan Malek
2001-08-01 13:30 ` James Petterson [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=01080110301702.01194@james.parks.com.br \
--to=jpetterson@parks.com.br \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=rod_boyce@DMCWave.com \
/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;
as well as URLs for NNTP newsgroup(s).