How to crash a system and take a dump?
Hi,
I have a doubt. I know that linux kernel doesn't crash so easily. Is there any way to panic the system? Can I go to the source area and insert/modify a variable in kernel code so that the kernel references a null pointer and crashes while running the kernel compiled with this variable. My aim is to learn crash dump analysis with 'Lcrash tool". Please help me out with this.
Thanks in advance,
sathish
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
Quoted 9 lines · sathish jayapalan
Hi,
I have a doubt. I know that linux kernel doesn't crash so easily. Is there any way to panic the system? Can I go to the source area and insert/modify a variable in kernel code so that the kernel references a null pointer and crashes while running the kernel compiled with this variable. My aim is to learn crash dump analysis with 'Lcrash tool". Please help me out with this.
Im not sure about the Lcrash tool, but core dumps can be obtained from the kernel at any time simply by reading /proc/kcore.
Hope that helps.
Signature · 2 lines
// Gianni Tedesco <[email protected]> 80% of all email is a figment of procmails imagination.
With LKCD, you can also trigger a dump via the Alt+Sysrq+c key. If you run into problems when trying to use this, then you might need some of the fixes that we've checked into the lkcd cvs tree.
Regards
Suparna
IBM Linux Technology Center
Quoted 23 lines · sathish jayapalan
Hi,
I have a doubt. I know that linux kernel doesn't crash so easily. Is there any way to panic the system? Can I go to the source area and insert/modify a variable in kernel code so that the kernel references a null pointer and crashes while running the kernel compiled with this variable. My aim is to learn crash dump analysis with 'Lcrash tool". Please help me out with this.Thanks in advance,
sathish__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/