Re: [perfmon2] Kernel oops when attempting to run pfmon when oprofile already running
Status: Beta
Brought to you by:
seranian
From: stephane e. <er...@go...> - 2007-12-20 22:22:27
|
Will, Ok, then it works now. Thanks for checking. On Dec 20, 2007 2:59 PM, William Cohen <wc...@re...> wrote: > Stephane Eranian wrote: > > Will, > > > > Bug was identified and fixed. Please pull from GIT and try again. > > > > Thanks for reporting this problem. > > > > On Wed, Dec 19, 2007 at 09:46:02AM -0500, William Cohen wrote: > >> I was playing around on a amd64 uniprocessor machine running the 2.6.24-rc5 > >> kernel with the perfmon2 patches on a Fedora 8 machine. I already had oprofile > >> running on the machine. I got a kernel oops when I tried to do a: > >> > >> pfmon ls > >> > >> Below is the output of the /var/log/messages related to oprofile starting and > >> pfmon oops. It appears that pfmon realizes that the performance counters are not > >> available, but then tries to free things up anyway. > >> > >> -Will > >> > > > Hi Stephane, > > The kernel change eliminates the opps. With oprofile already running I get the > following. > > $ pfmon ls > can't create perfmon context: Device or resource busy > bash-3.2$ config-2.6.23.8-63.fc8 lost+found > vmlinux-2.6.24-rc5 > config-2.6.23.9-85.fc8 memtest86+-1.70 vmlinuz > grub System.map vmlinuz-2.6.23.8-63.fc8 > initrd-2.6.23.8-63.fc8.img System.map-2.6.23.8-63.fc8 vmlinuz-2.6.23.9-85.fc8 > initrd-2.6.23.9-85.fc8.img System.map-2.6.23.9-85.fc8 vmlinuz-2.6.24-rc5 > initrd-2.6.24-rc5.img System.map-2.6.24-rc5 > > When I shutdown oprofile and rerun I get: > > $ sudo opcontrol --shutdown > Stopping profiling. > Killing daemon. > bash-3.2$ pfmon ls > config-2.6.23.8-63.fc8 lost+found vmlinux-2.6.24-rc5 > config-2.6.23.9-85.fc8 memtest86+-1.70 vmlinuz > grub System.map vmlinuz-2.6.23.8-63.fc8 > initrd-2.6.23.8-63.fc8.img System.map-2.6.23.8-63.fc8 vmlinuz-2.6.23.9-85.fc8 > initrd-2.6.23.9-85.fc8.img System.map-2.6.23.9-85.fc8 vmlinuz-2.6.24-rc5 > initrd-2.6.24-rc5.img System.map-2.6.24-rc5 > 752437 CPU_CLK_UNHALTED > > > -Will > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > perfmon2-devel mailing list > per...@li... > https://lists.sourceforge.net/lists/listinfo/perfmon2-devel > |