LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-17-2004, 11:59 AM   #1
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
Kernel Boot Messages - Dmesg Problem


When I run dmesg, I find that it contains only about 80% of the messages that are shown to me on the screen. I'm sure that there are messages that were display such as gdm and snort starting although I can't find a trace of these by running dmesg. Is there any way for me to see all the messages? Thanks for your time...
 
Old 08-17-2004, 01:31 PM   #2
gunter
Member
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Depending upon your distro, check the files in /var/log/. What you want to know is often found in /var/log/messages.
 
Old 08-17-2004, 02:03 PM   #3
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I looked. It's not there.
 
Old 08-17-2004, 02:15 PM   #4
gunter
Member
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
What isn't there? The file or the message(s)?
 
Old 08-18-2004, 03:36 AM   #5
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
The messages...
 
Old 08-18-2004, 08:51 AM   #6
gunter
Member
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
What do you have in /var/log? What are you using for a logger daemon? What distro are we talking about?
 
Old 08-18-2004, 03:47 PM   #7
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I'm using Debian. Here are the contents of /var /log:

Code:
Bastille               debian-installer  lastlog        scrollkeeper.log
XFree86.0.log          debug             loginlog       scrollkeeper.log.1
XFree86.0.log.old      debug.0           loginlog.0     scrollkeeper.log.2
aptitude               debug.1.gz        loginlog.1.gz  snort
aptitude.1.gz          debug.2.gz        loginlog.2.gz  syslog
auth.log               debug.3.gz        loginlog.3.gz  syslog.0
auth.log.0             dmesg             lpr.log        syslog.1.gz
auth.log.1.gz          exim4             lpr.log.0      syslog.2.gz
auth.log.2.gz          fontconfig.log    lpr.log.1.gz   syslog.3.gz
auth.log.3.gz          gdm               lpr.log.2.gz   syslog.4.gz
base-config.log.1      kern.log          lpr.log.3.gz   syslog.5.gz
base-config.timings.1  kern.log.0        mail.err       syslog.6.gz
btmp                   kern.log.1.gz     mail.info      user.log
btmp.1                 kern.log.2.gz     mail.log       user.log.0
clamav                 kern.log.3.gz     mail.warn      user.log.1.gz
cups                   kernel            messages       user.log.2.gz
daemon.log             kernel.0          messages.0     user.log.3.gz
daemon.log.0           kernel.1.gz       messages.1.gz  uucp.log
daemon.log.1.gz        kernel.2.gz       messages.2.gz  wtmp
daemon.log.2.gz        kernel.3.gz       messages.3.gz  wtmp.1
daemon.log.3.gz        ksymoops          news
/var/log/messages has about 80% of the messages that I see on the console when my system boots up. However, I'm sure that there are some messages that are displayed on the screen but that aren't found in /var/log/messages
 
Old 08-18-2004, 04:26 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That may well be a matter of how your gdm,
for example, is set-up. My xdm doesn't write
to a log-file because I don't want it to.

Logs are there as auditing info, or to inform
you that something isn't working... which in
the case of gdm would be quite obvious ;)


Cheers,
Tink
 
Old 08-19-2004, 11:35 AM   #9
gunter
Member
 
Registered: Jan 2003
Distribution: Gentoo
Posts: 65

Rep: Reputation: 15
Depending upon your setup, syslog, messages, and dmesg should have *most* of the messages you see. If it were me, I would check all the logs in /var/log. I use syslog-ng. It is pretty easy to install on Gentoo, don't know about Debian. My config for syslog-ng allows to me to log *everything* that passes through the syslog() kernel service. If you want to log everything, you should figure out how to do that with your current syslog service. I am guessing it is sysklogd. Or you can switch to syslog-ng and I will give you my config.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Messages Before Dmesg LinuxGeek Linux - Software 2 01-18-2005 08:10 AM
dmesg deoesn't provide all the messages at boot xround Linux - Newbie 5 08-20-2004 04:30 AM
/bin/dmesg > /dmesg-boot not Working in Knoppix 3.4 suguru Debian 2 07-04-2004 06:21 PM
Boot messages not the same as "dmesg" or "/var/log/messages"? massai Linux - General 5 03-10-2004 01:18 AM
Boot messages not showing in dmesg... Nu-Bee Linux - General 4 01-25-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:39 AM.

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