Questions tagged [dmesg]

The tag has no usage guidance.

2
votes
1answer
30 views

How do I get dmesg to store a log file?

My phone keeps rebooting. I want to know what dmesg says at the moment it reboots, so I can diagnose. Unfortunately, the reboots don't happen predictably, and only when I'm using it. I can't keep my ...
2
votes
1answer
30 views

sd 5:0:0:0: [sda] Attached SCSI disk, what are these four numbers? Will they change?

I can usually see this log in dmesg: sd 5:0:0:0: [sda] Attached SCSI disk Can you please explain what are these 4 numbers? Will these numbers change after reboot? or it should be constant?
2
votes
2answers
41 views

Automatic rmmod / modprobe based on dmesg parsing

I am using a MacBooPro10,1 Debian stable (default install with rsyslogd) system for which the trackpad eventually fails (pointer stop working) from time to time as can be seen : $ dmesg [...] [...
0
votes
1answer
89 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:...
0
votes
2answers
24 views

If e2fsck says output from a mounted file system isnt to be trusted, then how does systemd generate log messages from fs errors?

man e2fsck says; Note that in general it is not safe to run e2fsck on mounted filesystems. The only exception is if the -n option is specified, and -c, -l, or -L options are not ...
0
votes
0answers
14 views

Linux Kernel: Redirecting dmesg to a txt file through the kernel space

I understand that writing files through the kernel space is not recommended but I have been porting 4.9 to my Android device. While fixing the display, the device stopped booting(Splash -> Black ...
-1
votes
1answer
69 views

Why is clearing the console the default behavior of Linux today? [closed]

Why doesn't the boot messages persist in the terminal after booting, on modern Linux distributions? Yes, I know I can make the boot messages persist with --noclear or TTYVTDisallocate=no. Like ...
2
votes
1answer
372 views

“kernel: Buffer I/O error on device” - Does my server have a hardware problem?

we have linux DB server redhat 7.2 we notice about many message as below about all disks that are mounted from /var/log/messages what we are need to understand if this behavior is relevant to HW ...
2
votes
2answers
98 views

SSD's hard resetting link CentOS 7

I have two Intel SSDSC2CW120A3 SSDs in a SuperMicro X9SCL/X9SCM set for software RAID-1 on CentOS 7: Linux hostname.local 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 ...
2
votes
2answers
213 views

why MTU change from 1500 to 9000

in /var/log/message file we found something interesting Mar 9 07:08:32 linux54 kernel: ixgbe 0000:0b:00.1 en3j87: changing MTU from 1500 to 9000 we can see the interface card - en3j87 change from ...
-1
votes
1answer
305 views

dmesg gave errors blk_update_request: I/O error, dev xxx, sector xxxxxxxxxx

I found errors by performing dmesg, seems like there're something wrong with all of disks. I keep tracking the errors until now. Here're a log from dmesg. [Wed Mar 13 17:12:26 2019] ...
0
votes
0answers
95 views

dmesg + why somethings link is up and link is down from dmesg

from the dmesg we get something interesting some time we see [ 41.174357] IPv6: ADDRCONF(NETDEV_UP): eth2f0: link is not ready and sometimes we see [ 41.874332] IPv6: ADDRCONF(NETDEV_CHANGE):...
0
votes
1answer
437 views

Writing to /dev/kmsg randomly shows up in /proc/kmsg and always in dmesg?

When writing a message to /dev/kmsg while tailing /proc/kmsg the messages show up very randomly, in never shows up in /var/log/kern.log. However, dmesg gets all the messages correctly. Example # ...
0
votes
1answer
158 views

Understanding a dmesg kernel warning message

I am trying to debug my kernel module. When I run it I get the following kernel warnings, but it seems that there is no informative message like other warnings I've seen. Is it possible to get any ...
1
vote
1answer
81 views

No root permission in a docker container image

I test a Docker container (created from Nvidia CUDA image) started with the command: docker run -i -t xxxxxx /bin/bash I can see the root prompt, but still don't have privileges for some operations; ...
0
votes
1answer
55 views

NVIDIA usable memory 4GB instead of 6GB?

I have an NVIDIA 1060 with 6GB of memory in my laptop. I am on Linux Mint 19.1 Cinnamon 64-bit with NVIDIA drivers version 390 official: You can see for yourself, but I know that from Dell support, ...
0
votes
2answers
77 views

How can I configure a running kernel to output dmesg info directly to the tty, without involving any userspace programs?

There are a large variety of questions floating around the 'net from people who want to watch the output of dmesg in real time. All the suggestions and answers involve using dmesg -w, tail, journalctl ...
1
vote
0answers
120 views

Difficult tainted kernel message - anyone know the source?

It lists so many things that I can not tell the source. I see iee80211 so I thought it might be a network packet, but than I see IRQ and also modules being listed so it is really convulated. Ubuntu ...
0
votes
1answer
56 views

how to understand the dmesg

we have redhat machine version 7.2 and each machine have disks as sdb sdc sdd sde sdf in the dmesg report we get the following [873080.996700] Buffer I/O error on device sdf, logical block ...
0
votes
1answer
106 views

Docker container is killed during performance tests

I need to understand why docker container is being killed during processing. Short background: we're running performance tests in RH machine. (Machine has 64GB RAM, 16 CPU) after 20 hours of run or ...
1
vote
0answers
54 views

2 LAN cables connected, 1 PCI bus and vice versa

When booting my pc with 2 LAN cables connected only one interface is registered. 03:00.0 and 04:00.0 $ dmesg | grep -P '0(3|4):00.0' [ 0.180140] pci 0000:04:00.0: [11ab:4362] type 00 class ...
0
votes
0answers
85 views

dmesg + Reset adapter - what is mean - is it problem

from the dmesg we get the following note - e1000 0000:02:01.0 eth12983746: Reset adapter is it mean that we have problem with eth card ? and because that adapter is restart ? [440924.709103] <...
0
votes
1answer
134 views

Which kernel .config option causes “Magic number: 1:252:3141” on dmesg?

Here it is in context: [ 0.507474] i8042: PNP: No PS/2 controller found. [ 0.507568] mousedev: PS/2 mouse device common for all mice [ 0.507683] device-mapper: uevent: version 1.0.3 [ 0....
1
vote
0answers
72 views

Linux kernel networking Ubuntu debug message not shown with printk/pr_debug?

I have recompiled the Linux kernel on Ubuntu and now upgraded to 4.17.6. I need to modify the TCP/IP stack parts, in specific one of the congestion control algorithms (eg. Vegas). After successful ...
0
votes
0answers
218 views

busybox dmesg old timestamp format

I'm working on an arm board running an old kernel(3.14.29) I trying to to get the dmesg output and pass it to the bootgraph.pl to generate an SVG of kernel boot sequence. However after passing the ...
0
votes
1answer
476 views

How to read usb-storage message in dmesg?

When inserting a USB pen drive, I get the following message [20236.720694] usb-storage 1-1.2:1.0: USB Mass Storage device detected [20236.721212] scsi host6: usb-storage 1-1.2:1.0 I think usb-...
1
vote
0answers
703 views

how to know why Linux redhat machine performed reboot

we have cluster with redhat machines version 7.2 on pluto05 machine we saw that machine rebooted before one day uptime 13:51:06 up 1 day, 1:46, 2 users, load average: 0.30, 0.14, 0.08 and from ...
1
vote
0answers
75 views

What are the possible cause of “__rtc_set_alarm: err=-22” error message in dmesg?

What are the possible cause of "__rtc_set_alarm: err=-22" error message in dmesg? I am seeing this in my log files but I do not try to set the alarm or schedule it anywhere.
0
votes
1answer
507 views

Understanding dmesg warning

Could anyone give some insight on what these warnings mean in the below dmesg log? Do they mean that the atl1c module is failing to load completely or merely a warning? Any information that helps ...
1
vote
2answers
154 views

Unusal boot time of one hour, where to find logs [closed]

I have an unusual time of boot of aprox one hour on a RPI. After one minute I can ping the device, but I can't do an ssh after until 1 hour. I don't know where to find logs to hep me. I checked /var/...
1
vote
0answers
1k views

How to get DisplayLink to work with Debian?

I have have successfully installed the necessary drivers as outlined: https://github.com/AdnanHodzic/displaylink-debian/blob/master/post-install-guide.md I do have UEFI installed on Intel NUC (...
2
votes
1answer
1k views

Toggling visibility of segmentation fault messsages in dmesg

When applications segfault, I generally see messages like this in dmesg: pstree[25678]: segfault at 0 ip 00007f58be0b3ae4 sp 00007ffe65b700a0 error 4 in libc-2.24.so[7f58be04d000+195000] However, I ...
1
vote
4answers
11k views

Log iptables events on centos 7

I have got iptables on my centos 7. My firewalld is disabled. How can I log my iptables events? On debian it is dmesg option but I don't know how to set it on centos. I want to log all of my iptables ...
1
vote
1answer
881 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 ...
2
votes
0answers
217 views

alloc_contig_range test_pages_isolated failed

On an embedded linux system (arm cortex a9 imx.6), the hmi program froze at a certain time. At the same time there was the following log in /var/log/messages es well with "dmesg": alloc_contig_range ...
2
votes
1answer
412 views

What are 'dmesg' failure messages?

When I'm executing the dmesg command on my RHEL 7.4 server, I'm noticing following failure messages: [root@localhost ~]# dmesg | grep -i fail [ 0.984930] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND)...
2
votes
0answers
130 views

Very long ubuntu startup time

I've just installed Ubuntu (on an SSD) and startup takes over two minutes. I've checked "dmesg" and found a clear 90 seconds process that probably shouldn't be there. [ 13.831788] audit: type=1400 ...
1
vote
1answer
2k views

How to increase dmesg buffer size in CentOs 7.2?

I am getting following message in dmesg: "systemd-journald[414]: /dev/kmsg buffer overrun, some messages lost." How to increase dmesg log buffer size to view all debug messages? Any help will be ...
0
votes
1answer
786 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 ...
3
votes
0answers
234 views

sda:sda1 keeps showing up in dmesg

dmesg logs is 'filled with' the following : [613051.997981] sdf: sdf1 [613052.068773] sdf: sdf1 [613352.060804] sdc: sdc1 [613653.176468] sdc: sdc1 This just continues on and on about every 300 ...
-1
votes
1answer
96 views

how to identify if raid1 or raid mirror configure on OS disk

we want to verify if raid1 is configured on out linux machine so we found the answer on - https://serverfault.com/questions/110843/how-to-determine-if-a-centos-system-is-raid-1 but from the output - ...
0
votes
0answers
1k views

What to do if I get this error: `mce: [Hardware Error]: PROCESSOR 0:306c3 TIME 1511138090 SOCKET 0 APIC 0 microcode 22`?

I have an Intel i7 laptop. While running two VirtualBox VMs and while training a neural network with TensorFlow, my KDE desktop told me with a popup that I got the following message: Message from ...
1
vote
1answer
493 views

Can I restrict dmesg to a group?

I understand that, for security reasons (like address randomization), it makes some sense to not let every user be able to read the kernel's dmesg. Linux allows one to restrict dmesg to the root user ...
1
vote
2answers
904 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
1k views

Trying to fix these dmesg errors Debian Stretch

Since updating to Debian Stretch I'm seeing these kernel messages while system boots up (in prior version's they did not show up at all): dmesg -k -l err,warn [ 0.008642] ENERGY_PERF_BIAS: Set to ...
2
votes
2answers
181 views

HGST 6TB Drive not recognized

I have a HP Proliant Microserver Gen8 running Debian Stretch. I installed a HGST 6TB HDD in Slot 1 and when I boot the device does not show. dmesg output: [ 8.159512] ata1: SATA link up 6.0 Gbps (...
0
votes
1answer
315 views

Buffer I/O error on /dev/sda2, running fsck.hfsplus returns OK

At the moment, I'm mounting a USB hard drive running HFS+ on a Raspberry Pi 3 at boot to be writable. Not 100% sure what I did, but the drive is suddenly throwing up errors such as Buffer I/O error on ...
0
votes
1answer
81 views

Storing Huge Data in Linux Kernel

I have a customized Linux Kernel which prints to dmesg and syslog (using printk) some additional information about each received MP-TCP packet in the system. Things work perfectly, however I am ...
13
votes
1answer
11k views

dmesg: read kernel buffer failed: Permission denied

Since recently Debian has changed the default behavior for dmesg and I cannot use it simply from my local user. % dmesg dmesg: read kernel buffer failed: Operation not permitted Same goes for: % ...
3
votes
1answer
6k views

How to filter the dmesg log to see only the errors

I am in ubuntu, when I write dmesg the error messages appear in red, how could I print in the console only those?