LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-05-2013, 12:11 PM   #1
ashumnnit29
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
Writing to file from kernel space at panic situation


Hi All,

I want to write to file at the kernel panic situation i.e from panic function but not able to write although able to write to file from other places.Can any one guide me here ?
 
Old 01-05-2013, 02:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If the system panic()s it is beyond unstable.
Writing to a file system then becomes is a recipe for disaster.
Instead see LKCD, Netdump, Diskdump, K(exec-)dump.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic when netlink message is sent from User space to kernel space itrilok Programming 1 11-28-2012 10:56 AM
Logging a Kernel Panic Event - Problem writing the log in panic situation lucasct Linux - Embedded & Single-board computer 5 09-08-2011 01:44 PM
kernel panic - custom kernel won't mount file system j-osh Fedora 8 11-19-2008 01:13 AM
Upgraded Kernel, Kernel Panic, Can't read root file system. Romanus81 Slackware 25 05-04-2008 10:45 PM
File Space Allocation + Writing (C++) tntcoder Programming 0 08-07-2007 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration