From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: linux-kernel@vger.kernel.org
Subject: Re: writing to serial console
Date: Thu, 4 Jul 2002 17:22:03 +0200 [thread overview]
Message-ID: <20020704152203.GI31342@lug-owl.de> (raw)
In-Reply-To: <20020704151450.75171.qmail@mail.com>
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
On Thu, 2002-07-04 10:14:50 -0500, Lee Chin <leechin@mail.com>
wrote in message <20020704151450.75171.qmail@mail.com>:
> Hi,
> I'm trying to write status messages to the serial console as the kernel boots up. I tried writing to ttyS0 in main.c, but the kernel crashes with a paging violation. Is there an easy way to do this?
Simply use printk() and boot up your kernel with "console=ttyS0" or like
that. See ./linux/Documentation/serial-console.txt .
MfG, JBG
--
Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481
-- New APT-Proxy written in shell script --
http://lug-owl.de/~jbglaw/software/ap2/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2002-07-04 15:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-04 15:14 Lee Chin
2002-07-04 15:22 ` Jan-Benedict Glaw [this message]
2002-07-04 22:32 ` Keith Owens
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=20020704152203.GI31342@lug-owl.de \
--to=jbglaw@lug-owl.de \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®