Bug 710124 - Remove CONFIG_SYSFS_DEPRECATED from rt-vanilla config
Summary: Remove CONFIG_SYSFS_DEPRECATED from rt-vanilla config
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: realtime-kernel
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.0.2
: ---
Assignee: Luis Claudio R. Goncalves
QA Contact: David Sommerseth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-02 13:45 UTC by David Sommerseth
Modified: 2016-05-22 23:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: CONFIG_SYSFS_DEPRECATED config was enabled by mistake during the test phase - it was necessary in RHEL5. Consequence: Some userspace tools (such as udev) are confused as they rely on the newer sysfs layout and the option above forced the old style sysfs layout to be used. Fix: disable CONFIG_SYSFS_DEPRECATED in the configuration file for kernel-rt-vanilla. Result: System works fine, without the warnings and errors caused by the presence of CONFIG_SYSFS_DEPRECATED.
Clone Of:
Environment:
Last Closed: 2012-03-16 14:24:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description David Sommerseth 2011-06-02 13:45:08 UTC
When booting kernel-rt-vanilla-2.6.33.9-rt31.66.el6rt, the following errors are found:

udevd[1140]: udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly 
<3>udev: missing sysfs features; please update the kernel or disable the kernel's CONFIG_SYSFS_DEPRECATED option; udev may fail to work correctly

When checking the kernel config, the following options were found:

$ grep SYSFS config-vanilla-x86_64 
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_GPIO_SYSFS=y
CONFIG_RTC_INTF_SYSFS=y
CONFIG_SYSFS=y

Comment 1 David Sommerseth 2011-06-02 13:45:44 UTC
lclaudio confirms to have fixed the config file for the next build.

Comment 2 Luis Claudio R. Goncalves 2011-07-18 14:16:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: CONFIG_SYSFS_DEPRECATED config was enabled by mistake during the test phase - it was necessary in RHEL5.
Consequence: Some userspace tools (such as udev) are confused as they rely on the newer sysfs layout and the option above forced the old style sysfs layout to be used.
Fix: disable CONFIG_SYSFS_DEPRECATED in the configuration file for kernel-rt-vanilla.
Result: System works fine, without the warnings and errors caused by the presence of CONFIG_SYSFS_DEPRECATED.

Comment 3 Clark Williams 2012-03-16 14:24:22 UTC
Closing as CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.