LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 07:37 PM   #1
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

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


Can you retrieve the messages that fly by on bootup?
 
Old 12-20-2009, 07: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, 08:09 PM   #3
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
Not sure if that is "all" of them.
 
Old 12-20-2009, 09: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, 09:49 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
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, 10:44 PM   #6
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
Since i dont have a null modem cable, i will have to think this over.
 
Old 12-20-2009, 11:04 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
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 11:06 PM. Reason: Clarify
 
Old 12-21-2009, 12:18 AM   #8
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,330

Original Poster
Rep: Reputation: 227Reputation: 227Reputation: 227
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-21-2009, 12:21 AM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
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, 01:51 AM   #10
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 182

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


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


All times are GMT -5. The time now is 06:31 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