[OpenAFS-devel] afs on sparc64

John F Davis johndavi@us.ibm.com
Sat, 23 Oct 2004 13:18:08 -0400


Hello Guys,  Chaskiel,


Thanks for the info.


Originally I tried openafs 1.2.3 with 2.4.17.  It had the same 
sys_call_table32 error when I built it with 2.4.27.  After that is when I 
tried to using the newer version of openafs.

That is interesting that you were at least able to build openafs 1.2.11 
with 2.4.27.  Mine didn't get that far.

I did the make-kpgk configure  and make-kpkg modules as mentioned in the 
debian/README.modules file.  I have built openafs many times for x86 using 
this method without problem.  Unfortunately, this looks more complicated 
for sure.

About your successfull build, are you using egcs or gcc?  And, could you 
post your .config?


Thanks.

JD



Chaskiel M Grundman <cg2v@andrew.cmu.edu> 
Sent by: openafs-devel-admin@openafs.org
10/23/2004 01:04 PM

To
openafs-devel@openafs.org
cc

Subject
Re: [OpenAFS-devel] afs on sparc64








--On Saturday, October 23, 2004 11:04:31 -0400 John F Davis
<johndavi@us.ibm.com> wrote:

> Does anybody run afs on sparc64 Linux?
yes. I ran debian stable/woody (and now debian stable-to-be/sarge) on an
ultra 5.
> If so, how did  you do it?
I don't remember how I built 1.2.3 for 2.4.18 on stable. It was a while
ago, and one of the reasons I upgraded this box to sarge early was that I
couldn't reproduce it.

I built 1.2.11 for 2.4.24-sparc64 by getting the kernel-image-sparc source
package, unpacking openafs-modules-source into /usr/src/modules, unpacking
kernel-image-sparc, and the correct sequence of 'make-kpkg --arch sparc64'
commands. I don't remember all the details right now.

2.4.27 seems like it will be easier to deal with, since it actually
includes an i386-style kernel-headers package:

install kernel-headers-2.4.27-1-sparc64
unpack openafs-modules-source wherever you want it.
<cd to the top of openafs-modules-source>
make -f debian/rules KVERS=2.4.27-1-sparc64 \
KSRC=/usr/src/kernel-headers-2.4.27-1-sparc64 kdist_image

I just built a module in this way, and it looks like it's not going to 
load

It has some references that I don't think will resolve:
U
U
U
U current

I'll look at this some more and post a followup.

> I tried building two versions of openafs for debian on a sparc ultra10
> using 2.4.27 sparc64 and egcs.  Neither would work.
neither what? If you are running sarge or unstable, then you should not 
use
egcs. If you are running stable, where did you get the 2.4.27 kernel?



[attachment "C.DTF" deleted by John F Davis/Raleigh/IBM]