- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Hung Server - kdump enabled - Can Dump be forced o...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 07:10 AM
тАО08-11-2010 07:10 AM
Hung Server - kdump enabled - Can Dump be forced on Reboot?
It just suddenly hung.
Would it be possible to capture kernel dump on next boot?
TIA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2010 05:55 AM
тАО08-12-2010 05:55 AM
Re: Hung Server - kdump enabled - Can Dump be forced on Reboot?
Here is a Red Hat specific article:
http://magazine.redhat.com/2007/08/15/a-quick-overview-of-linux-kernel-crash-dump-analysis/
You can either choose diskdump or netdump.
Regards,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2010 04:26 PM
тАО08-12-2010 04:26 PM
Re: Hung Server - kdump enabled - Can Dump be forced on Reboot?
Linux Hangs
Poor Admin has no choice but to reset/Post the Poor X86 Box.
On other "platforms" - one can TOC so on next reboot -- it forces a dump.
Is there something similar in Linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2010 07:05 AM
тАО08-13-2010 07:05 AM
Re: Hung Server - kdump enabled - Can Dump be forced on Reboot?
on a reboot AFAIK you can't force a dump, but from the os you can. Here is the procedure for kdump, which we use on SuSE:
1.) edit menu.lst, add a crashkernel parameter like this:
crashkernel=64M@16M
2.) install kexec-tools and kdump
3.) enable sysrq in case it is turned off:
# echo 1 > /proc/sys/kernel/sysrq
4.) you should have a kernel compiled with sysrq support, (CONFIG_MAGIC_SYSRQ=yes)
Check it if it is enabled in /proc/config or /proc/config.gz
5.) with the following command you can trigger an instant reboot with a crashdump:
# sync; sync; echo c > /proc/sysrq-trigger
or you can also trigger it with the following key combination:
Alt+SysRq(PrintScreen)+C
6.) you'll find the dump in /var/log/dump
hope this helps,
Viktor
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-16-2010 02:50 AM
тАО08-16-2010 02:50 AM
Re: Hung Server - kdump enabled - Can Dump be forced on Reboot?
The Alt+SysRq+C key combination (as mentioned by Viktor) on the system console might work even if the console is otherwise hung.
The rest is hardware dependent. Some servers have a button which can be used to force a NMI interrupt: I think that can be used to trigger a Linux crash dump in some situations. Others have configurable "watchdog" hardware features (like ASR on HP Proliant hardware) which can automatically trigger a crash reboot if the userspace is hung for more than a pre-determined time... but that wouldn't help you in your current situation because it must be configured in advance.
I'm not at all familiar with SmartIron hardware.
MK