Slackware :: Config PREEMPT_VOLUNTARY Bool "Voluntary Kernel Preemption (Desktop)"?

Apr 6, 2011

I found in one thread a note about some kernel config parameters which should be used by servers.

Code:
config PREEMPT_VOLUNTARY
bool "Voluntary Kernel Preemption (Desktop)"

[code]....

View 14 Replies


ADVERTISEMENT

Slackware :: Slap DVD Laptop Kernel Config

Sep 8, 2009

This is my first effort in making something more appropriate for laptop users (exclusively). This is a kernel config for 2.6.30.5. I started with the Slackware Generic-SMP 32bit kernel config (this is a 32bit kernel config). All credit for (in my opinion) the best starting place for any kernel config goes to Patrick Vokerding. (Please tell me if I am or am not doing this properly in terms of respecting the work of others, GPL, GNU, etc.)

View 14 Replies View Related

Slackware :: Compiling Kernel 2.6.38.6 - Config Debug Section Mismatch

May 11, 2011

Anyone able to compile kernel 2.6.38.6 on Slackware 13.37 successfully using the config from testing/2.6.38.4? I was able to get .4 and .5 to compile successfully, but with .6 I get the following after running "make modules".

Code:
WARNING: modpost: Found 11 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
Running "make CONFIG_DEBUG_SECTION_MISMATCH=y 2>&1 > outfile" gives me a bunch of WARNINGS as follows:

Code:
WARNING: vmlinux.o(.text+0xe656a): Section mismatch in reference from the function build_all_zonelists() to the function .meminit.text:setup_zone_pageset.clone.56()
The function build_all_zonelists() references
the function __meminit setup_zone_pageset.clone.56().
This is often because build_all_zonelists lacks a __meminit
annotation or the annotation of setup_zone_pageset.clone.56 is wrong.....

WARNING: drivers/watchdog/nv_tco.o(.devinit.text+0x14): Section mismatch in reference from the function nv_tco_init() to the function .init.text:nv_tco_getdevice()
The function __devinit nv_tco_init() references
a function __init nv_tco_getdevice().
If nv_tco_getdevice is only used by nv_tco_init then
annotate nv_tco_getdevice with a matching annotation.

View 14 Replies View Related

Slackware :: Compiled A 2.6.35 Kernel With A Couple Of Different .config Files And Never Had It Boot Properly?

Oct 14, 2010

The new 2.6.35.7 kernel fails to boot on my Lenovo laptop. I had previously compiled a 2.6.35 kernel with a couple of different .config files and never had it boot properly. The failure occurs very quickly and I am including the final screenshot in case that helps.

View 7 Replies View Related

Slackware :: Vbox Guest Additions - Proprietary Version - Fail With - Currents New Kernel Config

Mar 11, 2010

Experienced that building the vbox guest additions (on the binary/non-free vbox) on a slackware --current guest (with windows *and* linux as a host) fails now with the new kernel's just released in --current?

View 7 Replies View Related

Slackware :: How To Save Needed Modules Config To Create .config?

Apr 9, 2011

I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.

My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)

View 5 Replies View Related

Programming :: Preemption And Scheduling Of Pthreads

Feb 10, 2010

i think we can simulate preemption by using 2 different priority thread, am i true? I just try these scenario :
1. Create Thread A with priority 99 , SCHED_FIFO..
2. Create Thread B with priority 4 , SCHED_FIFO

Thread A started and doing some busy work.. I guess that Thread B wouldn't start until thread A finished, but I get thread B can run before Thread A finished (It just like a common task switching).. I'm sure my 2 thread has right priority. and if thread B is doing some work and if i yield it to thread A, it should preempt it but this doesnt happen, do someone kno wats happening?

View 1 Replies View Related

General :: Extracting Kernel Config From Kernel Image -- Extract-ikconfig

Jan 22, 2010

I'm trying to run extract-ikconfig because I've mistakenly deleted an old kernel config that I'd like to recover. However, when running the script from the latest (2.6.32.5) tree I run into this error:

Quote:

ERROR: Unable to extract kernel configuration information.

This kernel image may not have the config info.

Coincidentally, this happens with all of my kernel images. Is it a fixable problem? I should really set CONFIG_IKCONFIG_PROC next time..

View 1 Replies View Related

Programming :: Invalid Conversion From Bool?

Jul 18, 2011

Dear Advanced c/g++ on boost programers: I have copied and testd a simple (Copy a file with Boost) program from page 372, Example10-10, book(C++ cookbook)

[Code]...

View 3 Replies View Related

Programming :: C Bool Return Values Conventions

Oct 30, 2010

I have a function that returns a boolean value, True of False. Is there any convention whether 0 = False or 0 = True? It should be obvious, 0=False, 1=True. However programs usually return 0 on success and reserve higher numbers for error values. I.e. if the program finishes successfully (function int main() finishes successfully ), it returns 0 - and that contradicts that 0 should be false.

And especially if I want a function to do some computations on parameters passed by reference and return success status. Should it return 1 (true) for success, or should it return 0 for success - like any Unix program does?

Is there any convention for this?

View 1 Replies View Related

Software :: GUI Kernel Config

Feb 9, 2009

I have Mandrake 9.0 with 2.4 kernel, this comes with a GUI kernel config, its a nice feature as it details each kernel item. I installed a Mandriva 2009 edition w/2.6.27 kernel and want to add the GUI kernel config, does anyone know of a package to do this

View 3 Replies View Related

Fedora :: F12 2.6.33 Kernel .config For Menuconfig

Mar 14, 2010

I'm experimenting with 2.6.33-ck1 mainly because I want to try the BFS. I successfully configured and installed the patched kernel, but I'm experiencing various problems on the desktop. The biggest is Chromium not working at all, but there are several others, including graphical glitches in firefox. I'm sure I left some important module off or made a mistake for some settings My question is that is there a 2.6.33-fc12 kernel yet, and does it have a .config available? I'd like to load those settings in menuconfig and use them as a starting point to properly configure and complie a -ck patched kernel.

View 1 Replies View Related

Fedora Servers :: Kernel .config For A VPS?

Jun 20, 2011

have a sample kernel .config, so I can compile a small custom kernel on my vps? I tried to make it alone,but I removed stuff,so that my VPS won't start anymore. Virtualization is KVM, running on a Core 2 Duo.

View 3 Replies View Related

Ubuntu :: What Is Actually Used And Needed In Kernel Config?

Jun 4, 2010

I would like to compile my own kernel. I am familiar with how to do it and have done it in the past so I'm not looking for a how to compile a kernel. In the kernel config are many, many options. In the past when I compiled kernels I always wondered about what is needed and used. What is the best way to determine what is currently used, not set or enabled in the existing config, but actually used by my existing kernel?I have a general idea of what is loaded and could do trial and error, turn this and that off, recompile, etc but is there an easier way?

View 3 Replies View Related

Fedora :: Override .config When Building Kernel Rpm?

Jul 14, 2011

I am using FC15.I need a kernel with a different configuration - with the "Preemptible Kernel (Low-Latency Desktop)" option in the Processor Type and features menu. I need this to support my firewire audio device. I would like to build a new kernel RPM from the SRPM so that i can keep a clean system with RPMs for all files, and I don't really want to manually override the kernel bypassing RPM.I am following **exactly** the process described there - I install the SRPM, unpack the source, then use the starting sample config files in the BUILD folder to create a new customised .config file with the new option, then copy this back to the SOURCE folder.

This works perfectly if I make a standard kernel. But I cannot get the process to work if I change the config file. Every time I compile I end up with exactly the standard kernel -- a vanilla i686 kernel, without my custom config.I believe the problem is that when I run rpmbuild to compile the kernel, this process overwrites my config option. I found that there is a script (merge.pl) which creates new config files dyanmically for all kernel options based on fragments in the SOURCE folder. It looks like the script never uses the config file that I am putting into the SOURCE folder.The wiki page suggests using this command to copy my custom config file cp .config ~/rpmbuild/SOURCES/config-`uname -m`

View 2 Replies View Related

Hardware :: Running System To Kernel Config

Sep 21, 2010

I've read about some sort of tools that help with kernel configuration.Can anyone tell me anything about these?It seems that you use the tool(s) on a running system. You use the running system for a while. The tool(s) gathers data and leaves bread crumbs. The tool(s) then process the bread crumbs to create a candidate config file for a fresh kernel build. The goal is a kernel build that contains parts you actually use and omits parts you don't use or don't need -- all the while using arcane knowledge of dependencies among various kernel features to (hopefully) avoid building a still-born kernel.

View 6 Replies View Related

Security :: How To Enable And Config Auditd In Kernel 2.6.9-5.EL

Mar 14, 2010

Anyone can tell me how to enable and config auditd in linux kernel 2.6.9-5.EL. I have only found command auditd and auditctl in server that run kernel 2.6.9-5.EL. I ran auditd & and can saw auditd ran in my server. But I couldn't do anything with auditctl, no status, no rules, nothing :| . I tried to find audit.rules or auditd.conf but that nothing I can find.

View 1 Replies View Related

General :: Remote Desktop Config?

Mar 18, 2011

I've enabled Remote Desktop through the GUI and am able to connect using VNC. However when I reboot the VM I lose that config until I go back into the configuration, type in the password again, and close it. Then I can VNC to it. I verified vncserver is in the start list.

View 2 Replies View Related

Slackware :: Where Is The Config File For Tty

Jan 1, 2011

i've been wondering what's up with the tty's in slack. [ctrl]-[alt]-[f1-f5] don't seem to work for CLI consoles, and [ctrl]-[alt]-[f8-f10] don't work for X. where's the config file to change this?

View 2 Replies View Related

OpenSUSE :: Virtualbox Problems (Error Kernel Headers For Kernel 2.6.34-12-desktop Cannot Be Found At)?

Jan 2, 2011

I'm just installed OpenSuse 11.3 (64) on a 30gb SSD, hoping to get virtualbox 4.0 running to virtualize an instance of Windows 7.I went through some pain with my Nvidia video card and actually getting vb to install, but through lots of searching and tinkering got here.I created a vm in the vb control panel, but when I go to start it I get:

Code:
Failed to open a session for the virtual machine Win7Main.
The virtual machine 'Win7Main' has terminated unexpectedly during startup with exit code 1.

[code]....

View 9 Replies View Related

Debian Configuration :: Use Existing Config When Upgrading Kernel?

Mar 11, 2016

Can I use the config for my current kernel (the jessie 3.16 one), and use it to build a more recent kernel (3.18)? Do I just copy across the config and try and build with it, or is there some tool that will bring across the existing config but also set up reasonable defaults for any new options in the newer kernel, and any other migrations that might need to be applied?

View 4 Replies View Related

Debian Configuration :: Automatic .config Generator For Kernel 2.6.33.4?

May 16, 2010

I'm recompiling my kernel on a dell latitude c600 running lenny as I type, and it's taking forever, so far upward of 4 hours.I think I'm getting drivers for ever piece of computing hardware since the univac So I googled "a kernel conf creator" and got [URL]... Its a nice, clean method for finding what hardware your using... you just run lspci cpuinfo make xconfig and put in all the info yourself. So I was thinking: this is exactly the kind of dull, repetitive behavior that computers were made for. Is there a program that can find my hardware info, and make the.config itself, with very little user input?Or should I reinstall debian on another partition and steal the .config from it? Or should I man it up and do it myself?

View 14 Replies View Related

Fedora :: Subject - Modify Only Parameters In Kernel Config

Aug 28, 2009

I want to start to play with "homemade" kernels. (To get some experiences in this subject). I want to do this step-by-step. I have already read a lot about this. I have a Fedora 10 running. So I want to start with this. I have read that there is a "special" way to create a kernel for Fedora. [URL] OK. I understand this +/-. When you build a new kernel with an other version number, you have to rebuild all the modules with this new kernelversion, and you have to install these also.

But : I want to start with modify only some parameters in my kernel config. Do I need to rebuild and re-install the modules also? Will it not be enough to rebuild only the kernel? (vmlinuz) Where can I find some information about the options I can disable in my kernel to speedup my system? (boot process ed). I want to suppress the loading of unneeded modules. I want to understand the options in menuconfig (and there are a lot of options ! ! )

View 1 Replies View Related

Fedora :: Get A Proper Config To Compile A Vanilla Kernel?

Jun 29, 2011

Im using a Fedora 15 and im trying to compile a 3.0.0rc5 kernel. but im unable to get a config for my machine to boot up. i tried make localmodconfig it says

using config: '.config'
capifs config not found!!
Restart Config

and then i tried cp /boot/config-2.6.38.6-26.rc1.fc15.i686.PAE .config to override the default config but stil that doesnt work. work around to get a proper config so that i can boot the latest kernel here?

View 1 Replies View Related

OpenSUSE Install :: Extract A Config From Running Kernel

Oct 17, 2010

I'm looking to extract a config from a working kernel..that much was pretty easy..all ya gotta do is "cp /proc/config.gz ." which will put it in whatever directory you're currently in and then do a "gzip -d config.gz" to get the config file.

Now...after that it gets a bit tricky..Linus says you should never compile a kernel in /usr/src/ because those header files in ../include should never change. He says you should extract a new kernel gz in your home directory and compile it there. I tend to agree (who am I to argue?). Anyway..whereever your sources are this is where you need to copy the config file...

Like this...my home dir is "/home/dart". So I would put the kernel sources there under "/home/dart/linux". I would cd to /home/dart/linux and do "cp /proc/config.gz ." then "gzip -d config.gz" which should leave you with a file called "config", then "mv config .config"

Now here's where I run into a problem..when I do "make xconfig" I get this...

Tried to install the qt3-devel packages from CD but guess what? I ran into cdrom errors which is what I was trying to fix in the first **** place...catch 22 eh?

View 5 Replies View Related

Fedora :: Recover .config After Building Customized Kernel

Oct 18, 2010

Supposed I have built customized kernel rpm four times in a row and the latest built kernel failed. If I still have all four kernel.xxx.rpm files, is there any way that I could get back the .config file used for each of those four builds? I really could not recall exactly what changes I had made in .config for each build.

View 3 Replies View Related

Ubuntu :: Match Custom Kernel Config To Laptop?

Feb 17, 2010

How do I discover which kernel config parameters are important for my laptop hardware and frequently used applications? I'm not looking for something that is 100(...)% optimized for my hardware. I would prefer to have modules for everything that I don't use at all or often. I would prefer to avoid modules (built-in) for things that I use all the time but then any updates might mean a kernel rebuild. I'm currently running the generic PAE edition of the repository kernel. I think that I'm running the 32-bit flavor at that.

Code: user@host:path$ uname -a Linux mumbles 2.6.31-19-generic-pae #56-Ubuntu SMP Thu Jan 28 02:29:51 UTC 2010 i686 GNU/Linux I know the following from sysinfo

[Code]....

View 7 Replies View Related

OpenSUSE Install :: Time Wrong In XEN Kernel But Right In Desktop Kernel?

Feb 11, 2010

I have a system running openSUSE 11.2 with Desktop and XEN kernel, as well as Windows 7 (not by choice though...). I have noticed a strange time issue, with Windows 7 and the desktop kernel the time is correct (like for example now: 1:32 PM) but in the XEN kernel it is ahead several hours (6:32 PM). If it was an issue between openSUSE and windows then I would think that it is a problem with the system clock but I don't know what would cause a time issue between kernels like that.

View 6 Replies View Related

OpenSUSE Install :: Differences Between Kernel Default And Kernel Desktop?

Jul 21, 2010

differences between Kernel Default and Kernel Desktop? I've found some past threads like this link and this other link, and some other google info, which suggest the only difference would be the io scheduler. Also, I see the default grub choice is "Desktop" and not "Default", so I take this as a suggestion to prefer one over the other.

However, my broadcom 4312 wireless only works on the "default" and not on the "desktop" kernel, so I guess there must be other differences. I just want to evaluate which one is the less long-term risk option to go.

View 1 Replies View Related

OpenSUSE Install :: Where Are The Desktop Config Files Kept

Sep 25, 2010

I just re-installed 11.3 KDE. I kept my old /home directory on a USB drive. Now I would like to replicate my panels. Where are the desktop config files kept?

View 7 Replies View Related







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