[OpenAFS] OpenAFS 1.2.9 Not Working with RH Kernel

Derek Atkins warlord@MIT.EDU
17 May 2003 19:00:22 -0400


Actually, to be more clear, you need to make sure that you're running
both libafs AND afsd from 1.2.9 -- you cannot mix and match across
versions.

So, I'll ask again, did you download and upgrade to 1.2.9 and then
build the 1.2.9 kernel module?

-derek

Derek Atkins <warlord@MIT.EDU> writes:

> You'll need to upgrade to 1.2.9 to get support for the 2.4.20 kernel.
> 
> -derek
> 
> "Computers in Medicine" <pittmed@pittmed.pitt.edu> writes:
> 
> > I was using OpenAFS 1.2.8 with Red Hat Linux 7.3 with no problems.  I
> > applied the 2.4.20-13.7 RPMs and rebuilt the kernel as follows
> > 
> > ./configure --with-linux-kernel-headers=/usr/src/linux-2.4.20-13.7
> > make
> > cp src/libafs/MODLOAD-2.4.20-13.7-SP/libafs-2.4.20-13.7.o
> > /usr/vice/etc/modload/
> > /usr/vice/etc/makesymtable /usr/vice/etc/modload/libafs-2.4.20-13.7.o
> > 
> > AFS did not start properly, so I obtained the 1.2.9 source and compiled
> > that.
> > It compiled fine, but AFS still won't start,  If I try to start it manually,
> > I get
> > 
> > [root]# /etc/rc.d/init.d/afs start
> > Found libafs-2.4.20-13.7.o from SymTable... Loading...
> > Starting AFS services.....
> > afsd: All AFS daemons started.
> > 
> > and then it hangs.
> > 
> > If I try to start it from /etc/rc.d/init.d using chkconfig, here's what
> > winds up in dmesg, grepping for afs.
> > 
> > Starting AFS cache scan...found 0 non-empty cache files (0%).
> > libafs-2.4.20-13.7 tulip ide-cd cdrom usb-uhci usbcore ext3 jbd raid1
> > EIP is at afs_choose_cell_by_name [libafs-2.4.20-13.7] 0xf (2.4.20-13.7)
> > Process afsd (pid: 6314, stackpage=cc60f000)
> > Call Trace:   [<e09760a0>] afs_choose_cell_by_name [libafs-2.4.20-13.7] 0x0
> > (0xc
> > c60fe3c))
> > [<e0975fe7>] afs_TraverseCells_nl [libafs-2.4.20-13.7] 0x27 (0xcc60fe40))
> > [<e09760a0>] afs_choose_cell_by_name [libafs-2.4.20-13.7] 0x0 (0xcc60fe54))
> > [<e0976046>] afs_TraverseCells [libafs-2.4.20-13.7] 0x46 (0xcc60fe60))
> > [<e09760a0>] afs_choose_cell_by_name [libafs-2.4.20-13.7] 0x0 (0xcc60fe64))
> > [<e0976164>] afs_GetCellByName [libafs-2.4.20-13.7] 0x14 (0xcc60fe80))
> > [<e09760a0>] afs_choose_cell_by_name [libafs-2.4.20-13.7] 0x0 (0xcc60fe84))
> > [<e09c5e53>] .rodata.str1.1 [libafs-2.4.20-13.7] 0x153 (0xcc60fe98))
> > [<e0976314>] afs_GetPrimaryCell [libafs-2.4.20-13.7] 0x14 (0xcc60fea0))
> > [<e097783b>] afs_CheckRootVolume [libafs-2.4.20-13.7] 0x5b (0xcc60fec0))
> > [<e09777f4>] afs_CheckRootVolume [libafs-2.4.20-13.7] 0x14 (0xcc60fed0))
> > [<e09b4930>] afs_osi_Sleep [libafs-2.4.20-13.7] 0x160 (0xcc60ff40))
> > [<e0977741>] afs_Daemon [libafs-2.4.20-13.7] 0x321 (0xcc60ffa0))
> > [<e09d97e8>] afs_initState [libafs-2.4.20-13.7] 0x0 (0xcc60ffc0))
> > [<e09c7174>] .rodata.str1.1 [libafs-2.4.20-13.7] 0x1474 (0xcc60ffc4))
> > [<e09b72c7>] afsd_thread [libafs-2.4.20-13.7] 0x137 (0xcc60ffd0))
> > [<e09c7181>] .rodata.str1.1 [libafs-2.4.20-13.7] 0x1481 (0xcc60ffd8))
> > [<e09b7190>] afsd_thread [libafs-2.4.20-13.7] 0x0 (0xcc60ffe4))
> > [<e09b7190>] afsd_thread [libafs-2.4.20-13.7] 0x0 (0xcc60fff8))
> > 
> > Can anyone give me any suggestions about how to troubleshoot this?  Has
> > anyone else had this problem or been able to get OpenAFS 1.2.9 to work with
> > Red Hat 7.3 and kernel 2.4.29-13.7.  Has anyone been able to get it to work
> > with RH 9 and the current kernel, since I want to upgrade anyway, but first
> > would like to solve any problems unless I know upgrading will solve them.
> > Any help is greatly appreciated.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > OpenAFS-info mailing list
> > OpenAFS-info@openafs.org
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> 
> -- 
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available