Questions tagged [dmesg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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 ...
0
votes
0answers
9 views

nvme errors on startup that slows down the boot

I have a Win/linux laptop with really slow statup and after looking at dmesg I can see that there are some issues probably related with the ssd disk. This is a copy/paste of the output of dmesg. [ ...
0
votes
1answer
1k views

Parrotsec OS unable to run apt-get and got some errors with dmesg

I install parrot OS and when installing a package i found this error. It is the the same when I try to install any package. Reading package lists... Error! W: Not using locking for read ...
0
votes
1answer
1k views

WiFi frequently drops, suspected driver issue

I'm running a fully up-to-date Fedora on a Macbook Pro. To get WiFi working in the first place, I installed akmods-wl as recommended. The WiFi works, but the connection keeps dropping. I've noticed ...
5
votes
3answers
2k views

dmesg with / without sudo on Debian / Mint

I noticed this difference some time ago, but until now, I didn't bother to ask, why is that? On Linux Mint 18 (Ubuntu-based) I can run dmesg without using sudo. On GNU/Linux Debian 9 I must use sudo ...
1
vote
0answers
25 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 > /...
1
vote
1answer
57 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 ...
6
votes
1answer
2k views

How to exclude auditd messages from dmesg and only log them in /var/log/audit.log

I use audit to log suspicious user actions on a workstation in my institution. I found that, in addition to logging to /var/log/audit.log, auditd also writes to /var/log/messages. Consequently, ...
-1
votes
0answers
27 views

What are the numbers in `[…]` meaning in the output of `dmesg` on Linux? [duplicate]

What are the numbers in [...] meaning in the output of dmesg (see below)? I have seen some shell scripts do something like: ID=$(sudo dmesg | grep 'kprobe_lookup:' | tail -n1 | sed 's/\[\(.*\)\..*/\1/...
1
vote
0answers
7 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 ...
0
votes
0answers
31 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 ..."...
2
votes
0answers
21 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-...
60
votes
5answers
45k views
0
votes
2answers
31 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, ...
0
votes
1answer
17 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 ...
0
votes
0answers
11 views

Why is my Oracle Linux 7.8 server spamming “eth0: bad gso: type: 1” errors?

I have an Oracle Linux 7.8 server with terrible network performance. When I run dmesg, I see that it is spamming "eth0: bad gso: type: 1" errors. I tried disabling gso/tso on the interface,...
0
votes
1answer
56 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 : [...
4
votes
2answers
2k views

Slow root / mounting time

By running dmesg -t -d on my Raspbian/Debian Jessie, I see that this is a bottleneck in my booting process: [< 4.777880>] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. ...
1
vote
0answers
52 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
20 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 ...
1
vote
1answer
93 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 ...
50
votes
3answers
90k views

How to read dmesg from previous session? (dmesg.0)

dmesg is a command to read the contents from /var/log/dmesg. The nice thing compared to less /var/log/dmesg is that I can use the -T flag for human readable time output. Now I would like to look at /...
0
votes
0answers
91 views

docker + dmesg complain about Unmounting Filesystem and Mounting V4 Filesystem

we have rhel 7.2 server with docker service and docker container docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS ...
20
votes
3answers
24k views

Understanding “serial8250: too much work for irq4” kernel message

dmesg shows lots of messages from serial8250: $ dmesg | grep -i serial [ 0.884481] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 6.584431] systemd[1]: Created slice system-serial\...
0
votes
0answers
55 views

Ways to cause RAM errors and display them to dmesg or messages logfile in CentOS 7

I would like to know how to generate an ECC correctable error or an FB-DIMM configuration write error (Non-Fatal Recoverable) that will be displayed to the dmesg or messages logfiles, like in the ...
0
votes
0answers
96 views

Strange errors in my DMESG that cause the computer to freeze

I don't know what to do about this. My OS suddenly freezes (although music keeps playing) and in my DMESG I am constantly getting these errors: [sex dez 4 12:08:32 2020] alx 0000:05:00.0: AER: PCIe ...
0
votes
0answers
136 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 ...
-10
votes
2answers
138 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.
1
vote
1answer
33 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 ...
1
vote
0answers
79 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 ...
1
vote
1answer
34 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: ...
0
votes
1answer
93 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 ...
0
votes
0answers
18 views

USB printer not identified Ubuntu 18.04

I have some issues with this printer (HP Laser 107a). It might not be a Unix issue but coming from the printer hardware. I suspect the USB cable but I'm not an expert at all in this kind of issue. ...
5
votes
3answers
234 views

How do I troubleshoot some unexpected error messages reported while booting Debian 10?

I upgraded my Debian from 9th version to 10th when Debian 10 was officially released. Since I upgraded to Debian 10, I am getting following messages while booting: [ 11.008027] pstore: Using ...
-1
votes
3answers
51 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 ...
1
vote
0answers
121 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}...
0
votes
1answer
183 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 ...
0
votes
1answer
131 views

Can't connect to wifi: sta recv deauth reason code(15)

I have a Wireless USB Adapter ZyXel NDW6605 which I'm trying to use on my Debian 10. It uses Realtek RTL8812AU chipset so I installed the driver from here https://github.com/lwfinger/rtl8812au and ...
4
votes
1answer
3k views

Remove ECC warnings in system log

How can I disable these warnings about ECC? I don't have ECC memory and so disabled it in bios also but it still prints it. [ 4.697057] EDAC amd64: Node 0: DRAM ECC disabled. [ 4.697061] EDAC ...
3
votes
1answer
200 views

how are early logs logged in rsysylog, when rsysylog is not yet running?

I am using rsyslog on Debian Buster. I am using old-style sysvinit, not systemd. rsyslog is started late in the init startup sequence, after most init scripts have run. The dmesg messages during boot ...
0
votes
0answers
81 views

Difficulty getting gammu for SMS gateway to recognize iphone connected with USB

I'm attempting to set up an SMS gateway as shown in this link: http://xaintech.blogspot.com/2010/05/build-your-own-sms-gateway-with-ubuntu.html I am trying to configure gammu to connect to my iPhone ...
0
votes
0answers
166 views

OS doesn’t see newly installed SSD (SATA)

I had broken HDD in my laptop for quite a while. Recently I’ve installed Fedora 32 on my second drive, I didn’t checkmark that broken drive during installation and everything was fine. Today I’ve ...
3
votes
1answer
208 views

sha1sum reports that checksums do not match even though they are identical

Perhaps I'm doing something very stupid here, but Google hasn't been very helpful in resolving the problem. I have an archive of files I made for backup purposes. I've generated an SHA1 checksum file ...
1
vote
1answer
2k views

Is it possible to tell when /dev/kmsg has been ratelimited?

The Linux kernel developers decided by default to ratelimit messages to /dev/kmsg. This was because they did not like the amount of messages written by systemd, particularly when debug is passed on ...
3
votes
1answer
2k views

dmesg + Assuming drive cache: write through

when we run the following dmesg on rhel 7.2 , we get errors about assuming drive cache dmesg --level=err [ 5.325381] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 5.325492] sd 0:0:5:0:...
2
votes
2answers
2k views

unable to launch any program: trap int3 ip error

I cannot launch any program in my desktop environment. I get these errors in dmesg: traps: terminator[3670] trap int3 ip:374dda71261 sp:388624bbec0 error:0 traps: pcmanfm[3685] trap int3 ip:...
3
votes
1answer
10k views

How to read *.journal files? [duplicate]

I want to see the previous dmesg log before the reboot. In previous versions of fedora, It used to be in /var/log/messages. But from Fedora 20, it's being stored through systemd i.e. journalctl. I've ...
0
votes
0answers
6 views

Tracing the changes in system between two time

My printer scanner is works sometime while it didn't work other time. Is there is a way to find out what makes it work, like saving the whole system configuration at each instance and then checking ...
4
votes
2answers
10k views

How can I activate extra-verbose mode (debugging mode) during Debian boot?

How do I activate extra verbosity during boot, on Debian? I removed the quiet parameter and tried to add debug but it didn't help. My problem is that my keyboard takes 2-3 min to activate so it ...

1
2 3 4 5