[OpenAFS-devel] patch for S/390x Kernel 2.6 support

Oliver Paukstadt pstadt@sourcentral.org
Fri, 11 Feb 2005 07:05:01 +0100 (CET)


On Mon, 7 Feb 2005, Frank Bagehorn wrote:

> > Actually, there is source in /afs/cs.cmu.edu/user/jhutz/junk/osi_probe for 
> > a module that will run the scan and log the results, but not actually do 
> > anything complicated.  It's smaller and faster to build than full AFS, and 
> > can be loaded even while AFS is running.  So if folks want to try that on 
> > platforms like S390, S390X, IA64, and PPC, that would be helpful.
> 
> Jeffrey, I tried the osi_probe module on a PPC with SLES 9, and it froze 
> the machine the second it was loaded.
> Which means for your Testing file
> ppc     2.6     DOESN'T WORK (SLES9 2.6.5-7.111.19-pseries64)

Same here, with SLES9 and kernel 2.6.5-7.145-pseries64

And on RHEL3 (2.4.21-27.0.2.EL) I get lots of warings/errors in the style of:
/lib/modules/2.4.21-27.0.2.EL/build/include/linux/byteorder/swab.h:206: 
warning: left shift count >= width of type

I added -m64 to the compiler commandline and got a module which does not 
want to load:
[root@rhel3 osi_probe]# make check
/sbin/insmod ./osi_probe.o probe_debug_tag=6824 sys_call_table_addr=0xc0000000003b6f70
Warning: loading ./osi_probe.o will taint the kernel: no license
  See http://www.tux.org/lkml/#export-tainted for information about tainted modules
./osi_probe.o: Relocation overflow of type 10 for .kallsyms_address_to_symbol
./osi_probe.o: Relocation overflow of type 10 for .kallsyms_address_to_symbol
./osi_probe.o: Relocation overflow of type 10 for .kallsyms_symbol_to_address
./osi_probe.o: Relocation overflow of type 10 for .kallsyms_address_to_symbol
make: *** [check] Error 1

Regards,
Oliver Paukstadt

----------------------------------------------------------------------
Oliver Paukstadt                                pstadt@sourcentral.org
  
          Linux without limits: http://linux.zSeries.org/
----------------------------------------------------------------------