Red Hat / Fedora :: How Run C Programe In Kernel
Feb 8, 2010
I am trying to create the socket in kernal space and for that I have written server.c file.I am trying to comiple this programe in kernel space by following the procedure of creating the Makefile and than running the make. My files are as follows and I am getting folwwoiung error.
obj-m += server.o
#KVERSION = $(shell uname -r)
all:
[code]....
View 1 Replies
ADVERTISEMENT
Jun 22, 2009
I have installed the rkhunter , but it does not work i kept on trying to open the programe but no result come out
View 2 Replies
View Related
Mar 5, 2011
is there a good c compiler programe in ubuntu
View 9 Replies
View Related
Feb 23, 2011
I have installed the fedora 14, but there is no kernel source tree.I read the doc "building a custom kernel".But I don't want to rebuild a new kernel.I just want to install the source tree of current kernel.Could someone tell me the way?
View 6 Replies
View Related
Jul 4, 2010
my problem is on installing nvidia driver on fc12 32bit but, first of all, as i understood the pae kernel requires more than 4gb of ram,i have a 2.2 ghz cpu with 2 gb ram,but when i run command:uname -r it answers: 2.6.31.5-127.PAE [i have fc12 32 bit] when we try to download linux we have a 32bit edition or 64bit edition,do we have an edition which is only for pae? or when we install for example the 32bit edition on a computer with more than 4gb of ram then the kernel automatically will change to be a pae kernel??
View 10 Replies
View Related
Jul 13, 2009
I'm I seeing this wrong or is the initrd file in kernel-2.6.27.25-170.2.72.fc10.x86_64 a zero byte file and that's why I can't boot with it( get this "kernel panic not syncing VFS unable to mount root fs on known -block (0,0)" message)
View 2 Replies
View Related
Apr 21, 2010
Trying to install virtualbox in F12 but fails when recompiling kernel module. Output of vbox-install log is:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.1.6
Deleting module version: 3.1.6
completely from the DKMS tree.
Creating symlink /var/lib/dkms/vboxdrv/3.1.6/source ->
/usr/src/vboxdrv-3.1.6
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.32.11-99.fc12.i686.PAE cannot be found
at
/lib/modules/2.6.32.11-99.fc12.i686.PAE/build or /lib/modules/2.6.32.11-99.fc12.
code....
View 6 Replies
View Related
Nov 29, 2010
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
View 4 Replies
View Related
Jun 12, 2009
there is an issue with the way the Linux Kernel addresses memory by default and the graphic drivers for my Asus G1Sn. I have a patch that I had compiled against a custom kernel for 2.6.27.xx how ever it does not work with the latest kernel in Fedora 11. It is beyond me to rewrite the patch to work with a different kernel.
View 1 Replies
View Related
Feb 11, 2010
I use a pretty fresh installed RHEL 5.4, which should be very similar to Fedora. After the basic installation I installed xen and xen-kernel via yum with no errors. I can select the xen-kernel at boot time. But after booting the normal kernel shows up.
[root@noname boot]# uname -r
2.6.18-164.11.1.el5
My /boot/grub/menu.lst looks like:
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
[code]....
I can't see anything wrong and I did not change/try anything.
View 11 Replies
View Related
Mar 18, 2010
I've been using Fedora 12 for about a month, and i'm very happy with it. Even tough, there's only one thing that worries me, and is giving me problems at the same time. I'm getting an error from: syslog@localhost that says: kernel:Uhhuh. NMI received for unknown reason b1 on CPU 0 kernel: Dazed and confused, but trying to continue. Kernel: seems to be a problem, likely on the PCI Bus
I'm not able to reproduce the problem every time i want, but, sometimes happens when i activate the snow effect combined with the cube effect, using kwin. My computer and OS specifications are: Pentium IV HT(disabled) Nvidia Geforce 8400gs 2 Gb Ram DDR2 (1xGB, 2x512) Hard Drives: 2x80GB Using Fedora 12, KDE 4.4.1, with Nvidia privative drivers, nouveau disabled
View 4 Replies
View Related
Jan 18, 2010
My laptop has only 2GB of RAM so I don't think I need the PAE kernel, also there are some drivers that I want to install, they were built for non-PAE kernel.
So far I read that I have to change the :
/etc/sysconfig/kernel
---------
# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
[Code]....
View 3 Replies
View Related
Jul 18, 2010
From F12 to F13. Is there anything I should remove before updating? I have few programs isntalled from source/binary installers in /usr for example. Would it cause problems?
And is there any chance to be able to switch from a 32 bit kernel to 64 bit kernel during the update? The hardware is capable of this.
View 4 Replies
View Related
Aug 22, 2011
I used Backtrack 5 and Fedora, basically I'm trying to install my wireless card but I don't have these installed to make && sudo. I burned the iso images for backtrack and fedora and booted my computer from them but can't figure out how to install kernel-devel on backtrack for example. I dled yum onto my flash drive but can't figure out how to install it.
View 14 Replies
View Related
Feb 22, 2010
What's the command for installing kernel headers for the currently installed kernel?
View 2 Replies
View Related
Feb 20, 2010
I just installed the latest kernel today and reinstalled the nvidia driver using " nvidia driver in F12 using the run method." [url]
I boot in X properly and then the automatic bug reporting tool icon showing witht he following error:
View 6 Replies
View Related
Jul 26, 2010
If i use yum update option it upgrades to latest kernel but i only want to upgrade to kernel-2.6.31.6.
View 8 Replies
View Related
Nov 2, 2009
I am trying to install the Nvidia Quadro NVS 110 169.04 drivers but am having issues during install. Prior to attempting my install I did install the kernel-devel rpm so it can compile. after running the RPM I get. Quote: No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from the NVIDIA ftp site [URL]?
which of course does not work. next it says Quote: "No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface.. i hit okay and move on to. Quote: Error: Unable to find the kernel sources tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat linux systems, for example be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. if you know the correct kernel source files are installed, you may specify the kernel source path with the "--kernel-source-path' command line option
View 5 Replies
View Related
Sep 16, 2010
i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
View 2 Replies
View Related
May 13, 2010
i want to compile Moxa (5100) driver in Fedora 12 , kernel <= 2.6.30 but now when i run command i see this error :
Code:
ln: creating symbolic link `libssl.so': File exists
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build SUBDIRS=/home/AAA/moxa modules
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE'
CC [M] /home/AAA/moxa/npreal2.o
/home/AAA/moxa/npreal2.c: In function �npreal_open�:
/home/AAA/moxa/npreal2.c:1000: error: implicit declaration of function �task_session_nr
make[2]: *** [/home/AAA/moxa/npreal2.o] Error 1
[Code]...
View 9 Replies
View Related
Dec 3, 2010
The updated Kernel 2.6.32.26.175.fc12 (i686) broke nVidia 96xx drivers (nVidia MX-4000 card).Resulted in a quickly flashing cursor in the upper left corner, with no X startup.I removed the driver and let it rebuild using akmod. Still have the same problem.When I revert back to the previous kernel 2.6.32.23-170.fc12.i686, all is well.At this point, wonder what the chances are of this being fixed? Seems the last set of updates before EOL of a release always breaks something critical.
View 6 Replies
View Related
May 29, 2010
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.
View 12 Replies
View Related
Sep 23, 2010
I just updated my kernel to 2.6.34.7-56.fc13.x86_64 last night and now I have no system sounds. Audacious plays my mp3's just fine, just as all my multimedia works in my web browser, vlc, etc... The only thing being affected is system sounds. I tried playing a sample with aplay and I got loud, crackling nonsense and this output code...
View 4 Replies
View Related
Apr 13, 2009
I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.
View 12 Replies
View Related
May 31, 2009
Keep trying update the packages (36 in total) and every time I keep getting this error
ERROR with rpm_check_debug vs depsolve:
kernel-x86_64 is needed by kmod-nvidia-2.6.26.6-49.fc8-173.14.12-5.fc8.2.x86_64
kernel-x86_64 is needed by kmod-nvidia-2.6.26.8-57.fc8-173.14.12-5.fc8.3.x86_64
Please report this error at [URL]
View 2 Replies
View Related
Jun 22, 2011
I am compiling and installing the custom kernel based on the instructions provided in Building_a_custom_kernel on fedoraproject.org/wiki site.
However, according to the instructions, anytime I change anything in the kernel source files(e.g /driver/ata/libata-core.c), I have to create a patch a rebuild the whole kernel and install this new kernel which takes 2 hours. Is there a simpler way of recompiling what has changed(without creating patch) and try that changed kernel? Since my changes are not in the drivers which can be dynamically loaded but is in the static code of the kernel, it is making life cumbersome.Are there any instructions for this? How does other kernel developers manage this?
View 2 Replies
View Related
Dec 23, 2010
Yesterday fedora automatically updated the linux kernel, and now it wont start entirely up. After the fedora logo has finished loading up the white, and it has turned into the real logo, nothing happens.However, i can boot into fedora with the old kernel via grub, so i guess it is related to the kernel update.
View 14 Replies
View Related
Aug 14, 2009
if this has been mention before I have searched but turned up no results. Running Fedora 11 on a DL 580 with 4 Processors, replacing RHEL 5. RHEL 5 detected all processors and memory. Now that I have installed Fedora 11 its detected it needs PAE kernel but doesn't seem to support SMP. I have tried the standard kernel but thats not detecting the extra cores either. Is this a known issue ? Do I have to compile the kernel to include SMP support or is it just a case of downloading a specifc RPM ?
Details are :- DL580 G2 8GB RAM, 4xIntel Xeons (single cores), Fedora 11 x86.
View 8 Replies
View Related
Jul 25, 2010
What is the difference in a "PAE" kernel, from those without this designation in the name?
View 13 Replies
View Related
Apr 25, 2011
Running F-14. In F-14 USB-3 is disabled due to missing suspend-resume features in the USB-3 kernel driver. This is fixed in later versions of the kernel like the kernel that will be used in F-15.
Is it possible to use this newer kernel from F-15 in F-14?
If yes, then would there be any side effects or undesirable consequences?
View 2 Replies
View Related