2022 Developer Survey is open! Take survey.

Questions tagged [dmesg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
23 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 ...
user avatar
1 vote
1 answer
23 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 ...
user avatar
0 votes
0 answers
42 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}[...
user avatar
  • 11k
1 vote
1 answer
41 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 ...
user avatar
  • 75
0 votes
0 answers
81 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 ...
user avatar
  • 22.5k
1 vote
1 answer
92 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....
user avatar
0 votes
0 answers
42 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 ...
user avatar
1 vote
0 answers
89 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 ...
user avatar
  • 11
0 votes
0 answers
16 views

journalctl -b 0 and dmesg give infromation for previous boot but not current

I'm debugging armbian launching on mini-PC. I rebooted it at "6:36:01" and it failed to load. So, I turned on-off power at "6:43" and it loaded. But when I look into dmesg or ...
user avatar
  • 3
0 votes
1 answer
79 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 ...
user avatar
  • 1
0 votes
0 answers
15 views

How to avoid "# messages dropped." when logging?

I am logging messages from a low-level C application that is actually running on Android. Whenever my code goes to the crucial part of a library I am using, I get the log message "1002 messages ...
user avatar
0 votes
0 answers
25 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 ...
user avatar
  • 1
-1 votes
1 answer
653 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>...
user avatar
  • 11k
0 votes
0 answers
457 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 ...
user avatar
  • 101
0 votes
1 answer
115 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:...
user avatar
  • 11k
1 vote
1 answer
253 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-...
user avatar
0 votes
0 answers
135 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 ...
user avatar
  • 11k
0 votes
2 answers
205 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/...
user avatar
-1 votes
3 answers
104 views

How to "run 'dmesg' using only the 'find' command"? [closed]

For one of my lab assignments, I need to "run dmesg using only the find command". I have been trying to look and can't find anything probably because its not the way it's supposed to be used....
user avatar
0 votes
1 answer
31 views

/ gets remounted read-only, can't find original cause in dmesg because systemd spams it with "read-only" filesystem errors afterwards

During normal use, my Ubuntu laptop intermittently will encounter some I/O error and then remount / as read-only (yes I've checked SMART logs, nothing shows up; I've also replaced the drive, no luck). ...
user avatar
  • 103
1 vote
1 answer
317 views

external hard drive not showing with fdisk & lsblk

this is output of dmesg [ 17.064706] usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd [ 22.496752] usb 2-2: device descriptor read/8, error -110 [ 22.600534] usb 2-2: new SuperSpeed ...
user avatar
  • 11
0 votes
0 answers
16 views

External sound doesn’t work after reboot, but after reconnecting device

Yesterday, I upgraded my Debian system from buster to bullseye. Now I have the following weird problem: I have an external soundcard called BurrBrown from Texas Instruments which behaves as follows: ...
user avatar
  • 151
0 votes
1 answer
91 views

16GB installed but only 12GB available

I have a ThinkPad P14s Gen 2 AMD which has a AMD Ryzen 7 PRO 5850U with Vega 8 Graphics running Fedora 34. It has one 16GB DIMM installed, which the bios as well as dmideocde report correctly Getting ...
user avatar
-1 votes
1 answer
126 views

RHEL + how to verify the dmesg log in order to find the root cause of unexpected reboot

we have RHEL 7.6 server ( VM server ) that performed unexpected reboot twice ( we can see the reboot from last command ) after review on dmesg output , we can see the following messages , Jul 3 09:...
user avatar
  • 11k
0 votes
0 answers
376 views

dmesg: klogctl: Operation not permitted

I see the following error running dmesg in my Linux running on a embedded board. / # dmesg dmesg: klogctl: Operation not permitted As you see, I'm running as root. I am also aware of the question ...
user avatar
  • 111
0 votes
0 answers
53 views

Kernel Param to Pause/Halt on Boot Errors?

Problem I have attempted to startup various Linux installers from many Linux distributions. None of the Installers are booting !! I believe it's during the /dev initialization that the kernal crashes ...
user avatar
2 votes
1 answer
629 views

Why does dmesg need sudo if journalctl can access the same info without root?

These days, at least in Arch Linux (probably true for other distros too? 1), dmesg needs sudo, otherwise it doesn't work: $ dmesg dmesg: read kernel buffer failed: Operation not permitted On the ...
user avatar
  • 1,131
2 votes
0 answers
174 views

My laptop freeze or has black screen when I open the lid after suspend

Since when I bought this laptop (Huawei Matebook D14, it has a AMD Ryzen 5 3500U CPU with a Radeon Vega 8 GPU) and installed Linux on it (it's dualbooting with Windows), I have this problem that ...
user avatar
  • 221
0 votes
1 answer
245 views

MIDI-USB connection not recognized by Ubuntu

I've got a digital piano and an A/B MIDI-USB cable plugged into it, to my PC in order to use it as MIDI controller. For an inexplicable reason, the connection is not recognized. lsusb does not list ...
user avatar
  • 101
1 vote
0 answers
170 views

What are the message formats in `/var/log/syslog` and the output of `dmesg`?

On Debian or Ubuntu, what are the formats of /var/log/syslog and the output of dmesg? In /var/log/syslog, I figure from Apr 1 08:15:01 mycomputer CRON[12494]: (root) CMD (command -v debian-sa1 > /...
user avatar
  • 81
1 vote
1 answer
844 views

Where does dmesg get kernel messages and user space messages?

dmesg is said to examine or control the kernel ring buffer. But it has option --kernel and --userspace. Does dmesg get kernel messages from the kernel ring buffer? Does the kernel ring buffer store ...
user avatar
  • 81
1 vote
0 answers
24 views

Modified kernel module doesn't load on boot- is the old one being cached somewhere

I'm modifying the qca7000 kernel module slightly by adding some debug messages (qcaspi.ko). I compile, run depmod then reboot. However my debug messages do not show up on dmesg. If I rmmod qcaspi then ...
user avatar
  • 135
0 votes
0 answers
329 views

What is dmesg telling me about this USB SSD?

The drive was working fine booting to Ubuntu Mate on a RPi4. I reformatted it before attempting to use it with Berryboot on a new RPi4. During BB installation I got an "Unable to unmount ..."...
user avatar
  • 1
2 votes
0 answers
36 views

Making the locale time format more compact

dmesg -T gives human readable time format, and I want to make it more compact, from this [Пт мар 12 09:18:54 2021] wlan0: associated to this [12.03.21 09:18:54] wlan0: associated I'm using ru_RU.UTF-...
user avatar
  • 21
0 votes
1 answer
100 views

Dmesg ring buffer overload problem

I am writing a device driver. I need to seek in system logs; for that I use dmesg. In my case dmesg is overloaded with these warnings: [ 5578.052140] pcieport 0000:00:1c.5: AER: Corrected error ...
user avatar
1 vote
2 answers
236 views

dmesg shows 0 512-byte logical blocks

Last week I unfortunatly dropped by external HDD drive and it wouldn't spin up anymore. I got other backups, so I thoughed I opened it up so see whats wrong. The read/write head was stuck and damaged, ...
user avatar
  • 11
0 votes
1 answer
780 views

rsyslog not logging kern messages

I'm using Ubuntu 20.04 with rsyslog and up-to-date packages. I want to log messages from iptables. I can see those messages with dmesg - it shows the data I expect. deploy$ dmesg -x kern :warn : [...
user avatar
1 vote
0 answers
261 views

dmesg is flooding with lines as SELinux: initialized

on our rhel 7.x machines we have run dmesg but we get all log as [12283.628766] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs [12286.352175] SELinux: initialized (dev tmpfs, type ...
user avatar
  • 11k
0 votes
0 answers
118 views

FT232 USB serial connection error

I have a serial uart device - FT232. I cant get it to communicate with my python program. When connecting the device I'm getting an error message on dmesg: Unable to read latency timer: -32 And cant ...
user avatar
0 votes
0 answers
58 views

How to enable Ethernet interface?

I have a problem with my Ethernet interface. I think this problem occur after I replaced my bios because of password. The problem is, when I turn on my laptop after shutdown my Ethernet interface dose ...
user avatar
1 vote
1 answer
429 views

Xubuntu slow startup/boot time

I have a Xubuntu desktop machine with an i3-7100, a NVME-system-drive and 6-hdd ZFS filesystem for multimedia storage (mainly running Desktop-Kodi) which takes longer than i expected to boot. When the ...
user avatar
  • 11
0 votes
0 answers
485 views

How do I stop dmesg messages about previously used NFS client mount?

In Linux 5.8.0, NFSv4 client was in use for some time, then server gone away from network, then I umount -f -l-ed it away. Typically I expect NFS-related messages to go away from kernel log, but now I ...
user avatar
  • 5,126
-11 votes
2 answers
479 views

How to change dmesg output colors in terminal? [closed]

There are some nasty colors in dmesg output. How to change this? Looked into .Xresources and .bashrc, no colors defined there matched what I was searching for.
user avatar
1 vote
1 answer
52 views

Diagnosing Hard Disk Issue

I've been experiencing random issues in accessing a particular disk - sometimes Finder will hang and not respond when accessing the disk or some directory in it. Sometimes the system just won't ...
user avatar
  • 111
1 vote
0 answers
245 views

USB keeps resetting randomly

I'm having weird problem with USB on my Linux Mint. It constantly resets some of my USB devices. What's weird is the fact that even the device that kernel chooses to reset is random.. sometimes it's ...
user avatar
  • 11
1 vote
1 answer
74 views

USB device not being recognised as mass storage

I recently bought an external SSD. My Windows laptop recognises the device just fine, but I can't mount it on my Linux machine. The output of lsusb | grep SanDisk shows it there: Bus 002 Device 004: ...
user avatar
  • 111
0 votes
1 answer
550 views

rhel + eth0: Detected Tx Unit Hang

Dear friends and college we have VM machines with rhel 7.2 version - 3.10.0-327.el7.x86_64 we noticed about the following messages ( from /var/log/messages ) e1000 0000:02:01.0 eth0: Detected Tx Unit ...
user avatar
-1 votes
3 answers
64 views

rhel 7.x machines unexpected failure and message file

we have today strange behavior with our Linux server rhel 7.6 from some reason server goes down and from the messages file we can see that server stop be available on Oct 16 18:17:22 after some ...
user avatar
  • 11k
2 votes
0 answers
323 views

Identify ram module linked to ECC error di DMESG

one of my server is logging the following ECC errors: [lun set 14 00:14:16 2020] {33}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 [lun set 14 00:14:16 2020] {33}...
user avatar
  • 21
1 vote
1 answer
325 views

Find the kernel module printing the error message

Is there a way to find which of the kernel modules printed the message to the kernel log? We see a few new entries in dmesg output and I am trying to figure out from which module it came from. The ...
user avatar
  • 4,694

1
2 3 4 5