Red Hat / Fedora :: Find Signal Handlers Definitions In Kernel?
Apr 9, 2011
I am currently working on "Creation of Postmortem data logger in Linux on Intel architecture. Its nothing but core utility creation. how the signal handlers for various signals(SIGSEGV,SIGABRT,SIGFPE etc) which produce core dump upon crashing an application internally implemented in Linux kernel. I need to re-write these signal handlers with my own user specific needs and rebuild the kernel. It makes my kernel producing the core file (upon crashing an application) with user specific needs like showing registers,stackdump and backtrace etc.
I am working on tracing the signal handling mechanism in linux kernel internallly. For that, i build the kernel. Now, i want to trace the signal handling mechanism in the old kernel. I got to about SYSLOG and PRINTK for this. But, how to use these tools exactly in tracing the handling of signals internally ?. Is, there any tool similar to backtrace to do that?. How the call flow is done internally ?
What I can't seem to find in the repositories is software for Dictionary Definitions and a Thesaurus - in another distro there is what is called "Online Dictionary" (which includes synonyms) and another distro there is what is called "WordNet";So, I would like to know the name(s) to look for in the repositories for software for a Dictionary / Thesaurus, where it is two different software packages or just one.I did see the "webpin" finds "WordNet", but installation of that fails.
I have installed clamav antivirus,and while scanning it shows the following warning
LibClamAV Warning: ************************************************** LibClamAV Warning: *** The virus database is older than 7 days! *** LibClamAV Warning: *** Please update it as soon as possible. *** LibClamAV Warning: **************************************************
And so i have tried to update the virus database as root,using this command
# freshclam bash: freshclam: command not found
but i cant,can you pls say me how to update the virus database...
i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file
I've tried installing nvidia's devdriver but I keep getting an error stating the kernel.h file isn't available. I've tried searching for it on my computer but haven't found it and haven't found a copy of it using google either.
how I can go about finding my kernel's source path or a way to getting a copy of the kernel's source so I can install nvidia's devdriver?
I use the on-board sound chip of a Gigabyte motherboard (Realtek)and I have connected it with optical cable to an amplifier.
Everything worked fine, until February, when an update changed the kernel and the PC stopped giving sound signal! When I returned to the previous kernel (at grub), again everything worked. So,it doesn't seem to be a connection or drivers problem.
I supposed that with 11.04 edition this problem would be solved. But it isn't. In fact I have serious problem now because the old kernel isn't listed in grub anymore.
Going from Fedora 12 to 13. Got to the point where I have to reboot to install, system reboots to 12. This is a triple boot system with Open Suse and Mint, and the grub2 bootloader from Mint is the bootloader for the whole shebang. In the "how to use preupgrade" instructions there's a line that says "dentify the drive and partition of your Fedora /boot folder." How? If that sounds odd, consider that in my set up "computer" shows 4 partitions (and with just three operating systems..?). I can mount them, but have a problem telling which sytem is Fedora, Suse or Mint. And getting the FEDORA bootloader to find the PREUPGRADE kernel ... Momma said there'd be days like this.
cat /etc/fstab just returned /dev/sda1 on /boot. I installed Fedora first, before Suse or Mint, so being on the first drive or partition sounds right, but the multiple drives throws me, and "just guessing" doesn't seem like the way to go.
getting KVM Kernel modules installed under Fedora 14? I'm trying to do a post-installation setup of KVM. I'm getting the "No package kmod-kvm available." error, when doing "yum install kmod-kvm".
I am currently running Fedora 10 XFCE on an Acer Aspire 1 (1.6ghz atom, 1.5gb ram, 8gb ssd). I am trying to install Fedora-11-i686-Live-XFCE via USB stick (Kingston 4gb) and am having no luck. I downloaded the .iso via bittorrent. If I use liveusb-creator: .iso passes checksum, installs boot image, installs syslinux, claims it's complete. When I try to boot, or simulate booting with qemu, I get the message "Could not find kernel image: linux" If I use
it says that the .iso passes checksum, installs live image, updates boot config file, and setup USB stick as a live image. Once again though, when I try to boot, or simulate booting with qemu, I get the same message "Could not find kernel image: linux"
I am running a vmware on a 64 bit fedora 9. I have already installed kernel header, but the vmware could not find the kernel header, and ask to input the kernel header path. I added /usr/include to the vmware, it complained not a right kernel header.
How can I use DKMS to force the virtualbox setup to run using the correct kernel sources? This is the error I'm getting in the vbox logs
Code: Attempting to install using DKMS removing old DKMS module vboxdrv version 3.1.2 Deleting module version: 3.1.2 completely from the DKMS tree. Done.
Error! Your kernel source for kernel 2.6.31.6-166.fc12.x86_64 cannot be found at /lib/modules/2.6.31.6-166.fc12.x86_64/build or /lib/modules/2.6.31.6-166.fc12.x86_64/source. You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without: Makefile:152: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I am trying to install a piece of software that uses an install.pl script which looks to /usr/src/linux/include/ for my kernel headers...but it never finds them or that directory/link.
I've run "yum install kernel-devel kernel-headers" so I am pretty sure they are installed.
kernel update on sl6 beta , after new kernel installed started gettingyum error cant find repos elrepo-kernel have looked in /etc/yum.repos.d and no elrepo-kernel file there.yum wont run till I resolve this
I'm new to fedora and when I boot from a cd I get the message: could not find kernel image. I currently have windows xp and my motherboard is and ix38 quad gt if that helps.
I can not for the work get Virtual Box's Additions to install in my FC12 guest. The error log (/var/log/vboxadd-install.log) shows: Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.
I have tried: # KERN_DIR=/usr/src/kernels # KERN_DIR=/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686 # KERN_DIR=/usr/src/kernels/2.6.31.12-174.2.22.fc12.i686/kernel
basically put a new hard drive in my old computer and wanted to install fedora on it, downloaded fedora 12 dvd iso (3ish gb in size) have burnt it to a dvd disc, turned my laptop on and set it to boot from cd drive, restarted it, it reads the disc and displays the following message:
ISOLINUX 3.75 209-04-16 ETCD Copyright (C) 1994-2009 H.Peter Anvin et al Could not find kernel image: Linux boot:_
The uderscore is flashing and i can type stuff in but have no idea what to type in to find the kernel image, or why it cant find the kernel image.
The previous version of one of my websites was static and so the URLs looked like this: [url]
A few months ago I re-did the site to be completely dynamic. There are no individual pages for product reviews, just one which pulls the right data from a database. So now, my URLs look like this: [url]
Some fellow ex-googler who specialize in SEO told me that the previous URL scheme was better for search engines because it had the product name. Of course, I have set up redirects from the old naming scheme to the new one but what I would like to do is have 'review.php' handle the request for 'review_XXXX_YYYY.php' without actually doing a redirect... and do this for past and future products. I don't want to have to actually create all these 'review_XXXX_YYYY.php', there would be hundreds, just make it seem like they exist to visitors.
Where are the definitions for C library functions located? It was just recently that I realized that header files don't actually define any functions, they merely include their prototypes.
For instance, stdio.h includes the following line:
Code:
This just means that the definition of printf() is located in another file. What file? Is there some kind of default shared object file that is automatically included during compilation?
I have somehow managed to wreck the definitions /paths for my Home and Desktop. If I click on Places I now have a "Home Folder" displayed as "Open Your personal Folder", a "Desktop" displayed as "Open the contents of your Desktop in a folder" and a second "Home Folder" displays as "Open '/home/ian'"....and they all point to the same folder which is my personal user file "ian". This is kind of OK except that every file I have now gets displayed on my screen because "Desktop" has a view of these files. Is there any easy way to reset my file directory ? or do I have to backup my files and reinstall Ubuntu.
I have placed the restart-ssh script in /usr/local/nagios/libexec/eventhandler but its not working on seeing the event log the following information is obtained
Though i have checked the script manually by the following command
It works fine with both of the above mentioned commands
I don't know why it is not able to restart ssh when nagios is calling it as event handler
The service definition for ssh in localhost.cfg is as follow:
I was playing with top to understand ram memory usage of every thread but i am in trouble with some basic questions:
- what difference is between 'thread' and 'process'?
- what does 'virtual image size' means, and Resident size, Shared Mem size, Code size, Data+Stack size, Swapped size? I thought that the only important field is 'Memory usage', but it is represented as a percent value...
I have googled a bit, but nothing really helped me. before opening top i thought that memory is divided in several pages by every process/thread (?) and that this occupied memory would be counted as 'used memory', and nothing else.