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


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users crash: vmlinuz-2.6.11-1.1369_FC4: not support a file format?
# 1  
Old 03-23-2008
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 Smilie

"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?
# 2  
Old 03-24-2008
I spent two day in googgle to seek this problem, and found somethings:
--------------------------------------
1. acording to "man crash":
namelist
This is a pathname to an uncompressed kernel image (a vmlinux file) that has been compiled with the "-g" option, or that has an accessible, associated

In my opinion,I think that "/boot/vmlinuz-2.6.11-1.1369_FC4" was not compiled with the "-g" option, So result of command:
$ crash -s System.map-2.6.11-1.1369_FC4 vmlinuz-2.6.11-1.1369_FC4
is:
"crash: vmlinuz-2.6.11-1.1369_FC4: not support a file format?"

2. I found a white paper about crash:
http://people.redhat.com/anderson/crash_whitepaper/

and then install kernel-debuginfo for Fedora 2.6.11-1.1369_FC4. As a result, I have uncompressed kernel image file:
/usr/lib/debug/lib/modules/2.6.11-1.1369_FC4/vmlinux
I try to run command:
$ crash
but it also did not work:
crash: /usr/lib/debug/lib/modules/2.6.11-1.1369_FC4/vmlinux /dev/crash do not match.

In fact: /dev/crash does not exist

3. Try to another way:

3.1 list all symbols in vmlinux:
$ nm -Bn /usr/lib/debug/lib/modules/2.6.11-1.1369_FC4/vmlinux
then we can get all symbols in file: /proc/kallsyms
(we can check it by: $ cat /proc/kallsyms)

3.2 try to run command again:
$ crash /usr/lib/debug/lib/modules/2.6.11-1.1369_FC4/vmlinux /proc/kallsyms

but it did not work . The result is:
crash: not found "_End"

4. I don't know how to run this command in my PC . Can anyone help me?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help to format one txt file to required format

Hello Everyone, I have one source file which is genarated by SAP in different format(Which I've never seen). I need to convert that file to required format and I need to read this target file from Datastage to use this in my Jobs. So I do not have any other options except to use Unix script to... (4 Replies)
Discussion started by: Prathyu
4 Replies

2. Solaris

copy crash dump file

Hi gurus, I will be glad if anyone can help me with this: How do you copy a crash dump file to send to your support provider? Thanks lots guys. (1 Reply)
Discussion started by: cjashu
1 Replies

3. Red Hat

[RHEL6]Uncompress vmlinuz to vmlinux

Hi, I cannot uncompress it using standard command: od -A d -t x1 vmlinuz | grep '1f 8b 08 00' dd if=vmlinuz bs=1 skip=24584 | zcat > vmlinux > gzip: stdin: not in gzip format(of course 24584 is output from 1st command + 8) I try to do it with: vmlinuz-2.6.32-131.4.1.el6.x86_64... (2 Replies)
Discussion started by: Chrisdot
2 Replies

4. Shell Programming and Scripting

Converting windows format file to unix format using script

Hi, I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix. My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies

5. Solaris

Solaris 10 zone crash dump file?

Hi, I'm running Solaris 10 with a zone called "testzone" If I do a "reboot -d" on the host, as expected the kernet panics, reboots and creates a crash dump file in /var/crash However no crash file is created in testzone. My question is how can I tell if a zone crashs or shuts down... (4 Replies)
Discussion started by: fastexit
4 Replies

6. UNIX for Dummies Questions & Answers

To convert multi format file to a readable ascii format

Hi I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source . Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies

7. UNIX for Dummies Questions & Answers

Convert UTF8 Format file to ANSI format

:confused: Hi i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error Function i used it as $ iconv -f UTF8 -t ANSI filename Error iam getting is NOT Supported UTF8 to ANSI please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies

8. UNIX for Advanced & Expert Users

Convert UTF8 Format file to ANSI format

:) Hi i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error Function i used it as $ iconv -f UTF8 -t ANSI filename Error iam getting is NOT Supported UTF8 to ANSI please some help me out on this.........Let me... (1 Reply)
Discussion started by: rajreddy
1 Replies
Login or Register to Ask a Question