[quote]
vanecka wrote:
Edit your .config file with a text editor and add/modify entry:
CONFIG_SYSFS_DEPRECATED_V2=y
[/quote]
Thank you. You are a genius. It immensely helped. :-)
I was able to build and boot kernel 2.6.32-4 with that change applied.
Please help on patching & compiling Kernel...
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Please help on patching & compiling Kernel...
[b]vanecka[/b],
You are due a [i]gold star[/i] for that observation. :-)
As I mentioned to [b]toracat[/b] in a private communication, you posted at just the right time -- as I was just about to have a concerted effort in resolving the issue this afternoon. It was a case of "not seeing the wood for the trees" --
[code]
$ grep CONFIG_SYSFS_DEPRECATED_V2=y /usr/local/kernels/2.6.*/config* /boot/config*
/usr/local/kernels/2.6.30.9/config-2.6.30.9:CONFIG_SYSFS_DEPRECATED_V2=y
/usr/local/kernels/2.6.32.4/config-2.6.32.4:CONFIG_SYSFS_DEPRECATED_V2=y
/usr/local/kernels/2.6.32.6/config-2.6.32.6:CONFIG_SYSFS_DEPRECATED_V2=y
/boot/config-2.6.32.6:CONFIG_SYSFS_DEPRECATED_V2=y
[/code]
I just could not understand why I have (highly modified from the [i]CentOS[/i] configuration) kernels that boot but others failed when maintaining the [i]EL5[/i] configuration.
You are due a [i]gold star[/i] for that observation. :-)
As I mentioned to [b]toracat[/b] in a private communication, you posted at just the right time -- as I was just about to have a concerted effort in resolving the issue this afternoon. It was a case of "not seeing the wood for the trees" --
[code]
$ grep CONFIG_SYSFS_DEPRECATED_V2=y /usr/local/kernels/2.6.*/config* /boot/config*
/usr/local/kernels/2.6.30.9/config-2.6.30.9:CONFIG_SYSFS_DEPRECATED_V2=y
/usr/local/kernels/2.6.32.4/config-2.6.32.4:CONFIG_SYSFS_DEPRECATED_V2=y
/usr/local/kernels/2.6.32.6/config-2.6.32.6:CONFIG_SYSFS_DEPRECATED_V2=y
/boot/config-2.6.32.6:CONFIG_SYSFS_DEPRECATED_V2=y
[/code]
I just could not understand why I have (highly modified from the [i]CentOS[/i] configuration) kernels that boot but others failed when maintaining the [i]EL5[/i] configuration.
Re: Please help on patching & compiling Kernel...
Good job well done!!!
Thank You vanecka, thanks to you all helpful people, you saved my gnass :-o
While being totally frustrated i found relief in reading linux haters blog here: http://linuxhaters.blogspot.com/ which is really funny stuff :-))
I also found, through the pain and suffering, i love centos (and of course my wife) :-D
Thank You vanecka, thanks to you all helpful people, you saved my gnass :-o
While being totally frustrated i found relief in reading linux haters blog here: http://linuxhaters.blogspot.com/ which is really funny stuff :-))
I also found, through the pain and suffering, i love centos (and of course my wife) :-D
Re: Please help on patching & compiling Kernel...
Hi,
I had the same problem with CentOS 5.4 and standard kernel 2.6.32.7, which I need for realtime extensions.
With the solution from vanecka I could boot the new standard kernel :-D ., thanks.
There are still two error messages during the boot process:
"insmod: error inserting /lib/dm-region-hash.ko -1 fikle exists"
and a problem with ip-tables "could not restore ip-tables line 20" or so
Has someone an idea how to solve these error messages?
thanks
Michael
I had the same problem with CentOS 5.4 and standard kernel 2.6.32.7, which I need for realtime extensions.
With the solution from vanecka I could boot the new standard kernel :-D ., thanks.
There are still two error messages during the boot process:
"insmod: error inserting /lib/dm-region-hash.ko -1 fikle exists"
and a problem with ip-tables "could not restore ip-tables line 20" or so
Has someone an idea how to solve these error messages?
thanks
Michael
-
- Posts: 1
- Joined: 2011/05/06 14:29:44
Re: Please help on patching & compiling Kernel...
CONFIG_SYSFS_DEPRECATED_V2=y
.....is the crucial line in .config. I don't know how to thank you guys.
-Indranil
.....is the crucial line in .config. I don't know how to thank you guys.
-Indranil