Questions tagged [dmesg]
The dmesg tag has no usage guidance.
257
questions
1
vote
1
answer
33
views
Dmesg reports a lot of "Unrecovered read errors" and yet rsync copies just fine. Why?
I've been copying moderately valuable data (nice to have, not the end of the world if it is lost) from a bunch of old HDDs to my new NAS with more reliable storage.
During reading I get a bunch or ...
0
votes
1
answer
30
views
sg_format Low Level Format Interrupted - Kernel Errors
I was going through a sg_format low-level format from 520-byte to 4096 native byte sectors - during the process, the system lost power and the server went down hard. Now in the the kernel, I'm getting ...
0
votes
2
answers
24
views
When looking at dmesg for USB devices, what's the difference between "New USB device found" and "New USB device strings"?
I am trying to connect a MicroSemi FlashPro 4 to my Linux system. When I plug it in, dmesg shows:
[13728.408610] usb 11-1: New USB device found, idVendor=1514, idProduct=2006, bcdDevice= 0.00
[13728....
0
votes
1
answer
31
views
kernel reports ACPI Error when bringing network card up or down
I get these errors in my logs, when bringing my network interface eth0 up or down, using ifup and ifdown:
kernel: e1000e 0000:00:19.0 eth0: NIC Link is Down
kernel: ACPI Error: Index value ...
0
votes
0
answers
15
views
USB device refuses to work after working for one time
I have a Playstation 2 controller with a USB adapter plugged into my computer. The very first time I tried the adapter + controller it worked just fine. However, after rebooting the computer it doesn'...
0
votes
1
answer
29
views
How to know which device are broken?
Other than plugging out one by one, I got spammed periodically something like this (every 5 minutes or so) on dmesg -w :
[766815.453149] usb usb4-port4: Cannot enable. Maybe the USB cable is bad?
[...
0
votes
1
answer
189
views
"Read Capacity(10) failed" and "Sense Key : Illegal Request" with a SATA-to-USB adapter
What is the meaning of these error messages in the system log, when I plug in a 2.5" spinning-disk SATA drive that I know works, using a USB-to-SATA adapter?
Jun 25 16:08:07 hostname kernel: [...
0
votes
1
answer
113
views
RHEL 7.9 + microcode_ctl + warning in kernel messages
I want to share the following issue
after upgrading the security rpm's on RHEL 7.9 machines include update of microcode_ctl rpm
rpm -qa | grep microcod
microcode_ctl-2.1-73.15.el7_9.x86_64
we noticed ...
2
votes
0
answers
452
views
What is the reason for: ERROR Transfer event TRB DMA ptr not part of current TD
I enabled xhci debugging via echo -n 'module xhci_hcd =p' > /sys/kernel/debug/dynamic_debug/control according to lore.kernel.org/lkml/55B228A4.2020604.
The off-by-one-error mentioned there has been ...
2
votes
1
answer
46
views
rsyslogd sometimes doesn't write the initial bits of dmesg to /var/log/syslog
I have a Linux machine running Ubuntu 16.04.7 LTS that uses rsyslogd. My understanding of rsyslogd is that it rotates the content from the kernel ring buffer (ie, dmesg) to an on-disk file (ie, /var/...
0
votes
1
answer
137
views
microSD card not recognised by lsblk, errors in dmesg
I got a new Kingston 1Tb microSD card and made the mistake of putting it into my Steam deck right off rather than formatting it on my laptop first. The Steam deck format got stuck on "testing&...
0
votes
0
answers
43
views
ata1.00: unexpected _GTF length (8) in dmesg
Im running Debian 11 (KDE) on my Macbookair7,2 and am trying to clear boot alerts.
Entering dmesg
ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
**ata1.00: unexpected _GTF length (8)**
ata1.00:...
0
votes
1
answer
184
views
Do kernel messages go through syslogd or journald?
I'm using Debian. Debian ships with rsyslogd for its syslogd. It also ships journald. Does the kernel log to rsyslogd first, or journald?
I want to filter one of the messages out of the logs which is ...
0
votes
2
answers
198
views
unable to find or mount sd card
I have a SD card that is giving me some trouble.
I followed some instructions from here https://forums.linuxmint.com/viewtopic.php?t=368230 and used the command
sudo dd if=/dev/zero of=/dev/sdb bs=1M ...
1
vote
0
answers
530
views
"reset SuperSpeed USB device number 1 using xhci_hcd" kernel log message
When steadily reading data off a connected via USB3 HDD drive (cat /dev/sdx > /dev/null) in a VirtualBox VM (Host: Fedora 37, guest: doesn't matter) I see a constant stream of kernel messages ...
1
vote
0
answers
100
views
klogd, dmesg and syslog(2)
I got quite confused reading manual pages of klogd, dmesg and syslog(2). I would like to understand how the message produced by the kernel gets to /var/log/file.
First thing I would like to get to ...
0
votes
0
answers
625
views
Ubuntu 20.04 USB port doesn't work right
I installed Ubuntu 20.04 on my brand new Thinkpad E14 and it worked well until today.
I have 2 USB ports on my computer and they were working correctly a few days ago but now one of these 2 ports ...
0
votes
0
answers
51
views
USB recovery: Support understanding dmesg output
I've a (probably) dying USB storage device. Can somebody help me to interpret the dmesg output (and maybe tell me what to do now). I've tried it on several machines with different kernels
dmesg:
[ 769....
0
votes
0
answers
96
views
What does this backtrace mean in dmesg
While running many short period threads for long time, I'm ended up with the crash. And it didn't produce coredump too. Can anybody give some insights on the below logging in dmesg.
Nov 29 19:02:34 (...
-1
votes
2
answers
2k
views
dmesg -c: read kernel buffer failed, operation not permitted
I am working with kernel modules and therefore I need to work over dmesg outputs. However, I can not command dmesg -c. I can dmesg, yet can't clear the buffer. I searched for solutions such as
sudo ...
0
votes
1
answer
116
views
Is it possible to filter or format the audit dmesg reports?
I like having a terminal open with dmesg so I can see the logs in real-time. However, the audit logs are quite long, and I was wondering if there was a way to filter messages (maybe with sed/awk?) ...
2
votes
1
answer
244
views
A realtime priority application is consuming all of CPU
I am running PopOs 22.04 on my dell laptop [amd64, intel i3, 4GB ram]. The booting was taking so much time, so I run sudo dmesg in terminal and it shows error:
rcu: INFO: rcu_preempt detected ...
0
votes
1
answer
303
views
USB devices connecting then disconnecting permanently on intermittent boots for Ubuntu 16.04 Raspberry pi
Every so often (about 25% of the time) when I boot up my pi, the USB devices will not work. Looking at dmesg output below. It appears my devices connect, then disconnect a second or two later, and ...
0
votes
0
answers
583
views
SD card shows up in dmesg, lsusb, and lswh, but not in lsblk or fdisk
Recently, my Android device has been unable to detect my SD card so I connected it to my PC (running Kubuntu) to figure out what's wrong. These are the results:
dmesg correctly detects the card reader ...
2
votes
0
answers
64
views
Connecting to a MediaTek smartwatch
I am trying to connect into a chinese "Garrett GT13" smartwatch. It is a MediaTek-powered smartwatch, with the processor being MT2502.
My distro is Fedora 36, the Linux kernel version being ...
0
votes
0
answers
300
views
HDD Failure State Diagnostic and the Folowing Strategy
After 9+ years of work (accoring to SMART) my 2TB WD disk from NAS start failing to boot up. I've took that out and attached it to computer to see what's wrong.
Ubuntu Disks utility was fail to ...
5
votes
3
answers
752
views
How to get a USB device Name from its Number
One of my (several) USB drives are reporting this error in dmesg
usb 5-1: device descriptor read/8, error -110
How do I find out the /dev/sdX name of all my USB devices?
In reverse: How do I find out ...
0
votes
1
answer
173
views
USB device shows nothing in dmesg when connected, disables port
I have an embedded linux USB host which refuses to detect a number of my USB devices. The host is running Ubutun 20.04LTS
Nothing shows up in dmesg during a failed detection and afterward the USB port ...
1
vote
1
answer
202
views
Weird dmesg Errors, Perhaps causing the Lag?
I have some lag on my system that acts like a memory leak. Overtime, especially with repetitive suspends, my system can become unusable. Even shutting it down can take 15~20min if i don't hardshut it ...
0
votes
1
answer
182
views
How to run dmesg -w in the background
So I have a command that crashes the computer, and I wanted to see the output of dmesg to figure out the reason.
I saw that there is an -w option that allows dmesg to follow the process, but the ...
3
votes
1
answer
8k
views
Dev loop0: unable to read RDB block 8
Every time I boot my laptop I see this warning and from dmesg I get this output:
[ 2.895604] Dev loop0: unable to read RDB block 8
[ 2.895641] loop0: unable to read partition table
[ 2....
0
votes
0
answers
421
views
journalctl to Query Another Machine's Journal?
Can one use journalctl to read or query another machine's journal?
This would seem trivial and obvious on its face but evidently is not. The journalctl man pages and Google reveal nothing on the ...
0
votes
1
answer
1k
views
Serial port to COM port - no output found
I am using Ubuntu WSL1 in Windows. I want to find my serial port which is currently connected on COM4 and I am running this command:
dmesg | grep tty, dmesg | egrep tty, setserial commands, but ...
0
votes
1
answer
31
views
Will dmesg always report file system read errors?
OS is Debian 10.
Smartctl reports a bad block on a hard drive.
Rsync has been regularly doing backups to a backup drive.
dmesg has not reported any errors.
Does that mean the data on the backup drive ...
1
vote
1
answer
1k
views
Why dmesg output displayed on /dev/tty1
This is still related to my yesterday thread, so there's alert or maybe it's just log that displayed on my terminal on /dev/tty1. Ofcourse it's annoying because it's displayed in my bash prompt, so ...
1
vote
1
answer
96
views
Does this dmesg log show files being transferred?
An issue was recently opened on the GitHub page for the privacy-focused VirtualBox wrapper HiddenVM. The opener posts what he claims to be indication of files from his local cache being sent to an ...
0
votes
0
answers
967
views
how to identify DIMM card problem from kernel messages
we have RHEL 7 server , and from dmesg log we can see the following details
[13901018.980859] {9}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 4
[13901018.980868] {9}[...
1
vote
1
answer
862
views
Increase size-limit of messages written to /dev/kmsg
I have a custom initramfs whose logging output I wish to redirect to /dev/kmsg. The Kernel I am using is 5.10.52
However, I realized that I cannot write more than 992 bytes to /dev/kmsg at once. Is ...
1
vote
0
answers
834
views
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
What exactly does this error mean,
/usr/bin/ckbcomp: Can not find file "symbols/en" in any known directory
This is the context,
After this operation, 0 B of additional disk space will be ...
1
vote
1
answer
2k
views
Hardware error from APEI Generic Hardware Error Source (ECC RAM)
[58306.633900] {1}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1
[58306.633905] {1}[Hardware Error]: It has been corrected by h/w and requires no further action
[58306....
0
votes
0
answers
76
views
In Kubuntu bash is abnormal and dmesg shows "microcode upgraded"; is a silent false upgrade possible?
In Kubuntu 20.04, bash 5.0.17, since some days I have various problems to write working bash scripts. Now I found that bash is faulty. E.g. after keyword "export" a name or any characters ...
1
vote
0
answers
564
views
PCIE USB card not working. What's the missing "... resource 0 [io ...]" line in dmesg meaning?
Problem with 4x USB controller PCIE cards seems to be not correctly installed.
Situation: We want to use USB Vision cameras with USB adapter cards, providing as much bandwidth as possible. So we tried ...
0
votes
1
answer
372
views
vmcore-dmesg : Missing the log_buf symbol
I have generated a vmcore file using kdump and are now supposed to analyze it.
First would be getting the dmesg logs from the core dump. This should be done with:
vmcore-dmesg vmcore
This however ...
0
votes
0
answers
55
views
Failure while connecting external harddrive
I am trying to connect a seagate external drive to my PC that runs Manjaro 5.15.16-1.
However, it is not detected by the system. It is not listed in /dev, I can't view it with fdisk -l. But, I can see ...
0
votes
1
answer
9k
views
rhel + kernel messages about FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
we have couple DELL physical servers with the same problem about - FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
from dmesg we can see the following
[2982241.758445] [<ffffffff81697709>...
0
votes
0
answers
3k
views
dmesg: read kernel buffer failed: Permission denied with root user in LXC container after Ubuntu upgrade
I had an LXC container running in Proxmox with Ubuntu 21.04. In this container dmesg worked as expected with a root user.
I used do-release-upgrade and successfully upgraded the LXC container to ...
0
votes
1
answer
666
views
HDD IO errors from kernel messages + is this definitely a HDD failure
on our RHEL servers , RHEL version - 7.2 , we saw many dmesg lines as:
example about sdb disk ( hard drive )
[Thu Dec 30 13:07:48 2021] EXT4-fs (sdb): error count since last fsck: 1329
[Thu Dec 30 13:...
4
votes
2
answers
3k
views
Is there a way to determine which firmware blobs are used by a linux kernel?
I seek a way to determine which of the firmware (i.e. binary blobs to support hardware) my laptop actually uses.
The package that bundles the binary blobs on my distro archlinux is:
core/linux-...
0
votes
0
answers
344
views
dmesg + how to exclude warning messages from dmesg in order to see the completely kernel messages
on our rhel 7.2 server we can see that all lines from dmesg are looks like this
uname -r
3.10.0-327.el7.x86_64
[26202771.781769] ACPI Error: SMBus/IPMI/GenericSerialBus write requires Buffer of ...
0
votes
2
answers
1k
views
How to convert seconds to day/hour/minute/seconds
I'm trying to translate this time format 21410.912099 into this 12d 1h 14m 17.912 s
I tried using such a script, but it doesn't work (can't parse a point) :(
converts() {
t=$1
d=$((t/60/60/24))
h=$((t/...