Talk:Dmesg

From Wikipedia, the free encyclopedia
Jump to: navigation, search
          This article is of interest to the following WikiProjects:
WikiProject Computing (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 
WikiProject Software / Computing  (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Software, a collaborative effort to improve the coverage of software on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computing.
 
WikiProject Linux (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Linux, a collaborative effort to improve the coverage of Linux on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 

tail -f[edit]

  • There must be a way of doing a tail -f on dmesg. That may be worth noting. People will probably come to this page for all sorts of info on the dmesg command and this could be very useful information. --82.211.247.19 14:38, 16 February 2007 (UTC)

http://www.kernel.org/doc/man-pages/online/pages/man8/dmesg.8.html doesn't work —Preceding unsigned comment added by 83.7.248.55 (talk) 10:49, 12 October 2008 (UTC)

Removed dmesg Output[edit]

The examples of output gave nothing to the article. It was also was beginning to sprawl; we already had Linux, FreeBSD, and some router OS. As there are an infinite possibilities of what a dmesg output can contain I see little reason in having an example in the article. Dmesg output can be best explained in the article rather than in a multitude of examples. Ismouton (talk) 04:15, 13 November 2008 (UTC)

Good call. Chris Cunningham (not at work) - talk 11:41, 13 November 2008 (UTC)

I can't agree. Any examples at all would greatly improve this article. It seems like the two of you are so well acquainted with the dmesg output contents that you are not considering article readers who have never seen such output. If the examples were getting out of hand they should have been judiciously trimmed down. Please put some examples of dmesg output back in the article. -71.174.186.200 (talk) 13:49, 24 June 2009 (UTC)

I agree with the previous consensus. There is very little you can say about dmesg output that is actually about dmesg. It is almost by definition OS and hardware specific. Let's consider one line of dmesg output from a system here:
clock0 at obio0 slot 0 offset 0x200000: mk48t08
What does this tell us? At first sight it tells us about a clock. The reference to an obio bus marks it as being a particular generation of Sun machine. The clock chip is an mk48t08. Real gurus will look at this message and notice from subtle differences in the ordering and formatting of details that this is from a system running NetBSD rather than Solaris or Linux. All very interesting. What does any of that actually have to do with dmesg? Nothing at all. Remember - dmesg is a tool for viewing messages - it has nothing to do with the messages themselves, and indeed dmesg is actually a secondary user of those messages. Would you give examples of cat output with an arbitrary file? Certainly not. dmesg is a similar tool only it works with arbitrary kernel messages rather than a file as its data source. CrispMuncher (talk) 16:23, 24 June 2009 (UTC)

dmesg issues[edit]

As the article mentions, the boot screen output typically scrolls too fast to read. As the article does not mention, if the boot process fails, there is no way to run dmesg, so the source of the problem cannot be determined.

It is nuts that there is no standard way to slow, pause, and/or single-step the boot process screen output. Presumably there is some ancient old-school way to direct the output to a serial port for capture on another computer. It would be good to at least link to such information from this article. And maybe it is worth mentioning the possibility of video recording the screen during the boot process?

Do any *nix have boot parameters to direct a copy of the boot output to floppy or USB for debugging systems that fail during boot?

Many readers will come to this article with an interest in boot debug issues. Please add good links to related resources. -71.174.186.200 (talk) 15:00, 24 June 2009 (UTC)

Unix-like[edit]

The lede should be amended to point out that this is not available on all Unix-like systems. Here is one source listing alternatives. Tedickey (talk) 21:43, 24 June 2009 (UTC)

Some issues that should be explained[edit]

  1. Is dmesg a command and/or a log file?
  2. Does it log only the current session?
    1. If so, does the file dmesg.0 contain the output from the previous session?
  3. What do the numbers at the start of each line signify? There are long sequences of lines that start with the same number before the decimal point, then that number jumps to some rather higher number. Why doesn't 1 follow after 0?

__meco (talk) 15:05, 22 January 2011 (UTC)