View previous topic :: View next topic |
Author |
Message |
MTUser2007 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Feb 2008 Posts: 34 Location: Shepherd, MT, USA
|
Posted: Thu Sep 10, 2009 2:19 pm Post subject: Solved udev & CONFIG_SYSFS_DEPRECATEDNewbie Kernel rebui |
|
|
My recent upgrade to 2.6.30 Gentoo r6 seems to work fine except I see the following error in dmsg:
udev: starting version 141
udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECATED; some udev features will not work correctly
Googling I found this is a known issue and can be solved by:
"> [ 170.441135] udev: deprecated sysfs layout; update the kernel or disable CONFIG_SYSFS_DEPRECATED; some udev features will not work correctly
>
> Is it a bug?
No, disable that option in your kernel, and rebuild it, you should not
be using that configuration anymore."
So I know what I should do, but not how to do it. I am a linux and gentoo newbie. Please can someone explain how to disable that option and rebuild the kernel and reinstall it? I used genkernel to compile the kernel last time.
Last edited by MTUser2007 on Fri Sep 11, 2009 2:33 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raniz l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/734529121659526f988451.jpg)
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Thu Sep 10, 2009 2:35 pm Post subject: |
|
|
You have to reconfigure/recompile your kernel. Check the handbook for how to do it, go with the manual path.
Once you're in menuconfig you should go to General Setup and disable "Create deprecated sysfs layout for older userspace tools" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MTUser2007 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Feb 2008 Posts: 34 Location: Shepherd, MT, USA
|
Posted: Thu Sep 10, 2009 3:53 pm Post subject: |
|
|
Thank you for your help. In following the manual, I have a few questions:
1. after deselecting the option in general setup, and saving the manual says to compile via: # make && make modules_install
Do you need to include anything beyond make if all you do is change an option in the general setup?
2. Next is compiling and installing, as a beginner, I would like to use genkernel, which I have done before successfully. The manual says to:
"Next, copy over the kernel configuration used by the Installation CD to the location where genkernel looks for the default kernel configuration:
Code Listing 4.2: Copying over the Installation CD kernel config
# zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
Now, compile your kernel sources by running genkernel all. Be aware though, as genkernel compiles a kernel that supports almost all hardware, this compilation will take quite a while to finish!"
If already have a pre-existing kernel, don't I already have a "default kernel configuration" that I can use, the old one? So I would skip this step? Or is the problem that my default kernel configuration includes the problem that I am trying to fix, the deprecated sysfs problem that I am trying to fix?
I do read the manual, but it does not seem to answer the questions that come to my mind when trying to understand what I am doing. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raniz l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/734529121659526f988451.jpg)
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Thu Sep 10, 2009 4:05 pm Post subject: |
|
|
There are two ways of compiling your kernel: Manually and using Genkernel.
You should follow either 7c (manual) or 7d (genkernel).
If you're going with genkernel you should run
Code: | # genkernel --menuconfig all |
That will allow you to deselect anything you don't want before genkernel starts compiling. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MTUser2007 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 19 Feb 2008 Posts: 34 Location: Shepherd, MT, USA
|
Posted: Thu Sep 10, 2009 4:47 pm Post subject: |
|
|
Again, thank you for the help. Now it is starting to make sense to me. Using the command you supplied and explained, I can make a new kernel with the option causing problems deselected. I know how to install a kernel compiled with genkernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Raniz l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/734529121659526f988451.jpg)
Joined: 13 Sep 2003 Posts: 967 Location: Varberg, Sweden
|
Posted: Thu Sep 10, 2009 5:33 pm Post subject: |
|
|
Happy to help out! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|