LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-20-2009, 06:37 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
retrieve linux kernel messages?


Can you retrieve the messages that fly by on bootup?
 
Old 12-20-2009, 06:43 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
If there isn't anything spamming your logs try dmesg.

Regards,

Alunduil
 
Old 12-20-2009, 07:09 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Not sure if that is "all" of them.
 
Old 12-20-2009, 08:10 PM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
True, there are a few messages that are too early in the boot process to capture in any normal way, and I don't remember how to capture those messages. Somewhere in the kernel it mentions this.

Regards,

Alunduil
 
Old 12-20-2009, 08:49 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
If there is something happening in bootup that you absolutely must see, and if it isn't going to dmesg, you'll have to resort to setting up a "serial console" (google is your friend) and capture the boot sequence on whatever machine you use for a console. I have to refer you to google (or search here at LQ) because I've never actually done it, though I know it's the standard answer to this question.
 
Old 12-20-2009, 09:44 PM   #6
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Since i dont have a null modem cable, i will have to think this over.
 
Old 12-20-2009, 10:04 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
If it's critical to you, you can cut a serial cable in half and strip and twist all the same-colored wires back together except swap the TXD and RXD wires.

Last edited by Quakeboy02; 12-20-2009 at 10:06 PM. Reason: Clarify
 
Old 12-20-2009, 11:18 PM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Quakeboy02 View Post
If it's critical to you, you can cut a serial cable in half and strip and twist all the same-colored wires back together except swap the TXD and RXD wires.
I have nothing with a serial end on it.
 
Old 12-20-2009, 11:21 PM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You can also do this by firewire, or using a USB-Debug device. Both methods require a second PC though, as well as the software that listens on the other end (on the other PC). The firewire method of course assumes you *have* a firewire port on both machines, and the USB method requires a USB Host Controller with "Debug port" functionality. Plus, the USB debug cable is about $80.00

Barring all this, you're pretty much limited to /var/log/dmesg and /var/log/messages for the most complete report.

Sasha
 
Old 12-21-2009, 12:51 AM   #10
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 184

Rep: Reputation: 34
You could try this, serial consoles are nice. We use serial in the embedded linux world to debrick devices often, give it a try.
 
  


Reply



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
How to retrieve my old messages abd_bela Linux - Newbie 3 12-17-2009 08:54 PM
fetchmail from gmail will not retrieve local messages I send to myself h34th Linux - Software 3 01-18-2009 01:40 AM
Linux Monitoring OEM Kernel Messages insanewhiz Linux - Server 2 04-02-2008 09:34 AM
icedove - retrieve ALL messages verbose Linux - Software 0 11-01-2007 07:00 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM

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

All times are GMT -5. The time now is 03:23 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
Open Source Consulting | Domain Registration