[Click] Kernel bug - where to look

Jelena Mirkovic mirkovic at ISI.EDU
Fri Aug 29 21:27:36 EDT 2008


My kernel code is generating this bug below. It does this only when I  
feed it A LOT of configuration arguments - meaning several thousand.  
I am not sure where I'd look for the source of the error since the  
output below tells me little. Anyone has any idea?

Thanks

BUG: soft lockup detected on CPU#1!
  [<c010448a>] dump_trace+0x69/0x1ac
  [<c01045e4>] show_trace_log_lvl+0x17/0x2b
  [<c04406e0>] pmap_getport_ops+0xa24/0x5f978
DWARF2 unwinder stuck at pmap_getport_ops+0xa24/0x5f978

Leftover inexact backtrace:

  [<c0104907>] show_trace+0xf/0x11
  [<c010491c>] dump_stack+0x13/0x15
  [<c01364dc>] softlockup_tick+0xa7/0xb4
  [<c01223c6>] update_process_times+0x39/0x5c
  [<c010fe39>] smp_apic_timer_interrupt+0x7c/0x94
  [<c010e466>] do_flush_tlb_all+0x0/0x59
  [<c010404f>] apic_timer_interrupt+0x1f/0x24
  [<c010e466>] do_flush_tlb_all+0x0/0x59
  [<c010e652>] smp_call_function+0xa4/0xc9
  [<c010e466>] do_flush_tlb_all+0x0/0x59
  [<c010e466>] do_flush_tlb_all+0x0/0x59
  [<c011ef7c>] on_each_cpu+0x16/0x25
  [<c010e335>] flush_tlb_all+0x19/0x1b
  [<c0148bae>] remove_vm_area+0x2c/0x48
  [<c0148c0a>] __vunmap+0x40/0xd5
  [<f883218a>] get_counters+0xa0/0xae [ip_tables]
  [<c0215c86>] copy_to_user+0x31/0x47
  [<f88324e4>] do_ipt_get_ctl+0x34c/0x435 [ip_tables]
  [<c01bc8ed>] journal_dirty_metadata+0x1b9/0x1e0
  [<c03a5d4f>] nf_sockopt+0x63/0xe1
  [<c03a5e12>] nf_getsockopt+0x20/0x25
  [<c03af99b>] ip_getsockopt+0x53a/0x569
  [<c013c357>] get_page_from_freelist+0x24b/0x2b5
  [<c013c41e>] __alloc_pages+0x5d/0x2a5
  [<c0145fcc>] find_mergeable_anon_vma+0xa5/0xb4
  [<c0148167>] anon_vma_prepare+0x5d/0xa2
  [<c0143ec8>] __handle_mm_fault+0x43a/0x7d5
  [<c021388e>] rb_insert_color+0x4a/0xad
  [<c038ee90>] sock_common_getsockopt+0x1c/0x21
  [<c038d4ee>] sys_getsockopt+0x61/0x80
  [<c038ec85>] sys_socketcall+0x20d/0x242
  [<c042081a>] do_page_fault+0x0/0x52a
  [<c01035cd>] sysenter_past_esp+0x56/0x79
  =======================
BUG: soft lockup detected on CPU#0!
  [<c010448a>] dump_trace+0x69/0x1ac
  [<c01045e4>] show_trace_log_lvl+0x17/0x2b
  [<c04406e0>] pmap_getport_ops+0xa24/0x5f978
DWARF2 unwinder stuck at pmap_getport_ops+0xa24/0x5f978

Leftover inexact backtrace:

  [<c0104907>] show_trace+0xf/0x11
  [<c010491c>] dump_stack+0x13/0x15
  [<c01364dc>] softlockup_tick+0xa7/0xb4
  [<c01223c6>] update_process_times+0x39/0x5c
  [<c010fe39>] smp_apic_timer_interrupt+0x7c/0x94
  [<c010404f>] apic_timer_interrupt+0x1f/0x24
  [<c014007b>] kswapd+0xa8/0x3a6
  [<c041f075>] __read_lock_failed+0x5/0x10
  [<c041f3c4>] _read_lock+0xb/0xc
  [<c017a869>] get_vmalloc_info+0x59/0xc0
  [<c01805e2>] meminfo_read_proc+0xac/0x2ee
  [<c0180536>] meminfo_read_proc+0x0/0x2ee
  [<c017e03e>] proc_file_read+0x10c/0x233
  [<c017df32>] proc_file_read+0x0/0x233
  [<c015322f>] vfs_read+0x87/0x138
  [<c0153b1d>] sys_read+0x41/0x67
  [<c0103637>] syscall_call+0x7/0xb
  =======================

-------------------------------------
Jelena Mirkovic
Computer Scientist
USC Information Sciences Institute
4676 Admiralty Way, Suite 1001
Marina del Rey, CA 90292
310-448-9170



>



More information about the click mailing list