Home > The Specified > The Specified File Vmlinux Does Not Seem To Be Valid

The Specified File Vmlinux Does Not Seem To Be Valid

Thanks for any assistance! -Mike Thread view How to generate vmlinux From: Michael Cashwell - 2011-08-26 21:42:01 Greetings, I finally have oprofile building for an ARM platform running linux- but I'm using 64 bit versions (both pgi and application) I have all of the above in the PATH. In my kernel build tree I can see /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/vmlinux which is suspect to be the uncompressed version of the kernel that is now in /boot/vmlinuz-2.6.9-43.Elsmp but even when I pass /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/vmlinux Please don't fill out this field. Source

I've never been into kernel debugging that much, sorry If the kernel is the same version and was compiled with the same options, then the resulting image should be the same. Originally Posted by George2 Another question is, do you know why oprofile needs a Linux kernel (vmlinux)? Alternatively, you can re-compile Red Hat's kernel with sys_call_table added. I'll be happy to attach a kernel for your analysis.

Sign up for the SourceForge newsletter: I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. However, there is a linux- directory under the linux-ar71xx-generic directory which contains an unstripped vmlinux kernel. Any problems with Red Hat's version of OProfile should be reported to them not us. Subject: RE: Profiling the kernel: getting a working vmlinux Hello Padma, I've built and installed my kernel like this # cd /usr/src/redhat/SOURCES # rpmbuild -bb --target=3Di686 kernel-2.6.spec # cd /usr/src/redhat/RPMS/i686 #

Attachments ↑ Description ↑   Note: See TracTickets for help on using tickets. How is the date of entry and exit decided? thanks in advance, George Reply With Quote February 18th, 2007,05:56 AM #2 JohnyDog View Profile View Forum Posts Visit Homepage Member Join Date Dec 2005 Location Prague, Czech Republic Posts 208 I am not sure how well the stack back tracing works on arm.

There's a day I won't get back... In the FAQ, it is said "If you don't have a vmlinux file you need to recompile your kernel from source." So my understanding is that I can't get a vmlinux I first tried passing the vmlinuz file in /boot but opcontrol logically says The specified file /boot/vmlinuz-2.6.9-43.ELsmp does not seem to be valid Make sure you are using the non-compressed image [email protected]:/lib/modules/ opcontrol --dump [email protected]:/lib/modules/ opcontrol --stop Stopping profiling.

You should review the other modifications which have been appended above, and any conflicts shown in the preview below. I couldn't get solution to this online . I have recompiled kernel before, but I think either make (b)zImage or make bzImage will generate vmlinuz other than vmlinux, right? I have downloaded a new 2.6.9 kernel from kernel.org, and find in its Makefile that .config is referred.

My target is a ARM Xscale-PXA-270. /proc/cpuinfo (from says: Processor : XScale-PXA270 rev 8 (v5l) BogoMIPS : 103.76 Features : swp half fastmult edsp iwmmxt CPU implementer : 0x69 CPU I've tried several ways to supply oprofile with a vmlinux file but it always rejects them: > > MEC1:~ # modprobe oprofile > oprofile: hardware counters not available > oprofile: using But there is a problem with the images, because there is no symbol table information in the kernel file despite the fact that it was requested during the "make menuconfig" phase https://lists.sourceforge.net/lists/listinfo/oprofile-list RE: Profiling the kernel: getting a working vmlinux From: Maucci, Cyrille - 2007-05-06 22:24:03 OK, I think I got it!

regards, George Reply With Quote February 20th, 2007,07:52 AM #10 JohnyDog View Profile View Forum Posts Visit Homepage Member Join Date Dec 2005 Location Prague, Czech Republic Posts 208 Re: convert http://0pacity.com/the-specified/the-specified-destination-file-already-exists.html We want to get you up and running and we want to fix any bug that you have uncovered. I have monitored my output from your output. Copyright Quinstreet Inc. 2002-2016 WHAT'S NEW News Events Calendar Version Information Release Information FEATURES Compilers & Tools Support Services Compare DOWNLOADS PGI Community Edition PGI Professional Edition Archive Versions SUPPORT Documentation

Red Hat made changes to their kernel, so you cannot use OProfile on Red Hat kernels unless you use their version (which is not available for 7.3). I have tried to use gzip to un-compress vmlinuz, but I have got an error message which indicates un-recognized zip format. Just data. http://0pacity.com/the-specified/the-specified-number-is-not-valid-for-this-command-unix.html I have searched some tutorials, and I find a way to safely apply current kernel settings to new re-compile kernel.

I took it from /usr/src/redhat/BUILD ? Click to get it now. Thanks a lot Regards Cyrille -----Original Message----- From: Maucci, Cyrille=20 Sent: Monday, May 07, 2007 12:08 AM To: Apparao, Padmashree K Cc: Maucci, Cyrille Subject: RE: Profiling the kernel: getting a

Visit the Trac open source project athttp://trac.edgewall.com/ CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com Register Help Remember Me?

You should be able to just "cp" or "scp" the file to a place that is visible to the target machine. Any problems with Red Hat's version of OProfile should be reported to them not us. The "file" command thinks it's this: [[email protected] linux-ar71xx_generic]$ file vmlinux vmlinux: Bentley/Intergraph MicroStation The vmlinux.elf is recognized but doesn't have a symbol table. I use OpenMP with it.

If you compile your own kernel from Linus's tarball, OProfile should work. thanks --Don Back to top Sriram ChivukulaJoined: 14 Jun 2012Posts: 5 Posted: Fri Jun 15, 2012 6:47 am Post subject: Hi Don, Thanks for you prompt reply. Reply With Quote February 19th, 2007,10:57 PM #7 George2 View Profile View Forum Posts Elite Member Power Poster Join Date Oct 2002 Posts 4,468 Re: convert vmlinuz to vmlinux Thanks JohnyDog, http://0pacity.com/the-specified/the-starting-address-is-not-valid-for-this-range-make-sure-that-the-host-id-is-not-0.html Do you think it is all right?

Reading module info. I want to get the cache misses. I think I could stop after step make bzImage in order to get vmlinux, without running step make install to overwrite my current kernel. You should be using that file.

When executing oprofile, there are still such errors, > /root/opcontrol --vmlinux=/root/vmlinux > The specified file /root/vmlinux does not seem to be valid > Make sure you are using vmlinux not vmlinuz Can someone provide complete guidance on what/how to produce the needed vmlinux? I have an app that's consuming about half of the CPU but I can't seem to get a sorted list of *where* (including the calling stack trace) that time is being If you do 'make bzImage', the original is still preserved - after compilation is done you should have 'vmlinux' in the same directory you did the make from (/usr/src/linux) - in

SourceForge Browse Enterprise Blog Deals Help Create Log In or Join Solution Centers Go Parallel Resources Newsletters Cloud Storage Providers Business VoIP Providers Call Center Providers Thanks for helping keep SourceForge That's fair ;-) In my case, it was cool because I had indeed rebuilt my kernel with the oprofile callgraph patch, so I copied /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/vmlinux over a local dir and passed I think .config is a standard configuration file for all kernels, not only for Red Hat, right? The last work done on oprofile was in March 2010, r20150 by nbd.