Re: [ANNOUNCE] 3.0-rt3

Yong Zhang
2011-07-26T06:20:33Z

On Sun, Jul 24, 2011 at 6:33 PM, Thomas Gleixner <tglx@linutronix.de> wrote:
> Dear RT Folks,
>
> I'm pleased to announce the 3.0-rt3 release.

Get below bug when I switch tracer between 'function' and 'preemptirqoff'.

[ 112.408041] BUG: sleeping function called from invalid context at
kernel/rtmutex.c:645
[ 112.408045] in_atomic(): 1, irqs_disabled(): 1, pid: 2213, name: bash
[ 112.408048] Pid: 2213, comm: bash Not tainted 3.0.0-rt3-00239-g05a16b8 #3
[ 112.408051] Call Trace:
[ 112.408059] [<c15bddb4>] ? printk+0x1d/0x21
[ 112.408064] [<c1036276>] __might_sleep+0xe6/0x110
[ 112.408068] [<c15c048c>] rt_spin_lock+0x1c/0x40
[ 112.408072] [<c10e3087>] free_hot_cold_page+0x87/0x250
[ 112.408075] [<c10e3285>] __free_pages+0x35/0x40
[ 112.408078] [<c10e32c4>] free_pages+0x34/0x40
[ 112.408082] [<c10b3200>] free_buffer_page+0x10/0x20
[ 112.408085] [<c10b5614>] ring_buffer_resize+0x144/0x410
[ 112.408089] [<c10bb0ff>] tracing_set_tracer+0x16f/0x250
[ 112.408093] [<c127c116>] ? __copy_from_user_ll+0x16/0xf0
[ 112.408096] [<c10bb248>] tracing_set_trace_write+0x68/0x90
[ 112.408101] [<c124f846>] ? apparmor_file_permission+0x16/0x20
[ 112.408105] [<c12206f4>] ? security_file_permission+0x24/0xb0
[ 112.408109] [<c11207cc>] ? rw_verify_area+0x6c/0x130
[ 112.408112] [<c1120e0d>] ? sys_write+0x1d/0x70
[ 112.408115] [<c1121f51>] ? fget_light+0x11/0xd0
[ 112.408118] [<c1120b52>] vfs_write+0xa2/0x170
[ 112.408121] [<c10bb1e0>] ? tracing_set_tracer+0x250/0x250
[ 112.408123] [<c1121f56>] ? fget_light+0x16/0xd0
[ 112.408127] [<c1120e32>] sys_write+0x42/0x70
[ 112.408130] [<c15c6cdf>] sysenter_do_call+0x12/0x2d

--
Only stand for myself