* writing to serial console
@ 2002-07-04 15:14 Lee Chin
2002-07-04 15:22 ` Jan-Benedict Glaw
2002-07-04 22:32 ` Keith Owens
0 siblings, 2 replies; 3+ messages in thread
From: Lee Chin @ 2002-07-04 15:14 UTC (permalink / raw)
To: linux-kernel
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?
Thanks
Lee
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: writing to serial console
2002-07-04 15:14 writing to serial console Lee Chin
@ 2002-07-04 15:22 ` Jan-Benedict Glaw
2002-07-04 22:32 ` Keith Owens
1 sibling, 0 replies; 3+ messages in thread
From: Jan-Benedict Glaw @ 2002-07-04 15:22 UTC (permalink / raw)
To: linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: writing to serial console
2002-07-04 15:14 writing to serial console Lee Chin
2002-07-04 15:22 ` Jan-Benedict Glaw
@ 2002-07-04 22:32 ` Keith Owens
1 sibling, 0 replies; 3+ messages in thread
From: Keith Owens @ 2002-07-04 22:32 UTC (permalink / raw)
To: linux-kernel
On Thu, 04 Jul 2002 10:14:50 -0500,
"Lee Chin" <leechin@mail.com> wrote:
>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?
printk() and a serial console. Console output does not occur until
console_init(). To debug problems that occur before console_init(),
see these patches.
http://marc.theaimsgroup.com/?l=linux-kernel&m=101072840225142&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=102386369913669&w=2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-04 22:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-04 15:14 writing to serial console Lee Chin
2002-07-04 15:22 ` Jan-Benedict Glaw
2002-07-04 22:32 ` Keith Owens
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.