dmesg (for "display message" or "driver message" ) is a command on most Linux and Unix based operating systems that prints the message buffer of the kernel.

learn more… | top users | synonyms

0
votes
1answer
7 views

dmesg -n 7 doesn't print anything, but dmesg prints a lot

As stated: $> dmesg [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacc ... $> dmesg -n 2 [ ...
0
votes
0answers
17 views

How to make a ring buffer for logs in linux?

I need a ring buffer - say 1 MB - for logs. I want to redirect a service's stdout and stderr to a ring buffer, and usually do not do anything with it. But when there is an error, i want to see the ...
0
votes
0answers
13 views

How to change kernel message VT in linux

I feel kinda stupid, since I'm certain I used to know this. But here goes. How can I change which VT kernel messages print to? I use text-mode primarily, typically on vt1. Unfortunately, kernel ...
0
votes
2answers
35 views

How to save matching words from output of dmesg in a list

I am connecting USB-Serial devices to my device using different ports and serial-USB devices sometimes show up as 'ttyUSB0', sometimes 'ttyUSB1' or 'ttyUSB2'. How can I write a script to extract all ...
0
votes
0answers
73 views

How should I interpret these dmesg messages and fix a driver issue?

The command below is is part of a shell bash which I call through a Python program running on Raspbian and making use of a Raspberry Pi Camera. It works fine for two hours (independently on how many ...
0
votes
1answer
68 views

Can I tell what udev rule a device is using?

I'd like to edit the way a device is created on my Ubuntu 14.10 box. Device: USB UART File: /dev/ttyUSB0 Is there any way to find out what udev rule created this? Or do I just write a new one ...
0
votes
1answer
275 views

Broken PMU hardware detected, using software events only

I have two out of four machines (dell r815) that are not showing the cpu hardware counters when I run (from linux-tools-common on ubuntu or debian): perf list I used strace and found out the ...
0
votes
1answer
36 views

ACPI, computer turning on sporadically

Lately I've noticed that my GNU/Linux Gentoo desktop computer turns itself on sporadically while it is suspended in ACPI S3 mode. I have made no changes nor updates to the BIOS. In dmesg I see the ...
0
votes
1answer
193 views

What is the reason for an error 'eth0: Transmit timeout' in dmesg?

On a gentoo Linux system the dmesg output shows something like the following repeatedly: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 eth0: Transmit timeout, status 0c 0005 c07f media 10. eth0: ...
1
vote
1answer
1k views

How can I find the USB wireless adapter into the dmesg log file?

I am pretty new in Linux (RaspBian for RaspBerry Pi but I think that there are not difference) and I have to install an USB wireless network adapter (the product is the TP-Link TL-WN725N, this one: ...
1
vote
2answers
1k views

Not enough host controller resources for new device state

I have a debian mint based system where I plug in 16 usb devices. The Kernal is: 3.11.0-12-generic After about 10 or so devices I start to experience problems with connecting new ones. There error ...
3
votes
2answers
424 views

Why will dmesg have message from user space?

you can use dmesg -u to see log from userspace. In my case, I have log from systemd and lvm. Why is this happening, why userspace program can print to kernel buffer ring?
0
votes
1answer
209 views

Dmesg boot dumps, udev and boot time

The following is my dmesg dump. [ 1.452016] udevd[121]: starting version 175 [ 1.522976] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.522989] ACPI: Thermal Zone [THM] (76 C) [ ...
3
votes
1answer
4k views

How to force a USB disk to format?

I can't seem to get my USB drive to format anymore or be recognized by the file system (including gparted). How do I just wipe the whole thing and start over!? dmesg [ 5036.408102] usb 2-3: new ...
0
votes
1answer
1k views

What does “Sense Key : Recovered Error” mean?

When powering up a external USB 2TB drive on CentOS 6.4 and I am seeing these messages in the dmesg output: kjournald starting. Commit interval 5 seconds EXT3-fs (sde1): using internal journal ...
1
vote
0answers
143 views

One particular SD card not working

I have a 32 GB SanDisk class 10 SDHC card. It works perfectly in my camera and in my netbook. However, when I plug it to my notebook I got this in dmesg: [ 1824.729234] mmc1: error -110 whilst ...
1
vote
0answers
92 views

Debian testing hangs for 180s on boot

For a while now, my NAS running Debian testing with arch x86_64 constantly hangs for exactly 180s during boot after it has detected all hard drives. I unfortunately ran out of ideas what the cause ...
1
vote
1answer
389 views

Should we disable dmesg for non-administrative users?

As I can find in Mac OS X smarek:~ marekseberaold$ dmesg Unable to obtain kernel buffer: Operation not permitted usage: sudo dmesg Is this really important, to disable access to dmesg output for ...
3
votes
1answer
3k views

No mounting a USB pendrive on Debian wheezy

The system seems to know that my pendrive in insert, but when I try to mount it, I cannot do it 'cause it not appears in /dev/. I post the result of command dmesg | tail -n 6 [ 647.763175] ...
2
votes
0answers
3k views

dmesg.log on Mac OS X

Mac OS X does not seem to dump the exact output of dmesg to a file. I need to log the dump of dmesg to the disk. kernel.log and system.log do not contain the required information. Only output of ...
1
vote
2answers
2k views

ubuntu slow startup time - modprobe?

I have setup my laptop with Ubuntu 11.04. I bought a fresh SSD, and expected the startup time at <30 seconds but it takes about 3-5 minutes. I have taken a snapshop using bootchart but I don't ...
4
votes
1answer
4k views

`cat /proc/kmsg` outputs broken text

cat /proc/kmsg is convenient way to follow kernel messages. But the output is unreliable. Example: < eoyfl-o-ilF ilaltssI hwflssesJ a hwbctaealatv-psL hwmmr-sg()nc-l-TtssN oeOfso-eitr()so-l-iesQ ...