2
votes
2answers
79 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?
5
votes
5answers
1k 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?
2
votes
1answer
788 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
117 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: ...
2
votes
2answers
125 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
419 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
1k 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?
7
votes
3answers
2k views

How can I write to dmesg from command line?

I'd like to write a statement to dmesg. [How] can I do this?