You are not logged in.

#1 2009-06-11 11:53:27

webofunni
Member
From: India
Registered: 2009-05-25
Posts: 53
Website

What are the kernel option required for udev in 2.6.28 kernel

Hi All,

I just want to know the exact options that we need to enable in the
kernel configuration for the latest udev. Some options specified in
http://webpages.charter.net/decibelshel … rimer.html is
not available ( or changed position ) in the 2.6.28 kernel.

I know that copying the existing config file from linux distro will do
it. But want to know about the exact kenel modules/support needed for
udev to get everything working. Please help.

Offline

#2 2009-06-11 12:14:50

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

Why not check the configuration of your present kernel? Or, if you're not running Arch (or cant look at it) check the sources in ABS?

That tutorial talks about 115 as most recent version... Not really up to date is it?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-06-11 12:51:25

webofunni
Member
From: India
Registered: 2009-05-25
Posts: 53
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

B wrote:

Why not check the configuration of your present kernel? Or, if you're not running Arch (or cant look at it) check the sources in ABS?

That tutorial talks about 115 as most recent version... Not really up to date is it?

As I specified in my reply. I can just copy the current .config file and recompile the kernel to get things done. But I am not sure how to find the kernel options required for udev by just reading that .config file. Also just checking the sources in ABS will not give any idea about this.

Again, I know how to compile kernel using the existing .config at /proc/config.gz, that will give a new kernel running without any issue. I just want to know what are the kernel options required by the udev ?

Offline

#4 2009-06-11 13:11:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

Okay... Your statement was a bit generic to me.

I have no clue if udev requires any hooks inside the kernel. I think not. What you *do* need without a doubt is module loading capabilities. Other than that there's nothing I can think of.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2009-06-11 14:13:18

webofunni
Member
From: India
Registered: 2009-05-25
Posts: 53
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

B wrote:

Okay... Your statement was a bit generic to me.

I have no clue if udev requires any hooks inside the kernel. I think not. What you *do* need without a doubt is module loading capabilities. Other than that there's nothing I can think of.

No, the Udev needs kernel options like :

Code Listing 2.2: Required kernel options

General setup --->
  [*] Support for hot-pluggable devices

File systems --->
    [*] Inotify file change notification support
    [*]   Inotify support for userspace
  Pseudo filesystems --->
    [*] /proc file system support
    [*] Virtual memory file system support (former shm fs)

I just need a full list of options that Udev depends on.

Offline

#6 2009-06-11 14:41:01

Zariel
Member
Registered: 2008-10-07
Posts: 446

Re: What are the kernel option required for udev in 2.6.28 kernel

Offline

#7 2009-06-11 17:34:32

webofunni
Member
From: India
Registered: 2009-05-25
Posts: 53
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

Hi,
 
  I have posted the same in Linux hotplug mailing list and got this :

- Version 2.6.25 of the Linux kernel with sysfs, procfs, signalfd, inotify,
     unix domain sockets, networking and hotplug enabled:
       CONFIG_HOTPLUG=y
       CONFIG_UEVENT_HELPER_PATH=""
       CONFIG_NET=y
       CONFIG_UNIX=y
       CONFIG_SYSFS=y
       CONFIG_SYSFS_DEPRECATED*=n
       CONFIG_PROC_FS=y
       CONFIG_TMPFS=y
       CONFIG_TMPFS_POSIX_ACL=y
       CONFIG_INOTIFY=y
       CONFIG_SIGNALFD=y

   - For reliable operation, the kernel must not use the CONFIG_SYSFS_DEPRECATED*
     option.

   - Unix domain sockets (CONFIG_UNIX) as a loadable kernel module is not
     supported.

 - The proc filesystem must be mounted on /proc/, the sysfs filesystem must
 be mounted at /sys/. No other locations are supported by udev.

http://www.spinics.net/lists/hotplug/msg02162.html

Hope this will help those who are looking for it.

Last edited by webofunni (2009-06-11 17:36:36)

Offline

#8 2009-06-11 20:13:53

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

OK I was definitely not qualified to answer that question tongue.

May I ask what you are trying to do exactly?

If you are rebuilding your own kernel you might as well check the documentation in the kernel building utilities (gconfig, qconfig, xconfig, ...). Granted, it takes longer, but you get to know your way around. Also, I don't think those options are specific to 2.6.28 either - it would surprise me if they get altered so frequently you'd need to inquire about a specific kernel version.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#9 2009-06-11 21:36:05

webofunni
Member
From: India
Registered: 2009-05-25
Posts: 53
Website

Re: What are the kernel option required for udev in 2.6.28 kernel

B wrote:

OK I was definitely not qualified to answer that question tongue.

May I ask what you are trying to do exactly?

If you are rebuilding your own kernel you might as well check the documentation in the kernel building utilities (gconfig, qconfig, xconfig, ...). Granted, it takes longer, but you get to know your way around. Also, I don't think those options are specific to 2.6.28 either - it would surprise me if they get altered so frequently you'd need to inquire about a specific kernel version.

I am using the kernel 2.6.28. Thats why I specified the kernel version as 2.6.28. Yes, those options are generic to latest version of 2.6 kernel. But things were changed from 2.6.13 kernel and again as per the comment from kay sievers, it again going to change in next version.

Yeah, SIGNALFD only in the next, the to be released version

http://www.spinics.net/lists/hotplug/msg02162.html

I am just searching to find out the kernel configuration options to get the udev working. The udev primer is for 2.6.13 and I know there are lots of changes in newer version of kernel/udev. I know how to build kernel and I like menuconfig than the GUI utilities.

Thanks for all the answers/comments.

Offline

Board footer

Powered by FluxBB