Debian Configuration :: Using Kdump-tools For A Forced / Staged Panic
Apr 23, 2016
I'm having some issues creating output from kdump-tools. (Initially to diagnose some system freezes when using wine, but now I can't a staged panic to work and provide proper output.)
I initially started following what is stated at this link: https://www.bentasker.co.uk/documentati ... ian-jessie
I've had a Centos 5.3 zimbra mailserver set up for about 3 months now.Every 7-10 days or so, the system will do a kernel panic and I've been putting off its resolution due to other matters.I'm now ready to look into it but I have two issues :
1) No logs.
So far, I've manually rebooted when a kernel panic occured and could look at the panic printout and write down relevant info. But since I wanted more info than I had written down, I went hunting in the logs for the kernel panic event (one happened earlier today) but, to my surprise, I noticed the system doesn't log the kernel panic at all. Kdump is currently disabled as I'd like to keep all available memory available to the system but I was under the impression it would log the kernel panic message regardless but would simply leave out more advanced diagnostic information.How would I make sure the kernel panic is logged so I can have more info about it ?
2) The actual panic.Here's a snippet of what's appearing when the kernel panics :
I've also seen f793bee4 instead of the highlighted part above but everything else is always the same from the times I've seen (as I haven't always had the chance to be around when a panic occured).I'm looking further into it at this point but early research seem to indicate this could be a memory issue. I'll run memtest next weekend to check that out (since I don't want to take the system offline for any length of time during office hours) but people here might have other theories based on what I've put up so far. The system has all of the latest patches and updates and is running only what I need as far as software goes (zimbra server + prerequisites, x + GNOME (not loaded on startup), firefox and vnc for windows RDP access). My system also uses a software RAID1 array (boot = md0 and / = md2 with swap files not being mirrored as there's no need to).
PS : In order to further troublehsoot by myself before posting here, I've tried to enable kdump to see if kdump is the culprit for the missing logs but I'm also having an issue with it. I'm getting a "No kdump initial ramdisk found" and "mkdumprd: failed to make kdump initrd" messages at startup. I'm thinking this might be because of my raid array ? I've found an old bug report regarding one of those error messages on centos 5.2 but it was supposedly fixed in the 30 version by RH and I'm using the latest one (56).
I have a system that was upgraded from Debian 7 to 8. Unfortunately it is not able to boot from the new kernel 3.16. Only the old 3.2 kernel is able to boot. I could transfer a backup, install it in Virtualbox, redo the upgrade and I can reproduce the error..The last error before "panic" is this line
Code: Select all 59.073579] Freeing unused kernel memory: 216K (ffff8800017ca000 - ffff880001800000) Loading, please wait... [  59.226154] systemd-udevd[53]: starting version 215 [  59.326564] random: systemd-udevd urandom read with 4 bits of entropy available Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... /init: .: line 210: can't open '/scripts/init-premount/ORDER' [  59.552148] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
I am using a kernel with no initrd. I have had this kind of panic before. Usually it means that the kernel can access the hard drive because the driver for the controller or filesystem isn't built into the kernel.
The kernel is 2.6.34 vanilla.
My IDE controller is a Silicon Integrated Systems SiS 5513, and I built the driver for it into the kernel BLK_DEV_SIS5513=y
My /boot (hda1) is ext2, and everything else is ext3
EXT2_FS=y EXT3_FS=y
My grub entry (hda2 is my root partition) kernel (hd0,0)/vmlinuz root=/dev/hda2
i immigrate to Debian Squeeze. So, for each time i want to start debian i have a kernel panic and ( mouse + keyboard blocked ), I can't use anything.Here is my kern.log pastebin
I am currently having issues with system freeze when unmounting portable hard drives. This happens almost every single time. Normal USB sticks are fine and do not produce the freeze. I am using kernel 3.0.0-rc6, however the issue also persists when switching back to 2.6.39. This is the error message i get when freeze occurs, reverting to terminal output:
I am running Debian squeeze. A while ago I upgraded my kernel to 2.6.38 from backports. Just now I thought it would be good to upgrade to 2.6.39 from backports. Upgrade went fine, but after rebooting I get a kernel panics rightaway.
"No filesystem could mount root, tried:" "Kernel panics = not syncing: VFA: Unable to mount root fs on unkown-block(0,0)."
This is the first time one of Linux installations halts/panics on booting, so I don't know what to do now. I tried booting the recovery entry from the grub boot menu, but same result.
This package contains tools to manage Debian based XEN virtual servers.
Using the scripts you can easily create fully configured Xen guest domains (domU) which can be listed, updated, or copied easily.
Homepage: [url] in the above output I am getting a line Conffiles and then you can see a series of /etc what are that and is it an error or some conflict?
I have recently updated my GNOME installation from 3.x to 3.14. Suddenly, there are many glitches. The power buttons on the power menu does nothing, I am forced to shut down via the terminal, everything goes black every now and again, and there is a weird colour pattern behind some icons when I hover over them. But most importantly, the icons and text do not show up on the "Activities -> Show Applications -> All" menu. They still there, as you can see the opening animation before they disappear, and I can click on them, but you just can't see them. The "Frequent" menu works fine. Here is a YouTube video I have made to explain my problem.
[URL] ...
I did change the icons, but this was after these problems started happening, and so it should be un-related.
I have gone through all the kernel config options repeatedly, but everytime I get the same error after running my configured kernel.
To begin with, after unpacking the kernel I get Undefined video mode numer: 305 and then a selection of video modes appears.
Why are the standard settings in my lilo 1024x768x256 (vga 773) not accepted?
VFS: Cannot open root device "808" or unknown block(8,8) Please append a correct "root"=" boot option; here are the available partitions: Kernel panic- not syncing :VFS: Unable to mount root fs on unknown block(8,8)
My partitions are ext2, and this format (as well as other formats) are compiled in the kernel.
I have Ubuntu 10.04 running gnome and two monitors. I am wondering if a can get a better multi-monitor configuration tool. The one I have, gnome-display-properties, has too many problems, including: When I swapped my monitors over, the narrower (external) one now on the left. There is a width calculation error, such that I have a virtual monitor the width of the wide-monitor on the narrow-monitor and part of the wide monitor. And a virtual narrow-monitor on the remainder of the wide-monitor. Also the visible mouse pointer does is not aligned with the active spot, an x offset of one monitor width. I would like, in approximate order of importance:
I have Ubuntu 10.04 running gnome and two monitors.I am wondering if a can get a better multi-monitor configuration tool. The one I have, gnome-display-properties, has too many problems, including: When I swapped my monitors over, the narrower (external) one now on the left. There is a width calculation error, such that I have a virtual monitor the width of the wide-monitor on the narrow-monitor and part of the wide monitor. And a virtual narrow-monitor on the remainder of the wide-monitor. Also the visible mouse pointer does is not aligned with the active spot, an x offset of one monitor width. in approximate order of importance:to be able to select which is primary monitor.to have multiple configurations. configurations to be automatically selected based on which monitors are attached.configurations to be cycled (reliably) when display mode key is pressed. when a display is deactivated, for windows to migrate to remaining monitors. option to not change display resolution when mirroring, but to use side/top blanking bars to pad out screen.
When my server starts I received this text:No kdump kernel image found:[WARNING]Tried to locate /boot/vmlinuz-2.6.18-164.6.1.el5.centos.plusLoading kdump:[FAILED]
I have a dumb question but the google can't seem to answer it. When (if?) my host locks up (RHEL 5.4) I generally don't get anything in /var/crash . kdump is configured correctly and works (if tested using ` echo "c" > /proc/sysrq-trigger` as per Red Hat's KBase article) but in the real world, when the system locks up nothing ever ends up there.
So, on to the dump ( ) question - I have to crash it using Ctrl + SysRq in order to get anything out of this, right. If the box is comatose and doesn't respond at all to the point of being power cycled, it's all gone isn't it? Volatile memory being what it is and all; or is there some sort of magic / voodoo in place that makes it survive the reboot. And no, my Dell PowerEdge 1950 doesn't have battery backed RAM, so i'm quite sure that unless i can kill it through sysrq ...
I'm posting because I've read everything I can find on google and in the forum and the man page and still can't get it to work. I did read the FAQ, I hope I have adhered to it.I've tried several things and I don't remember exactly everything I tried and in what order.I've got several (12) HP ProLiant DL140 G3 servers running CentOS 5 that lockup about once a week. These are in a remote colo cage so I all i have access to is the built-in HP lights-out management interface, which includes a console, and ssh. I've been trying to get kdump setup to try to figure out what's going on. As an aside, if I run top on the console (via the management interface) the servers stay up for about a week, if I don't run top they crash within about 48 hours.I've used yum update to update to the latest available kernel (2.6.18-194.26.1.el5.x86_64) and installed the debuginfo and debuginfo-common RPMs from http://debuginfo.centos.org/5/x86_64/I have a single command in the /etc/kdump.conf file:ext3 /dev/sda5
Once a while, during boot, Debian forces checking of hard disks. I understand that's a wise thing to do. However, I wonder what you could do to abort such process and postpone it to next boot (let's suppose you are in a hurry and you have switched on your computer only for a quick glimpse to a document).
I would like to set up Kdump in case my machine crashes (and it still does frequently) to send the message to putty running on my windows machine (or to my other server running fedora 8).
My preference goes to the windows machine, but I have no clue how to set it up. Is it possible to get the "screen dump" on my windows putty?
My server crashes downloading torrents at high speeds (which is kind of what I want to do)
i have udftools_1.0.0b3.orig.tar.gz and udftools_1.0.0b3-14.diff.gz with me. how can i compile and install it ? i do not have an internet access on my desktop pc..
I was experiencing some latency issues when loading KDE on my (squeeze) HTPC box, so I decided to replace the system drive with one that was a bit faster (and larger). Faced with the unpleasantness of having to repeat the many troubleshooting and configuration issues I had with the previous installation, I decided to copy a known good installation. As it turned out it didn't make much difference. I still spent several hours reconfiguring screen and font resolutions, setting up a wireless bridge, removing unnecessary server components, reconfiguring apt proxy settings, resetting hostname and IP addresses, and getting passthrough audio working again.
Anway, once completed, the system was much more responsive, so I was happy--until I tried to burn an ISO to the DVD. When K3b loads it informs me that it is missing several necessary applications, including cdrecord, cdrdao, mkisofs, etc. All the necessary applications were installed and working on the original system which I copied. I verified their existence on the new installation via "aptitude search <packagename>". I even performed a reinstall of said packages. Nevertheless, K3b refuses to detect their existence.Just to be clear, all my boxen are built to standard. Same motherboard, same CPU, same memory, same HDDs, same DVD burners. I do this purposely to avoid just these sorts of issues. I don't see how a working configuration on one machine can fail on another. I am beginning to believe that this is yet more evidence to support my theory that the universe is not only unpredictable, but arbitrary and inconsistent and possibly even perverse.
I just turn of the services, but there is something wrong about it...How to locate the problem? Maybe its some script in /etc/cron.*? Ive tried running them "manually" but nothing special happened. Is there a log for cron-scripts (or what are they callled)?The kernel panic says something like this: "Kernel panic not syncing, fatal exception in interupt, iwl4965 - irq_tasklet".So it seems to be in the iwl4965 driver, but also strange as it is connected to ana/cron.
It hapens very unregularly sometimes just a minute after starting ana/cron, sometimes it can go longer. It wasnt always like this, first it just happened when I played Warcraft on wine and i thought that was the cause (it might not even be the same problem, but i think so), but then it happened at other times also, so I fiddeled around with the startup services and found that disabling cron and anacron (its about the same thing I figure) keeps the trouble away. Well, its not a big problem, but I just wanted to see what the problem is, Also, is the cron-script doing anything of importance
I downloaded and installed Debian Squeeze from a CD (a 700~mb file), but I seem to be missing a lot of things; mainly any wireless internet tools! I searched through aptitude and I couldn't find any sort of package. Do all copies of Debian (I downloaded the CD-1 file from a http mirror) have network tools such as network-manager-gnome?
Are there any tools that can completely nuke a HD "BLANK"?and I don't mean just wiping the contents.I tried nuking a HD using the Gparted Live-CD to remove the partitions.The only problem is it kept GRUB. Since then I have failed to install any distributions of Linux and I have tried several. They all hang at some point. I had a Debian Lenny v5.03 Net Install on it previously before the NUKE but the same disk I used them and the current one I re-downloaded both hangs.In other I need a completely blank HD. No Boot sector, no Master Boot Record (MBR),
apt-get install synaptic returned 0 installed 0 updated. I assume from this it is installed. There is no icon in 'application/system tools'. Is there something I might try? Is there a way to call this from terminal?
I recently installed Debian squeeze on one of my older pcs. I have had this computer for a long time with windows so I know there is no hardware issue. About half an hour after being turned on in Debian the computer goes to a black screen and the num lock caps lock and scroll lock keys flash.