[OpenAFS-win32-devel] Windows 1.3.62 problems #2...

Rodney M Dyer rmdyer@uncc.edu
Tue, 30 Mar 2004 23:23:32 -0500


Jeff,

Having more troubles with 1.3.62.  When executing the following sequence of 
steps I get an error when I use the tokens command.  I've then "lost" my 
tokens and the afs service promptly crashes when stopped....

1.  Confirm AFS is not running...

C:\>tasklist

Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
System Idle Process            0 Console                 0         20 K
System                         4 Console                 0        224 K
smss.exe                     356 Console                 0        344 K
csrss.exe                    520 Console                 0      2,016 K
winlogon.exe                 544 Console                 0      3,580 K
services.exe                 588 Console                 0      2,760 K
lsass.exe                    600 Console                 0      1,176 K
svchost.exe                  768 Console                 0      2,768 K
svchost.exe                  844 Console                 0     15,444 K
svchost.exe                  936 Console                 0      1,720 K
svchost.exe                  952 Console                 0      3,436 K
spoolsv.exe                 1136 Console                 0      3,356 K
mdm.exe                     1340 Console                 0      2,972 K
nvsvc32.exe                 1364 Console                 0      2,288 K
svchost.exe                 1492 Console                 0      2,588 K
explorer.exe                1176 Console                 0     21,244 K
Directcd.exe                1108 Console                 0      4,052 K
afscreds.exe                 176 Console                 0      5,716 K
cmd.exe                     1748 Console                 0        940 K
krbcc32s.exe                1912 Console                 0      1,296 K
tasklist.exe                 464 Console                 0      2,752 K
wmiprvse.exe                1756 Console                 0      3,824 K

2.  Start AFS service...

C:\>net start TransarcAFSDaemon
The OpenAFS Client Service service is starting..
The OpenAFS Client Service service was started successfully.

3.  Mount AFS...

C:\>net use n: \\afs\all
The command completed successfully.

4.  Obtain token...

C:\>klog rmdyer
Password:

5.  Verify token...

C:\>tokens

Tokens held by the Cache Manager:

User rmdyer's tokens for afs@uncc.edu [Expires Apr 01 00:34]
    --End of list --

6.  Go to my home volume...

C:\>n:

N:\>cd uncc\usr2\rmdyer

7.  Perform a directory lookup...

N:\uncc\usr2\rmdyer>dir
  Volume in drive N is AFS
  Volume Serial Number is 0000-04D2

  Directory of N:\uncc\usr2\rmdyer

03/23/2004  03:08 AM    <DIR>          .
03/23/2004  03:08 AM    <DIR>          ..
07/15/1998  09:47 PM    <DIR>          unix
08/27/1992  07:57 AM    <DIR>          BACKUP
03/25/2004  01:04 PM    <DIR>          pc
03/30/2004  04:40 PM    <DIR>          xp_profile
03/29/2004  02:59 PM    <DIR>          public_html
                0 File(s)         20,500 bytes
                7 Dir(s)  1,099,511,626,752 bytes free

8.  Try to mount home volume (incorrectly)...

N:\uncc\usr2\rmdyer>net use y: \\afs\uncc\usr2\rmdyer
System error 53 has occurred.

The network path was not found.

9.   Try to mount home volume (correctly)...

N:\uncc\usr2\rmdyer>net use y: \\afs\all\uncc\usr2\rmdyer
The command completed successfully.

10.  Perform a directory lookup...

N:\uncc\usr2\rmdyer>dir y:
  Volume in drive Y is AFS
  Volume Serial Number is 0000-04D2

  Directory of Y:\

03/23/2004  03:08 AM    <DIR>          .
03/23/2004  03:08 AM    <DIR>          ..
07/15/1998  09:47 PM    <DIR>          unix
08/27/1992  07:57 AM    <DIR>          BACKUP
03/25/2004  01:04 PM    <DIR>          pc
03/30/2004  04:40 PM    <DIR>          xp_profile
03/29/2004  02:59 PM    <DIR>          public_html
                0 File(s)         20,500 bytes
                7 Dir(s)  1,099,511,626,752 bytes free

11.  Unmount volume....

N:\uncc\usr2\rmdyer>net use y: /d
y: was deleted successfully.

----------------------------------------------

12.  Check tokens (PROBLEM)...

N:\uncc\usr2\rmdyer>tokens

Tokens held by the Cache Manager:

Unexpected error, service afs..uncc.edu, code 11862787
    --End of list --

N:\uncc\usr2\rmdyer>

----------------------------------------------



Here's the afsd_init.log...

11:08:17 PM: Create log file
11:08:17 PM: Created log file
PATH=c:\admin\bin;c:\admin\bin\krb5;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\Common Files\Adaptec Shared\System;C:\Program 
Files\OpenAFS\Client\Program;C:\Program Files\OpenAFS\Common
3/30/2004 11:08:17 PM: osi_InitDebug code 0
3/30/2004 11:08:17 PM: gethostname pc1
3/30/2004 11:08:17 PM: Default cache size 20480
3/30/2004 11:08:17 PM: Default chunk size 15
3/30/2004 11:08:17 PM: Defaulting to 2 background daemons
3/30/2004 11:08:17 PM: Defaulting to 4 server threads
3/30/2004 11:08:17 PM: Default status cache size 1000
3/30/2004 11:08:17 PM: Logoff token transfer on by default
3/30/2004 11:08:17 PM: Default logoff token transfer timeout 10 seconds
3/30/2004 11:08:17 PM: Default root volume name root.afs
3/30/2004 11:08:17 PM: Mount root /afs
3/30/2004 11:08:17 PM: Default cache path C:\AFSCache
3/30/2004 11:08:17 PM: Default trace buffer size 5000
3/30/2004 11:08:17 PM: Default sys name i386_nt40
3/30/2004 11:08:17 PM: SecurityLevel is crypt
3/30/2004 11:08:17 PM: DNS will not be used to find AFS cell servers
3/30/2004 11:08:17 PM: Freelance client feature is not activated
3/30/2004 11:08:17 PM: Explicit NetBios name is used AFS
3/30/2004 11:08:17 PM: Dot files/dirs will be marked hidden
3/30/2004 11:08:17 PM: Maximum number of multiplexed sessions is 50
3/30/2004 11:08:17 PM: Maximum number of VCs per server is 100
3/30/2004 11:08:17 PM: RX maximum MTU is 1260
3/30/2004 11:08:17 PM: LAN adapter number 3
3/30/2004 11:08:17 PM: Using >AFS< as SMB server name
3/30/2004 11:08:17 PM: osi_LogCreate log addr 3e41e8
3/30/2004 11:08:17 PM: First Network address a9fe1981 SubnetMask ffff0000
3/30/2004 11:08:17 PM: rx_SetMaxMTU 1260 successful
3/30/2004 11:08:17 PM: rx_Init code 0
3/30/2004 11:08:17 PM: rx_NewService addr 3e7e10
3/30/2004 11:08:17 PM: rx_NewService addr 3e8a60
3/30/2004 11:08:17 PM: RPC server listening
3/30/2004 11:08:17 PM: rx_StartServer
3/30/2004 11:08:17 PM: cm_InitDCache code 0
3/30/2004 11:08:17 PM: cm_GetRootCellName code 0, cm_freelanceEnabled= 0, 
rcn= uncc.edu
3/30/2004 11:08:17 PM: cm_GetCell addr c92e98
3/30/2004 11:08:17 PM: cm_GetVolumeByName code 0 root vol 3eb068
3/30/2004 11:08:17 PM: cm_GetSCache code 0 scache 3eb6b8
3/30/2004 11:08:17 PM: cm_InitDaemon
3/30/2004 11:08:17 PM: smb_localNamep is >AFS<
3/30/2004 11:08:17 PM: Netbios NCBRESET lana 3 succeeded
3/30/2004 11:08:17 PM: lana_list.length 1
3/30/2004 11:08:20 PM: Netbios NCBADDNAME lana=3 code=0 retcode=0 complete=0
3/30/2004 11:08:20 PM: Netbios NCBADDNAME added new name >AFS             <
3/30/2004 11:08:20 PM: Netbios NCBADDNAME succeeded on lana 3

3/30/2004 11:08:20 PM: smb_Init
3/30/2004 11:08:28 PM: New session(ncb_lsn,ncb_lana_num) (1,3) starting 
from host PC1, 0 ongoing ops
3/30/2004 11:08:28 PM: increasing numNCBs [ 6 ] numSessions [ 2 ]


The afsd.log shows nothing new...or it shows the last crash info I sent to 
you previously (not for this specific error)...

c:\>type c:\winnt\temp\afsd.log
time 93.578000, pid 1548 Log init
time 94.015000, pid 1548 cm_ConnByServer returning conn 0x3eb140
time 94.015000, pid 1548 CALL VL_GetEntryByNameO name root.afs
time 115.015000, pid 1548 cm_Analyze connp 0x3eb140, code -1
time 115.015000, pid 1548 cm_ConnByServer returning conn 0x3eb4a8
time 115.015000, pid 1548 CALL VL_GetEntryByNameO name root.afs
time 136.015000, pid 1548 cm_Analyze connp 0x3eb4a8, code -1
time 136.015000, pid 1548 cm_Analyze connp 0x0, code 1716793858
time 136.031000, pid 1548 **PANIC** (file afsd_service.c:427)

Rodney