LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-02-2016, 05:16 PM   #1
danieljonsson
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
Share your experience of configuring the kernel


Dear Linux user,

We are a group of researchers from Chalmers University of Technology and TU Darmstadt, and we are part of the kconfig-sat project. We are working on adding interactive dependency-resolution support to the Linux kernel configurator xconfig. If you are familiar with configuring the kernel, we would be very thankful if you could take the time to fill out a short survey that will provide data to help us design and evaluate a better dependency-resolution mechanism. Filling out the survey should not take more than 5 minutes of your time.

The survey is available at: http://goo.gl/forms/t5zu5KPN0N

It is possible to fill out the form without a Google account. No names, email-addresses or other identifying information will be collected or published.

Thank you for your time.
 
Old 05-03-2016, 10:41 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Probably a useful project. I personally have been configuring kernels since 1997, I guess I had some difficulties back then. I'm happy using mostly nconfig, running xconfig or gconfig requires extra steps to do remotely. I tried your survey, but most questions didn't make sense to me, sorry.
 
Old 05-04-2016, 11:44 PM   #3
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
I filled out the survey with only rare and minor ambiguity and I,too, routinely build my own and have so since circa 2000. There is less need than there used to be, once true on-demand module loading became a reality, but there are still important advantages, not the least of which is not waiting on repos. Also I very much dislike the added complexity of initrd and as I don't encrypt any file systems, I don't need it at all provided I build my own with hard-wired fs support. I do audio recording and editings and this machine doubles as a DAW so I really do need realtime,. low-latency kernels and just bask in the plusses those afford gaming. There was a time when all my elite IRC buddies frowned on using xconfig, but I used it then and still do since I like having all 3 parts (tree, sub-section and option, and help) showing all at once. Back on 2x kernels I made a script to do it all in order but for about 2 years I've pretty much followed

Alien Bob's Easy Method
 
Old 05-05-2016, 01:30 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I think they need more responses from the "I want it now" gen.
I'm happy to wait for a kernel to compile on a raspberry pi ... :shrug:
 
Old 05-05-2016, 08:32 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,566
Blog Entries: 19

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Sorry, I didn't understand most of it either. What do you mean by issues? I use menuconfig and depend a lot on kernel help. I would give that help system the highest marks in the book; it's the only one I've ever met that tells you not only what an option does but whether you need it or not.

I don't have a problem with dependencies. If some option isn't available, I assume it isn't relevant to my system. I wouldn't go back and start changing other options that I don't really understand, because that way you can screw up badly.

Mainly I just try to pare off everything that I know I don't need so as to get a kernel that loads fast.
 
Old 05-05-2016, 08:39 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
There are dependencies and there are options you may need but they are not displayed because the deps are not met. In make nconfig you can hit F8 to search and it will tell you what dependencies are needed to have the option enabled for you. In make menuconfig you can hit '/' to search, again it will show you dependencies needed. You may need to use arrow right to see all of them.
Next suggestion is to have a look at README file. There are make targets you may not aware of, like make localmodconfig.
 
Old 05-06-2016, 07:46 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
The culmination of my kernel configuration experiences are:

Download source, edit .config file, compile, install and test/run. If I've modified actual code I usually add printk() calls to show that my code is either active or to help me debug it. I do not use the graphical configuration tool. I've taken the time to learn kernel boot options. I do this for custom embedded systems, my desktops I just install full distros and rarely bother modifying the kernel.

Sorry, no time, nor tolerance for surveys; however well versus poorly the survey was made, I did not choose to look. I block scripts, and ads and don't wish to tweak my browser just to do a one-time survey. Many times I find that surveys are also "guided/limited" such that they wish to get answers in a form that follows their agenda.
 
Old 05-14-2016, 04:28 PM   #8
Ryan3
LQ Newbie
 
Registered: May 2016
Posts: 4

Rep: Reputation: Disabled
I usually upgrade the kernel from the repos. If I want to use a kernel higher than what the repos offer, I will then download the new kernel source and untar it. I will then copy the old .config file to use as a template from the previous kernel version and copy it to the new kernel src folder.

I will then use make silentoldconfig which will use the values from the older .config file.

Any new feature of the new kernel that isn't in the old .config file will prompt me for an answer. If I don't know what the feature is because kernels are complex, I will keep the default answer.

I always make sure that certain modules be built-in into the kernel like filesystems, SCSI and SATA disk support.

After that, compile the kernel, make the modules, copy the kernel image and System.map files to the boot directory, modify bootloader and pray all goes well.

Last edited by Ryan3; 05-14-2016 at 04:54 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone have some Android tablet experience to share? Cultist General 5 03-29-2012 11:02 AM
can anyone share RHCE or RHCT exam experience with us? teamgsi Linux - Certification 1 09-05-2009 06:49 AM
it'd be great if all experts are willing to share their experience. htetnaing Linux - Newbie 15 08-20-2008 11:11 AM
Need Some Help In Configuring Hearbeat From Experience Senior!!! Iptables_NEWBIE Linux - Security 4 08-16-2005 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration