Hi RT Folks I am testing 3.0-rt3 on AM3517 - Arm Cortex A8. As the kernel from the mainline is not booting I am using a patch to boot AM3517 kernel on top of the mainline kernel. I am getting a warning as below. The same issue when I reported for rt3, Thomas has suggested a patch that is already integrated in rt4, even then I am getting the same warning. Attaching the patch and the rt-config file. [ 602.014099] BUG: sleeping function called from invalid context at kernel/rtmutex.c:645 [ 602.014129] in_atomic(): 0, irqs_disabled(): 128, pid: 329, name: kworker/0:1 [ 602.014129] 2 locks held by kworker/0:1/329: [ 602.014160] #0: (events){.+.+..}, at: [<c00b462c>] process_one_work+0x1c0/0x5d4 [ 602.014190] #1: (console_work){+.+...}, at: [<c00b462c>] process_one_work+0x1c0/0x5d4 [ 602.014251] irq event stamp: 29771 [ 602.014251] hardirqs last enabled at (29770): [<c0461e38>] _raw_spin_unlock_irqrestore+0x60/0x68 [ 602.014282] hardirqs last disabled at (29771): [<c02c9ebc>] serial_omap_console_write+0x28/0x230 [ 602.014312] softirqs last enabled at (0): [<c009968c>] copy_process+0x370/0xf78 [ 602.014343] softirqs last disabled at (0): [< (null)>] (null) [ 602.014404] [<c0065f20>] (unwind_backtrace+0x0/0xf8) from [<c0461310>] (rt_spin_lock+0x24/0x5c) [ 602.014434] [<c0461310>] (rt_spin_lock+0x24/0x5c) from [<c02ca068>] (serial_omap_console_write+0x1d4/0x230) [ 602.014465] [<c02ca068>] (serial_omap_console_write+0x1d4/0x230) from [<c009b68c>] (__call_console_drivers+0xc4/0xe4) [ 602.014495] [<c009b68c>] (__call_console_drivers+0xc4/0xe4) from [<c009b8dc>] (console_unlock+0x134/0x1c4) [ 602.014526] [<c009b8dc>] (console_unlock+0x134/0x1c4) from [<c00b4704>] (process_one_work+0x298/0x5d4) [ 602.014556] [<c00b4704>] (process_one_work+0x298/0x5d4) from [<c00b4fc0>] (worker_thread+0x19c/0x454) [ 602.014587] [<c00b4fc0>] (worker_thread+0x19c/0x454) from [<c00bbb58>] (kthread+0x84/0x8c) [ 602.014648] [<c00bbb58>] (kthread+0x84/0x8c) from [<c005fd2c>] (kernel_thread_exit+0x0/0x8) --- Regards, Mugunthan V N.
Attachment:
am3517-rt.config
Description: am3517-rt.config
Attachment:
am3517evm.patch
Description: am3517evm.patch