[OpenAFS-devel] afs as root filesystem crashes..

Troy Benjegerdes hozer@hozed.org
Mon, 1 Aug 2005 23:03:34 -0500


I took a few guesses and figured that increasing '-stat' might help.. my
current afsd command line is 
'afsd -stat 3000 -fakestat -afsdb -nosettime -memcache -logfile
/tmp/AFSLog -nomount', and now depmod works.

How can I check useage of VCache entries? What is a reasonable default?

On Mon, Aug 01, 2005 at 09:45:05PM -0500, Troy Benjegerdes wrote:
> I'm attempting to build an initrd (based on Debian's
> initrd-netboot-tools package) that mounts the root filesystem via afs.
> 
> So far, it boots, but I'm having a few issues with getting /dev to work
> out right (mostly dealing with init scripts).
> 
> However, the biggest problem I'm hitting right now is that I have
> managed to cause the module to panic when running 'depmod':
> 
> (none):64bit:~$ depmod
> NewVCache: warning none freed, using 300 of 300
> NewVCache - none freed<1>Unable to handle kernel paging request at
> 00000000ffffffff RIP: 
> <ffffffff880500be>{:libafs:osi_Panic+30}
> PGD df8ab067 PUD 0 
> Oops: 0002 [1] SMP 
> CPU 0 
> Modules linked in: bcm5700 e1000 af_packet nfs lockd sunrpc libafs unix
> Pid: 916, comm: depmod Tainted: P   M  2.6.11.4
> RIP: 0010:[<ffffffff880500be>] <ffffffff880500be>{:libafs:osi_Panic+30}
> RSP: 0018:ffff8101f8a919b8  EFLAGS: 00010292
> RAX: 000000000000002a RBX: 0000000000000005 RCX: 00000000000927c1
> RDX: ffff81000c005dd8 RSI: 0000000000000000 RDI: ffffffff8033cd80
> RBP: ffff81000c242730 R08: 0000000000000720 R09: 0000000000000002
> R10: 00000000ffffffff R11: 0000000000000000 R12: ffff81000c238a00
> R13: ffffffff8809e5a0 R14: ffffffff8809e5a0 R15: ffff8101f8a91b08
> FS:  00002aaaaae00640(0000) GS:ffffffff8042d800(0000)
> knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> CR2: 00000000ffffffff CR3: 000000000c240000 CR4: 00000000000006e0
> Process depmod (pid: 916, threadinfo ffff8101f8a90000, task
> ffff81000499e130)
> Stack: ffffffff8808e2c0 ffffffff88027e66 000000050000012c
> 0000000000000000 
>        ffff8100df0398ec ffffc20009551798 ffff81000c238a00
> 0000000000000000 
>        ffffc2000009bba0 0000000000000000 
> Call Trace:<ffffffff88027e66>{:libafs:afs_NewVCache+934}
> <ffffffff88032649>{:libafs:afs_DoBulkStat+1449} 
>        <ffffffff88011a10>{:libafs:afs_IsPrimaryCell+48}
> <ffffffff88011a3a>{:libafs:afs_IsPrimaryCellNum+26} 
>        <ffffffff88018964>{:libafs:afs_GetDCache+10580}
> <ffffffff8801ac6d>{:libafs:afs_dir_GetBlob+13} 
>        <ffffffff8801ad5f>{:libafs:FindItem+143}
> <ffffffff88034376>{:libafs:afs_lookup+2742} 
>        <ffffffff880608bc>{:libafs:afs_linux_lookup+156}
> <ffffffff8802c545>{:libafs:afs_AccessOK+69} 
>        <ffffffff80186d64>{real_lookup+132}
> <ffffffff80187096>{do_lookup+102} 
>        <ffffffff80187aa8>{link_path_walk+2488}
> <ffffffff80188370>{path_lookup+448} 
>        <ffffffff80188ae6>{open_namei+150}
> <ffffffff8017842b>{filp_open+43} 
>        <ffffffff8017871b>{get_unused_fd+219}
> <ffffffff8017886c>{sys_open+76} 
>        <ffffffff8010d3da>{system_call+126} 
> 
> Code: a2 ff ff ff ff 00 00 00 00 48 83 c4 08 c3 66 66 66 90 48 83 
> RIP <ffffffff880500be>{:libafs:osi_Panic+30} RSP <ffff8101f8a919b8>
> CR2: 00000000ffffffff
> 
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel

-- 
--------------------------------------------------------------------------
Troy Benjegerdes                'da hozer'                hozer@hozed.org  

Somone asked me why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best answer:

"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's why
I draw cartoons. It's my life." -- Charles Shultz