"printk" does not print

Stephan Linke Stephan.Linke at epygi.de
Tue Mar 4 03:02:40 EST 2003


Hi,

if your startup skript changes the console log level in /proc/sys/kernel/printk maybe not all messages are displayed on console. But
you can still look into /var/log/messages.

Regards, Stephan

> -----Original Message-----
> From: owner-linuxppc-embedded at lists.linuxppc.org
> [mailto:owner-linuxppc-embedded at lists.linuxppc.org]On Behalf Of Bret
> Indrelee
> Sent: Montag, 3. Marz 2003 15:46
> To: Ing.Gianfranco Morandi
> Cc: LinuxPPC
> Subject: Re: "printk" does not print
>
>
>
> On Mon, 3 Mar 2003, Ing.Gianfranco Morandi wrote:
> > Hi to all,
> >
> > I'm trying to trace the execution path of a custom ISDN driver, and I have
> > used some printk() instructions to give some messages out.
> >
> > Now, everything is going well, but when I try to open the ttyI0 device (or
> > ttyIx it is the same) the printk() that I have placed into the file
> > isdn_tty.c does not print any messages. I am sure that such procedure has
> > been executed because I have placed a breakpoint on the "isdn_tty_open()"
> > and the program stopped.
> >
> > Anybody has an idea what happens?
>
> You probably neglected to set a KERN_ level.
>
> See if they are in your dmesg or messages file, you might be sending them
> to syslog but not the screen.
>
> -Bret
>
> --
> Bret Indrelee                 QLogic Corporation
> Bret.Indrelee at qlogic.com      6321 Bury Drive, St 13, Eden Prairie, MN 55346
>
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list