Skip to contentSkip to conversation

print log

DISCUSSION horseriver 2 participants 4 messages Feb 3, 2013 – Feb 4, 2013

lore
Share & tools
lore

horseriver

author
#0 lore raw

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!

author
#2 lore raw
In reply to Grzegorz Dwornicki
Quoted 5 lines · Grzegorz Dwornicki

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"

Quoted 1 line

myfile.txt

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

Quoted 20 lines

4 lut 2013 09:25, "horseriver" <[email protected]> napisa?(a):

Quoted 6 lines

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 ?

Quoted 7 lines

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

#1 lore raw
In reply to horseriver

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"

Quoted 1 line

myfile.txt

4 lut 2013 09:25, "horseriver" <[email protected]> napisa?(a):

Quoted 6 lines

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 ?

Quoted 7 lines

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

#3 lore raw
In reply to horseriver

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" <[email protected]> napisa?(a):

Quoted 34 lines · Grzegorz Dwornicki
Quoted 4 lines

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"

Quoted 1 line
Quoted 1 line

myfile.txt

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

Quoted 16 lines

4 lut 2013 09:25, "horseriver" <[email protected]> napisa?(a):

Quoted 6 lines

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 ?

Quoted 7 lines

Thanks!

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

Quoted 4 lines

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

Quoted 5 lines

_______________________________________________
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