Questions tagged [dmesg]

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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
75 views

dmesg: `PME: Spurious native interrupt!`

I am running Linux debian 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux (and dual-booting Windows 11, fast boot is turned off) and I see this line in my dmesg ...
Kirill's user avatar
  • 1
0 votes
1 answer
43 views

Interpreting dmesg output: Drive failure imminent or sys admin error?

Last week I swapped out a 1TB drive for a 2TB drive I have lying around. I now get the following in my dmesg output. [Fri Feb 16 16:15:48 2024] ata5.00: exception Emask 0x10 SAct 0x20000 SErr ...
mikemtnbikes's user avatar
1 vote
1 answer
67 views

System wont boot..."rmi4_f34: probe of rmi4-00.fn34 failed with error -22" How can I go about fixing this?

I recently did a sudo apt update && sudo apt upgrade -y, and have been unable to boot into my machine since. The boot screen hangs on this message: ) 16 (>)71739] rmi4_f34 rmi4-00.fn34: ...
jackthetripperr's user avatar
0 votes
0 answers
53 views

1. how to prevent dmesg loose previous messages, how to restore it, 2. what has become of "kmesg"?

I have just got a serious problem: after about 7 days of use, my usb stick with eternal bash history seems not to work more. Thus I began to search in dmesg. I invoked dmesg by dmesg -s $((10*1024*...
Anton Wessel's user avatar
0 votes
0 answers
26 views

dmesg has different identifier types for the same device, how to unify them?

In my Linux I use many devices, increasingly popular USB sticks. Thus I depend on the tool dmesg. dmesg is very, very good, very powerfull but in one aspect there is a problem, I am not able to cope ...
Anton Wessel's user avatar
1 vote
1 answer
120 views

What is wrong with my 8tb WD HDD? superblock unreadable until unmount,unplug,replug,remount

Sorry for my lack of a good name for the question but I am having a really hard time with my WD 8tb hdd that I am using for snapshots in opensuse leap 15.4. It is practically brand new. It is ...
Craig's user avatar
  • 77
0 votes
0 answers
636 views

dmesg gives error message "lo ate my IP adress" recently

Normally I use Kubuntu 20.04, but because of some problems I run since a long time KNOPPIX 9.1. uname -a says: Linux Microknoppix 5.10.10-64 #3 SMP PREEMPT Sun Feb 7 09:26:54 CET 2021 x86-64 GNU-Linux....
Anton Wessel's user avatar
0 votes
2 answers
65 views

Prevent application (iscsiadm) logging to dmesg?

I have an issue where running sudo iscsiadm -m discovery -t st -p IP -l logs to dmesg across all terminals on the server. The command is run from a java application, using: Runtime.getRuntime()....
Kris Rice's user avatar
  • 101
0 votes
1 answer
280 views

Ubuntu 18.04 Find Faulty HDD/Controller

Hi Guys been running an Ubuntu server for several years now , mainly to house my disc rips and various PC backups from around the house, last week the system became non responsive, upon getting into ...
gimpacause's user avatar
13 votes
8 answers
33k views

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 ...
Anthony_B's user avatar
  • 131
0 votes
1 answer
1k views

“dmesg | grep blocks” - Does this command really show the total disk space?

I want to know the total disk space of my Ubuntu server. I found this question: Get total size of my hard drive in Linux, using the command line, without root permissions. The accepted and most ...
Souvik Das's user avatar
2 votes
0 answers
1k views

rhel + dmesg + Buffer I/O error on dev dm-0, logical block

we installed some new VM machines with rhel 7.6 but from dmesg we found the following errors [14706.075255] sd 1:0:0:0: timing out command, waited 1080s [14706.075370] sd 1:0:0:0: timing out command, ...
King David's user avatar
2 votes
1 answer
1k views

How do I interpret the output of mce?

My PC recently restarted on its own, and following that abrt notified me that there had been a likely hardware-related error. Checking out dmesg, I found the following lines from mce: [ 0.554142] ...
Newbyte's user avatar
  • 136
0 votes
0 answers
45 views

SSD Showing no signs of failure failed over weekend and is getting extremely hot to the touch

I have a 500GB Samsung 850 EVO, on Friday I had the workstation it was in powered on and idling. However this morning the tower was off, When I went to start it showed no boot devices. I booted to ...
Max's user avatar
  • 1
0 votes
0 answers
28 views

USB rs232 UART connection issue

i connect my board to my laptop with rs232 usb adapter. lsusb i see that my port is well attached to ttyUSBenter image description here but i can't access to my board ni by minicom neither putty nor ...
khaled hnaien's user avatar
1 vote
1 answer
282 views

Debian 9 /var/log/ message, syslog,dmesg are these safe to post to a forum?

On a very stock Debian 9 VPS, running a multiplayer game system with very expensive scripting in it. I am having a problem with that multiplayer server, and one the server developers is asking me to ...
Xabache's user avatar
  • 35
1 vote
2 answers
5k views

UDP: bad checksum + from the dmesg

from the dmesg we see the following: UDP: bad checksum. From 34.21.56.68:4343 to 32.3.42.22:4343 ulen 20 UDP: bad checksum. From 34.21.90.186:4343 to 32.3.42.22:4343 ulen 20 UDP: bad checksum. ...
King David's user avatar
3 votes
3 answers
2k views

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 ...
eris discordia's user avatar
4 votes
1 answer
768 views

Is it dangerous to share my dmesg file? [closed]

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 ...
lstanis's user avatar
  • 53
1 vote
1 answer
3k views

How to enable WIFI on new Ubuntu-Dell Laptop

I just bought a new dell laptop and installed Ubuntu 16.04.4 on it: https://www.google.com/search?q=dell+inspiron+17+5000&oq=dell+inspiron+17+5000 When I log in I see this: Ubuntu 16.04.4 LTS ...
user3676943's user avatar
0 votes
1 answer
421 views

excessively print the kernel log bnx2x: [bnx2x_get_regs:987(eth2)]Generating register dump. Might trigger harmless GRC timeouts

My server print the log about "bnx2x: [bnx2x_get_regs:987(eth*)]Generating register dump. Might trigger harmless GRC timeouts" every hour. It has started today and continues print the log every hour. ...
arifisik's user avatar
  • 302
1 vote
2 answers
626 views

ata error on not hdd device

So my dmesg is spammed with this over and over again: [ 1478.880795] ata5: exception Emask 0x10 SAct 0x0 SErr 0x4000000 action 0xe frozen [ 1478.880803] ata5: irq_stat 0x00000040, connection status ...
Matombo's user avatar
  • 11
21 votes
4 answers
93k views

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 ...
AttributedTensorField's user avatar
4 votes
0 answers
3k views

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: ...
Nilesh's user avatar
  • 161
2 votes
0 answers
2k views

usb 1-1.6: device descriptor read/64, error -110

Context Linux 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 I'm using GDM with autologin I tested with XFCE and GNOME as window managers Problem autologin enabled I get to a ...
Seiji Hirao's user avatar
3 votes
1 answer
1k views

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] ...
dr Hannibal Lecter's user avatar
0 votes
1 answer
699 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 [ root@...
JohnyTex's user avatar
  • 337
0 votes
0 answers
307 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 ...
Chris's user avatar
  • 631
0 votes
2 answers
232 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 ...
user423369's user avatar
0 votes
1 answer
359 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 ...
Eric Fossum's user avatar
0 votes
1 answer
2k 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 problem ...
Allen's user avatar
  • 101
0 votes
2 answers
111 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 ...
AttributedTensorField's user avatar
0 votes
1 answer
3k 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: ...
Alex's user avatar
  • 666
4 votes
1 answer
23k 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: ...
AndreaNobili's user avatar
  • 7,161
8 votes
3 answers
13k 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 ...
SpiRail's user avatar
  • 183
3 votes
2 answers
2k 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?
dspjm's user avatar
  • 440
1 vote
1 answer
570 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) [ 1....
Vigneshwaren's user avatar
7 votes
1 answer
13k 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 high-...
Eric Fossum's user avatar
2 votes
1 answer
6k 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 EXT3-...
Edward's user avatar
  • 509
1 vote
0 answers
240 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 ...
Frederico Schardong's user avatar
1 vote
0 answers
123 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 ...
final's user avatar
  • 136
2 votes
1 answer
2k 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 non-...
Marek Sebera's user avatar
3 votes
1 answer
4k 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] usb ...
Kyrol's user avatar
  • 1,229
3 votes
0 answers
11k 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 ...
Ivan Vučica's user avatar
1 vote
2 answers
3k 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 ...
Andreas Petersson's user avatar
4 votes
2 answers
10k 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 ...
Vi.'s user avatar
  • 17.2k