General :: Kernel Configuration For C / C++ Program

Apr 15, 2011

I am writing a C program (recovery utility) that needs to run at boot. I have found my way into this (booting a kernel) and now I want to configure the kernel so that it doesn't take a lot of space and compile fast so that I can edit the source afterwards and make it run my program on the kernel's startup.for the least size. The only thing this program needs is reading and writing files in all of the local hard disks (and some standard libraries such as stdio.h and stdlib.h) so I can keep the kernel simple by removing a lot of stuff such as networking, encryption algorithms and others. What would be the best configuration for this, so that it is really small in size? Should I simply start a new configuration and then only select things that I need, or should I take the "default" configuration and start removing things? What options are a MUST to make the kernel run?

View 1 Replies


ADVERTISEMENT

General :: Time Oriented Program In Kernel Space?

Jan 28, 2010

I have written a programme in gcc

#include <time.h>
#include <stdio.h>
int main(void)

[code]...

View 2 Replies View Related

General :: Possible Kernel Configuration Option ?

Jul 20, 2011

I have had Linux running in our product that has several serial ports.(Another Ethernet to Serial port translator). It has been running OK for about 6 years, using kernel 2.6.11, then 2.6.18. Now I just got 2.6.39.1 running and suddenly I get these "I/O Possible" messages and my programs shutdown. I found elsewhere that the cure for this is to put a "signal(SIGIO, SIG_IGN)" call to stop this signal from crashing the program. This works, but I would really like to know the reason that this started happening in the first place.

Could there possibly be a 'config' option I missed that causes this? It just surprises me that the kernel writers would implement something that has such a large impact on the existing code base, causing anyone using serial ports, or anything else that might trigger a SIGIO, to have to edit, recompile, and redistribute their programs.

How to change the kernel behavior, short of going in and hacking the kernel. Or at least an idea as to why they would have changed the default behavior.

View 1 Replies View Related

General :: Configuration Of New Kernel For Redhat?

Feb 18, 2011

how to install new own kernel in Redhat 5. Can i install Debian kernel in redhat ?

View 2 Replies View Related

General :: What Does Kernel Entry In Grub Configuration File Mean

Jun 17, 2011

I have looked at the GNU GRUB Manual 1.99 at [URL] but I cannot find an explanation of what the kernel entry / command in the grub.conf file means. I get what's the meaning of that entry but where is described what it actually is and what are proper.

I suppose this entry / command was actual in GRUB Legacy, but I cannot find where it is described...

View 1 Replies View Related

General :: Configuration - Obtain Kernel Config From Currently Running System?

May 23, 2011

I accidentally deleted my .config for my kernel configuration on Linux, and seem to remember there was a way to retrieve the kernel configuration via the proc filesystem somehow. Is this still possible, and if so how would I do it?

View 1 Replies View Related

Debian Configuration :: Is It 64bit Kernel Or 32bit Kernel Optimized For Amd64 Architecture?

Jan 24, 2010

I recently installed debian squeeze 32bit on a second partition of my amd athlon 64 X2 dual core machine.Currently it is using linux-image-2.6.32-trunk-686 kernel.But linux-image-2.6.32-trunk-amd64 is available.on the repository.Is it a 64bit kernel or 32bit kernel optimized for amd64 architecture?

View 12 Replies View Related

Debian Configuration :: Update My Kernel From 2.6.32 To 2.6.38 - Error - Unable To Boot Into The Kernel

May 13, 2011

I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".

View 1 Replies View Related

Debian Configuration :: Nvidia Kernel Module With Custom Kernel

Jan 24, 2010

I have a problem with my custom kernel when I want to create the Nvidia kernel module.After this finished I installed the image and headers and created the Nvidia kernel module. Everything worked fine.However, if I remove the linux-source from my home directory then I can't create the kernel module.Even though I have the headers for the kernel installed.

View 2 Replies View Related

Debian Configuration :: Squeeze D-u - Kernel Configuration Skipped

Jul 6, 2010

I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.

I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.

I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.

So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.

However, just in case someone else runs into this:

1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.

2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)

View 14 Replies View Related

Debian Configuration :: Startup Program Screen Too Small?

Oct 10, 2015

The "System Settings/Startup Programs" window is large enough but the "Program" column is too narrow and it cannot be resized. The window can be dragged to make it larger but not the individual columns. It looks like a Java listbox with "Enabled = false" set. This occurs in Debian8 64 bit and also in Mint 17 and Mint LMDE2. I am surprised nobody else has raised the issue. I have a basic setup with 22" screen and 1680 x 1050 resolution. It occurs with Nouveau and NVidia drivers. It is not a critical bug so I have coped with it for 2 years but it would be nice to see it fixed. Unfortunately I could not upload a screen shot as "board attachment quota has been reached".

View 2 Replies View Related

Debian Configuration :: Choose Which Network Interface A Program Uses?

Jan 29, 2011

Suppose I have both a hardwired and a wireless network connection active on the same system at the same time. Can I tell my browser which one to use? Can I tell other programs which one to use? Or do they choose for themselves> Or does some automatic system protocol select which one to use for them?

View 5 Replies View Related

Debian Configuration :: Aptitude-gtk - How To Install And Start The Program

Mar 4, 2011

I have downloaded the package but i dont know how to install and start the program.

View 10 Replies View Related

Debian Configuration :: Restart From Suspend - How Can Autorun A Program?

Jul 12, 2011

Now Debian6 suspend and rstart is all ok!

Auto start a program with login is ok.

How to auto start a program with debian suspended and restart ?

Maybe with gdm3 or NIC....?

How can I catch a event to auto start my program?

View 1 Replies View Related

General :: Make A Script To Open A Program Then Operate Within That Program?

May 7, 2010

I am new to linux and am trying out script writing. I am using shell. How can I make a script to open a program then operate within that program?

View 5 Replies View Related

Debian Configuration :: Import My Contacts List Into This (new For Me) Email Program?

Oct 16, 2010

Is there a way to import my contacts list into this (new for me) email program?

View 1 Replies View Related

Software :: Make A Web-based Interface For User Configuration Program?

Feb 9, 2010

I currently doing a network emulator program and the features must includes the web-based interface for user configuration. I able to run my program through command line. But I would like to ask how to associate my program to web-based interface for user configuration?

View 8 Replies View Related

Ubuntu :: Installed Corectly The Program, But When Start It, It Starts To Integrate To The Kernel?

May 12, 2010

installed corectly the program, but when I start it, it starts to integrate to the kernel, I got error and this is the log.

Code:
May 12 16:04:07.612: app-139838623995648| Log for VMware Workstation pid=25181 version=7.0.0 build=build-203739 option=Release

[code]....

View 9 Replies View Related

Debian Configuration :: Need Kernel Between 2.6.26 And 2.6.32

Dec 7, 2010

On Lenny, due to some compatibility issues: kernels before 2.6.26 don't recognize part of my vaio laptop's hardware, while the last drivers of my videocard (version: 260, card: nvidia gt 230m) suffer some incompatibility problem (this is one of the most problematic computers I ever had), so I have to use version 256, which doesn't work with kernels after (perhaps) 2.6.32. So, I suppose I have to check each kernel between that two versions and hope that one of them will be ok. I searched quite deeply over the net but didn't find anything related to debian, except for generic kernels [URL], but as someone told me that it's better if I only install stuff from the stable repository or backports. What can I do? Is there any backports archive or something like that? Otherwise, what should I do?

View 5 Replies View Related

Debian Configuration :: Dual-Booting To XP - Busted - Program Phone Using VirtualBox Or Wine

May 30, 2010

I haven't used my XP partition for two years, but recently found that I could not program my phone using VirtualBox or Wine. So I tried booting to XP but it just comes up with a flashing cursor. update-grub2 and it sees the part, but same problem.

[Code]...

For some reason I'm suspicious of the Winduhs boot files, but I've run fixboot and the boot repair utility in Winduhs. Do I have to reinstall Winduhs?

View 14 Replies View Related

Fedora Installation :: 14 - Install Program Make An Addition To The Existing GRUB Configuration?

Mar 7, 2011

I've just got another sata HDD and thought lets put in a nice install of Fedora 14 having tried out the live CD over the weekend. Right my system is configured thus

[Code]...

will Fedora 14's install program make an addition to the existing GRUB configuration or will it do something different Yes I have searched.... and looked at the installation documents....

View 14 Replies View Related

Ubuntu :: Program Kernel Modules And Smoothly Transition In Device Driver Programming?

Apr 27, 2011

i am trying learn to program linux kernel modules and smoothly transition in device driver programming. I have a year and a half worth of programming in C and have been using linux for years!! But my question is how do i compile a module? I got as far as coding it but am stuck as of now.

View 2 Replies View Related

General :: Connect A Jsp Program With A Java Program?

Apr 30, 2010

I have a jsp code. After executing that code, a Java program should be executed without refreshing the page. that is, my first page is a login page which is in jsp. After logging in the next page must be displayed which is a Java code. is that possible? Can we use applet for that?

View 1 Replies View Related

General :: Create A Program File For A New Program?

Mar 8, 2011

How do I create a program file for a new program?

View 1 Replies View Related

Debian Configuration :: Add New AMD PCI-IDs To Kernel Module

Jul 9, 2015

I recently bought an AMD R7 360 videocard and I'd like to use the free Radeon driver.

Problem is, PCI-ID 0x665f is not present in Jessie's 3.16 kernel sources. The hardware however is supported, it's just not recognized. So I'll have to get the Debain sources and patch include/drm/drm_pciids.h

From the 4.1rc1 kernel I know what to patch and where.

Debian page that explains how to use the Debian build system for recompiling the current kernel from Debian packages?

View 6 Replies View Related

Debian Configuration :: Kernel Not Updating To 3.16

Jul 26, 2015

Upgraded Wheezy to Jessie, by changing my apt sources to point at stable instead of wheezy. Ran upgrade, and dist-upgrade, all fine etc.

Then tried to update the kernel by installing linux-image-amd64 package .. seemed to work fine, but after a reboot my kernel version still says 3.10.23

What have I missed?

Code: Select allroot@hostname:~# apt-cache search linux-image
linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
linux-image-3.16.0-4-amd64 - Linux 3.16 for 64-bit PCs
linux-image-3.16.0-4-amd64-dbg - Debugging symbols for Linux 3.16.0-4-amd64
linux-image-amd64 - Linux for 64-bit PCs (meta-package)

[Code] .....

View 6 Replies View Related

Debian Configuration :: Kernel Upgrade 2.6 -> 3.16

Sep 24, 2015

I have a MyBookLive where i installed a Debian 2.6 kernel. The system is running fine so far. Because of an error message when apt-get upgrade (udev) i tried to upgrade to 3.16. Here's what i did:

- apt-get install linux-image-xx
- apt-get install linux-source-xx
- extract the source
- copied the old .config from running 2.6 kernel over to the 3.16 directory
- make oldconfig
- make uImage
- make modules
- make modules_install
- copied uImage to /boot

No error messages because its a headless device - its just not booting up.

View 2 Replies View Related

Debian Configuration :: Kernel For Virtualization ?

Apr 12, 2010

I was wondering if anyone can assist me. I am looking to build a server with Debian as the host. When I installed Debian (Squeeze) the default kernel was "2.6.32-3-trunk-amd64". When I tried to install 'Virtualbox' application, I got a failure because I didn't have the 'kernel-headers' installed on my machine. I noticed there are no specific header package the 'trunk' kernel I was using. I have a few questions so I guess I should begin:

Is it safe to remove the 'trunk' kernel and boot my system on just the regular 2.6.32-3-amd64 kernel? Is this OK or not recommended? Please explain whatever is the correct answer. This is my 1st time using a 'Trunk' kernel so I don't know the in's and out's of it.

If I am using Debian 'Testing' for virtualization via 'Vbox', is there a specific kernel I "should" be using?

View 12 Replies View Related

Debian Configuration :: New Kernel Cannot Start ?

Sep 10, 2010

I have maked a new kernel (version is 2.6.24.7) in debian system which kernel is 2.6.26, and then when i start the new kernel which is 2.6.24.7, it tells me that:

View 1 Replies View Related

Debian Configuration :: Installing With A Later Kernel ?

Sep 10, 2010

My girlfriend got a 'new' (second hand) laptop, a HP Compaq 6715s. When I tried to install Debian on it, the install went immensely slow - glacial, even. It was a very minimal install but it tooks hours to get to nowhere.

I found out online that this was because of a problem between the current kernel and the hard drive (or HD bus, something hardware-y to do with the disk) which meant file operations were extremely slow. I thought "easy, patiently install Debian and then install newer kernel". Except that after six hours, the install wasn't even halfway.

So I install Arch Linux with the 2.6.35 kernel: no problems with the drive speed at all. After a lot of researching (I only played around with Arch once, more than a year ago) I got the system into a usable state. But now wlan0 has suddenly disappeared, together with some other problems - and a usable laptop wasn't exactly what I had in mind, it was supposed to be awesome (or at least good). Which, with Debian, it would be

So... is it possible to make a Debian installation use a later version of a kernel? I'd want to install Debian with the 2.6.35 kernel, not install Debian and then afterwards update the kernel (because I don't have 24 hours to install an OS, if it'll ever even install).

I've found some stuff online but it might well have been written in the Cyrillic alphabet. All I understand, I think, is that in theory it's possible.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved