Questions tagged [dmesg]

57 questions
55
votes
6 answers

How to convert 'dmesg' time format to 'real' time format

I have (for example) this log entry in dmesg output: [600711.395348] do_trap: 6 callbacks suppressed Is there a possibility to convert this 'dmesg' time to 'real' time to know, when this event happend?
Jan Marek
  • 2,120
  • 1
  • 13
  • 14
52
votes
7 answers

How to add message that will be read with dmesg?

I am trying to write some custom messages in my dmesg output. I tried: logger "Hello" but this does not work. It exits without error, but no "Hello" appears int the output of: dmesg I am using a Fedora 9, and it seems that there is no…
calandoa
  • 1,255
  • 2
  • 12
  • 14
18
votes
4 answers

dmesg time vs system time time isn't correct

I hope that here is somebody that can help me with this strange problem. I think that i know why it is happening but i don't know how to solve it. Maybe it is because the BIOS time isn't set correct or something like it. But i don't want to change…
g00gle
  • 313
  • 1
  • 2
  • 5
16
votes
1 answer

How to disable perf subsystem in Linux kernel?

I'm running some benchmarks. My benchmark runner monitors the dmesg buffer between experiments, looking for anything which could impact performance. Today it threw this up: [2015-08-17 10:20:14 WARNING] dmesg seems to have changed! Diff…
Edd Barrett
  • 943
  • 3
  • 9
  • 19
16
votes
5 answers

What do these disk errors in syslog mean?

I just rebooted my monitoring server for the first time in a while, and the following starting filling the screen: Jul 11 23:52:30 monit kernel: [ 25.255908] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 Jul 11 23:52:30 monit kernel: […
Soviero
  • 4,306
  • 7
  • 34
  • 59
15
votes
6 answers

Linux Centos with dmesg timestamp

I would like to read my Centos 5.x dmesg with timestamp, how do I do this?
edotan
  • 1,786
  • 12
  • 37
  • 57
7
votes
1 answer

Running dmesg on Docker results in "dmesg: read kernel buffer failed: Permission denied"

In order to debug why this issue occurs the following command is run on a container: docker run -it dmesg results in: dmesg: read kernel buffer failed: Permission denied Attempts Running docker run -it sudo…
030
  • 5,731
  • 12
  • 61
  • 107
6
votes
5 answers

Linux - martian source in /var/log/messages

I keep getting these messages in /var/log/messages : Mar 8 23:17:25 saas1 kernel: martian source 169.254.1.1 from 169.254.95.118, on dev usb0 Mar 8 23:17:25 saas1 kernel: ll header: ff:ff:ff:ff:ff:ff:00:21:5e:de:1b:be:08:06 Over and over every 5…
edumike
  • 189
  • 1
  • 2
  • 7
6
votes
1 answer

How does dmesg differentiate between different log levels?

How does dmesg differentiate between different log levels? I can execute dmesg -l err to see all the error logs but when I look at the data with just dmesg or just cat the /var/log/dmesg file, there is no tag/string/identifier in the log text that…
4
votes
1 answer

kernel:EDAC MC0 spam in dmesg

I have spam in dmesg containing: kernel:EDAC MC0: UE page 0x0, offset 0x0, grain 1073741824, row 3, labels ":": i3200 UE Any idea what suppose to be wrong? here are loaded modules: # lsmod | grep edac i3200_edac 3330 0 edac_core …
Nick
  • 786
  • 2
  • 12
  • 37
4
votes
1 answer

Same hard drive problems in dmesg on several servers

We have a couple of these SuperMicro MicroCloud units. In total we've got 16 servers (2x8) which all randomly spew these messages in dmesg: [4661350.802707] ata2.00: failed command: WRITE FPDMA QUEUED [4661350.802734] ata2.00: cmd…
sune
  • 51
  • 3
4
votes
4 answers

Explain the output of dmesg

I am running a Debian system, and find the output of the dmesg command very helpful. Can somebody explain to me what information is output by the dmesg command? Is it a 1:1 correlation to the kern.* messages in syslog?
Brent
  • 22,219
  • 19
  • 68
  • 102
3
votes
2 answers

Prevent kernel messages from appearing in dmesg

Is it possible to prevent kernel messages from appearing in dmesg output? E.g. I am running software that terminates PPPoE tunnels. One of the features it provides is the ability to set custom interface names. However this results in messages in…
krdx
  • 171
  • 2
  • 10
3
votes
0 answers

how to find which memory stick error

There is a Inspur SA5212SC server involve memory error. In dmesg output I got some error: {16}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 {16}[Hardware Error]: APEI generic hardware error status {16}[Hardware Error]:…
Gee.Fu
  • 31
  • 4
3
votes
2 answers

dmesg SYN flood on 80 sysctl -p

I am getting a synflood on my server port 80 and i cannot stop it. first i got tables full then i disabled iptables to find out that its a synflood netstat -n | grep :80 |wc -l #returns 1300 - 2000 netstat -n | grep :80 | grep SYN |wc -l #returns…
Daniel
1
2 3 4