Bhatia, Nikhil
2006-Sep-18 21:13 UTC
[Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
Hello Xen Users, I have successfully been able to get the xen-3.0-unstable working and it does have the oprfile directory that you mentioned. I have also downloaded the latest version (0.9.2) of oprofile and have patched it using the latest patch provided by HP (oprofile-0.9.1-xen-r3.patch) to my oprofile layer. However, when I try to run "opcontrol", I get the following error message: opcontrol --init FATAL: Module oprofile not found. FATAL: Module oprofile not found. Kernel doesn''t support oprofile I think I am not configuring the oprofile as required. Can someone please let me know of the flags that I need to set while configuring the oprofile installation? I am using the following configuration. ./configure --with-kernel-support --with-linux=/root/bhatia/project/xen/xen-unstable/dist/ > config.out I suspect that I am providing the wrong pathname for (--with-linux). I would greatly appreciate if you could clarify this to me. Thanks, Nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Apparao, Padmashree K
2006-Sep-19 00:11 UTC
RE: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
Copy the /lib/modules/2.6.... to the guest You should have the oprofile.ko inside /lib/modules/2.6.../kernel/arch/i386/oprofile/ - Padma ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Bhatia, Nikhil Sent: Monday, September 18, 2006 2:13 PM To: xen-users@lists.xensource.com Subject: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable) Hello Xen Users, I have successfully been able to get the xen-3.0-unstable working and it does have the oprfile directory that you mentioned. I have also downloaded the latest version (0.9.2) of oprofile and have patched it using the latest patch provided by HP (oprofile-0.9.1-xen-r3.patch) to my oprofile layer. However, when I try to run "opcontrol", I get the following error message: opcontrol --init FATAL: Module oprofile not found. FATAL: Module oprofile not found. Kernel doesn''t support oprofile I think I am not configuring the oprofile as required. Can someone please let me know of the flags that I need to set while configuring the oprofile installation? I am using the following configuration. ./configure --with-kernel-support --with-linux=/root/bhatia/project/xen/xen-unstable/dist/ > config.out I suspect that I am providing the wrong pathname for (--with-linux). I would greatly appreciate if you could clarify this to me. Thanks, Nikhil _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ray Bryant
2006-Sep-19 21:22 UTC
Re: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
On Monday 18 September 2006 16:13, Bhatia, Nikhil wrote:> Hello Xen Users,<snip>> > > opcontrol --init > > FATAL: Module oprofile not found. > > FATAL: Module oprofile not found. > > Kernel doesn''t support oprofile > > > > > > I think I am not configuring the oprofile as required. Can someone > please let me know of the flags that I need to set while configuring the > oprofile installation? I am using the following configuration. > > > > ./configure --with-kernel-support > --with-linux=/root/bhatia/project/xen/xen-unstable/dist/ > config.out > > > > I suspect that I am providing the wrong pathname for (--with-linux). I > would greatly appreciate if you could clarify this to me. > > > > Thanks, > > NikhilHi Nikhil, You have to build and configure the kernel side of oprofile as well. You''ll need to have a kernel source tree for your dom0 kernel (linux-2.6.16.13-xen or something similar). cd to that directory, type "make menuconfig", go to the "Instrumentation Support" entry and enable profiling and then in the subitem, enable oprofile. (Hit the space bar to get either a loadable module M or have it built into the kernel *). Exit and indicate you want to save this configuration. Now you have to build and install the kernel itself: make vmlinuz; make install; and, if you built oprofile as a module: make modules_install. Reboot and you should get past the above error. Also, I''d use Oprofile 0.9.1 with Xen for now, unless Renato or someone else on the list has tried 0.9.2 and had success. -- Ray Bryant AMD Performance Labs Austin, Tx 512-602-0038 (o) 512-507-7807 (c) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2006-Sep-20 09:03 UTC
RE: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
[snip]> Also, I''d use Oprofile 0.9.1 with Xen for now, unless Renato > or someone else > on the list has tried 0.9.2 and had success.Ray, Nice to see you on the list... 0.9.2 is the latest release (released on Friday last week, I think) and it has all Tom''s/your fixes in it to work with HVM domains. For non-HVM domains I''m sure 0.9.1 works just as well... -- Mats> -- > Ray Bryant > AMD Performance Labs Austin, Tx > 512-602-0038 (o) 512-507-7807 (c) > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bhatia, Nikhil
2006-Sep-20 17:28 UTC
RE: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable)
Hello Mats and Ray, Thanks a lot for your replies. So, I think the problem is that the latest patch does not work for oprofile-0.9.2 and there are 7 out 14 changes that fail. However, when I apply the same patch to oprofile-0.9.1, it patches like a charm. Thanks, Nikhil -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Wednesday, September 20, 2006 5:03 AM To: Ray Bryant; xen-users@lists.xensource.com Cc: Bhatia, Nikhil Subject: RE: [Xen-users] Issues w/ Oprofile and Xen-3.0.2 (xen-unstable) [snip]> Also, I''d use Oprofile 0.9.1 with Xen for now, unless Renato > or someone else > on the list has tried 0.9.2 and had success.Ray, Nice to see you on the list... 0.9.2 is the latest release (released on Friday last week, I think) and it has all Tom''s/your fixes in it to work with HVM domains. For non-HVM domains I''m sure 0.9.1 works just as well... -- Mats> -- > Ray Bryant > AMD Performance Labs Austin, Tx > 512-602-0038 (o) 512-507-7807 (c) > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users