CONFIG_SYSFS_DEPRECATED & CONFIG_SYSFS_DEPRECATED_V2 appear to notwork

From: Steven Haigh
Date: Thu Oct 18 2012 - 02:35:05 EST


Hi all,

Firstly, please CC me in replies as I am not subscribed to the list.

I'm trying to build kernel 3.5.4 and 3.6.2 to work with EL5. Each time I try to boot this kernel, I get a panic stating it can't find /

The same kernel config works correctly in EL6 (without the CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 options set)

The documentation I have found states that for compatibility with EL5, I should enable the CONFIG_SYSFS_DEPRECATED and CONFIG_SYSFS_DEPRECATED_V2 options in General Setup.

I have done this as shown:
# grep SYSFS /boot/config-3.5.4-4.el5xen.x86_64
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
CONFIG_WIRELESS_EXT_SYSFS=y
CONFIG_ISCSI_BOOT_SYSFS=m
# CONFIG_GPIO_SYSFS is not set
CONFIG_VIDEO_PVRUSB2_SYSFS=y
CONFIG_RTC_INTF_SYSFS=y
# CONFIG_DMI_SYSFS is not set
CONFIG_SYSFS=y

The system however does not boot. I have also tried passing
"sysfs.deprecated=1" on the kernel line in grub with no success.

I cannot seem to find anything further that could cause this issue other than a fault in these kernel options.

I have added a few attachments (kernel config, screenshot of panic) which I won't attach to the list:
https://bugzilla.kernel.org/show_bug.cgi?id=48991

Can anyone much wiser than me assist here? How can I help debug this further?

--
Steven Haigh

Email: netwiz@xxxxxxxxx
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature