Hi Peter, During boottime I get these 3 BUG messages. Attached I have put my .config for reference. Do you recognise these or are these completely new to you? If new, I can dig into it and figure out what is causing them. I can reproduce them on my board on every boot. Kind regards, Remy [ 9.497878] BUG: sleeping function called from invalid context at kernel/rtmutex.c:645 [ 9.497957] in_atomic(): 0, irqs_disabled(): 128, pid: 363, name: modprobe [ 9.498012] no locks held by modprobe/363. [ 9.498050] irq event stamp: 2876 [ 9.498084] hardirqs last enabled at (2876): [<c0077cac>] debug_check_no_locks_freed+0x130/0x1f4 [ 9.498194] hardirqs last disabled at (2875): [<c0077bc4>] debug_check_no_locks_freed+0x48/0x1f4 [ 9.498289] softirqs last enabled at (0): [<c003fea4>] copy_process+0x230/0xcbc [ 9.498379] softirqs last disabled at (0): [< (null)>] (null) [ 9.498502] [<c002ee90>] (unwind_backtrace+0x0/0xf4) from [<c032ff3c>] (dump_stack+0x18/0x1c) [ 9.498635] [<c032ff3c>] (dump_stack+0x18/0x1c) from [<c0038088>] (__might_sleep+0xfc/0x118) [ 9.498763] [<c0038088>] (__might_sleep+0xfc/0x118) from [<c0332c48>] (rt_spin_lock+0x28/0x68) [ 9.498879] [<c0332c48>] (rt_spin_lock+0x28/0x68) from [<c002ed90>] (unwind_frame+0x160/0x260) [ 9.499002] [<c002ed90>] (unwind_frame+0x160/0x260) from [<c002d064>] (walk_stackframe+0x34/0x40) [ 9.499130] [<c002d064>] (walk_stackframe+0x34/0x40) from [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) [ 9.499256] [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) from [<c002d150>] (save_stack_trace+0x24/0x28) [ 9.499377] [<c002d150>] (save_stack_trace+0x24/0x28) from [<c0072240>] (save_trace+0x44/0xd4) [ 9.499486] [<c0072240>] (save_trace+0x44/0xd4) from [<c0075bc8>] (mark_lock+0x12c/0x3e8) [ 9.499596] [<c0075bc8>] (mark_lock+0x12c/0x3e8) from [<c0075f88>] (mark_irqflags+0x104/0x198) [ 9.499708] [<c0075f88>] (mark_irqflags+0x104/0x198) from [<c0076514>] (__lock_acquire+0x4f8/0x934) [ 9.499820] [<c0076514>] (__lock_acquire+0x4f8/0x934) from [<c0077038>] (lock_acquire+0xa8/0x140) [ 9.499939] [<c0077038>] (lock_acquire+0xa8/0x140) from [<c007dd30>] (rt_down_write+0x34/0x44) [ 9.500061] [<c007dd30>] (rt_down_write+0x34/0x44) from [<c0068918>] (blocking_notifier_chain_register+0x30/0xb8) [ 9.500186] [<c0068918>] (blocking_notifier_chain_register+0x30/0xb8) from [<c022752c>] (bus_register_notifier+0x18/0x1c) [ 9.500610] [<c022752c>] (bus_register_notifier+0x18/0x1c) from [<bf029098>] (usb_init+0x98/0x17c [usbcore]) [ 9.501041] [<bf029098>] (usb_init+0x98/0x17c [usbcore]) from [<c0029514>] (do_one_initcall+0x38/0x184) [ 9.501168] [<c0029514>] (do_one_initcall+0x38/0x184) from [<c0082d84>] (sys_init_module+0x8c/0x1a0) [ 9.501285] [<c0082d84>] (sys_init_module+0x8c/0x1a0) from [<c002a220>] (ret_fast_syscall+0x0/0x38) [ 9.565316] usbcore: registered new interface driver usbfs [ 9.589382] usbcore: registered new interface driver hub [ 9.642570] usbcore: registered new device driver usb [ 9.958756] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 9.960625] at91_ohci at91_ohci: AT91 OHCI [ 10.112386] at91_ohci at91_ohci: new USB bus registered, assigned bus number 1 [ 10.133757] at91_ohci at91_ohci: irq 20, io mem 0x00500000 [ 10.515448] BUG: sleeping function called from invalid context at kernel/rtmutex.c:645 [ 10.515527] in_atomic(): 1, irqs_disabled(): 128, pid: 363, name: modprobe [ 10.515588] 3 locks held by modprobe/363: [ 10.515624] #0: (&__lockdep_no_validate__){+.+.+.}, at: [<c0228c20>] __driver_attach+0x4c/0x98 [ 10.515753] #1: (&__lockdep_no_validate__){+.+.+.}, at: [<c0228c2c>] __driver_attach+0x58/0x98 [ 10.515863] #2: (usb_bus_list_lock){+.+.+.}, at: [<bf0062e8>] register_root_hub+0x70/0x12c [usbcore] [ 10.516259] irq event stamp: 4366 [ 10.516295] hardirqs last enabled at (4366): [<c0038f5c>] finish_task_switch.clone.116+0x38/0xd4 [ 10.516391] hardirqs last disabled at (4365): [<c0038f58>] finish_task_switch.clone.116+0x34/0xd4 [ 10.516481] softirqs last enabled at (0): [<c003fea4>] copy_process+0x230/0xcbc [ 10.516570] softirqs last disabled at (0): [< (null)>] (null) [ 10.516694] [<c002ee90>] (unwind_backtrace+0x0/0xf4) from [<c032ff3c>] (dump_stack+0x18/0x1c) [ 10.516826] [<c032ff3c>] (dump_stack+0x18/0x1c) from [<c0038088>] (__might_sleep+0xfc/0x118) [ 10.516956] [<c0038088>] (__might_sleep+0xfc/0x118) from [<c0332c48>] (rt_spin_lock+0x28/0x68) [ 10.517073] [<c0332c48>] (rt_spin_lock+0x28/0x68) from [<c002ed90>] (unwind_frame+0x160/0x260) [ 10.517195] [<c002ed90>] (unwind_frame+0x160/0x260) from [<c002d064>] (walk_stackframe+0x34/0x40) [ 10.517322] [<c002d064>] (walk_stackframe+0x34/0x40) from [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) [ 10.517448] [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) from [<c002d150>] (save_stack_trace+0x24/0x28) [ 10.517568] [<c002d150>] (save_stack_trace+0x24/0x28) from [<c0072240>] (save_trace+0x44/0xd4) [ 10.517680] [<c0072240>] (save_trace+0x44/0xd4) from [<c0074ba8>] (check_prev_add+0x478/0x684) [ 10.517796] [<c0074ba8>] (check_prev_add+0x478/0x684) from [<c0075460>] (validate_chain.clone.23+0x6ac/0x7ac) [ 10.517915] [<c0075460>] (validate_chain.clone.23+0x6ac/0x7ac) from [<c00764c8>] (__lock_acquire+0x4ac/0x934) [ 10.518031] [<c00764c8>] (__lock_acquire+0x4ac/0x934) from [<c0077038>] (lock_acquire+0xa8/0x140) [ 10.518152] [<c0077038>] (lock_acquire+0xa8/0x140) from [<c0333350>] (_raw_spin_lock+0x4c/0x5c) [ 10.518275] [<c0333350>] (_raw_spin_lock+0x4c/0x5c) from [<c033205c>] (rt_mutex_slowunlock+0x14/0x70) [ 10.518396] [<c033205c>] (rt_mutex_slowunlock+0x14/0x70) from [<c03320c8>] (rt_mutex_unlock+0x10/0x14) [ 10.518521] [<c03320c8>] (rt_mutex_unlock+0x10/0x14) from [<c007deb8>] (rt_up_read+0x3c/0x40) [ 10.518643] [<c007deb8>] (rt_up_read+0x3c/0x40) from [<c0068758>] (__blocking_notifier_call_chain+0x5c/0x68) [ 10.518766] [<c0068758>] (__blocking_notifier_call_chain+0x5c/0x68) from [<c0068784>] (blocking_notifier_call_chain+0x20/0x28) [ 10.518891] [<c0068784>] (blocking_notifier_call_chain+0x20/0x28) from [<c02265fc>] (device_add+0x228/0x314) [ 10.519261] [<c02265fc>] (device_add+0x228/0x314) from [<bf00456c>] (usb_new_device+0x80/0xc8 [usbcore]) [ 10.519894] [<bf00456c>] (usb_new_device+0x80/0xc8 [usbcore]) from [<bf006328>] (register_root_hub+0xb0/0x12c [usbcore]) [ 10.520545] [<bf006328>] (register_root_hub+0xb0/0x12c [usbcore]) from [<bf0072c4>] (usb_add_hcd+0x208/0x41c [usbcore]) [ 10.521001] [<bf0072c4>] (usb_add_hcd+0x208/0x41c [usbcore]) from [<bf03b070>] (usb_hcd_at91_probe.clone.25+0x1c8/0x270 [ohci_hcd]) [ 10.521229] [<bf03b070>] (usb_hcd_at91_probe.clone.25+0x1c8/0x270 [ohci_hcd]) from [<bf03b16c>] (ohci_hcd_at91_drv_probe+0x54/0x94 [ohci_hcd]) [ 10.521423] [<bf03b16c>] (ohci_hcd_at91_drv_probe+0x54/0x94 [ohci_hcd]) from [<c0229e8c>] (platform_drv_probe+0x1c/0x20) [ 10.521555] [<c0229e8c>] (platform_drv_probe+0x1c/0x20) from [<c0228910>] (really_probe+0x70/0x174) [ 10.521672] [<c0228910>] (really_probe+0x70/0x174) from [<c0228bd0>] (driver_probe_device+0x30/0x34) [ 10.521789] [<c0228bd0>] (driver_probe_device+0x30/0x34) from [<c0228c68>] (__driver_attach+0x94/0x98) [ 10.521906] [<c0228c68>] (__driver_attach+0x94/0x98) from [<c0227aac>] (bus_for_each_dev+0x5c/0x84) [ 10.522020] [<c0227aac>] (bus_for_each_dev+0x5c/0x84) from [<c022878c>] (driver_attach+0x20/0x28) [ 10.522132] [<c022878c>] (driver_attach+0x20/0x28) from [<c02282f8>] (bus_add_driver+0xa8/0x2c8) [ 10.522247] [<c02282f8>] (bus_add_driver+0xa8/0x2c8) from [<c0228fb0>] (driver_register+0x80/0x190) [ 10.522367] [<c0228fb0>] (driver_register+0x80/0x190) from [<c022a1ec>] (platform_driver_register+0x4c/0x60) [ 10.522533] [<c022a1ec>] (platform_driver_register+0x4c/0x60) from [<bf03e04c>] (ohci_hcd_mod_init+0x4c/0x8c [ohci_hcd]) [ 10.522714] [<bf03e04c>] (ohci_hcd_mod_init+0x4c/0x8c [ohci_hcd]) from [<c0029514>] (do_one_initcall+0x38/0x184) [ 10.522841] [<c0029514>] (do_one_initcall+0x38/0x184) from [<c0082d84>] (sys_init_module+0x8c/0x1a0) [ 10.522957] [<c0082d84>] (sys_init_module+0x8c/0x1a0) from [<c002a220>] (ret_fast_syscall+0x0/0x38) [ 10.809213] hub 1-0:1.0: USB hub found [ 10.811467] hub 1-0:1.0: 2 ports detected [ 11.925557] Initializing USB Mass Storage driver... [ 11.950169] usbcore: registered new interface driver usb-storage [ 11.950229] USB Mass Storage support registered. [ 12.702901] usbcore: registered new interface driver cdc_ether [ 13.161447] BUG: sleeping function called from invalid context at kernel/rtmutex.c:645 [ 13.161524] in_atomic(): 0, irqs_disabled(): 128, pid: 390, name: mount [ 13.161578] no locks held by mount/390. [ 13.161616] irq event stamp: 1648 [ 13.161650] hardirqs last enabled at (1648): [<c0077cac>] debug_check_no_locks_freed+0x130/0x1f4 [ 13.161761] hardirqs last disabled at (1647): [<c0077bc4>] debug_check_no_locks_freed+0x48/0x1f4 [ 13.161856] softirqs last enabled at (0): [<c003fea4>] copy_process+0x230/0xcbc [ 13.161947] softirqs last disabled at (0): [< (null)>] (null) [ 13.162069] [<c002ee90>] (unwind_backtrace+0x0/0xf4) from [<c032ff3c>] (dump_stack+0x18/0x1c) [ 13.162202] [<c032ff3c>] (dump_stack+0x18/0x1c) from [<c0038088>] (__might_sleep+0xfc/0x118) [ 13.162330] [<c0038088>] (__might_sleep+0xfc/0x118) from [<c0332c48>] (rt_spin_lock+0x28/0x68) [ 13.162445] [<c0332c48>] (rt_spin_lock+0x28/0x68) from [<c002ed90>] (unwind_frame+0x160/0x260) [ 13.162567] [<c002ed90>] (unwind_frame+0x160/0x260) from [<c002d064>] (walk_stackframe+0x34/0x40) [ 13.162694] [<c002d064>] (walk_stackframe+0x34/0x40) from [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) [ 13.162821] [<c002d0e0>] (save_stack_trace_tsk+0x70/0xbc) from [<c002d150>] (save_stack_trace+0x24/0x28) [ 13.162941] [<c002d150>] (save_stack_trace+0x24/0x28) from [<c0072240>] (save_trace+0x44/0xd4) [ 13.163052] [<c0072240>] (save_trace+0x44/0xd4) from [<c0075bc8>] (mark_lock+0x12c/0x3e8) [ 13.163162] [<c0075bc8>] (mark_lock+0x12c/0x3e8) from [<c0075f88>] (mark_irqflags+0x104/0x198) [ 13.163274] [<c0075f88>] (mark_irqflags+0x104/0x198) from [<c0076514>] (__lock_acquire+0x4f8/0x934) [ 13.163387] [<c0076514>] (__lock_acquire+0x4f8/0x934) from [<c0077038>] (lock_acquire+0xa8/0x140) [ 13.163507] [<c0077038>] (lock_acquire+0xa8/0x140) from [<c007dd30>] (rt_down_write+0x34/0x44) [ 13.163625] [<c007dd30>] (rt_down_write+0x34/0x44) from [<c00db4e8>] (sget+0xd0/0x198) [ 13.163735] [<c00db4e8>] (sget+0xd0/0x198) from [<c00dbd98>] (mount_single+0x28/0xc8) [ 13.164237] [<c00dbd98>] (mount_single+0x28/0xc8) from [<bf014440>] (usb_mount+0x18/0x20 [usbcore]) [ 13.164752] [<bf014440>] (usb_mount+0x18/0x20 [usbcore]) from [<c00dbfd0>] (mount_fs+0x1c/0xe4) [ 13.164877] [<c00dbfd0>] (mount_fs+0x1c/0xe4) from [<c00f6120>] (vfs_kern_mount+0x54/0x94) [ 13.164992] [<c00f6120>] (vfs_kern_mount+0x54/0x94) from [<c00f62f0>] (do_kern_mount+0x3c/0xd8) [ 13.165108] [<c00f62f0>] (do_kern_mount+0x3c/0xd8) from [<c00f809c>] (do_mount+0x1ac/0x1e4) [ 13.165222] [<c00f809c>] (do_mount+0x1ac/0x1e4) from [<c00f81f0>] (sys_mount+0x8c/0xcc) [ 13.165338] [<c00f81f0>] (sys_mount+0x8c/0xcc) from [<c002a220>] (ret_fast_syscall+0x0/0x38)
Attachment:
.config
Description: Binary data