On Mon, Apr 15, 2002 at 07:16:13AM +0100, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > Could you please give me the context of that line for the kernels you use? > i.e. the function it is in and maybe the full function body? > > Having a kdb backtrace would also be nice. Uf, I forgot about the function body, but details with kdb are coming:
bt gives: EBP, EIP, Function(args) 0xddeee000 0xc013cbfd wait_for_buffers+0x4d(0,1,1,1,0) 0xddeeff64 0xc013ccc2 wait_for_locked_buffers+0x22(0,1,1,0,0) 0xddeeff94 0xc013cd10 sync_buffers+0x38(0,1,0xddeee000,1,0xbffffaf4) 0xc0106da3 system_call+0x33 btp gives: EBP, EIP, Function(args) 0xddeeffb0 0xc013ce8e fsync_dev+0x82(0) 0xddeeffbc 0xc013ceb6 sys_sync+0x0a(0xbffffaf4,2,0x40134e88,1,0xbffffaf4) 0xc0106da3 system_call+0x33 registers: eax=0x04 esi=0x00 ebp=0xddeeff44 xds=0xddee0018 ebx=0xddeee000 edi=0x22 xss=0x18 xes=0xdcdaca80 esp=0xddeeff30 xsc=0x10 origeax=0xffffff01 edx=0xdcdaca80 eip=0xc013cbdd eflags=0x282 ®s=0xddeefefc the function wait_for_buffers itself starts at 0xc013cbb0: push %ebp mov %esp, %ebp push %edi push %esi push %ebx mov 0x08(%ebp), %eax mov %eax, 0xfffffffe(%ebp) mov 0x0c(%ebp), %eax shl $0x02, %eax mov 0xc0407a4c(%eax), %edx mov %edx, 0xfffffff8(%ebp) mov 0xc0407a58(%eax), %edi test %edx, %edx je 0xc013cc7d dec %edi js 0xc013cc7d mov $0xfffffe000, %ebx and %esp, %ebx nop lea 0x00(%esi,1), %esi mov 0xfffffff8(%ebp), %esi mov 0x20(%esi), %eax mov %eax, 0xfffffff8(%ebp) testb $0x04, 0x18(%esi) jne 0xc013cc70 push %esi call 0xc013de74 (__refile_buffer) add $0x04, %esp jmp 0xc013cc70 I will look for the function of wait_for_buffers, and include it here. Do you need other things? Btw, my config is a PIII/1.2GHz, kernel optimized for PIII, loop is in module as well as jfs; gcc is version 2.95.4. Thanks, GCS _______________________________________________ Jfs-discussion mailing list [EMAIL PROTECTED] http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion