From: "srinivas naga vutukuri" <srinivas.vutukuri@gmail.com>
To: "selvakumar nagendran" <kernelselva@yahoo.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Printk output on console
Date: Tue, 21 Dec 2004 21:49:52 +0530 [thread overview]
Message-ID: <000901c4e778$e9ba29c0$fd3465cb@y3e5j4> (raw)
In-Reply-To: 20041221094302.14478.qmail@web60608.mail.yahoo.com
Hi Selva,
You can go through, one of the help link on the log msgs...
http://www.hk8.org/old_web/linux/run/ch08_03.htm
I think, they(kernel printk's) are directing to the console only...
Or you can observe, initially while booting it up, after console initiation
happened, it starts buffering out all the printk's output to the console
only.
But i did't remember, the code flow, at a particular point, the X or
something
the shell will take over of it...But any emergency msgs, from the kernel,
will be
coming onto the Console only...
I think, for your error msg, you can better google it...Its not able to
recognise,
the boot partition may be...
Regards,
srinivas.
----- Original Message -----
From: "selvakumar nagendran" <kernelselva@yahoo.com>
To: "srinivas naga vutukuri" <srinivas.vutukuri@gmail.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Tuesday, December 21, 2004 3:13 PM
Subject: Re: Printk output on console
> Hi srinivas,
> My question is "We are having lot more printk
> statements in the kernel source files. While the
> kernel is in execution where the output of all these
> statements will go? and can we redirect the output of
> printk to our console?
> Please help me. Also I have one more error after
> having compiled my new kernel 2.6.9. After booting it
> shows the following error
>
> "Kernel panic syncing unable to mount block(0,0) VFS
> specify root =LABEL correctly"
> Do u know how to deal with it?
>
> Thanks,
> selva
> --- srinivas naga vutukuri
> <srinivas.vutukuri@gmail.com> wrote:
>
> > Hi Selva,
> >
> > I understood the question as where all/what all
> > printks (with
> > line nos and the file names)
> > you are looking for is it. I think, in a normal
> > printf using the
> > macros __FILE__ and __LINE__ will give that...
> >
> > ex:
> > printk(KERN_ERR "%s: Driver Initialisation failed",
> > __FILE__);
> > Is this helpful...
> >
> > Regards,
> > srinivas.
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at http://www.tux.org/lkml/
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail
next prev parent reply other threads:[~2004-12-21 16:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 9:24 Printk output on console srinivas naga vutukuri
2004-12-21 9:43 ` selvakumar nagendran
2004-12-21 16:19 ` srinivas naga vutukuri [this message]
2004-12-23 11:04 ` Luca Falavigna
-- strict thread matches above, loose matches on Subject: below --
2004-12-21 6:32 selvakumar nagendran
2004-12-27 10:34 ` Robin Jose
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='000901c4e778$e9ba29c0$fd3465cb@y3e5j4' \
--to=srinivas.vutukuri@gmail.com \
--cc=kernelselva@yahoo.com \
--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