4
votes
1answer
86 views

How to know what to grep for in dmesg?

I recently had some trouble with a wireless card, and an online forum suggested searching dmesg with grep firmware. That helped, I was able to find the problem immediately! However, the previous hour ...
4
votes
1answer
220 views

USB device messages flooding dmesg (and console)

When USB mouse is plugged into my laptop, dmesg is flooded with following messages: usb 3-1: USB disconnect, device number 28 usb 3-1: new low-speed USB device number 29 using xhci_hcd usb 3-1: New ...
6
votes
1answer
162 views

Where does the kernel ring buffer sit compared to rsyslog?

Is rsyslog just an abstraction layer on top of the kernel ring buffer? Or is the kernel ring buffer its own entity and rsyslogs interaction is like that of any other "application"?
2
votes
2answers
202 views

Interpreting output of dmesg and /var/log/boot.log

I found two ways for printing boot messages one using dmesg and another the content of file /var/log/boot.log: The content of the /var/log/boot.log file are: fsck from util-linux 2.20.1 ...
4
votes
1answer
72 views

dmesg email digest

I have a remote server which has some issues (Seem hardware related) which means that it logs KVM errors and then sometime later it becomes unresponsive and locked up. There is an often an early ...
7
votes
5answers
4k views

How can I see dmesg output as it changes?

I'm writing a device driver that prints error message into ring buffer dmesg output. I want to see the output of dmesg as it changes. How can I do this?
7
votes
3answers
3k views

How can I write to dmesg from command line?

I'd like to write a statement to dmesg. [How] can I do this?