[pso] [tema3 linux]: bio_alloc

Florin Antonescu florinantonescu at yahoo.com
Wed Apr 30 22:43:33 EEST 2008


Ai lock pe un spinlock inainte de bio_alloc() ?

Nu, trebuia sa am?
Acestea sunt alte erori pe care le primesc. De la ce ar putea fi?

BUG: sleeping function called from invalid context at kernel/sched.c:3921
in_atomic():1, irqs_disabled():0
no locks held by bio_thread/2614.
Pid: 2614, comm: bio_thread Not tainted 2.6.24.2 #14
 [<c0103d3a>] show_trace_log_lvl+0x1a/0x30
 [<c01046e2>] show_trace+0x12/0x20
 [<c0104a4c>] dump_stack+0x6c/0x80
 [<c0112bdf>] __might_sleep+0xcf/0xf0
 [<c0328592>] wait_for_common+0x22/0x110
 [<c03286e2>] wait_for_completion+0x12/0x20
 [<c012a729>] kthread_create+0x69/0xa0
 [<c884c609>] do_bio+0x279/0x384 [ssr]
 [<c012a582>] kthread+0x42/0x70
 [<c0103917>] kernel_thread_helper+0x7/0x10
 =======================
BUG: scheduling while atomic: bio_thread/2614/0x00000002
no locks held by bio_thread/2614.
Pid: 2614, comm: bio_thread Not tainted 2.6.24.2 #14
 [<c0103d3a>] show_trace_log_lvl+0x1a/0x30
 [<c01046e2>] show_trace+0x12/0x20
 [<c0104a4c>] dump_stack+0x6c/0x80
 [<c01139b5>] __schedule_bug+0x85/0x90
 [<c032897a>] schedule+0x28a/0x2f0
 [<c0328c75>] schedule_timeout+0x75/0xc0
 [<c0328618>] wait_for_common+0xa8/0x110
 [<c03286e2>] wait_for_completion+0x12/0x20
 [<c012a729>] kthread_create+0x69/0xa0
 [<c884c609>] do_bio+0x279/0x384 [ssr]
 [<c012a582>] kthread+0x42/0x70
 [<c0103917>] kernel_thread_helper+0x7/0x10
 =======================
BUG: scheduling while atomic: bio_thread/2614/0x00000002
no locks held by bio_thread/2614.
Pid: 2614, comm: bio_thread Not tainted 2.6.24.2 #14
 [<c0103d3a>] show_trace_log_lvl+0x1a/0x30
 [<c01046e2>] show_trace+0x12/0x20
 [<c0104a4c>] dump_stack+0x6c/0x80
 [<c01139b5>] __schedule_bug+0x85/0x90
 [<c032897a>] schedule+0x28a/0x2f0
 [<c0328c75>] schedule_timeout+0x75/0xc0
 [<c0328618>] wait_for_common+0xa8/0x110
 [<c03286e2>] wait_for_completion+0x12/0x20
 [<c012a729>] kthread_create+0x69/0xa0
 [<c884c634>] do_bio+0x2a4/0x384 [ssr]
 [<c012a582>] kthread+0x42/0x70
 [<c0103917>] kernel_thread_helper+0x7/0x10
 =======================
BUG: scheduling while atomic: bio_thread/2614/0x00000002
no locks held by bio_thread/2614.
Pid: 2614, comm: bio_thread Not tainted 2.6.24.2 #14
 [<c0103d3a>] show_trace_log_lvl+0x1a/0x30
 [<c01046e2>] show_trace+0x12/0x20
 [<c0104a4c>] dump_stack+0x6c/0x80
 [<c01139b5>] __schedule_bug+0x85/0x90
 [<c032897a>] schedule+0x28a/0x2f0
 [<c0328c75>] schedule_timeout+0x75/0xc0
 [<c0328618>] wait_for_common+0xa8/0x110
 [<c03286e2>] wait_for_completion+0x12/0x20
 [<c884c64d>] do_bio+0x2bd/0x384 [ssr]
 [<c012a582>] kthread+0x42/0x70
 [<c0103917>] kernel_thread_helper+0x7/0x10





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20080430/74dbb1be/attachment.html 


More information about the pso mailing list