[OpenAFS-port-darwin] Kernel Panic with 10.4.9 and 1.4.4

Nate Coraor nate@psu.edu
Thu, 5 Jul 2007 11:30:58 -0400


Folks,

I'm getting an intermittent kernel panic in the afs module when I  
start a java program.  So far I've been unable to figure out how to  
reliably reproduce the panic.  Backtraces are at the bottom of this  
message, if they're of any help.  I tried ktrace, but it wrote  
nothing to the output file before the panic (not because nothing  
happens, but because of the output buffer).  Does anyone have any  
pointers on where to go from here?

An aside: is it safe to remove the requirement on "Disks" from  
StartupParameters.plist?  / would have to be mounted by the time the  
OpenAFS StartupItem runs, and my machines only have 2 partitions (the  
other one is scratch space and is not required for the machine to  
function properly).  The reason I ask is because if the system  
crashes, /afs doesn't mount until autodiskmount finishes doing  
whatever it does (which I suspect is a fsck, but who knows since the  
man page says "This command is deprecated and exists only for  
backwards compatibility."  Thanks Apple.), which can take a long time  
on the scratch partition.

Thanks,
--nate


Thu Jul  5 10:38:09 2007
panic(cpu 0 caller 0x000E8D50): remove_fsref: no named reference
Latest stack backtrace for cpu 0:
       Backtrace:
          0x000952D8 0x000957F0 0x00026898 0x000E8D50 0x45008230  
0x45002D50 0x000FB5B0 0x000E2374
          0x000E1F08 0x000EEBD8 0x000EEE3C 0x000EEEDC 0x002AB7F8  
0x000ABB30 0x02E41180
       Kernel loadable modules in backtrace (with dependencies):
          org.openafs.filesystems.afs(1.4.4)@0x44f64000
Proceeding back via exception chain:
    Exception state (sv=0x4551DA00)
       PC=0x9000642C; MSR=0x0000F030; DAR=0xF100E580;  
DSISR=0x42000000; LR=0x9C85BD3C; R1=0xF10105B0; XCP=0x00000030 (0xC00  
- System call)

Kernel version:
Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007;  
root:xnu-792.17.14~1/RELEASE_PPC
*********

Thu Jul  5 10:46:07 2007
panic(cpu 0 caller 0x000E59C4): vnode_rele_ext: vp 35e3294 usecount - 
ve : -1
Latest stack backtrace for cpu 0:
       Backtrace:
          0x000952D8 0x000957F0 0x00026898 0x000E59C4 0x45218050  
0x45212D50 0x000FB5B0 0x000E2374
          0x000E1F08 0x000EEBD8 0x000EEE3C 0x000EEEDC 0x002AB7F8  
0x000ABB30 0x3B266C74
       Kernel loadable modules in backtrace (with dependencies):
          org.openafs.filesystems.afs(1.4.4)@0x45174000
Proceeding back via exception chain:
    Exception state (sv=0x456D0280)
       PC=0x9000642C; MSR=0x0000F030; DAR=0x153E1000;  
DSISR=0x42000000; LR=0x9C85BD3C; R1=0xF1091550; XCP=0x00000030 (0xC00  
- System call)

Kernel version:
Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007;  
root:xnu-792.17.14~1/RELEASE_PPC