[OpenAFS-devel] kernel BUG at /scratch/openafs/src/libafs/MODLOAD-2.6.13-MP/rx_kcommon.c:131!

Martin MOKREJŠ mmokrejs@ribosome.natur.cuni.cz
Fri, 02 Sep 2005 18:50:11 +0200


Martin MOKREJŠ wrote:
> 
> chas williams - CONTRACTOR wrote:
> 
>>In message <43186740.1030205@ribosome.natur.cuni.cz>,=?windows-1252?Q?Martin_MO
>>KREJ=8A?= writes:
>>
>>
>>>Call Trace:
>>>[<c01039d1>] show_stack+0x7a/0x90
>>>[<c0103b52>] show_registers+0x152/0x1ca
>>>[<c0103d60>] die+0xf4/0x183
>>>[<c0103e70>] do_trap+0x81/0xb8
>>>[<c010414a>] do_invalid_op+0xa3/0xad
>>>[<c010363b>] error_code+0x4f/0x54
>>>[<fa035017>] afs_clear_inode+0x24/0x3e [libafs]
>>>[<c01745fe>] clear_inode+0xc7/0xc9
>>>[<c01754d4>] generic_forget_inode+0x113/0x12f
>>>[<c0175506>] generic_drop_inode+0x16/0x18
>>>[<c017555e>] iput+0x56/0x69
>>>[<fa036ff9>] afs_dentry_iput+0x7c/0x97 [libafs]
>>>[<c01727b9>] dput+0x157/0x1dd
>>>[<c0162ba3>] generic_shutdown_super+0x39/0x140
>>>[<c016348d>] kill_anon_super+0xc/0x35
>>>[<c0162aab>] deactivate_super+0x58/0x71
>>>[<c0176a9d>] __mntput+0x28/0x33
>>>[<c01694a2>] path_release_on_umount+0x29/0x2c
>>>[<c0177001>] sys_umount+0x37/0x76
>>>[<c0177059>] sys_oldumount+0x19/0x1b
>>>[<c0102acb>] sysenter_past_esp+0x54/0x75
>>
>>
>>what do you do in order to make afs oops like this?  i need a step
>>by step guide so i can try to duplicate on my side.
>>
>>the kernel is attempting to get rid of an afs inode.  but that should
>>not be possible since afs should be holding an extra reference.  afs gets
>>rid of its inodes later in ->put_super().
> 
> 
> Here we go! The machine was rebooted with bosserver and afsd not started
> by init. I mean, libafs was loaded automatically. I have deleted all previous settings
> except KeyFile, UserList and CellServDB file. Please note freshly created
> filesystems. Maybe the crash has to do something with partition not being "yet"
			--------------------------------^^^^^^^^^ I meant filesystem
which I;ve recreated before the reboot (so it was not shown in the output).

> marked in some way?


I forgot to attach the logfiles, so here they are.


Fri Sep  2 18:19:40 2005 File server starting
Fri Sep  2 18:19:40 2005 /usr/afs/local/sysid: doesn't exist
Fri Sep  2 18:19:40 2005 Creating new SysID file
Fri Sep  2 18:19:40 2005 VL_RegisterAddrs rpc failed; will retry periodically (code=5376, err=2)
Fri Sep  2 18:19:40 2005 Couldn't get CPS for AnyUser, will try again in 30 seconds; code=5376.
Fri Sep  2 18:20:10 2005 Set thread id 14 for FSYNC_sync
Fri Sep  2 18:20:10 2005 Partition /vicepa: attaching volumes
Fri Sep  2 18:20:10 2005 Partition /vicepa: attached 0 volumes; 0 volumes not attached
Fri Sep  2 18:20:10 2005 Getting FileServer name...
Fri Sep  2 18:20:10 2005 FileServer host name is 'phylo'
Fri Sep  2 18:20:10 2005 Getting FileServer address...
Fri Sep  2 18:20:10 2005 FileServer phylo has address 195.113.57.18 (0x123971c3 or 0xc3713912 in host byte order)
Fri Sep  2 18:20:10 2005 File Server started Fri Sep  2 18:20:10 2005
Fri Sep  2 18:20:10 2005 Set thread id 15 for 'FiveMinuteCheckLWP'
Fri Sep  2 18:20:10 2005 Set thread id 16 for 'HostCheckLWP'
Fri Sep  2 18:20:10 2005 Set thread id 17 for 'FsyncCheckLWP'
Fri Sep  2 18:23:48 2005 fssync: volume 536870916 restored; breaking all call backs
Fri Sep  2 18:24:57 2005 fssync: volume 536870916 restored; breaking all call backs
Fri Sep  2 18:25:30 2005 Shutting down file server at Fri Sep  2 18:25:30 2005
Fri Sep  2 18:25:30 2005 Vice was last started at Fri Sep  2 18:20:10 2005

Fri Sep  2 18:25:30 2005 Large vnode cache, 400 entries, 0 allocs, 58 gets (8 reads), 19 writes
Fri Sep  2 18:25:30 2005 Small vnode cache,400 entries, 7 allocs, 0 gets (0 reads), 7 writes
Fri Sep  2 18:25:30 2005 Volume header cache, 400 entries, 84 gets, 0 replacements
Fri Sep  2 18:25:30 2005 Partition /vicepa: 195263012 available 1K blocks (minfree=0), Fri Sep  2 18:25:30 2005 195261772 free blocks
Fri Sep  2 18:25:30 2005 With 90 directory buffers; 42 reads resulted in 6 read I/Os
Fri Sep  2 18:25:30 2005 Total Client entries = 2, blocks = 1; Host entries = 1, blocks = 1
Fri Sep  2 18:25:30 2005 There are 2 connections, process size 133164
Fri Sep  2 18:25:30 2005 There are 1 workstations, 1 are active (req in < 15 mins), 0 marked "down"
Fri Sep  2 18:25:30 2005 VShutdown:  shutting down on-line volumes...
Fri Sep  2 18:25:30 2005 VShutdown:  complete.
Fri Sep  2 18:25:30 2005 File server has terminated normally at Fri Sep  2 18:25:30 2005



Fri Sep  2 18:20:11 2005 Starting AFS Volserver 2.0 (/usr/afs/bin/volserver)
Fri Sep  2 18:20:16 2005 1 Volser: CreateVolume: volume 536870912 (root.afs) created
Fri Sep  2 18:22:40 2005 1 Volser: CreateVolume: volume 536870915 (root.cell) created
Fri Sep  2 18:22:40 2005 1 Volser: Clone: Cloning volume 536870912 to new volume 536870913
Fri Sep  2 18:22:40 2005 1 Volser: Clone: Cloning volume 536870915 to new volume 536870916
Fri Sep  2 18:23:48 2005 1 Volser: CreateVolume: volume 536870918 (i386_linux26) created
Fri Sep  2 18:23:48 2005 1 Volser: CreateVolume: volume 536870921 (i386_linux26.usr) created
Fri Sep  2 18:23:48 2005 1 Volser: CreateVolume: volume 536870924 (i386_linux26.usr.afsws) created
Fri Sep  2 18:23:48 2005 1 Volser: Clone: Recloning volume 536870915 to volume 536870916
Fri Sep  2 18:24:48 2005 1 Volser: CreateVolume: volume 536870927 (home) created
Fri Sep  2 18:24:48 2005 1 Volser: CreateVolume: volume 536870930 (home.mmokrejs) created
Fri Sep  2 18:24:57 2005 1 Volser: Clone: Recloning volume 536870915 to volume 536870916