[pso][tema3]d_alloc error
Onofrei Andreea-Ancuta
ancuta_onofrei at yahoo.com
Sun Aug 26 02:31:38 EEST 2007
Hello!
Am implementat functia de lookup si dupa citirea inode-ului corespunzator pentru direntry cu numele acpi, apelez d_add si am urmatorul output:
read_inode: ino 1, mode 16877, uid 0, gid 0, size 512
inode-ul 1 este director
am gasit inode-ul pentru acpi
------------[ cut here ]------------
kernel BUG at include/linux/dcache.h:314!
invalid opcode: 0000 [#1]
PREEMPT DEBUG_PAGEALLOC
Modules linked in: pitix netconsole vmxnet
CPU: 0
EIP: 0060:[<c01744a8>] Tainted: P VLI
EFLAGS: 00010246 (2.6.18 #6)
EIP is at d_alloc+0x198/0x1c0
eax: 00000000 ebx: c2e98f50 ecx: c0669d08 edx: c2933f50
esi: c1e9001a edi: c2933f50 ebp: c2cacdd4 esp: c2cacdbc
ds: 007b es: 007b ss: 0068
Process stat (pid: 4222, ti=c2cac000 task=c1d82580 task.ti=c2cac000)
Stack: c2cace28 c2933f50 c2e98f50 c2cace28 00000000 c2cacefc c2cacdfc c016a71a
c2cace34 c7eddaf0 c27e6d74 c27e6e0c c2933f50 c1e9001b c2cace28 c27e6d74
c2cace48 c016b9b5 c2cacefc c1e90014 00000000 00000000 bf0888d7 c2cace28
Call Trace:
[<c016a71a>] do_lookup+0xfa/0x150
[<c016b9b5>] __link_path_walk+0x125/0xef0
[<c016c7c4>] link_path_walk+0x44/0xe0
[<c016ca9b>] do_path_lookup+0xbb/0x270
[<c016d470>] __user_walk_fd+0x30/0x50
[<c01668d6>] vfs_lstat_fd+0x16/0x40
[<c0166971>] vfs_lstat+0x11/0x20
[<c0166994>] sys_lstat64+0x14/0x30
[<c010316d>] sysenter_past_esp+0x56/0x99
[<b7f4e410>] 0xb7f4e410
Code: e8 be 52 fe ff 85 c0 74 2f 8b 4d e8 89 c2 8b 41 04 e9 c7 fe ff ff 8d 43 54 89 43 54 89 40 04 b8 20 37 39 c0 e8 aa 46 1a 00 eb ad <0f> 0b 3a 01 bc a3 33 c0 e9 6a ff ff ff 8b 55 f0 a1 28 d7 40 c0
EIP: [<c01744a8>] d_alloc+0x198/0x1c0 SS:ESP 0068:c2cacdbc
M-am uitat prin dcache.h....dar nu prea pricep care ar fi problema.
Trebuia sa aloc ceva in functia de lookup?
Ancuta
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070825/4f69cea3/attachment.html
More information about the pso
mailing list