Please help on patching & compiling Kernel...

General support questions including new installations
User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

Re: Please help on patching & compiling Kernel...

Post by toracat » 2010/01/28 23:52:35

[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.

User avatar
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...

Post by AlanBartlett » 2010/01/29 14:39:27

[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.

helikaon
Posts: 55
Joined: 2008/12/10 14:30:04

Re: Please help on patching & compiling Kernel...

Post by helikaon » 2010/01/29 18:43:40

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

mwisse
Posts: 10
Joined: 2010/03/09 10:56:57

Re: Please help on patching & compiling Kernel...

Post by mwisse » 2010/03/09 11:13:39

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

indranil008
Posts: 1
Joined: 2011/05/06 14:29:44

Re: Please help on patching & compiling Kernel...

Post by indranil008 » 2011/05/06 14:32:30

CONFIG_SYSFS_DEPRECATED_V2=y

.....is the crucial line in .config. I don't know how to thank you guys.

-Indranil

Post Reply