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.
Questions tagged [dmesg]
47 questions
21
votes
4 answers
How to view all boot messages in Linux after booting?
Relevant questions are:
Where Linux places the messages of boot?
Name of log file where boot process is logged
However, these do not answer this question. This question is concerned with how all the boot messages can be viewed.
This is for Gentoo,…
14
votes
8 answers
Win 11 - wsl 2 : An error occurred mounting one of your file systems. 'dmesg' error
The problem appeared after Windows 10 to Windows 11 migration. Before I had no problem with Ubuntu / Docker or Virtual Box images.
Windows Version:
Windows 11 Version 21H2 (OS Build 22000.258)
Actual Behavior:
Wsl-2 do not mount correctly Windows C…
Anthony_B
- 141
8
votes
3 answers
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 for one such device can be found in dmesgs as…
SpiRail
- 183
- 1
- 1
- 6
7
votes
1 answer
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 high-speed USB device number 10 using ehci-pci
[…
Eric Fossum
- 571
- 1
- 6
- 16
4
votes
1 answer
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:…
AndreaNobili
- 7,381
4
votes
2 answers
`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 na ycso-aksae()Umutfref()so-lce-ak()Wiet_e_yr…
Vi.
- 17,755
4
votes
1 answer
Is it dangerous to share my dmesg file?
I'm developing a project where I have to imitate Linux startup sequence. What I thought about, was of course, putting my dmesg into it. Is it dangerous? Will I share any sensitive information?
This will be publicly available on a website, as an…
lstanis
- 53
4
votes
0 answers
What is the meaning of COMRESET failed?
Laptop's internal WD SATA HDD of 1 TB is not being detected from any OS. It does not have any physical damage.
However while booting to linux from another disk, log is printed
[ 6.397803] ata5: link is slow to respond, please be patient…
Nilesh
- 161
3
votes
1 answer
SSD SMART errors and strange dmesg errors, is this a dying disk?
I've started noticing weird things in my dmesg log, and my 4 months old SSD. For example:
[ 9.647535] ata7.00: exception Emask 0x10 SAct 0x7ffffbff SErr 0x300000 action 0x6 frozen
[ 9.647542] ata7.00: irq_stat 0x08000000, interface fatal…
3
votes
2 answers
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?
dspjm
- 468
3
votes
1 answer
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] usb 2-1.2: new high speed USB device number 3 using…
Kyrol
- 1,247
3
votes
0 answers
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 dmesg tells me which file failed to read from a faulty…
Ivan Vučica
- 914
3
votes
3 answers
How do I automatically run a script if something appears in dmesg/kern.log
Running a Dell 5285 with WD15 Dock. Periodically, the eth0 stops transferring data (and the wireless doesn't automatically start transferring). In either dmesg or kern.log
"r8152 2-4.2:1.0 enx106530b73c5e: Tx status -71"
appears (r8152 is the…
2
votes
1 answer
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
EXT3-fs (sde1): mounted filesystem with ordered data…
Edward
- 529
2
votes
1 answer
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 non-root / non-administrative users? Why is Apple…
Marek Sebera
- 154