2005-09-19 07:27:10

by liyu

[permalink] [raw]
Subject: [Question] Clock-pro patches questions

[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
printk: 257 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0121be2>] irq_exit+0x2b/0x44
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
printk: 49 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: bash/2767
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c015d765>] __bread+0x1f/0x3d
[<c0194f47>] read_inode_bitmap+0x47/0x7c
[<c01957f3>] ext3_new_inode+0x11c/0x68a
[<c01a7448>] new_handle+0x19/0x3f
[<c019d088>] ext3_create+0x0/0xe8
[<c019d0ef>] ext3_create+0x67/0xe8
[<c019d088>] ext3_create+0x0/0xe8
[<c016a31a>] vfs_create+0x86/0xb3
[<c016a60c>] open_namei+0xe7/0x6e3
[<c015a123>] filp_open+0x3b/0x61
[<c02880ec>] _spin_unlock+0x1f/0x47
[<c015a462>] get_unused_fd+0xa8/0xd0
[<c015a543>] sys_open+0x40/0x77
[<c0103187>] sysenter_past_esp+0x54/0x75
printk: 84 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: vim/2768
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c015d765>] __bread+0x1f/0x3d
[<c0196510>] ext3_get_branch+0x60/0xd8
[<c0196be7>] ext3_get_block_handle+0x99/0x391
[<c0215eee>] submit_bio+0x4d/0xdc
[<c015feda>] bio_alloc_bioset+0x10f/0x1bf
[<c0196f2d>] ext3_get_block+0x4e/0x8a
[<c017df46>] do_mpage_readpage+0x155/0x3de
[<c01c4cb9>] radix_tree_preload+0x1e/0xc8
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c017e2e1>] mpage_readpages+0x112/0x174
[<c0196edf>] ext3_get_block+0x0/0x8a
[<c01159ea>] kernel_map_pages+0x2a/0x58
[<c01401e6>] prep_new_page+0x65/0x76
[<c0142cfa>] read_pages+0x140/0x150
[<c0196edf>] ext3_get_block+0x0/0x8a
[<c0140a93>] __alloc_pages+0x17f/0x40c
[<c0142e64>] __do_page_cache_readahead+0x15a/0x15f
[<c013d137>] filemap_nopage+0x2c8/0x403
[<c014c54c>] do_no_page+0xa9/0x327
[<c01c47ad>] prio_tree_insert+0x130/0x18d
[<c014c9f8>] handle_mm_fault+0x14b/0x17b
[<c0114d2f>] do_page_fault+0x1f4/0x5fe
[<c01091fc>] old_mmap+0x124/0x12e
[<c0114b3b>] do_page_fault+0x0/0x5fe
[<c0103cd3>] error_code+0x4f/0x54
printk: 90 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aa332>] journal_write_commit_record+0x28/0x113
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01b12b8>] journal_put_journal_head+0x70/0x11f
[<c01a94f7>] journal_unfile_buffer+0x77/0xc9
[<c01ab310>] journal_commit_transaction+0xef3/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
printk: 102 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aa332>] journal_write_commit_record+0x28/0x113
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01ab310>] journal_commit_transaction+0xef3/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
printk: 102 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aa332>] journal_write_commit_record+0x28/0x113
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01ab310>] journal_commit_transaction+0xef3/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aa332>] journal_write_commit_record+0x28/0x113
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01b12b8>] journal_put_journal_head+0x70/0x11f
[<c01a94f7>] journal_unfile_buffer+0x77/0xc9
[<c01ab310>] journal_commit_transaction+0xef3/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
printk: 150 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000001] code: vim/2768
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c0199404>] __ext3_get_inode_loc+0x56/0x27e
[<c0173d2b>] alloc_inode+0x1b/0x147
[<c01996f5>] ext3_read_inode+0x42/0x425
[<c0174ed3>] iget_locked+0xc8/0xea
[<c019bcaf>] ext3_lookup+0x8e/0xb7
[<c0168907>] real_lookup+0xbe/0xdc
[<c0168bd9>] do_lookup+0x85/0x90
[<c0169411>] __link_path_walk+0x82d/0xf61
[<c011573c>] __change_page_attr+0x2f/0x15f
[<c01158bb>] change_page_attr+0x4f/0x59
[<c0169b8e>] link_path_walk+0x49/0xe2
[<c0169ebf>] path_lookup+0x9a/0x15e
[<c016a10f>] __user_walk+0x27/0x44
[<c01644ec>] vfs_stat+0x19/0x55
[<c0164b4a>] sys_stat64+0x18/0x36
[<c0103187>] sysenter_past_esp+0x54/0x75
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aaef5>] journal_commit_transaction+0xad8/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb
BUG: using smp_processor_id() in preemptible [00000001] code: kjournald/242
caller is recently_evicted+0x9c/0xb8
[<c01c8103>] smp_processor_id+0x97/0xa8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c01554a8>] recently_evicted+0x9c/0xb8
[<c0155807>] page_is_hot+0x1b/0x142
[<c013ba73>] add_to_page_cache+0x6a/0xc9
[<c013bb1d>] add_to_page_cache_lru+0x4b/0x71
[<c013bec5>] find_or_create_page+0x2b/0xb2
[<c015d125>] grow_dev_page+0x30/0x16d
[<c015d2f3>] __getblk_slow+0x91/0x13e
[<c015d6ef>] __getblk+0x57/0x5b
[<c01af632>] journal_get_descriptor_buffer+0x43/0xa8
[<c01aa332>] journal_write_commit_record+0x28/0x113
[<c01b0d40>] journal_free_journal_head+0x2e/0x33
[<c01b12b8>] journal_put_journal_head+0x70/0x11f
[<c01a94f7>] journal_unfile_buffer+0x77/0xc9
[<c01ab310>] journal_commit_transaction+0xef3/0x1883
[<c0101ac9>] __switch_to+0x23/0x1cb
[<c028817b>] _spin_unlock_irqrestore+0x21/0x49
[<c0125553>] del_timer_sync+0x96/0xe5
[<c01ae80d>] kjournald+0x133/0x3fb
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c0130d7f>] autoremove_wake_function+0x0/0x4b
[<c01ae6d0>] commit_timeout+0x0/0x9
[<c01ae6da>] kjournald+0x0/0x3fb
[<c0101441>] kernel_thread_helper+0x5/0xb


Attachments:
dmesg.1 (15.08 kB)
dmesg.2 (14.96 kB)
linux-2.6.12.6.with.clock-pro.riel.patch (20.21 kB)
Download all attachments

2005-09-19 11:46:46

by Rik van Riel

[permalink] [raw]
Subject: Re: [Question] Clock-pro patches questions

On Mon, 19 Sep 2005, liyu wrote:

> When boot with this new kernel, kernel often pop oops message. the Oops
> like this:
> BUG: using smp_processor_id() in preemptible [00000001] code: ifup/1983
> caller is recently_evicted+0x9c/0xb8

Ohhhh fun, so code like the following is now illegal ?

__get_cpu_var(refault_histogram)[distance]++;

I'll figure out how to fix this and will try to release
new clock-pro patches this week.

--
All Rights Reversed