[Linux-cachefs] [UPDATE] [Q]: NFS + CacheFS hangs.....

Chris Bshaw cwbshaw at hotmail.com
Tue Jun 7 11:32:28 UTC 2005


Hi....

Since my last posting, I have reloaded my machine with FC3 + all the latest 
YUM updates, and I have
built the latest 2.6.12-rc5-mm2 + NFS CacheFS patches. However, I am still 
having the same problem. I
have attached the process backtrace below.....to my untrained eyes, it looks 
the same as the ones in my
previous posts.

I also tried using NFS + CacheFS using a loopback filesystem. I got further 
with this....I was able to
mount my NFS filesystem and cd into the filesystem tree. I was even able to 
'cat' a few small files, but
when I tried to transfer a large file the kernel itself crashed.....I have 
attached the output from this below
also.

I am really interested in trying to use this and am happy to help get this 
to work for the benefit of
everyone, although I am not a kernel programmer so I am not sure how much I 
can help except to
provide feedback from testing.

Could anyone recommend a Linux distribution on which they have gotten this 
to work?
Has anyone got this to work on FC2 or FC3?

Finally, I have attached my kernel .config in case there is something I did 
wrong when building the
kernel.

I'd be really grateful for any help or suggestions on what to try next.

Chris.

Process Backtrace (Cachefs mounted on scsi disk)
---------------------------------------------------------------------
kcachefsd 081 S 00000020  6876  3262      1                2627 (L-TLB)
f10e7ee4 00000046 f10e7ed4 00000020 00000002 00000000 f19fdd38 00000286
        c036b262 00000833 00000000 c1796b40 f2046980 f891b8a0 f7fff080 
c1808560
        00000000 00000000 26af7400 003d0901 c03afc00 f7e6aa70 f7e6ab98 
f10e7f34
Call Trace
  [<f891b8a0>] __fscache_page_get_private+0x39/0x6a [fscache]
  [<f88d6999>] cachefs_trans_mark+0x460/0x5eb [cachefs]
  [<f88d1446>] cachefs_block_read+0x145/0x441 [cachefs]
  [<f88d1058>] cachefs_block_dummy_filler+0x0/0x76 [cachefs]
  [<c011908d>] default_wake_function+0x0/0x12
  [<c011908d>] default_wake_function+0x0/0x12
  [<f88d618b>] cachefs_trans_alloc+0x67/0xc3 [cachefs]
  [<f88d9759>] cachefs_recycle_begin_new_node+0xe9/0x371 [cachefs]
  [<f88d9bd5>] cachefs_recycle_unready_blocks+0x1f4/0x239 [cachefs]
  [<f88d8bd8>] kcachefsd_work+0x7c/0xfc [cachefs]
  [<f88d8cda>] kcachefsd+0x82/0x98 [cachefs]
  [<f88d8c58>] kcachefsd+0x0/0x98 [cachefs]
  [<c01010a1>] kernel_thread_helper+0x5/0xb
mount         D 00000020  6140  3301   3100                     (NOTLB)
ee9dd9dc 00000086 ee9dd9cc 00000020 00000002 f7cb9500 00000000 00000001
        00000206 00000000 00000000 00000001 f7895220 f67fbc80 f67cbb80 
c1808560
        00000000 00000000 a55cdf00 003d090a c03afc00 f7fef030 f7fef158 
f7895000
Call Trace
  [<c0350a1f>] __down+0x73/0x100
  [<c011908d>] default_wake_function+0x0/0x12
  [<c0350beb>] __down_failed+0x7/0xc
  [<f88d87ac>] .text.lock.journal+0x19/0x19d [cachefs]
  [<c011908d>] default_wake_function+0x0/0x12

  [<f88d420e>] cachefs_indr_io_get_block_alloc+0x4a2/0xbef [cachefs]
  [<c01495fa>] cache_init_objs+0x59/0x81
  [<c011908d>] default_wake_function+0x0/0x12
  [<c011908d>] default_wake_function+0x0/0x12
  [<f88d618b>] cachefs_trans_alloc+0x67/0xc3 [cachefs]
  [<f88d4c3c>] cachefs_indr_io_get_block+0x2e1/0x65f [cachefs]
  [<c01efc3c>] radix_tree_node_alloc+0x1c/0x5c
  [<f88d29b1>] cachefs_index_select_free_entry+0x2c4/0x3ca [cachefs]
  [<c01457aa>] buffered_rmqueue+0x115/0x259
  [<f88d2b08>] cachefs_index_add+0x51/0x786 [cachefs]
  [<c01495fa>] cache_init_objs+0x59/0x81
  [<f891ab75>] fscache_instantiate_object+0xe9/0x243 [fscache]
  [<f891ab1c>] fscache_instantiate_object+0x90/0x243 [fscache]
  [<f891ab1c>] fscache_instantiate_object+0x90/0x243 [fscache]
  [<f891ae86>] __fscache_acquire_cookie+0x1a2/0x237 [fscache]
  [<f8b9b499>] nfs_find_actor+0x0/0x7b [nfs]
  [<f8b9b775>] nfs_fhget+0x215/0x3ed [nfs]
  [<f8b9b514>] nfs_init_locked+0x0/0x4c [nfs]
  [<f8b9a556>] nfs_get_root+0x42/0x81 [nfs]
  [<f8b9a62f>] nfs_sb_init+0x9a/0x57a [nfs]
  [<f891a7ea>] fscache_search_for_object+0xc9/0x36b [fscache]
  [<f8b9af80>] nfs_fill_super+0x345/0x3f3 [nfs]
  [<f8b9d2f3>] nfs_get_sb+0x29d/0x31e [nfs]
  [<c01690d2>] do_kern_mount+0xa2/0x152
  [<c017fb31>] do_new_mount+0x73/0xb3
  [<c0180277>] do_mount+0x1c3/0x1c8
  [<c0180069>] copy_mount_options+0x54/0x9f
  [<c0352d37>] lock_kernel+0x2a/0x3c
  [<c01806d7>] sys_mount+0x9f/0xd7
  [<c0102c3b>] sysenter_past_esp+0x54/0x75


Kernel crash (Cachefs mounted on loopback filesystem)
----------------------------------------------------------------------------
------------[ cut here ]------------
kernel BUG at fs/cachefs/journal.c:1511!
invalid operand: 0000 [#1]
SMP
Modules linked in: nfs lockd nfs_acl sunrpc cachefs fscache loop md5 ipv6 
dm_mod video button battery ac ohci_hcd i2c_piix4 i2c_core tg3 floppy
CPU:    1
EIP:    0060:[<f88de324>]    Not tainted VLI
EFLAGS: 00010046   (2.6.12-rc5-mm2)
EIP is at cachefs_trans_batch_written+0x116/0x123 [cachefs]
eax: c17b70ec   ebx: f65c2a00   ecx: c17ac960   edx: 00000000
esi: c1b31cd4   edi: f7b451d0   ebp: 00000007   esp: c1a37fa8
ds: 007b   es: 007b   ss: 0068
Process loop0 (pid: 3205, threadinfo=c1a36000 task=f7c21a70)
Stack: f88f6a03 f7b451c0 00000282 f7b45000 ed6b7700 f7f0e000 00000008 
f7f0e0ec
       f88f6c79 ed6b7700 0001f000 00000000 f88f6b91 00000000 00000000 
00000000
       c01010a1 f7f0e000 00000000 00000000 00000000 00000000
Call Trace:
[<f88f6a03>] do_bio_filebacked+0x6c/0x72 [loop]
[<f88f6c79>] loop_thread+0xe8/0x133 [loop]
[<f88f6b91>] loop_thread+0x0/0x133 [loop]
[<c01010a1>] kernel_thread_helper+0x5/0xb
Code: 24 24 89 04 24 e8 21 8a 88 c7 31 c0 83 c4 10 5b 5e 5f 5d c3 0f 0b e9 
05 07 9c 8e f8 eb 8f 0f 0b 2d 01 3a 9c 8e f8 e9 7c ff ff ff <0f> 0b e7 05 07 
9c 8e f8 e9 68 ff ff ff 53 b8 01 00 00 00 83 ec
<3>BUG: soft lockup detected on CPU#0!
Jun  7 11:57:42 itt-vsrs-7 kernel:
Pid: 3234, comm:       kcachefsd 0700
EIP: 0060:[<c035298e>] CPU: 0
EIP is at _spin_lock_irqsave+0x23/0x51
EFLAGS: 00000286    Not tainted  (2.6.12-rc5-mm2)
EAX: f7b451c0 EBX: 00000282 ECX: 00000000 EDX: f7b45000
ESI: f7b451c0 EDI: f643bf5c EBP: f7b451d8 DS: 007b ES: 007b
CR0: 8005003b CR2: 002b2440 CR3: 37e83de0 CR4: 000006f0
[<c0272f23>] submit_bio+0x51/0xe2
[<f88ddfe1>] cachefs_trans_batch_process_written_blocks+0xa1/0x2ce [cachefs]
[<c011908d>] default_wake_function+0x0/0x12
[<f88dd8f5>] cachefs_trans_batch_write_data+0x54/0x225 [cachefs]
[<c011908d>] default_wake_function+0x0/0x12
[<f88dd372>] cachefs_trans_batch_write+0x290/0x4a2 [cachefs]
[<f88decda>] kcachefsd+0x82/0x98 [cachefs]
[<f88dec58>] kcachefsd+0x0/0x98 [cachefs]
[<c01010a1>] kernel_thread_helper+0x5/0xb

_________________________________________________________________
Send a sexy animated wink with Messenger 7.0 - FREE download! 
http://messenger.msn.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dot_config
Type: application/octet-stream
Size: 32317 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cachefs/attachments/20050607/18ab9348/attachment.obj>


More information about the Linux-cachefs mailing list