[OpenAFS] Reporting Bugs was Re: Windows Power Management

Jeffrey Altman jaltman@columbia.edu
Mon, 01 Nov 2004 20:56:13 -0500


This is a cryptographically signed message in MIME format.

--------------ms090302040000070502050001
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Well, the appropriate way to report a bug is to openafs-bugs@openafs.org.

The contents of the bug report vary depending on what it is that you
are attempting to report.  If it is a crash, then useful information
consists of:

  * the %WINDIR%\TEMP\afsd_init.log

  * the %WINDIR%\TEMP\afsd.log

  * a stack trace if you were able to get one

  * a minidump if you were able to get one

  * An ability to replicate the problem.  Replication is 95% of the
    work associated with fixing a bug.  Most (but not all) crash bugs
    are something small and stupid not major design problems

If it is not a crash report, then again replication is 95% of the
work.  Spend the time to isolate the problem as much as possible so
that you can easily explain how I can replicate it.  If possible
provide me remote access to a machine suffering the problem with
Debugging Tools for Windows installed and the necessary cell access
to reproduce the symptoms in the debugger.

OpenAFS for Windows does have the ability to generate trace logs
but they are most useful after a general idea of where the problem
is and new debugging statements have been added to focus explicitly
on that problem.  This is a last resort when access to the machine
and a debugger cannot be obtained.

As for the bug you describe below, the Windows SMB/CIFS client uses
a variable length timeout based upon the server being accessed.
In the case of OpenAFS, the entire AFS name space is treated as one
server, "AFS", by the Windows time out.  If the experience of Windows
is that it takes a long time to obtain a response, then it will
wait a long time before timing out.  The AFS RPC timeout period is
about two minutes.  The SysInternals FileMon.exe tool is very useful
for watching the behavior of Windows as a SMB/CIFS client.  Simply
turn off capturing for all local devices and you will see only the
SMB/CIFS accesses.

Jeffrey Altman


James Burns wrote:
> Jeffrey,
> Just to clarify, I was being purposefully vague because I was looking
> for general information on bug reporting rather than actually trying
> to report one. I did figure out some more information on this
> so-called hanging, but I'm not sure if it's an AFS bug or a Microsoft
> one. I found out that my cell (1.2.11 on Linux) was in some sort of
> hung state. Attempts to access it via the Linux client returned
> immediate connection timeout errors. In Windows however, attempting to
> access the cell hung Explorer, apparently indefinitely. Sometimes
> bringing up a My Computer view would hang it, sometimes trying to open
> a mapped drive would as well. In one instance stopping the service and
> restarting it worked (this was before I understood the issue though,
> so I'm not as sure of the details). I didn't know the command line to
> do the restart so I ended up killing Explorer a few times before I
> realized that I needed to restart my cell (it's a "home" one server
> cell). I'll see if I can get my cell hung again (it seems to be
> happening when I move large files around) and perhaps send you
> connection information so you can see if it happens to you. The
> hanging was happening when I was accessing it over the Internet as
> well as locally so there's a fair chance you'll see it. I'll send a
> bug report after another iteration of trying to get more information.
> 
> -James

--------------ms090302040000070502050001
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAwxk8TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNTI3MTc1ODU4WhcNMDUwNTI3MTc1ODU4
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS5l
ZHUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDc3JqO5AsZrozd+mJ2mPuCTYo2
+nJ9Qq6jtUYtp7YTMW4d2Q6GLhNaHb1l9m74SxuY4f5vP6JtZjr6p9+LCCxD0w0NVLKRgUDp
z+tKFitbkJe9BSCxCURRvY3vdWA71gSCUvZAN3346hHb4oGVqgdpmfFJXYAHWpC46wiL72N9
WxySzY17/0eU0c8+r9dNoLpPQeL43O66O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