[OpenAFS] Problem with starting up Open AFS.

Derek Atkins warlord@MIT.EDU
08 Aug 2001 17:05:30 -0400


You want:

--with-linux-kernel-headers

-derek

Madhusudan Singh <chhabra@eecs.umich.edu> writes:

> Hi,
> 	I did not. But now I installed the source rpm. My /usr/src
> listing is (now) :
> 
> [root@guo src]# ls -l
> total 8
> lrwxrwxrwx    1 root     root           11 Aug  9 00:36 linux-2.4 -> linux-2.4.2
> drwxr-xr-x   16 root     root         4096 Aug  9 00:36 linux-2.4.2
> drwxr-xr-x    7 root     root         4096 Jul 26 20:35 redhat
> 
> ./configure --with-kernel-headers=/usr/src/linux-2.4
> 
> yields :
> checking whether byte ordering is bigendian... no
> checking your OS... configure: warning: No usable linux headers found at
> /usr/src/linux so disabling kernel module
> linux
> checking your AFS sysname... configure: error: Couldn't guess your Linux
> version. Please use the --with-afs-sysname option to configure an AFS
> sysname.
> 
> 
> What could be wrong ?
> 
> Thanks,
> 
> Madhusudan Singh.
> 
> 
> 
> On 8 Aug 2001, Derek Atkins wrote:
> 
> > Do you have the kernel-source RPM installed?
> >
> > -derek
> >
> > Madhusudan Singh <chhabra@eecs.umich.edu> writes:
> >
> > > Hi
> > >
> > > 	I am sorry for this long delay in my response. I got busy with
> > > quite a few other things and did not get the time to look at the
> > > installation.
> > >
> > > 	1.1.1 RPM's are the ones that I used and those gave the problems I
> > > described earlier. So, I downloaded the source and ran ./configure.
> > >
> > > 	It choked up at the following error :
> > >
> > > "
> > > 	checking whether byte order is known at compile time... yes
> > > checking whether byte ordering is bigendian... no
> > > checking your OS... configure: warning: No usable linux headers found at
> > > /usr/src/linux so disabling kernel module
> > > linux
> > > checking your AFS sysname... configure: error: Couldn't guess your Linux
> > > version. Please use the --with-afs-sysname option to configure an AFS
> > > sysname.
> > > "
> > >
> > > A subsequent uname -r yields :
> > > [root@guo openafs-1.1.1]# uname -r
> > > 2.4.2-2
> > >
> > > I do not know why it is unable to guess my Linux version.
> > >
> > > I could go back and pass the option that it asks for, but I suspect that
> > > the problem is deeper than that. I have heard of kernel - openafs mismatch
> > > problems. What do you suggest I should do next ?
> > >
> > > Thanks,
> > >
> > > Madhusudan Singh.
> > >
> > >
> > >
> > >
> > > On 31 Jul 2001, Derek Atkins wrote:
> > >
> > > > I suggest that you use the 1.1.1 RPMs, not the 1.0.4 RPM.
> > > >
> > > > -derek
> > > >
> > > > Madhusudan Singh <chhabra@eecs.umich.edu> writes:
> > > >
> > > > > Hi,
> > > > >     Thanks for your response !
> > > > >     Do you suggest that I compile AFS from source then ?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Madhusudan Singh.
> > > > >
> > > > >
> > > > > Derek Atkins wrote:
> > > > >
> > > > > > Madhusudan Singh <chhabra@eecs.umich.edu> writes:
> > > > > >
> > > > > > > [root@guo /root]# insmod /usr/vice/etc/modload/libafs-`uname -r`.o
> > > > > > > /usr/vice/etc/modload/libafs-2.4.2-2.o: unresolved symbol
> > > > > > > generic_file_mmap_R807
> > > > > > > a06f4
> > > > > > [snip]
> > > > > >
> > > > > > This is a known problem with the 1.0.4 RPMs on RH 7.1.  The module
> > > > > > wasn't built properly against all of the Red Hat kernels.  The 1.1.1
> > > > > > RPMs should be better, however it still have not been fully fixed,
> > > > > > yet.
> > > > > >
> > > > > > > Next, I tried to run /usr/vice/etc/afsd.
> > > > > >
> > > > > > You cannot run AFSD until you successfully load libafs.  The errors
> > > > > > you got from afsd are absolutely expected.
> > > > > >
> > > > > > -derek
> > > > > > --
> > > > > >        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
> > > > >
> > > >
> > > >
> > >
> > > _______________________________________________
> > > OpenAFS-info mailing list
> > > OpenAFS-info@openafs.org
> > > https://lists.openafs.org/mailman/listinfo/openafs-info
> >
> >
> 
> _______________________________________________
> 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