LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-14-2009, 11:27 PM   #1
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Rep: Reputation: 16
[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 05:58 AM. Reason: solved
 
Old 12-15-2009, 02:44 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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 02:45 AM. Reason: spelling
 
Old 12-15-2009, 02:51 AM   #3
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by GlennsPref View Post
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?
 
Old 12-15-2009, 02:58 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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
 
Old 12-15-2009, 03:50 AM   #5
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by GlennsPref View Post
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. :/
 
Old 12-15-2009, 04:10 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Fair enough, patch it and see

if you use make xconfig it should be ,,,, available
 
Old 12-15-2009, 04:59 AM   #7
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Check if your distro has unionfs modules in their repo. Many do. Like Arch.
Also read this nice guide: http://www.linuxchix.org/content/cou...acking/lesson9
 
Old 12-15-2009, 05:28 AM   #8
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by ~sHyLoCk~ View Post
Check if your distro has unionfs modules in their repo. Many do. Like Arch.
Also read this nice guide: http://www.linuxchix.org/content/cou...acking/lesson9
Good idea, I will check, thanks!
 
Old 12-15-2009, 03:30 PM   #9
coffeecoffee
Member
 
Registered: Feb 2009
Posts: 58

Original Poster
Rep: Reputation: 16
figured it out guys: you need to enable config_experimental to be able to see experimental patches like unionfs!!
 
Old 12-16-2009, 06:56 AM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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 06:59 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
menuconfig problem after patching kernel i.you Linux - Kernel 0 09-19-2007 08:25 PM
source tree modification not showing in 'make menuconfig' dohpaz Slackware 14 01-28-2007 01:38 PM
Help with make menuconfig for my kernel. Royle Debian 7 01-21-2007 10:05 PM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
Installing Linux-2.4.20: Make menuconfig, connot find ncurses SparceMatrix Linux From Scratch 3 06-12-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:48 PM.

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