Sponsored Content
Operating Systems Linux Red Hat [RHEL6]Uncompress vmlinuz to vmlinux Post 302534664 by Chrisdot on Tuesday 28th of June 2011 11:55:46 AM
Old 06-28-2011
Thanks fpmurphy for pointing me to extract-ikconfig script. I have found that here:
http://www.kernel.org/pub//scm/linux...tract-ikconfig

I describe a little bit my history.
Firstly I installed kernel-debug package (yum install kernel-debug) that caused files:

vmlinuz-2.6.32-131.4.1.el6.x86_64
vmlinuz-2.6.32-131.4.1.el6.x86_64.debug


to come into being in /boot/ directory.
After fighting with those vmlinuz files (I wanted vmlinux) I asked for help on that forum.
Now I got script and if I run it the output is like:
Code:
extract-ikconfig: Cannot find kernel config.

I may say also, that in /boot/ directory I have got files:

config-2.6.32.131.4.1.el6.x86_64
config-2.6.32.131.4.1.el6.x86_64.debug


If I remove from 'extract-ikconfig' script following line:
Code:
# Prepare temp files:
tmp1=/tmp/ikconfig$$.1
tmp2=/tmp/ikconfig$$.2
#REMOVED THAT LINE: trap "rm -f $tmp1 $tmp2" 0

I got two files in /tmp/ directory.
Output is the same.

Is it something I need?

Thanks

PS. I just need vmlinux to debug kernel module.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Uncompress... me!!!!!! :)

Dear friends, i'm trying to uncompress an "...... tar.z" file. I'd readen that using the "uncompress" command it could be made but............... God! I can't!!!!! I tried a lot of times using the Terminal but the uncompress command doesn't obeys!!! :):) . Please i need to know how to... (3 Replies)
Discussion started by: gussiglo21
3 Replies

2. UNIX for Dummies Questions & Answers

uncompress in unix

Hi all, I have compressed a file in windows platform using 7zip into tar.z format. I try to uncompress in Unix using uncompress command. It doesn't work. Can anyone tell me wether there is any tools I can use in windows to generate a Tar.Z file which can be uncompress in unix. From Icestone (1 Reply)
Discussion started by: icestone
1 Replies

3. UNIX for Dummies Questions & Answers

How to get to a file and uncompress it

I did an ftp to copy a tar file from a main server area to the backup server area. I need to get that tar file to uncompress it in backup server. How do I go about it. Please any suggesstion will be greatly appreciated (1 Reply)
Discussion started by: nkem22
1 Replies

4. UNIX for Dummies Questions & Answers

How to Uncompress a whole directory

Hi, Can any one give me the shell command to rename more than one files to .Z extension in a directoy or path. As well as how can i uncompress a whole directory with a single shell command? rEgards, Tayyab (5 Replies)
Discussion started by: tayyabq8
5 Replies

5. Programming

uncompress of zlib

When I gzopen & gzread from a gzip file, it works OK. But I when I try to uncompress the same data from memory (either by reading to memory with fread or mmap()ing) using decompress, I get Z_DATA_ERROR. Is it because gzip file has some kind of headers that uncompress doesn't want? How can I get... (3 Replies)
Discussion started by: rayne
3 Replies

6. UNIX for Advanced & Expert Users

uncompress

Hi All, is it possible to uncompress on another directory ? At the moment I have my file to uncompress on /u07 that has 5GB free. When uncompressed it would be more then 6G , I want to send uncompressed file on another directory where I have more free space. is it possible ? How ? Many thanks... (3 Replies)
Discussion started by: big123456
3 Replies

7. UNIX for Advanced & Expert Users

uncompress command

on my suse linux, there is no compress and uncompress command. however, a program need these command to be installed properly. my question is how i can install these command and where to find them, thanks! (6 Replies)
Discussion started by: fredao
6 Replies

8. UNIX for Advanced & Expert Users

crash: vmlinuz-2.6.11-1.1369_FC4: not support a file format?

Hi all, I try to run command: $ crash -s System.map-2.6.11-1.1369_FC4 vmlinuz-2.6.11-1.1369_FC4 in my Fedora core 4, but it do not work :( "crash: vmlinuz-2.6.11-1.1369_FC4: not support a file format?" can anyone explain to me how to use crash command in fedora? (1 Reply)
Discussion started by: kholostoi
1 Replies

9. Shell Programming and Scripting

Help with uncompress...Urgent

Hi, I am restoring the database backup using compress utility(/usr/bin/compress) which takes around 1 hour.For restoration i use uncompress utility(/usr/bin/uncompress) which is taking nearly 6-7 hours.Can someone let me know how to reduce this time.I have pasted below the line from script... (2 Replies)
Discussion started by: santtarius
2 Replies

10. Solaris

Cannot uncompress the tar.gz

I've downloaded the tomcat from http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/ at window 2000 and then ftp to Solaris 5.9 in binary mode. gunzip -c jakarta-tomcat-5.0.30.tar.gz | tar -xvf - tar: directory checksum error if try this one, gzip -d jakarta-tomcat-5.0.30.tar.gz... (2 Replies)
Discussion started by: sbox
2 Replies
STAP(7) 						 Miscellaneous Information Manual						   STAP(7)

NAME
stappaths - systemtap miscellaneous and paths DESCRIPTION
This manual page was generated on 2013-05-14 for systemtap 1.7. The following section will list the main paths in systemtap that are important to know and may be required to reference. Tapset Path: /usr/share/systemtap/tapset/ Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_TAPSET environment variable or the XDG_DATA_DIRS environment variable. This directory stores a set of builtin functions and probe point aliases are provided by the scripts installed here. These are described in the stapfuncs(3stap) and stapprobes(3stap) manual pages. Runtime Path: /usr/share/systemtap/runtime/ The runtime sources, unless overridden by the SYSTEMTAP_RUNTIME environment variable. Staprun Path: /usr/bin/staprun The auxiliary program supervising module loading, interaction, and unloading. Stapio Path: /usr/lib/systemtap/stapio The Systemtap module input and output handler. sdt.h Path: /usr/include/sys/sdt.h Kernel debuginfo Path: /usr/lib/debug/lib/modules/$(uname -r)/ The location of kernel debugging information when packaged into the kernel-debuginfo RPM, unless overridden by the SYSTEMTAP_DEBUG- INFO_PATH environment variable. The default value for this variable is +:.debug:/usr/lib/debug:build and can be changed using $env SYSTEMTAP_DEBUGINFO_PATH=/path/to/vmlinux . Elfutils searches vmlinux in this path and it interprets the path as a base directory of which various subdirectories will be searched for finding modules. By default, systemtap will also look for vmlinux in these locations: /boot/vmlinux-`uname -r` /lib/modules/`uname -r`/vmlinux /lib/modules/`uname -r`/vmlinux.debug /lib/modules/`uname -r`/build/vmlinux /lib/modules/`uname -r`/.debug/vmlinux.debug /usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug /var/cache/abrt-di/usr/debug/lib/modules/`uname -r`/ /var/cache/abrt-di/usr/lib/debug/lib/modules/`uname -r`/vmlinux.debug Debuginfo for user-space applications have source files located in /usr/src/debug/ Further file information on user-space applica- tions can be determined per-basis using rpm -ql <package>-debuginfo. For supported user-space applications information please visit the systemtap wiki. $HOME/.systemtap Systemtap data directory for cached systemtap files, unless overridden by the SYSTEMTAP_DIR environment variable. /tmp/stapXXXXXX Temporary directory for systemtap files, including translated C code and kernel object. /lib/modules/VERSION/build The location of kernel module building infrastructure. /usr/share/doc/systemtap*/examples Examples with greater detail, can be found here. Each example comes with a .txt or .meta file explaining what the example, sample or demo does and how it is ordinarily run. $SYSTEMTAP_DIR/ssl/server User's server-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap. $SYSTEMTAP_DIR/ssl/client User's private client-side SSL certificate database. If SYSTEMTAP_DIR is not set, the default is $HOME/.systemtap. /etc/systemtap/ssl/client Global client-side SSL certificate database. /etc/systemtap/staprun/ staprun's trusted signer certificate database. /etc/sysconfig/stap-server/ stap-server service global configuration file. /etc/stap-server/conf.d/*.conf stap-server service configuration files for default servers. /var/run/stap-server/ stap-server service default location of status files for running servers. /var/log/stap-server/log stap-server service default log file. FILES
/usr/share/systemtap/tapset SEE ALSO
stapprobes(3stap), stapfuncs(3stap), staprun(8), stapvars(3stap), stapex(3stap), stap-server(8), awk(1), gdb(1) BUGS
Use the Bugzilla link of the project web page or our mailing list. http://sourceware.org/systemtap/,<systemtap@sourceware.org>. Systemtap Team STAP(7)
All times are GMT -4. The time now is 11:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy