[so2] [Tema5 - linux] BUG: Scheduling while atomic.

Oana Ferche oana.ferche at gmail.com
Tue May 15 00:16:55 EEST 2012


Buna, 

Multumesc pentru raspunsul prompt!

Testez pe masina virtuala si nu aveam acces la intregul stack trace. 
Acum am reusit sa il obtin, si stack-trace-ul incepe asa:

[  222.269165] BUG: unable to handle kernel paging request at 0000b791
[  222.269165] IP: [<c017dca0>] __lock_acquire+0x60/0x500
[  222.269165] *pde = 00000000 
[  222.269165] Oops: 0002 [#1] PREEMPT SMP 
[  222.269165] last sysfs file: /sys/kernel/uevent_seqnum
[  222.269165] Modules linked in: ipfirewall netconsole configfs ppdev
vmware_balloon psmouse parport_pc serio_raw parport i2c_piix4 shpchp 
pcnet32 mii
[last unloaded: ipfirewall]
[  222.269165] 
[  222.269165] Pid: 1279, comm: test Not tainted 2.6.35.10-so-so2 #2 440BX
Desktop Reference Platform/VMware Virtual Platform
[  222.269165] EIP: 0060:[<c017dca0>] EFLAGS: 00010006 CPU: 0
[  222.269165] EIP is at __lock_acquire+0x60/0x500
[  222.269165] EAX: 0000b68d EBX: 00000000 ECX: 00000000 EDX: 00000000
[  222.269165] ESI: 00000000 EDI: c04e2fa0 EBP: ce10fb48 ESP: ce10fb28
[  222.269165]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[  222.269165] Process test (pid: 1279, ti=ce10e000 task=cef6bf30 
task.ti=ce10e000)
[  222.269165] Stack:
[  222.269165]  ffffffff ffffffff 00000000 00000000 cef6bf30 00000000 
00000000 c04e2fa0
[  222.269165] <0> ce10fb80 c017e1c7 00000000 00000001 00000001 00000000
c015ac1c 00000000
[  222.269165] <0> c01878a8 d08a8d64 00000046 c04e2f90 c04e2fa0 00000296
ce10fba4 c059ab3a
[  222.269165] Call Trace:
[  222.269165]  [<c04e2fa0>] ? nf_iterate+0x80/0x90
[  222.269165]  [<c017e1c7>] ? lock_acquire+0x87/0x110
[  222.269165]  [<c015ac1c>] ? lock_timer_base+0x2c/0x60
[  222.269165]  [<c01878a8>] ? is_module_address+0x28/0x50
[  222.269165]  [<c04e2f90>] ? nf_iterate+0x70/0x90
[  222.269165]  [<c04e2fa0>] ? nf_iterate+0x80/0x90
[  222.269165]  [<c059ab3a>] ? _raw_spin_lock_irqsave+0x5a/0x90
[  222.269165]  [<c015ac1c>] ? lock_timer_base+0x2c/0x60
[  222.269165]  [<c04e2f90>] ? nf_iterate+0x70/0x90
[  222.269165]  [<c015ac1c>] ? lock_timer_base+0x2c/0x60
[  222.269165]  [<c04e2f91>] ? nf_iterate+0x71/0x90
[  222.269165]  [<c015be4d>] ? mod_timer+0x6d/0x290
[  222.269165]  [<c037a41f>] ? do_raw_spin_unlock+0x4f/0xa0
[  222.269165]  [<d08a84e1>] ? ipfirewall_nf_hookfn+0x2c1/0x560 [ipfirewall]
[  222.269165]  [<c04e2f91>] ? nf_iterate+0x71/0x90
[  222.269165]  [<c04ef2b0>] ? dst_output+0x0/0x70
[  222.269165]  [<c04e3369>] ? nf_hook_slow+0x99/0x140
[  222.269165]  [<c04ef2b0>] ? dst_output+0x0/0x70
[  222.269165]  [<c04ef3c3>] ? __ip_local_out+0xa3/0x100
[  222.269165]  [<c04ef2b0>] ? dst_output+0x0/0x70
[  222.269165]  [<c04f0180>] ? ip_local_out+0x10/0x70
[  222.269165]  [<c04f042e>] ? ip_push_pending_frames+0x24e/0x350
[  222.269165]  [<c04ee840>] ? ip_generic_getfrag+0x0/0xb0
[  222.269165]  [<c0511a5e>] ? udp_push_pending_frames+0x14e/0x3d0
[  222.269165]  [<c04ee840>] ? ip_generic_getfrag+0x0/0xb0
[  222.269165]  [<c0512616>] ? udp_sendmsg+0x3d6/0x680
[  222.269165]  [<c051c4df>] ? inet_sendmsg+0xbf/0xf0
[  222.269165]  [<c051c420>] ? inet_sendmsg+0x0/0xf0
[  222.269165]  [<c04acca9>] ? sock_sendmsg+0xd9/0x100
[  222.269165]  [<c01092c8>] ? sched_clock+0x8/0x10
[  222.269165]  [<c01700c5>] ? sched_clock_local+0xa5/0x180

Eu vedeam doar ultima parte, unde apare asa:

[  222.269165] ---[ end trace 890a05b736310ba9 ]---
[  222.269165] note: test[1279] exited with preempt_count 2
[  224.589852] BUG: scheduling while atomic: test/1279/0x10000003
[  224.645857] INFO: lockdep is turned off.
[  224.648877] Modules linked in: ipfirewall netconsole configfs ppdev
vmware_balloon psmouse parport_pc serio_raw parport i2c_piix4 shpchp 
pcnet32 mii
[last unloaded: ipfirewall]
[  224.867798] Pid: 1279, comm: test Tainted: G      D     
2.6.35.10-so-so2 #2
[  224.870931] Call Trace:
[  224.873596]  [<c013bd24>] __schedule_bug+0x74/0x80
[  224.992043]  [<c0598ac8>] schedule+0x708/0x7d0
[  224.995600]  [<c01405a7>] __cond_resched+0x17/0x30
[  224.998962]  [<c0598cb0>] _cond_resched+0x20/0x30
[  225.114034]  [<c02009fd>] unmap_vmas+0x56d/0x710
[  225.116429]  [<c0152c97>] ? __do_softirq+0xf7/0x1e0
[  225.119395]  [<c037a41f>] ? do_raw_spin_unlock+0x4f/0xa0
[  225.122300]  [<c059eb89>] ? sub_preempt_count+0x9/0xb0
[  225.195540]  [<c0205997>] exit_mmap+0xa7/0x190
[  225.199996]  [<c014a297>] mmput+0x47/0xd0
[  225.337421]  [<c014ecb7>] exit_mm+0xe7/0x110
[  225.406322]  [<c014f602>] do_exit+0x122/0x780
[  225.409202]  [<c014d621>] ? kmsg_dump+0x121/0x130
[  225.411954]  [<c0597fee>] ? printk+0x2d/0x2f
[  225.414805]  [<c059cc35>] oops_end+0x95/0xd0
[  225.467364]  [<c012e6f6>] no_context+0xc6/0x160
.......
[  226.722788]  [<c0512616>] udp_sendmsg+0x3d6/0x680
[  226.847499]  [<c051c4df>] inet_sendmsg+0xbf/0xf0
[  226.850341]  [<c051c420>] ? inet_sendmsg+0x0/0xf0
[  226.901550]  [<c04acca9>] sock_sendmsg+0xd9/0x100
[  226.904984]  [<c01092c8>] ? sched_clock+0x8/0x10
[  226.964500]  [<c01700c5>] ? sched_clock_local+0xa5/0x180
[  226.967263]  [<c04ace1a>] sys_sendto+0xfa/0x150
[  226.970066]  [<c013b69b>] ? get_parent_ip+0xb/0x40
[  226.973017]  [<c059ebfb>] ? sub_preempt_count+0x7b/0xb0
[  227.026773]  [<c059b33f>] ? _raw_spin_unlock_irqrestore+0x3f/0x60
[  227.029763]  [<c03712d0>] ? __up_read+0x70/0x90
[  227.084492]  [<c059e6a0>] ? do_page_fault+0x0/0x4e0
[  227.163275]  [<c016e982>] ? up_read+0x22/0x30
[  227.166496]  [<c059e885>] ? do_page_fault+0x1e5/0x4e0
[  227.169386]  [<c03e3130>] ? n_tty_write+0x0/0x3e0
[  227.172975]  [<c04addc2>] sys_socketcall+0x1a2/0x2a0
[  227.265009]  [<c059b998>] syscall_call+0x7/0xb
[  227.513155] BUG: scheduling while atomic: test/1279/0x00000003
[  227.515475] INFO: lockdep is turned off.
[  227.517447] Modules linked in: ipfirewall netconsole configfs ppdev
vmware_balloon psmouse parport_pc serio_raw parport i2c_piix4 shpchp 
pcnet32 mii
[last unloaded: ipfirewall]
[  227.656755] Pid: 1279, comm: test Tainted: G      D    
 2.6.35.10-so-so2 #2
[  227.660171] Call Trace:
[  227.663173]  [<c013bd24>] __schedule_bug+0x74/0x80
[  227.666056]  [<c0598ac8>] schedule+0x708/0x7d0
[  227.705269]  [<c05a191a>] ? smp_apic_timer_interrupt+0x5a/0x89
[  227.707576]  [<c04aec4b>] __lock_sock+0x5b/0x80
[  227.710608]  [<c0169b20>] ? autoremove_wake_function+0x0/0x50
[  227.713705]  [<c04aec9d>] lock_sock_fast+0x2d/0x80
[  227.723857]  [<c0225ac2>] ? delete_object_full+0x22/0x30
[  227.776337]  [<c05132f9>] udp_destroy_sock+0x19/0x60
[  227.779676]  [<c04b0598>] sk_common_release+0x18/0xb0
[  227.839805]  [<c051119d>] udp_lib_close+0xd/0x10
[  227.842857]  [<c051c95b>] inet_release+0xab/0xf0
[  227.904796]  [<c051c8ca>] ? inet_release+0x1a/0xf0
[  227.968477]  [<c04ab380>] sock_release+0x20/0x80
[  227.971246]  [<c04ab3f7>] sock_close+0x17/0x30
[  227.974154]  [<c022a7c4>] fput+0xf4/0x240
[  227.977005]  [<c0226dbc>] filp_close+0x4c/0x80
[  228.035277]  [<c014f21b>] put_files_struct+0xdb/0x1a0
[  228.092903]  [<c014f168>] ? put_files_struct+0x28/0x1a0
[  228.096239]  [<c014f327>] exit_files+0x47/0x60
[  228.098963]  [<c014f627>] do_exit+0x147/0x780
[  228.102400]  [<c014d621>] ? kmsg_dump+0x121/0x130
[  228.105281]  [<c0597fee>] ? printk+0x2d/0x2f
[  228.109882]  [<c059cc35>] oops_end+0x95/0xd0
[  228.112760]  [<c012e6f6>] no_context+0xc6/0x160
[  228.219515]  [<c012e7cc>] __bad_area_nosemaphore+0x3c/0x160
[  228.222431]  [<c03ae61c>] ? acpi_ds_call_control_method+0x16f/0x1cb
[  228.225968]  [<c010a07a>] ? native_sched_clock+0x2a/0x90

Nu am pus chiar toate mesajele, pentru ca sunt foarte multe, sper ca am 
listat si ce trebuia.

Multumesc,
Oana.



More information about the so2 mailing list