LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-20-2004, 09:13 PM   #1
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
Kernel messages - how to,,, ?


My kernel log will not contain all the messages I see when my kernel is booting.

How can I capture all the screen messages at kernel boot?
Or..
How can I 'freze' the screen so I can read and write down this messages? Like temporary stop kernel execution maybe?

Debian "Sarge"
Custom 2.6.4 kernel
 
Old 04-20-2004, 09:27 PM   #2
Backspasms
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
You don't have to necessarily "freeze" the screen. Here is a command that buffers all the kernel output from boot:

>dmesg | less

Run this command when you're root after boot and you'll see all boot sequence output. :-D
 
Old 04-20-2004, 11:12 PM   #3
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Original Poster
Rep: Reputation: 30
LOL.. you got me confused with the '>' symbol there (I reboted 3 times till I got it right)

anyways... that buffer was missing some 'complains' of my kernel at boot

Thank you anyways, it is sumting interesting and good to know
 
Old 04-21-2004, 12:04 AM   #4
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Rep: Reputation: 15
no need to be root to invoke the dmesg command though.
 
Old 04-21-2004, 05:54 PM   #5
Backspasms
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
True...I just assumed so as I was working as root doing some maintenance while writing the post ;-)
 
Old 04-22-2004, 04:30 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
no need to be root to invoke the dmesg command though.
...is not true in all circumstances, for instance running a Grsecurity reinforced kernel.
 
Old 04-22-2004, 09:26 PM   #7
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Rep: Reputation: 15
no doubt you're right... beside the fact that 'moderator' trumps 'newbie'

i revise my statement: not necessarily a need to be root. you could save yourself the trouble of su-ing...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
Error Messages with new Kernel davcefai Linux - General 2 01-26-2005 04:20 PM
Strange kernel messages tmoorman Linux - Software 4 05-12-2004 04:11 PM
Kernel messages bruno buys Linux - Newbie 3 10-10-2003 09:44 AM
Logging kernel messages ugenn Linux - Software 8 01-04-2003 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration