The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
19 views

module prints to kernel log with delay

I've created a basic linux kernel module, which does the following: static __init int init(void) { printk(KERN_DEBUG "Banana"); return 0; } And of course: module_init(init); Strangely, I ...
1
vote
0answers
15 views

ifup wlan0 causes kernel Oops

on my laptop, when I do ifup wlan0, sometimes I get following call trace in dmesg. Other times, the log looks perfectly normal, and there are no kernel Oops messages. In both cases (with errors and ...
1
vote
0answers
29 views

can't filter printk messages

I'm writing a driver and usually I implement my own log-level scheme. However, this time I figured that I would try to utilize the printk scheme that is built into Linux. I see that I can adjust the ...
1
vote
0answers
26 views

How can I find out if a problem with the USB ports in my laptop is due to hardware or software?

A few days ago, the USB ports in my laptop stop working. At first, I thought it might be due to a recent update of my OS (Ubuntu 14.04), so I began testing if something came up when connecting a ...
4
votes
1answer
300 views

How to know what to grep for in dmesg?

I recently had some trouble with a wireless card, and an online forum suggested searching dmesg with grep firmware. That helped, I was able to find the problem immediately! However, the previous hour ...
0
votes
1answer
2k views

command to determine ports of a device (like /dev/ttyUSB0)

I have a question regarding the ports in Linux. If I connect my device via USB and want to check its port I cant do it using the command lsusb, which only specifies bus number and device number on ...
2
votes
0answers
82 views

Virtual kernel memory layout in dmesg linux kernel 2.6.31

I'm working on a embedded linux project for ARM architecture, kernel version is 2.6.31.12-rt21. In dmesg, I cannot see the virtual kernel memory layout like this: virtual kernel memory layout: ...
0
votes
1answer
59 views

dmesg message repeat

I keep getting this message repeated in dmesg: [215259.269481] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:00:26:f2:46:24:8e:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ...
1
vote
1answer
96 views

Clunking hard drive, some info appears in dmesg but none in fdisk -l, what are my options?

I've been backing up old IDE hard drives onto a new USB drive this afternoon. One, a 2002 120gb Western Digital, has been a bit of a problem. I have connected it (as with the other hard drives) to ...
4
votes
1answer
603 views

USB device messages flooding dmesg (and console)

When USB mouse is plugged into my laptop, dmesg is flooded with following messages: usb 3-1: USB disconnect, device number 28 usb 3-1: new low-speed USB device number 29 using xhci_hcd usb 3-1: New ...
7
votes
1answer
512 views

Where does the kernel ring buffer sit compared to rsyslog?

Is rsyslog just an abstraction layer on top of the kernel ring buffer? Or is the kernel ring buffer its own entity and rsyslogs interaction is like that of any other "application"?
1
vote
0answers
170 views

Cannot mount USB 3.0 Flash drive

I have a 16GB USB 3.0 thumb drive that has worked wonderfully up until two days ago... When ever I plug it into a USB3.0 slot: The light flickers indefinitely; Nautilus shows the Open/Eject popup ...
2
votes
1answer
979 views

dmesg filled with audits every minute from cron

My dmesg is filled with output of like the following, starting from a couple of seconds after booth and continuing indefinitely: [ 3155.216230] type=1006 audit(1393236841.859:85): pid=4206 uid=0 old ...
5
votes
2answers
2k views

Human readable dmesg time stamps on OpenWRT

The output of dmesg shows the number of second+milliseconds since the system start. [ 10.470000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 14.610000] device eth0 entered ...
1
vote
1answer
316 views

TT-Connect CT2-4650 CI doesn't initialize (Timeout?)

I've tried to get a Techno Trend TT-connect CT2-4650 CI running under a Kali Linux, where I suppose the kernel is about the same as on a current Debian. The compilation ran just fine. The kernel ...
2
votes
2answers
267 views

Interpreting output of dmesg and /var/log/boot.log

I found two ways for printing boot messages one using dmesg and another the content of file /var/log/boot.log: The content of the /var/log/boot.log file are: fsck from util-linux 2.20.1 ...
2
votes
2answers
121 views

How can I find the text show in the screen when linux boot? That's not the same as dmesg shows

When gnu/linux boot message shows, that's not the same as dmesg shows. How can I find it back?
2
votes
1answer
2k views

How do I read the output of `dmesg` to determine how much memory a process is using when oom-killer is invoked?

I asked this question: Running `sudo /sbin/service mysqld start` causes system to crash In the comments of one of the answers, a very helpful individual is asking for more information regarding how ...
0
votes
1answer
89 views

btrfs: mismatching generation and generation_v2 found in root item

I am seeing this message in dmesg: btrfs: mismatching generation and generation_v2 found in root item I found a related question here: Understanding btrfs dmesg However, unlike that question, I ...
4
votes
1answer
88 views

dmesg email digest

I have a remote server which has some issues (Seem hardware related) which means that it logs KVM errors and then sometime later it becomes unresponsive and locked up. There is an often an early ...
9
votes
5answers
6k views

How can I see dmesg output as it changes?

I'm writing a device driver that prints error message into ring buffer dmesg output. I want to see the output of dmesg as it changes. How can I do this?
4
votes
2answers
325 views

Why and how to track /var/log/dmesg with version control

On this wiki they recommend tracking /var/log/dmesg using Mercurial. I wanted to set up a cron job on CentOS 6.4 like on this page to remind myself to make commit messages for such a repo. However, ...
4
votes
2answers
4k views

How can dmesg content be logged into a file?

I'm running a Linux OS that was built from scratch. I'd like to save the kernel message buffer (dmesg) to a file that will remain persistent between reboots. I've tried running syslogd but it just ...
3
votes
1answer
296 views

How can I stop “Timed out waiting for forcewake old ack to clear”?

Running Arch Linux with Intel i915 and onboard Intel graphics. If I do a dmesg, I get line after line of "[drm:__gen6_gt_force_wake_mt_get] ERROR Timed out waiting for forcewake old ack to clear". ...
3
votes
1answer
168 views

What do the fields in the libata device probe line in dmesg mean?

When the kernel boots, it prints out lines like this for each SATA device: [ 0.919450] ata2.00: ATA-8: ST2000DM001-1CH164, CC24, max UDMA/133 [ 0.919487] ata2.00: 3907029168 sectors, multi 16: ...
24
votes
3answers
4k views

Why is dmesg called dmesg?

Is there any explanation/history behind the name of the command dmesg (which prints out some kernel messages)?
2
votes
2answers
132 views

How to test whether Linux is running on a ThinkPad?

I need to programmatically detect if Linux is running on a ThinkPad. A shell script would be ideal but I can programmatically generate any binary by downloading some source and compiling it on the ...
1
vote
1answer
654 views

How to avoid overflowing the kernel printk ring buffer?

I'm trying to debug a linux driver and a particular piece of code is behaving very strangely. In order to see what's going on I've filled the code with printk statements so I can see exactly what the ...
1
vote
1answer
2k views

Which drive had a “journal commit I/O error”?

I received a message: kernel:[123456.789012] journal commit I/O error Which disk drive had the journal error?
9
votes
3answers
3k views

How can I write to dmesg from command line?

I'd like to write a statement to dmesg. [How] can I do this?
1
vote
1answer
2k views

What's the difference between 'no caching page mode present' and 'assuming drive cache. write through.'

Post-POST, post-BIOS screen, post-GRUB; when I boot Debian with a SD card or USB stick plugged in, one of the first things to pop up on the screen (so quickly that usually I don't even notice) looks a ...