Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dump kernel panic to digital camera with usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jkriger
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 85
Location: Buenos Aires, Argentina

PostPosted: Thu May 26, 2005 5:13 pm    Post subject: dump kernel panic to digital camera with usb Reply with quote

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
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Mon Jun 06, 2005 4:07 am    Post subject: Reply with quote

I wonder if dmesg will show you the Kernel Panics..

Code:
dmesg | tail -f


of
Code:
dmesg > textfile.txt
to print it into a file.
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
jkriger
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 85
Location: Buenos Aires, Argentina

PostPosted: Mon Jun 06, 2005 12:43 pm    Post subject: Reply with quote

geforce wrote:
I wonder if dmesg will show you the Kernel Panics..

Code:
dmesg | tail -f


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
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Mon Jun 06, 2005 9:13 pm    Post subject: Reply with quote

boot from a LiveCD and mount the HadDrive to check /var/log for your kernel panic
_________________
http://tilde.club/~geforce/
Back to top
View user's profile Send private message
jkriger
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 85
Location: Buenos Aires, Argentina

PostPosted: Tue Jun 07, 2005 1:19 am    Post subject: Reply with quote

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
View user's profile Send private message
geforce
l33t
l33t


Joined: 29 Dec 2003
Posts: 654
Location: Canada

PostPosted: Tue Jun 07, 2005 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
jkriger
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 85
Location: Buenos Aires, Argentina

PostPosted: Tue Jun 07, 2005 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum