lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PREEMPT_RT (2.6.33-rt17) disabled printk-to-console after console_init
On Tue, 18 May 2010, Xianghua Xiao wrote:
> I could not get dmesg output to console/serial and
> klogd(/var/log/messages) anymore with 2.6.33-rt17 _after_ the kernel
> boot is done(on non-RT kernel it works fine). I made below changes it
> starts to work again, however I'm unsure how safe the change is.
> Please advise.

Well, obviously it's unsafe if you remove safety checks. And if you
care to look at the changelog of kernel/printk.c you'll find out why.

Short story: It's introducing nasty latencies.

Use "earlyprintk=serial,ttyS0,115200,keep" if you care, but do not
complain about the resulting latencies.

Thanks,

tglx


\
 
 \ /
  Last update: 2010-05-18 21:49    [W:0.059 / U:8.120 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site