Re: real time hang w/ latency tracing

2007-04-04 Thread Daniel Walker
On Wed, 2007-04-04 at 17:42 +0200, Ingo Molnar wrote: > i mean non-printk related breakages to the normal serial driver - which > is now surprised by this raw lock in an -rt kernel. > > this is a hard issue and there's no easy solution i can see. neither > having it as a raw lock is a good solu

Re: real time hang w/ latency tracing

2007-04-04 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > > > struct uart_port { > > > +#ifdef CONFIG_LATENCY_TIMING > > > + raw_spinlock_t lock; /* port lock */ > > > +#else > > > spinlock_t lock; /* port lock */ > > > +#endif > > > > ugh - this w

Re: real time hang w/ latency tracing

2007-04-04 Thread Daniel Walker
On Wed, 2007-04-04 at 10:51 +0200, Ingo Molnar wrote: > * Daniel Walker <[EMAIL PROTECTED]> wrote: > > > Index: linux-2.6.20/include/linux/serial_core.h > > === > > --- linux-2.6.20.orig/include/linux/serial_core.h > > +++ linux-2.6.2

Re: real time hang w/ latency tracing

2007-04-04 Thread Ingo Molnar
* Daniel Walker <[EMAIL PROTECTED]> wrote: > Index: linux-2.6.20/include/linux/serial_core.h > === > --- linux-2.6.20.orig/include/linux/serial_core.h > +++ linux-2.6.20/include/linux/serial_core.h > @@ -213,7 +213,11 @@ struct uart_

Re: real time hang w/ latency tracing

2007-04-03 Thread Daniel Walker
On Tue, 2007-04-03 at 11:57 -0700, Daniel Walker wrote: > With 2.6.21-rc5-rt8 / i386 . If I disable wakeup timing , and enable > interrupt off timing with latency tracing I can cause, > > BUG: scheduling with irqs disabled: IRQ-16/0x/909 > caller is rt_spin_lock_slowlock+0x94/0x190 > [] s

real time hang w/ latency tracing

2007-04-03 Thread Daniel Walker
With 2.6.21-rc5-rt8 / i386 . If I disable wakeup timing , and enable interrupt off timing with latency tracing I can cause, BUG: scheduling with irqs disabled: IRQ-16/0x/909 caller is rt_spin_lock_slowlock+0x94/0x190 [] show_trace_log_lvl+0x3a/0x60 [] show_trace+0x2d/0x30 [] dump_stack