Hi, after replacing asm-ppc64 by asm-powerpc in src/libafs/MakefileProto.LINUX.in and adding "-D__powerpc64__" to the CPPFLAGS in src/cf/linux-test[1234].m4, I had finally been able to compile and run openafs-1.4.1-rc10 with Linux kernels 2.6.15 and higher on a ppc64 box. (tested with 2.6.15.7 and 2.6.16.9)
However, using 1.4.1-final, I get the following oops while modprobing' libafs: Unable to handle kernel paging request for data at address 0xffff000000000010 Faulting instruction address: 0xd000000000317a54 Oops: Kernel access of bad area, sig: 11 [#1] SMP NR_CPUS=4 PSERIES Modules linked in: libafs pcnet32 sg acenic dm_mod NIP: D000000000317A54 LR: D000000000317C00 CTR: 0000000000000000 REGS: c00000000f43b880 TRAP: 0300 Tainted: P (2.6.16.9) MSR: A00000000000B032 <EE,FP,ME,IR,DR> CR: 84004488 XER: 00000000 DAR: FFFF000000000010, DSISR: 0000000040000000 TASK = c00000000fc53910[13695] 'modprobe' THREAD: c00000000f438000 CPU: 0 GPR00: 00000000FFFFFFFF C00000000F43BB00 D00000000036E568 0000000000000000 GPR04: FFFF000000000010 0000000000030000 D000000000367098 C000000000000000 GPR08: 0000000000000000 0000000000000020 D00000000035B800 0000000000000000 GPR12: 0000000084002484 C0000000003A7C80 0000000000000000 0000000000000000 GPR16: 0000000000000000 0000000000000000 00000000100013D0 0000000000000000 GPR20: 0000000000030000 D00000000035C008 0000000000000000 C0000000000BB2A0 GPR24: C00000000009E6B0 000000000000026E C000000000300000 D00000000035C138 GPR28: C000000000301370 FFFF000000000010 D000000000367F08 D00000000035C128 NIP [D000000000317A54] .check_table+0x54/0x80 [libafs] LR [D000000000317C00] .scan_for_syscall_table+0x180/0x3a0 [libafs] Call Trace: [C00000000F43BB00] [C00000000F43BBB0] 0xc00000000f43bbb0 (unreliable) [C00000000F43BBD0] [D000000000317F88] .osi_find_syscall_table+0x168/0x180 [libafs] [C00000000F43BC60] [D0000000003189FC] .osi_syscall_init+0x2c/0x160 [libafs] [C00000000F43BD00] [D00000000032F2C4] .afs_init+0x34/0x120 [libafs] [C00000000F43BD90] [C00000000006D340] .sys_init_module+0x170/0x440 [C00000000F43BE30] [C0000000000086F8] syscall_exit+0x0/0x40 Instruction dump: 39200000 7c0b07b4 38000008 7c0903a6 60000000 60000000 60000000 7c09502e 39290004 7f805800 419e0014 4200fff0 <e8040000> 7fa03840 409d001c 38030001 cheers. - Christian
smime.p7s
Description: S/MIME cryptographic signature
