[Lustre-discuss] Patchless client ppc64 with 2.6.27+ kernel

Matthias Hüsken matthias.huesken at math.uni-wuppertal.de
Tue Apr 14 15:22:27 PDT 2009


> Is /tmp/linux-2.6.27 the exact source pool you built your kernel from?

Yes.

> It would seem that the asm->asm-<arch> symlink is not in place.  Can you
> paste the output of:
> 
> $ ls -l /tmp/linux-2.6.27/include/

$ ls -l /tmp/linux-2.6.27/include
-rw-r--r--   1 huesken users   218 10. Okt 2008  Kbuild
drwxr-xr-x   3 huesken users  4096 10. Okt 2008  acpi
lrwxrwxrwx   1 huesken users    11 14. Apr 14:18 asm -> asm-powerpc
drwxr-xr-x   4 huesken users  4096 10. Okt 2008  asm-arm
drwxr-xr-x   4 huesken users  4096 10. Okt 2008  asm-cris
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  asm-frv
drwxr-xr-x   3 huesken users  4096 10. Okt 2008  asm-generic
drwxr-xr-x   7 huesken users  4096 10. Okt 2008  asm-m32r
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  asm-m68k
drwxr-xr-x  43 huesken users 12288 10. Okt 2008  asm-mips
drwxr-xr-x   5 huesken users  4096 10. Okt 2008  asm-mn10300
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  asm-parisc
drwxr-xr-x   2 huesken users  4096 14. Apr 14:18 asm-powerpc
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  asm-um
drwxr-xr-x  13 huesken users 12288 10. Okt 2008  asm-x86
drwxr-xr-x   4 huesken users  4096 10. Okt 2008  asm-xtensa
drwxr-xr-x 206 huesken users 12288 14. Apr 14:18 config
drwxr-xr-x   3 huesken users  4096 10. Okt 2008  crypto
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  drm
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  keys
drwxr-xr-x  30 huesken users 32768 14. Apr 14:42 linux
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  math-emu
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  media
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  mtd
drwxr-xr-x  11 huesken users  4096 10. Okt 2008  net
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  pcmcia
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  rdma
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  rxrpc
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  scsi
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  sound
drwxr-xr-x   2 huesken users  4096 10. Okt 2008  video
drwxr-xr-x   3 huesken users  4096 10. Okt 2008  xen

$ ls -l /tmp/linux-2.6.27/include/asm-powerpc/
-rw-r--r-- 1 huesken users 11089 14. Apr 14:18 asm-offsets.h

For me, the link itself seems ok, but the directory it links to is
almost empty. A "find" for posix_types.h shows the following:

$ find /tmp/linux-2.6.27/include -name posix_types.h 

/tmp/linux-2.6.27/include/asm-mips/posix_types.h
/tmp/linux-2.6.27/include/asm-frv/posix_types.h
/tmp/linux-2.6.27/include/asm-um/posix_types.h
/tmp/linux-2.6.27/include/asm-cris/posix_types.h
/tmp/linux-2.6.27/include/asm-xtensa/posix_types.h
/tmp/linux-2.6.27/include/linux/posix_types.h
/tmp/linux-2.6.27/include/asm-parisc/posix_types.h
/tmp/linux-2.6.27/include/asm-x86/posix_types.h
/tmp/linux-2.6.27/include/asm-m32r/posix_types.h
/tmp/linux-2.6.27/include/asm-mn10300/posix_types.h
/tmp/linux-2.6.27/include/asm-m68k/posix_types.h

I do not have much knowledge about the kernel's directory structure, I 
would assume posix_types.h (and maybe other headers) might have to be 
included from the include/linux dir?

Matthias


-- 
------------------------------------------------
Matthias Hüsken          Phone: +49 202 439-3362
Fachbereich Mathematik   Fax:   +49 202 439-2912
Bergische Universität
Gaußstraße 20
D - 42097 Wuppertal
------------------------------------------------
e-mail: Matthias.Huesken at math.uni-wuppertal.de
------------------------------------------------



More information about the lustre-discuss mailing list