linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PREMPT_RT
       [not found] <CAFbQSaBm-0ROHX80JQN6ef4Hgy1PgH8PmYRSRpyJ1+mNo+HnbQ@mail.gmail.com>
@ 2013-01-30  2:19 ` Vineeth
  2013-01-30  2:29   ` PREMPT_RT Vineeth
  0 siblings, 1 reply; 3+ messages in thread
From: Vineeth @ 2013-01-30  2:19 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

Hi,

I've added a VDSO patch on my 2.6.32 kernel. When i enabled PREMPT_RT i am
getting the below oops messages.
What is the reason for this ? When googled, it was mentioned in many places
that it is caused by the get_cpu()/put_cpu() preempt disabled region.
Can someone help me to understand this ?

Thanks

[-- Attachment #2: Type: text/html, Size: 508 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PREMPT_RT
  2013-01-30  2:19 ` PREMPT_RT Vineeth
@ 2013-01-30  2:29   ` Vineeth
  2013-03-08  6:48     ` PREMPT_RT vneethv
  0 siblings, 1 reply; 3+ messages in thread
From: Vineeth @ 2013-01-30  2:29 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

Hi,

I've added a VDSO patch on my 2.6.32 kernel. When i enabled PREMPT_RT i am
getting the below oops messages.
What is the reason for this ? When googled, it was mentioned in many places
that it is caused by the get_cpu()/put_cpu() preempt disabled region.
Can someone help me to understand this ?

BUG: sleeping function called from invalid context at kernel/rtmutex.c:684
pcnt: 10002 0 in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper
Call Trace:
[c0771d40] [c000750c] show_stack+0x44/0x160 (unreliable)
[c0771d70] [c0021114] __might_sleep+0xe4/0x108
[c0771d80] [c05700bc] rt_spin_lock+0x38/0xb4
[c0771d90] [c005a3b0] ntp_tick_length+0x20/0x54
[c0771db0] [c00594e8] update_wall_time+0xb0/0xa3c
[c0771e20] [c0040bc0] do_timer+0x38/0x4c
[c0771e30] [c005f2c4] tick_do_update_jiffies64+0x1cc/0x2a8
[c0771e70] [c005f494] tick_check_idle+0xf4/0x120
[c0771ea0] [c0039a50] irq_enter+0x68/0x7c
[c0771eb0] [c000ae78] timer_interrupt+0xb0/0x168
[c0771ed0] [c000e84c] ret_from_except+0x0/0x18
[c0771f90] [c000874c] cpu_idle+0x58/0xf4
[c0771fb0] [c0002330] rest_init+0xa0/0xb0
[c0771fc0] [c06fc9d4] start_kernel+0x320/0x334
[c0771ff0] [c00003f0] skpinv+0x308/0x344


Thanks

[-- Attachment #2: Type: text/html, Size: 1369 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PREMPT_RT
  2013-01-30  2:29   ` PREMPT_RT Vineeth
@ 2013-03-08  6:48     ` vneethv
  0 siblings, 0 replies; 3+ messages in thread
From: vneethv @ 2013-03-08  6:48 UTC (permalink / raw)
  To: linuxppc-dev

huh..My VDSO patch was not the culprit..! the issue was with
spin_lock_irqsave calls...! modify the same to
raw_spin_lock_irqsave..problem solved..! 
the rtpatch was not applied properly.




--
View this message in context: http://linuxppc.10917.n7.nabble.com/PREMPT-RT-tp68107p69101.html
Sent from the linuxppc-dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-08  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAFbQSaBm-0ROHX80JQN6ef4Hgy1PgH8PmYRSRpyJ1+mNo+HnbQ@mail.gmail.com>
2013-01-30  2:19 ` PREMPT_RT Vineeth
2013-01-30  2:29   ` PREMPT_RT Vineeth
2013-03-08  6:48     ` PREMPT_RT vneethv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).