Hi, Please send the cmdline you used to get this core. Also did you make sure you've installed the libpfm-3.5 and that it does not conflict with the older installed version. By default libpfm-3.5 installs in /usr/local/lib and this path is ususally not in the ldconfig path. You have to create an entry in /etc/ld.conf.d.
On Mon, Aug 25, 2008 at 12:31 PM, Andrej van der Zee <[EMAIL PROTECTED]> wrote: > Hi, > > Thanks for your help! Read on below... > >> I doubt this comes from perfmon as the PMU hardware is not really >> touched until you run a pfmon command. >> Make sure that the .config you use to compile your 2.6.24 matches the >> one used for the stock hardy kernel. >> You can normally grab it from /proc/config.gz. It should only prompt >> you for the perfmon options. > > I did take care to use the config of the Ubuntu-kernel. It was something > with my graphics card. Anyway, resolved now :) > >> >> > Then, Ubuntu provides the packages libpfm3-3.2-dev and pfmon so I >> > installed >> > it. But when I run pfmon it get the message: "no detected PMU support >> > type=36" >> > >> > My processor is a "Intel(R) Core(TM)2 Quad CPU @ 2.66GHz". >> > >> That indicates that your libpfm does have support for Intel Core, but >> that pfmon does not which is very strange. >> I suggest you grab libpfm and pfmon from http://perfmon2.sf.net, you >> can use version 3.5 for both. > > Like you recommended, I installed version 3.5 for both from source. When I > run pfmon I get a segmentation fault now. I entered the core-dump into gdb. > Below is the output. Does anybody recognize this? > > Thanks again, > Andrej > > [EMAIL PROTECTED]:/usr/local/src/pfmon-3.5$ gdb /usr/local/bin/pfmon core > GNU gdb 6.8-debian > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i486-linux-gnu"... > > warning: Can't read pathname for load map: Input/output error. > Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...done. > Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0 > Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. > Loaded symbols for /lib/tls/i686/cmov/libm.so.6 > Reading symbols from /lib/tls/i686/cmov/librt.so.1...done. > Loaded symbols for /lib/tls/i686/cmov/librt.so.1 > Reading symbols from /usr/local/lib/libpfm.so.3...done. > Loaded symbols for /usr/local/lib/libpfm.so.3 > Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. > Loaded symbols for /lib/tls/i686/cmov/libc.so.6 > Reading symbols from /lib/ld-linux.so.2...done. > Loaded symbols for /lib/ld-linux.so.2 > Core was generated by `/usr/local/bin/pfmon'. > Program terminated with signal 11, Segmentation fault. > [New process 7430] > #0 0x080611ac in pfmon_segv_handler_info (si=0x33, sc=0xc0320000) at > pfmon_util_x86.c:492 > 492 ip = uc->uc_mcontext.gregs[IIP]; > (gdb) bt > #0 0x080611ac in pfmon_segv_handler_info (si=0x33, sc=0xc0320000) at > pfmon_util_x86.c:492 > #1 0x0804d613 in segv_handler (n=11, info=0x33, sc=0xc0320000) at > pfmon.c:1296 > #2 <signal handler called> > #3 0xb7e4c283 in strlen () from /lib/tls/i686/cmov/libc.so.6 > #4 0xb7f34d61 in pfm_get_max_event_name_len (len=0xbfe2b330) at > pfmlib_common.c:889 > #5 0x0804d880 in pfmon_initialize (argv=0xbfe2b434) at pfmon.c:1391 > #6 0x0804e60c in main (argc=1, argv=0xbfe2b434) at pfmon.c:1832 > (gdb) up 4 > #4 0xb7f34d61 in pfm_get_max_event_name_len (len=0xbfe2b330) at > pfmlib_common.c:889 > 889 l = strlen(pfm_current->get_event_name(i)); > (gdb) list > 884 return PFMLIB_ERR_NOINIT; > 885 if (len == NULL) > 886 return PFMLIB_ERR_INVAL; > 887 > 888 for(i=0; i < pfm_current->pme_count; i++) { > 889 l = strlen(pfm_current->get_event_name(i)); > 890 if (l > max) max = l; > 891 > 892 num_masks = pfm_num_masks(i); > 893 /* > (gdb) print i > $1 = 68 > (gdb) > > > > > -- > Andrej van der Zee > 2-40-19 Koenji-minami > Suginami-ku, Tokyo > 166-0003 JAPAN > Mobile: 0031-(0)80-65251092 > Phone/Fax: 0031-(0)3-3318-3155 > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
