Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-15-2009, 12:27 AM
|
#1
|
Member
Registered: Feb 2009
Posts: 58
Rep:
|
[SOLVED] Patching kernel source, cannot find in make menuconfig (unionfs)
Hi
I need UnionFS support in my kernel. So I downloaded the .diff patch from the website (aligned for the same kernel number) and did
Code:
patch -p1 << xyz.diff
The whole process seemed to work, with no error messages displayed, and new code for unionfs in the /usr/src/linux/fs directory.
However, when I run make menuconfig, I do not see the new unionfs option. So I tried make oldconfig but it did not prompt for any new options... am I missing a step here?
Any help appreciated,
Thanks
Last edited by coffeecoffee; 12-20-2009 at 06:58 AM.
Reason: solved
|
|
|
12-15-2009, 03:44 AM
|
#2
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,686
|
Hi, It's possible your kernel already has the configuration applied, but maybe not selected.
Yes, I agree, make oldconfig should have offered the corrections, but if they are in there already, then you may need to carefully, go through the config.
Keep trying, there may be a package that needs updating, as well.
Regards Glenn
Last edited by GlennsPref; 12-15-2009 at 03:45 AM.
Reason: spelling
|
|
|
12-15-2009, 03:51 AM
|
#3
|
Member
Registered: Feb 2009
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by GlennsPref
Hi, It's possible your kernel already has the configuration applied, but maybe not selected.
Yes, I agree, make oldconfig should have offered the corrections, but if they are in there already, then you may need to carefully, go through the config.
Keep trying, there may be a package that needs updating, as well.
Regards Glenn
|
Thanks for the reply. The kernel I am using is a vanilla kernel, and unionFS definitely isn't part of the standard kernel yet. I did a search through the .config file but the CONFIG_UNION_FS is not found in there.. I think I am doing something wrong. Perhaps its because my kernel has r6 after the kernel version, maybe it is incompatible?
|
|
|
12-15-2009, 03:58 AM
|
#4
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,686
|
If you are using, or wanting to use the latest kernel, then download it from here.
http://www.kernel.org/
It is vanilla, about 50Mb's and will contain the unionfs, (I've seen it mentioned in 2.6.3xxx)
But you're probably better to wait till your repo comes up with a version that fits.
The problem with most distros now, is they don't keep track of source installs.
That can cause problems later.
Regards Glenn
|
|
|
12-15-2009, 04:50 AM
|
#5
|
Member
Registered: Feb 2009
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by GlennsPref
If you are using, or wanting to use the latest kernel, then download it from here.
http://www.kernel.org/
It is vanilla, about 50Mb's and will contain the unionfs, (I've seen it mentioned in 2.6.3xxx)
But you're probably better to wait till your repo comes up with a version that fits.
The problem with most distros now, is they don't keep track of source installs.
That can cause problems later.
Regards Glenn
|
Thanks, however unfortunately unionfs is not included with any standard Linux kernel yet, even the latest. The only way to use unionfs is to patch your existing kernel, or download an already patched one. :/
|
|
|
12-15-2009, 05:10 AM
|
#6
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,686
|
Fair enough, patch it and see
if you use make xconfig it should be ,,,, available
|
|
|
12-15-2009, 06:28 AM
|
#8
|
Member
Registered: Feb 2009
Posts: 58
Original Poster
Rep:
|
Quote:
Originally Posted by ~sHyLoCk~
|
Good idea, I will check, thanks!
|
|
|
12-15-2009, 04:30 PM
|
#9
|
Member
Registered: Feb 2009
Posts: 58
Original Poster
Rep:
|
figured it out guys: you need to enable config_experimental to be able to see experimental patches like unionfs!!
|
|
|
12-16-2009, 07:56 AM
|
#10
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,686
|
Glad you found it, I have been scratching myself trying to figure why it is sooo difficult.
Cheers, Glenn, and thanks for the solution.
Please mark your thread as "Solved"
Last edited by GlennsPref; 12-16-2009 at 07:59 AM.
|
|
|
All times are GMT -5. The time now is 05:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|