-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/11/10 05:19, Christopher Samuel wrote:
> Good catch - it exists but it is empty. Still puzzled about why lstopo works reading this data on an x86-64 laptop but not on the system itself so I did a bit of poking with strace -e openat,faccessat to see if I could see where it was diverging. Here's what happens on the laptop: faccessat(3, "sys/devices/system/cpu/cpu0/topology", R_OK) = -1 ENOENT (No such file or directory) openat(3, "proc/cpuinfo", O_RDONLY) = 4 openat(3, "proc/device-tree/cpus", O_RDONLY|O_DIRECTORY) = 4 openat(3, "proc/device-tree/cpus/l2-cache@2000/device_type", O_RDONLY) = 5 openat(3, "proc/device-tree/cpus/l2-cache@2000/reg", O_RDONLY) = 5 openat(3, "proc/device-tree/cpus/l2-cache@2000/l2-cache", O_RDONLY) = 5 openat(3, "proc/device-tree/cpus/l2-cache@2000/ibm,phandle", O_RDONLY) = 5 Here's what happens on the PPC64 box: faccessat(3, "sys/devices/system/cpu/cpu0/topology", R_OK) = -1 ENOENT (No such file or directory) openat(3, "proc/cpuinfo", O_RDONLY) = 4 openat(3, "proc/device-tree/cpus", O_RDONLY|O_DIRECTORY) = 4 openat(3, "sys/class/dmi/id/product_name", O_RDONLY) = -1 ENOENT (No such file or directory) openat(3, "sys/class/dmi/id/product_version", O_RDONLY) = -1 ENOENT (No such file or directory) openat(3, "sys/class/dmi/id/product_serial", O_RDONLY) = -1 ENOENT (No such file or directory) openat(3, "sys/class/dmi/id/product_uuid", O_RDONLY) = -1 ENOENT (No such file or directory) openat(3, "sys/class/dmi/id/board_vendor", O_RDONLY) = -1 ENOENT (No such file or directory) I'll try applying the same patch to the x86-64 build and doing a --enable-debug build there and compare them. cheers, Chris - -- Christopher Samuel - Senior Systems Administrator VLSCI - Victorian Life Sciences Computational Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.unimelb.edu.au/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzpaMwACgkQO2KABBYQAh/bAACeK8Hr+YH69HezvQd3efXwU/Iv 3+AAoI3iwa8jxwvwGE31+0P6QELeTuVf =2Nou -----END PGP SIGNATURE-----