[OpenAFS-devel] afs proc magic on Linux 2.6

John S. Bucy bucy-openafs-devel@gloop.org
Mon, 25 Apr 2005 16:29:38 -0400


On Mon, Apr 25, 2005 at 09:37:33PM +0200, Love wrote:
> 
> "John S. Bucy" <bucy-openafs-devel@gloop.org> writes:
> 
> > Linux 2.6.11.7 on alpha, OpenAFS 1.3.81
> >
> > Trying to use a heimdal (new enough to have the /proc support) kinit
> > to get tokens; tokens lists none afterwards.  Its not impossible that
> > we screwed up and had an old something hanging around that made it not work.
> 
> What is the error code return by the ioctl on the proc file ? Use strace to
> find out.

strace tokens 
[...]
open("/proc/fs/openafs/afs_ioctl", O_RDWR) = 3
ioctl(3, CAPI_REGISTER or SNDCTL_COPR_LOAD, 0x11fff99b0) = -1 EIO (Input/output error)
close(3)                                = 0

I get the same thing from kinit as well.




john