mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* reliable debug output
@ 2001-09-05 10:55 Christian Widmer
  2001-09-05 11:50 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Widmer @ 2001-09-05 10:55 UTC (permalink / raw)
  To: linux-kernel

when debugging drivers using printk i've the problem that most often 
the msg passed to printk don't show up on the console since the machine 
crashed before. i also what to use my own ASSERT macros which halt the 
machine immediatly on an error. i could write some functions that write 
the debug string to the serial port but this is impractical since if've 
a cluster of pc and i can't connect them all to some serial lines for 
debugging. are there some functions which write directly into the graphic 
cards ram assuming that thy operate in console mode, no x-server running?
or is ther any other way to for reliable debug prints.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reliable debug output
  2001-09-05 10:55 reliable debug output Christian Widmer
@ 2001-09-05 11:50 ` Alan Cox
  2001-09-05 12:27   ` Christian Widmer
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2001-09-05 11:50 UTC (permalink / raw)
  To: cwidmer; +Cc: linux-kernel

> when debugging drivers using printk i've the problem that most often 
> the msg passed to printk don't show up on the console since the machine 
> crashed before. i also what to use my own ASSERT macros which halt the 

printk writes to the console synchronously unless you have configured
syslogk to process the messages and log them itself. You may want to boot
with syslogk disabled and see if that is your problem.

2.4 also supports serial console which can be useful when the box insists on
crashing in X11

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: reliable debug output
  2001-09-05 11:50 ` Alan Cox
@ 2001-09-05 12:27   ` Christian Widmer
  0 siblings, 0 replies; 3+ messages in thread
From: Christian Widmer @ 2001-09-05 12:27 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

do i need klogd?

On Wednesday 05 September 2001 13:50, Alan Cox wrote:
> > when debugging drivers using printk i've the problem that most often
> > the msg passed to printk don't show up on the console since the machine
> > crashed before. i also what to use my own ASSERT macros which halt the
>
> printk writes to the console synchronously unless you have configured
> syslogk to process the messages and log them itself. You may want to boot
> with syslogk disabled and see if that is your problem.
>
> 2.4 also supports serial console which can be useful when the box insists
> on crashing in X11

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-09-05 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-05 10:55 reliable debug output Christian Widmer
2001-09-05 11:50 ` Alan Cox
2001-09-05 12:27   ` Christian Widmer

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®