View previous topic :: View next topic |
Author |
Message |
jkriger Tux's lil' helper
Joined: 03 Oct 2003 Posts: 85 Location: Buenos Aires, Argentina
|
Posted: Thu May 26, 2005 5:13 pm Post subject: dump kernel panic to digital camera with usb |
|
|
Hi! how do I dump the text that a kernel panic show to a digital camera with usb? It could be a digital camera or a file, etc. I need to know the stack trace that cause the kernel panic.
Regards,
Julio |
|
Back to top |
|
|
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
Posted: Mon Jun 06, 2005 4:07 am Post subject: |
|
|
I wonder if dmesg will show you the Kernel Panics..
of Code: | dmesg > textfile.txt | to print it into a file. _________________ http://tilde.club/~geforce/ |
|
Back to top |
|
|
jkriger Tux's lil' helper
Joined: 03 Oct 2003 Posts: 85 Location: Buenos Aires, Argentina
|
Posted: Mon Jun 06, 2005 12:43 pm Post subject: |
|
|
geforce wrote: | I wonder if dmesg will show you the Kernel Panics..
of Code: | dmesg > textfile.txt | to print it into a file. |
No, it will not work because the system hungup, it freeze.
I tried to use kmsgdump without any luck. |
|
Back to top |
|
|
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
Posted: Mon Jun 06, 2005 9:13 pm Post subject: |
|
|
boot from a LiveCD and mount the HadDrive to check /var/log for your kernel panic _________________ http://tilde.club/~geforce/ |
|
Back to top |
|
|
jkriger Tux's lil' helper
Joined: 03 Oct 2003 Posts: 85 Location: Buenos Aires, Argentina
|
Posted: Tue Jun 07, 2005 1:19 am Post subject: |
|
|
geforce wrote: | boot from a LiveCD and mount the HadDrive to check /var/log for your kernel panic |
It will not work because the data of kernel panic (stack trace, register, variables, etc) get lost after reboot, you need to dump the kernel panic to a print or serial console |
|
Back to top |
|
|
geforce l33t
Joined: 29 Dec 2003 Posts: 654 Location: Canada
|
Posted: Tue Jun 07, 2005 2:30 am Post subject: |
|
|
Quote: | ────── Compile the kernel with frame pointers ─────────────────┐
│ CONFIG_FRAME_POINTER: │
│ │
│ If you say Y here the resulting kernel image will be slightly larger │
│ and slower, but it will give very useful debugging information. │
│ If you don't debug the kernel, you can say N, but we may not be able │
│ to solve problems without frame pointers. │
│ Symbol: FRAME_POINTER [=n] │
│ Prompt: Compile the kernel with frame pointers │
│ Defined at lib/Kconfig.debug:144 │
│ Depends on: !X86_64 && (X86 || CRIS || M68KNOMMU) │
│ Location: │
│ -> Kernel hacking |
Maybe it could help.. ? _________________ http://tilde.club/~geforce/ |
|
Back to top |
|
|
jkriger Tux's lil' helper
Joined: 03 Oct 2003 Posts: 85 Location: Buenos Aires, Argentina
|
Posted: Tue Jun 07, 2005 12:45 pm Post subject: |
|
|
Yes, this could but I still have the problem of getting the dump when a kernel panic occur.
geforce wrote: | Quote: | ────── Compile the kernel with frame pointers ─────────────────┐
│ CONFIG_FRAME_POINTER: │
│ │
│ If you say Y here the resulting kernel image will be slightly larger │
│ and slower, but it will give very useful debugging information. │
│ If you don't debug the kernel, you can say N, but we may not be able │
│ to solve problems without frame pointers. │
│ Symbol: FRAME_POINTER [=n] │
│ Prompt: Compile the kernel with frame pointers │
│ Defined at lib/Kconfig.debug:144 │
│ Depends on: !X86_64 && (X86 || CRIS || M68KNOMMU) │
│ Location: │
│ -> Kernel hacking |
Maybe it could help.. ? |
|
|
Back to top |
|
|
|