kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* print log
@ 2013-02-03 22:41 horseriver
  2013-02-04  8:41 ` Grzegorz Dwornicki
  0 siblings, 1 reply; 4+ messages in thread
From: horseriver @ 2013-02-03 22:41 UTC (permalink / raw)
  To: kernelnewbies

hi:)

   When kernel booting,there are a serial log printed on the screen,
   like this:  Initial network ...
   can I redirect these logs into a logfile?How can I do ?

Thanks!

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

* print log
  2013-02-04  8:41 ` Grzegorz Dwornicki
@ 2013-02-04  0:54   ` horseriver
  2013-02-04 11:13     ` Grzegorz Dwornicki
  0 siblings, 1 reply; 4+ messages in thread
From: horseriver @ 2013-02-04  0:54 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Feb 04, 2013 at 09:41:51AM +0100, Grzegorz Dwornicki wrote:
> 1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be
> created by syslog and one of them might contain this information.
> 
> 2. Use dmesg command and grep it like this: dmesg | grep "Initial Network"
> > myfile.txt

   Thanks!
   If I booting from bochs ,can I redirect these logs to the host OS? 
  

> 4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisa?(a):
> 
> > hi:)
> >
> >    When kernel booting,there are a serial log printed on the screen,
> >    like this:  Initial network ...
> >    can I redirect these logs into a logfile?How can I do ?
> >
> > Thanks!
> >
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >

> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

* print log
  2013-02-03 22:41 print log horseriver
@ 2013-02-04  8:41 ` Grzegorz Dwornicki
  2013-02-04  0:54   ` horseriver
  0 siblings, 1 reply; 4+ messages in thread
From: Grzegorz Dwornicki @ 2013-02-04  8:41 UTC (permalink / raw)
  To: kernelnewbies

1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be
created by syslog and one of them might contain this information.

2. Use dmesg command and grep it like this: dmesg | grep "Initial Network"
> myfile.txt
4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisa?(a):

> hi:)
>
>    When kernel booting,there are a serial log printed on the screen,
>    like this:  Initial network ...
>    can I redirect these logs into a logfile?How can I do ?
>
> Thanks!
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130204/ff797483/attachment.html 

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

* print log
  2013-02-04  0:54   ` horseriver
@ 2013-02-04 11:13     ` Grzegorz Dwornicki
  0 siblings, 0 replies; 4+ messages in thread
From: Grzegorz Dwornicki @ 2013-02-04 11:13 UTC (permalink / raw)
  To: kernelnewbies

I have seen articles about using console port to redirect kernel messages
from VM to host. You may want to look for details in google. I don't
remeber the ugly details...
 4 lut 2013 11:38, "horseriver" <horserivers@gmail.com> napisa?(a):

> On Mon, Feb 04, 2013 at 09:41:51AM +0100, Grzegorz Dwornicki wrote:
> > 1. Look in /var/log for dmesg, kernel.log or kmsg. These files cn be
> > created by syslog and one of them might contain this information.
> >
> > 2. Use dmesg command and grep it like this: dmesg | grep "Initial
> Network"
> > > myfile.txt
>
>    Thanks!
>    If I booting from bochs ,can I redirect these logs to the host OS?
>
>
> > 4 lut 2013 09:25, "horseriver" <horserivers@gmail.com> napisa?(a):
> >
> > > hi:)
> > >
> > >    When kernel booting,there are a serial log printed on the screen,
> > >    like this:  Initial network ...
> > >    can I redirect these logs into a logfile?How can I do ?
> > >
> > > Thanks!
> > >
> > > _______________________________________________
> > > Kernelnewbies mailing list
> > > Kernelnewbies at kernelnewbies.org
> > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> > >
>
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130204/b2c846fc/attachment.html 

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

end of thread, other threads:[~2013-02-04 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-03 22:41 print log horseriver
2013-02-04  8:41 ` Grzegorz Dwornicki
2013-02-04  0:54   ` horseriver
2013-02-04 11:13     ` Grzegorz Dwornicki

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).