[pso] Mesaj kernel - Tema 1 - Linux

Alex Stefan alexandru.stefan at cti.pub.ro
Fri Mar 18 17:19:42 EET 2011


Salut,

La testarea locala a temei 1 gasesc urmatoarele mesaje in log:

Mar 18 10:10:34 spook kernel: [   87.484470] cc1 used greatest stack depth: 5236 
bytes left
Mar 18 10:10:59 spook kernel: [  112.048634] INFO: trying to register non-static 
key.
Mar 18 10:10:59 spook kernel: [  112.048886] the code is fine but needs lockdep 
annotation.
Mar 18 10:10:59 spook kernel: [  112.049118] turning off the locking correctness 
validator.
Mar 18 10:10:59 spook kernel: [  112.049280] Pid: 1230, comm: test Not tainted 
2.6.35.10-so-so2 #2
Mar 18 10:10:59 spook kernel: [  112.049435] Call Trace:
Mar 18 10:10:59 spook kernel: [  112.049567]  [<c0597fee>] ? printk+0x2d/0x2f
Mar 18 10:10:59 spook kernel: [  112.049714]  [<c017c8c0>] 
register_lock_class+0x160/0x330
Mar 18 10:10:59 spook kernel: [  112.049866]  [<c013b69b>] ? 
get_parent_ip+0xb/0x40
Mar 18 10:10:59 spook kernel: [  112.050024]  [<c059ebfb>] ? 
sub_preempt_count+0x7b/0xb0
Mar 18 10:10:59 spook kernel: [  112.050187]  [<c017dc96>] 
__lock_acquire+0x56/0x500
Mar 18 10:10:59 spook kernel: [  112.050337]  [<c03712d0>] ? __up_read+0x70/0x90
Mar 18 10:10:59 spook kernel: [  112.050484]  [<c017e1c7>] 
lock_acquire+0x87/0x110
Mar 18 10:10:59 spook kernel: [  112.050630]  [<d097d7df>] ? 
my_syscall+0x36f/0x3d0 [sci]
Mar 18 10:10:59 spook kernel: [  112.050784]  [<c013b69b>] ? 
get_parent_ip+0xb/0x40
Mar 18 10:10:59 spook kernel: [  112.050952]  [<c059abb5>] 
_raw_spin_lock+0x45/0x80
Mar 18 10:10:59 spook kernel: [  112.051096]  [<d097d7df>] ? 
my_syscall+0x36f/0x3d0 [sci]
Mar 18 10:10:59 spook kernel: [  112.051245]  [<d097d7df>] 
my_syscall+0x36f/0x3d0 [sci]
Mar 18 10:10:59 spook kernel: [  112.051640]  [<c059b998>] syscall_call+0x7/0xb

Linia din cod care da mesajul modifica o intrare dintr-o lista. Totul se face 
sub un spinlock, dar care functioneaza ok. Si mai ciudat, mesajul apare doar la 
prima rulare dupa pornirea masinii virtuale, testele ulterioare nu mai dau acest 
mesaj. 

Checker-ul imi trece toate testele, chiar si cu acest mesaj.


Alex Stefan
343 C1



More information about the pso mailing list