[OpenAFS] Suse 9.3 Professional RPMS

David Sonenberg dsonenberg@strozllc.com
Fri, 14 Apr 2006 14:19:23 -0400


Unfortunately I am stuck using the stock kernel.  The hardware using
some proprietary drivers that are built specifically for the stock
kernel.  If it wasn't for that I would be running it on Gentoo.

ted creedon wrote:
> Here we generally:
> 
> 1. build a new kernel in /usr/src/linux (note kernel sym sources are not
> available for all kernels, YaST will prompt if not)
> 2. make bzImage modules modules_install install #look at /boot for the new
> kernel
> 3. edit /boot/grub/menu.lst #as required
> 4. reboot #into new kernel
> 5. cd openafs-1.4.0
> 6. ./configure;make;make install # set configure switches for transarc
> paths, etc...
> 7. libafs'uname -r'.ko is in /usr/vice/etc
> 8. mkdir /lib/modules/'uname -r'/fs/afs #if afs is deselected in make
> xconfig
> 9. cp /usr/vice/etc/libafs'uname -r'.ko  /lib/modules/'uname
> -r'/fs/afs/libafs.ko
> 10. cd /lib/modules/'uname -r'
> 11. depmod -a
> 12. insmod libafs;lamod|grep afs  #should say libafs and no carping
> 
> This seems to work all the time, more expert coders can probably improve on
> this.
> 
> tedc
> 
> 
> -----Original Message-----
> From: openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org]
> On Behalf Of Derek Atkins
> Sent: Friday, April 14, 2006 10:01 AM
> To: David Sonenberg
> Cc: openafs-info@openafs.org
> Subject: Re: [OpenAFS] Suse 9.3 Professional RPMS
> 
> On my FC3 system:
> 
> rpm -qf /usr/include/sys/types.h
> glibc-headers-2.3.6-0.fc3.1
> 
> There's another copy in the kernel sources, provided the AFS symlinks
> worked correctly.  Do you have the correct kernel headers for your
> running kernel?  What ./configure options did you use?
> 
> -derek
> 
> Quoting David Sonenberg <dsonenberg@strozllc.com>:
> 
>> Does anybody have any idea which package this would be in?
>>
>> Derek Atkins wrote:
>>> Um, sys/types.h is a SYSTEM include file..  Should be in your system.
>>> It's not an AFS include file.
>>>
>>> -derek
>>>
>>> Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>>
>>>> Well I went and rechecked the md5 hash(it was ok), deleted the source
>>>> tree and recreated it from the tar ball(bz2), and still no sys/types.h.
>>>> Here are the exact steps I took:
>>>>
>>>> tar xjvf openafs-1.4.0-src.tar.bz2
>>>> cd openafs-1.4.0
>>>> configure --prefix=/
>>>> make
>>>>
>>>>
>>>> Derek Atkins wrote:
>>>>> Quoting David Sonenberg <dsonenberg@strozllc.com>:
>>>>>
>>>>>> I decided to just build from sources but now I'm running into some
>>>>>> compilation errors:
>>>>>>
>>>>>> In file included from
>>>>>> /root/openafs-1.4.0/include/afs/afs_sysnames.h:25,
>>>>>>                 from /root/openafs-1.4.0/include/afs/param.h:58,
>>>>>>                 from
>>>>>>
> /root/openafs-1.4.0/src/libafs/MODLOAD-2.6.11.4-20a-smp-SP/afs_atomlist.c:11
> :
>>>>>>
>>>>>> /root/openafs-1.4.0/include/afs/stds.h:14:23: sys/types.h: No such
> file
>>>>>> or directory
>>>>> Well, this is the problem -- no sys/types.h?  Why can't it find this
>>>>> header?
>>>>>
>>>>> -derek
>>>>>
>>>> --
>>>> David Sonenberg
>>>> Manager, Information Technology
>>>> Stroz Friedberg, LLC
>>>> 15 Maiden Lane
>>>> 15th Floor
>>>> New York, NY 10038
>>>> Tel 212.981.6527
>>>> Fax 212.981.6545
>>>>
>>>> This message is for the named person's use only.  It may contain
>>>> confidential, proprietary or legally privileged information. No right to
>>>> confidential or privileged treatment of this message is waived or lost
>>>> by any error in transmission.  If you have received this message in
>>>> error, please immediately notify the sender by e-mail or by telephone at
>>>> 212.981.6540, delete the message and all copies from your system and
>>>> destroy any hard copies.  You must not, directly or indirectly, use,
>>>> disclose, distribute, print or copy any part of this message if you are
>>>> not the intended recipient.
>>>>
>>>
>>>
>> --
>> David Sonenberg
>> Manager, Information Technology
>> Stroz Friedberg, LLC
>> 15 Maiden Lane
>> 15th Floor
>> New York, NY 10038
>> Tel 212.981.6527
>> Fax 212.981.6545
>>
>> This message is for the named person's use only.  It may contain
>> confidential, proprietary or legally privileged information. No right to
>> confidential or privileged treatment of this message is waived or lost
>> by any error in transmission.  If you have received this message in
>> error, please immediately notify the sender by e-mail or by telephone at
>> 212.981.6540, delete the message and all copies from your system and
>> destroy any hard copies.  You must not, directly or indirectly, use,
>> disclose, distribute, print or copy any part of this message if you are
>> not the intended recipient.
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>
> 
> 
> 

-- 
David Sonenberg
Manager, Information Technology
Stroz Friedberg, LLC
15 Maiden Lane
15th Floor
New York, NY 10038
Tel 212.981.6527
Fax 212.981.6545

This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information. No right to
confidential or privileged treatment of this message is waived or lost
by any error in transmission.  If you have received this message in
error, please immediately notify the sender by e-mail or by telephone at
212.981.6540, delete the message and all copies from your system and
destroy any hard copies.  You must not, directly or indirectly, use,
disclose, distribute, print or copy any part of this message if you are
not the intended recipient.