You are not logged in.

#1 2006-02-13 08:06:05

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Custom Kernels and Udev (not needed in 2.6.16)

I seem to be good at spamming this forum... but theres an honest reason for each post.

For those who wish to compile custom kernels with the newest udev, you will need to add either of these patches in:

For kernels without fbsplash (ie, vanilla, ck):
http://iphitus.loudas.com/arch/ck/patch … illa.patch

For kernels with fbsplash (ie, archck, nitro,  fbsplash, no) Apply custom patchset FIRST. Then uevent-fbsplash.patch
http://iphitus.loudas.com/arch/ck/patch … lash.patch

After configuring your kernel, ensure that CONFIG_KOBJECT_UEVENT=y
is enabled in your .config. It should be. If unsure, dont worry, it probably is smile

iphitus

Offline

#2 2006-02-13 09:38:13

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Custom Kernels and Udev (not needed in 2.6.16)

iphitus wrote:

After configuring your kernel, ensure that CONFIG_KOBJECT_UEVENT=y
is enabled in your .config. It should be. If unsure, dont worry, it probably is smile

You are right, it is. This option doesn't exist any more, it seems to be some "standard feature" now. At least,

zgrep -i uevent /proc/config.gz

gives me nothing.

Offline

#3 2006-02-13 23:05:25

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Custom Kernels and Udev (not needed in 2.6.16)

Aye. But it seems that if you use older configs without explicitly enabling it, it will not be enabled.

For any new config generated with the config tools it will be enabled by default, assuming you have applied the patches.

iphitus

Offline

#4 2006-02-15 23:31:05

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Custom Kernels and Udev (not needed in 2.6.16)

to see what patches Arch uses, take a look at the PKGBUILD in CVS here:
http://cvs.archlinux.org/cgi-bin/viewcv … /kernel26/

then you can find the patches use, in that same directory.

I might add, that if you use the uevent-fbsplash patch, please apply your custom patchset of choice before you apply the uevent-fbsplash patch.

iphitus

Offline

#5 2006-02-16 19:45:31

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Custom Kernels and Udev (not needed in 2.6.16)

OK thanks, I d/l it and will apply it when I upgrade my kernel (tomorrow I think)

Offline

#6 2006-03-18 13:59:30

slackhack
Member
Registered: 2004-06-30
Posts: 738

Re: Custom Kernels and Udev (not needed in 2.6.16)

am i right that the patch was adapted from 2.6.16? so if we use =/>2.6.16, we don't need to patch, is that right? i mean, we're not going to have to patch every time we compile a kernel from now on, right? :?:


>>edit - okay, it seems to work. configuration: 2.6.16-rc6, no mod autoload, modules in array (full control, just how i like it. big_smile ). it boots unbelievably fast, even faster than before.

now please stop messing with udev. sad

tongue

Offline

#7 2006-03-18 14:45:13

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Custom Kernels and Udev (not needed in 2.6.16)

Patch only needed on lower than 2.6.16, from which it was backported.

Offline

#8 2006-03-21 03:35:43

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

Where exactly in the kernel config can I find the option to enable uevent.  I'm using 2.6.16 with the CK patchset and I've seen no mention of uevent anywhere.

Offline

#9 2006-03-21 04:13:25

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

Better question: does it matter whether or not I have uevent enabled since I don't use hotplug or coldplug?

Offline

#10 2006-03-21 04:19:58

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

johnisevil wrote:

Where exactly in the kernel config can I find the option to enable uevent.  I'm using 2.6.16 with the CK patchset and I've seen no mention of uevent anywhere.

You won't, becuase it's built into the kernel. There's no on/off for it.


·¬»· i am shadowhand, powered by webfaction

Offline

#11 2006-03-21 04:26:59

johnisevil
Member
From: Hamilton, ON Canada
Registered: 2003-08-07
Posts: 221
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

shadowhand wrote:
johnisevil wrote:

Where exactly in the kernel config can I find the option to enable uevent.  I'm using 2.6.16 with the CK patchset and I've seen no mention of uevent anywhere.

You won't, becuase it's built into the kernel. There's no on/off for it.

Excellent, thanks for the quick reply.

Offline

#12 2006-03-21 08:24:15

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Custom Kernels and Udev (not needed in 2.6.16)

Patches shouldnt be needed for 2.6.16

Offline

#13 2006-03-23 15:34:20

_nalle
Member
From: Stockholm/Sweden
Registered: 2006-01-11
Posts: 70
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

Just a question, will this patch give the functionality needed for udev >=053 to kernels like 2.6.13?


Swedish Archlinux Mirror Administrator - ftp.gigabit.nu

Offline

#14 2006-03-23 23:05:49

klhrevolutionist
Member
Registered: 2006-03-23
Posts: 3
Website

Re: Custom Kernels and Udev (not needed in 2.6.16)

It has been a while since using Arch. But if I remembered correctly when installing you get to choose which kernel you want to use ?

If I am mistaken, is the 2.4 kernel available for arch linux ?



Thanks


Heaven is on the way, until then let's get the truth out.

Offline

#15 2006-03-23 23:26:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: Custom Kernels and Udev (not needed in 2.6.16)

Yeah, we still have kernel24 packages, one for IDE and one for SCSI. The kernel release is 2.4.32, from last November, but it is the most recent one.

Offline

Board footer

Powered by FluxBB