* "printk" does not print @ 2003-03-03 14:15 Ing.Gianfranco Morandi 2003-03-03 14:46 ` Bret Indrelee 0 siblings, 1 reply; 5+ messages in thread From: Ing.Gianfranco Morandi @ 2003-03-03 14:15 UTC (permalink / raw) To: LinuxPPC 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? many thanks Gianfranco ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "printk" does not print 2003-03-03 14:15 "printk" does not print Ing.Gianfranco Morandi @ 2003-03-03 14:46 ` Bret Indrelee 2003-03-03 16:02 ` Stephan Linke 0 siblings, 1 reply; 5+ messages in thread From: Bret Indrelee @ 2003-03-03 14:46 UTC (permalink / raw) To: Ing.Gianfranco Morandi; +Cc: LinuxPPC 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@qlogic.com 6321 Bury Drive, St 13, Eden Prairie, MN 55346 ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: "printk" does not print 2003-03-03 14:46 ` Bret Indrelee @ 2003-03-03 16:02 ` Stephan Linke 2003-03-03 16:38 ` Mark Hatle 0 siblings, 1 reply; 5+ messages in thread From: Stephan Linke @ 2003-03-03 16:02 UTC (permalink / raw) To: Bret Indrelee; +Cc: Linuxppc-Embedded 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@lists.linuxppc.org > [mailto:owner-linuxppc-embedded@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@qlogic.com 6321 Bury Drive, St 13, Eden Prairie, MN 55346 > > > > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "printk" does not print 2003-03-03 16:02 ` Stephan Linke @ 2003-03-03 16:38 ` Mark Hatle 2003-03-03 18:51 ` Ing.Gianfranco Morandi 0 siblings, 1 reply; 5+ messages in thread From: Mark Hatle @ 2003-03-03 16:38 UTC (permalink / raw) To: Stephan Linke; +Cc: Bret Indrelee, Linuxppc-Embedded Stephan Linke wrote: > 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. ...assuming you have klogd/syslogd installed and running... --Mark > Regards, Stephan > > >>-----Original Message----- >>From: owner-linuxppc-embedded@lists.linuxppc.org >>[mailto:owner-linuxppc-embedded@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@qlogic.com 6321 Bury Drive, St 13, Eden Prairie, MN 55346 ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: "printk" does not print 2003-03-03 16:38 ` Mark Hatle @ 2003-03-03 18:51 ` Ing.Gianfranco Morandi 0 siblings, 0 replies; 5+ messages in thread From: Ing.Gianfranco Morandi @ 2003-03-03 18:51 UTC (permalink / raw) To: Mark Hatle, Stephan Linke; +Cc: Bret Indrelee, Linuxppc-Embedded After setting up the right log level, printk now works! many thanks to all Gianfranco ----- Original Message ----- From: "Mark Hatle" <fray@mvista.com> To: "Stephan Linke" <Stephan.Linke@epygi.de> Cc: "Bret Indrelee" <Bret.Indrelee@qlogic.com>; "Linuxppc-Embedded" <linuxppc-embedded@lists.linuxppc.org> Sent: Monday, March 03, 2003 5:38 PM Subject: Re: "printk" does not print > > Stephan Linke wrote: > > 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. > > ...assuming you have klogd/syslogd installed and running... > > --Mark > > > Regards, Stephan > > > > > >>-----Original Message----- > >>From: owner-linuxppc-embedded@lists.linuxppc.org > >>[mailto:owner-linuxppc-embedded@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@qlogic.com 6321 Bury Drive, St 13, Eden Prairie, MN 55346 > > > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-03 18:51 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-03-03 14:15 "printk" does not print Ing.Gianfranco Morandi 2003-03-03 14:46 ` Bret Indrelee 2003-03-03 16:02 ` Stephan Linke 2003-03-03 16:38 ` Mark Hatle 2003-03-03 18:51 ` Ing.Gianfranco Morandi
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).