[OpenAFS-port-darwin] AFS related kernel panic
Josh Plautz
jplautz@ahpcrc.org
Thu, 23 Sep 2004 16:32:56 -0500
Hey all-
One of my users here can consistantly cause his mac to panic using
version 1.3.70. I asked him to write up what he does and grab the panic
log for your perusal. I was able to reproduce this on my system as well
so I don't think its anything specific with his environment. Basically
run the perl script on a file in an afs mounted directory, and your
system will crash fairly quickly (but not immediately, it seems to take
until the next afs access or something- generally within about 30 seconds).
We are running OSX 10.3.5.
p.s. I notice that the org.openafs.filesystems.afs line in the crash log
shows 1.2.10. Is that the correct version string for that file? I know
for a fact he's running 1.3.70 from the website. I saw the same version
string on my version, and upgraded again to 1.3.70 from a fresh download
and see the same string. I just want to be sure there isn't something
wrong with that installer.
Here's his note:
-----
Here are the specifics. If I execute the following command
to the Makefile.test file listed below, I can consistently
panic my MacX box.
perl -pi -e 's/TARGET/CTARGET/go' Makefile.test
File: Makefile.test
$(TARGET)/$(PROGRAM):
(cd $(TARGET) && $(CC) -o $(PROGRAM) $(PROGRAM).c)
$(MKTCLAPPINSTALLDIR)/bin/$(PROGRAM): $(TARGET)/$(PROGRAM)
(cd $(TARGET) && $(INSTALL) -d $(MKTCLAPPINSTALLDIR)/bin)
(cd $(TARGET) && $(INSTALL) $(INSTALLBINFLAGS) $(PROGRAM)
$(MKTCLAPPINSTALLDIR)/bin)
EOF
The kernel panic log shows the following entry.
*********
Thu Sep 23 15:49:01 2004
panic(cpu 0): vrele: ref cnt
Latest stack backtrace for cpu 0:
Backtrace:
0x000836E4 0x00083BC8 0x0001EDA4 0x000C1BC0 0x000C3BA8
0x00078C3C 0x000693E4 0x3579CC48
0x35752E70 0x357367D4 0x357A1B98 0x357A3890 0x002452B4
0x00094200 0x00000000
Kernel loadable modules in backtrace (with dependencies):
org.openafs.filesystems.afs(1.2.10)@0x3572a000
Proceeding back via exception chain:
Exception state (sv=0x351F1C80)
PC=0x9001A4AC; MSR=0x0000D030; DAR=0x000234C8; DSISR=0x40000000;
LR=0x00004CD0; R1=0xBFFFC840; XCP=0x00000030 (0xC00 - System call)
Kernel version:
Darwin Kernel Version 7.5.0:
Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC
----------
And here's the panic I got following his instructions:
Thu Sep 23 16:27:59 2004
panic(cpu 0): vrele: ref cnt
Latest stack backtrace for cpu 0:
Backtrace:
0x000836E4 0x00083BC8 0x0001EDA4 0x000C1BC0 0x000C3BA8
0x00078C3C 0x000693E4 0x38194C48
0x3814AE70 0x3812E7D4 0x38199B98 0x3819B890 0x002452B4
0x00094200 0x00090009
Kernel loadable modules in backtrace (with dependencies):
org.openafs.filesystems.afs(1.2.10)@0x38122000
Proceeding back via exception chain:
Exception state (sv=0x38093500)
PC=0x9001A4AC; MSR=0x0000D030; DAR=0x000234C8; DSISR=0x40000000;
LR=0x00004CD0; R1=0xBFFFC840; XCP=0x00000030 (0xC00 - System call)
Kernel version:
Darwin Kernel Version 7.5.0:
Thu Aug 5 19:26:16 PDT 2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC
Lemme know if you need any further info.
josh