BUG: scheduling while atomic - Linux 2.6.20-rc2-ga3d89517

From: Fabio Comolli
Date: Sun Dec 24 2006 - 08:58:12 EST


Hi list.
Just found this in syslog. It was during normal activity, about 6
minutes after resume-from-ram. I never saw this before.

Kernel .config is attached.

Please let me know if you need more info.

Best regards,
Fabio.


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dec 24 14:34:58 tycho kernel: BUG: scheduling while atomic:
hald-addon-stor/0x20000000/1796
Dec 24 14:34:58 tycho kernel: [schedule+86/1976] __sched_text_start+0x56/0x7b8
Dec 24 14:34:58 tycho kernel: [smp_apic_timer_interrupt+112/121]
smp_apic_timer_interrupt+0x70/0x79
Dec 24 14:34:58 tycho kernel: [apic_timer_interrupt+40/48]
apic_timer_interrupt+0x28/0x30
Dec 24 14:34:58 tycho kernel: [__cond_resched+22/52] __cond_resched+0x16/0x34
Dec 24 14:34:58 tycho kernel: [cond_resched+35/42] cond_resched+0x23/0x2a
Dec 24 14:34:58 tycho kernel: [__reacquire_kernel_lock+32/60]
__reacquire_kernel_lock+0x20/0x3c
Dec 24 14:34:58 tycho kernel: [schedule+1926/1976]
__sched_text_start+0x786/0x7b8
Dec 24 14:34:58 tycho kernel: [scsi_get_cmd_from_req+23/48]
scsi_get_cmd_from_req+0x17/0x30
Dec 24 14:34:58 tycho kernel: [scsi_done+0/22] scsi_done+0x0/0x16
Dec 24 14:34:58 tycho kernel: [scsi_dispatch_cmd+401/457]
scsi_dispatch_cmd+0x191/0x1c9
Dec 24 14:34:58 tycho kernel: [scsi_request_fn+632/706]
scsi_request_fn+0x278/0x2c2
Dec 24 14:34:58 tycho kernel: [__cond_resched+22/52] __cond_resched+0x16/0x34
Dec 24 14:34:58 tycho kernel: [cond_resched+35/42] cond_resched+0x23/0x2a
Dec 24 14:34:58 tycho kernel: [wait_for_completion+16/156]
wait_for_completion+0x10/0x9c
Dec 24 14:34:58 tycho kernel: [blk_execute_rq_nowait+123/140]
blk_execute_rq_nowait+0x7b/0x8c
Dec 24 14:34:58 tycho kernel: [blk_execute_rq+139/158] blk_execute_rq+0x8b/0x9e
Dec 24 14:34:58 tycho kernel: [blk_end_sync_rq+0/35] blk_end_sync_rq+0x0/0x23
Dec 24 14:34:58 tycho kernel: [mempool_alloc+40/198] mempool_alloc+0x28/0xc6
Dec 24 14:34:58 tycho kernel: [get_request+471/496] get_request+0x1d7/0x1f0
Dec 24 14:34:58 tycho kernel: [get_request_wait+38/225]
get_request_wait+0x26/0xe1
Dec 24 14:34:58 tycho kernel: [scsi_execute+198/217] scsi_execute+0xc6/0xd9
Dec 24 14:34:58 tycho kernel: [sr_do_ioctl+154/480] sr_do_ioctl+0x9a/0x1e0
Dec 24 14:34:58 tycho kernel: [sr_drive_status+80/97] sr_drive_status+0x50/0x61
Dec 24 14:34:58 tycho kernel: [cdrom_ioctl+1652/2905] cdrom_ioctl+0x674/0xb59
Dec 24 14:34:58 tycho kernel: [__link_path_walk+2527/2851]
__link_path_walk+0x9df/0xb23
Dec 24 14:34:58 tycho kernel: [__activate_task+28/41] __activate_task+0x1c/0x29
Dec 24 14:34:58 tycho kernel: [sr_block_ioctl+71/127] sr_block_ioctl+0x47/0x7f
Dec 24 14:34:58 tycho kernel: [blkdev_driver_ioctl+78/94]
blkdev_driver_ioctl+0x4e/0x5e
Dec 24 14:34:58 tycho kernel: [blkdev_ioctl+1561/1638] blkdev_ioctl+0x619/0x666
Dec 24 14:34:58 tycho kernel: [get_unused_fd+74/169] get_unused_fd+0x4a/0xa9
Dec 24 14:34:58 tycho kernel: [exact_lock+7/13] exact_lock+0x7/0xd
Dec 24 14:34:58 tycho kernel: [kobject_get+15/19] kobject_get+0xf/0x13
Dec 24 14:34:58 tycho kernel: [sr_block_open+116/129] sr_block_open+0x74/0x81
Dec 24 14:34:58 tycho kernel: [do_open+470/597] do_open+0x1d6/0x255
Dec 24 14:34:58 tycho kernel: [bd_claim+16/86] bd_claim+0x10/0x56
Dec 24 14:34:58 tycho kernel: [blkdev_open+58/77] blkdev_open+0x3a/0x4d
Dec 24 14:34:58 tycho kernel: [__dentry_open+231/379] __dentry_open+0xe7/0x17b
Dec 24 14:34:58 tycho kernel: [nameidata_to_filp+36/51]
nameidata_to_filp+0x24/0x33
Dec 24 14:34:58 tycho kernel: [do_filp_open+50/57] do_filp_open+0x32/0x39
Dec 24 14:34:58 tycho kernel: [do_nanosleep+66/102] do_nanosleep+0x42/0x66
Dec 24 14:34:58 tycho kernel: [block_ioctl+24/27] block_ioctl+0x18/0x1b
Dec 24 14:34:58 tycho kernel: [block_ioctl+0/27] block_ioctl+0x0/0x1b
Dec 24 14:34:58 tycho kernel: [do_ioctl+31/98] do_ioctl+0x1f/0x62
Dec 24 14:34:58 tycho kernel: [get_unused_fd+74/169] get_unused_fd+0x4a/0xa9
Dec 24 14:34:58 tycho kernel: [vfs_ioctl+580/598] vfs_ioctl+0x244/0x256
Dec 24 14:34:58 tycho kernel: [do_sys_open+185/195] do_sys_open+0xb9/0xc3
Dec 24 14:34:58 tycho kernel: [sys_ioctl+51/76] sys_ioctl+0x33/0x4c
Dec 24 14:34:58 tycho kernel: [sysenter_past_esp+95/133]
sysenter_past_esp+0x5f/0x85
Dec 24 14:34:58 tycho kernel: =======================
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Attachment: config-2.6-git
Description: Binary data