devtmpfs patches
Subsystems (24)
cover devtmpfs patches
Here's the latest version of the devtmpfs patch, broken up into 13 different patches to make it easier to review and merge properly.
This series does the following:
- creates a new callback within the driver core to allow drivers and subsystems to provide a name for their subsystem to properly reflect what userspace should use for their device nodes. This allows for things like the sound/ and input/ subdirectories to be properly told to userspace. Note these names and subdirectories are the ones that have been used for years, and are standardized across all distributions and synced up with the LANANA naming scheme which is specified by LSB. We aren't creating anything new here.
- fills in the callbacks by the various subsystems that need to define it, including the misc device layer. This is the majority of the patches in the series.
- adds the devtmpfs core code. Description of what this is, why it is needed, and how it works is within this patch.
All of these patches have been tested for a number of weeks now in SuSE's kernel trees and have proved to increase boot time a measurable ammount (a few seconds at the very least) on both traditional systems (servers / desktops) as well as on netbooks using a non-SuSE based userspace infrastructure.
This feature also allows rescue systems to work properly by allowing systems to boot into /bin/bash with full access to all of their device nodes. It is also a big win on embedded systems with no local users yet they need to provide dynamic names as their hardware configuration can be changed by external forces.
All of the previous objections to this patch series seems to have been properly addressed, but as always, comments are welcome, just make them substantial please :)
These patches are now in the driver-core git tree of quilt patches.
thanks,
greg k-h
PATCH 1/13 Driver Core: add nodename callbacks
From: Kay Sievers <[email protected]>
This adds the nodename callback for struct class, struct device_type and struct device, to allow drivers to send userspace hints on the device name and subdirectory that should be used for it.
--- drivers/base/core.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++- include/linux/device.h | 4 +++ 2 files changed, 54 insertions(+), 1 deletion(-)
drivers/base/core.c +50 -1
@@ -161,10 +161,18 @@ static int dev_uevent(struct kset *kset,struct device *dev =to_dev (kobj);int retval =0 ; -/* add the major/minor if present */ +/* add device node properties if present */ if (MAJOR (dev->devt)) { +const char *tmp; +const char *name; +add_uevent_var (env,"MAJOR=%u" ,MAJOR (dev->devt));add_uevent_var (env,"MINOR=%u" ,MINOR (dev->devt)); + name =device_get_nodename (dev, &tmp); +if (name) { +add_uevent_var (env,"DEVNAME=%s" , name); +kfree (tmp); + } }if (dev->type && dev->type->name)
@@ -1125,6 +1133,47 @@ static struct device *next_device(struct }/** +* device_get_nodename - path of device node file +* @dev: device +* @tmp: possibly allocated string +* +* Return the relative path of a possible device node. +* Non-default names may need to allocate a memory to compose +* a name. This memory is returned in tmp and needs to be +* freed by the caller. +*/ +const char *device_get_nodename (struct device *dev,const char **tmp) +{ +char *s; + + *tmp =NULL ; + +/* the device type may provide a specific name */ +if (dev->type && dev->type->nodename) + *tmp = dev->type->nodename (dev); +if (*tmp) +return *tmp; + +/* the class may provide a specific name */ +if (dev->class && dev->class->nodename) + *tmp = dev->class->nodename (dev); +if (*tmp) +return *tmp; + +/* return name without allocation, tmp == NULL */ +if (strchr (dev_name (dev),'!' ) ==NULL ) +return dev_name (dev); + +/* replace '!' in the name with '/' */ + *tmp =kstrdup (dev_name (dev),GFP_KERNEL ); +if (!*tmp) +return NULL ; +while ((s =strchr (*tmp,'!' ))) + s[0 ] ='/' ; +return *tmp; +} + +/** * device_for_each_child - device child iterator. * @parent: parent struct device. * @data: data for the callback.
include/linux/device.h +4 -0
@@ -196,6 +196,7 @@ struct class {struct kobject *dev_kobj;int (*dev_uevent)(struct device *dev,struct kobj_uevent_env *env); +char *(*nodename)(struct device *dev);void (*class_release)(struct class *class);void (*dev_release)(struct device *dev);
@@ -291,6 +292,7 @@ struct device_type {const char *name;struct attribute_group **groups;int (*uevent)(struct device *dev,struct kobj_uevent_env *env); +char *(*nodename)(struct device *dev);void (*release)(struct device *dev);int (*suspend)(struct device *dev,pm_message_t state);
@@ -371,6 +373,7 @@ struct device_dma_parameters {struct device {struct device *parent; +char *(*nodename)(struct device *dev);struct device_private *p;
@@ -493,6 +496,7 @@ extern struct device *device_find_child(extern int device_rename (struct device *dev,char *new_name);extern int device_move (struct device *dev,struct device *new_parent,enum dpm_order dpm_order); +extern const char *device_get_nodename (struct device *dev,const char **tmp);/* * Root device objects for grouping under /sys/devices
Re: [patch 01/13] Driver Core: add nodename callbacks
Hi Greg, Kay,
include/linux/device.h struct device_dma_parameters { · line 376
Quoted 5 lines · On Sat, 09 May 2009 07:26:02 -0700 Greg KH <[email protected]> wrote:
+++
b/include/linux/device.h
struct device {include/linux/device.h +1
-0struct device *parent; +char *(*nodename)(struct device *dev);
Just wondering what this callback is for. I didn't look really hard, but couldn't find it used anywhere.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [patch 01/13] Driver Core: add nodename callbacks
Quoted 7 lines · Stephen Rothwell
Quoted 4 lines
+++
b/include/linux/device.h
struct device {
struct device *parent;
+ char *(*nodename)(struct device *dev);Just wondering what this callback is for. I didn't look really hard, but couldn't find it used anywhere.
You are right, that seems like a left-over which did not get used, and should be removed from the patch.
Thanks a lot for checking,
Kay
Re: [patch 01/13] Driver Core: add nodename callbacks
Quoted 10 lines · Kay Sievers
Quoted 7 lines · Stephen Rothwell
Quoted 4 lines
+++
b/include/linux/device.h
struct device {
struct device *parent;
+ char *(*nodename)(struct device *dev);Just wondering what this callback is for. I didn't look really hard, but couldn't find it used anywhere.
Quoted 2 lines
You are right, that seems like a left-over which did not get used, and should be removed from the patch.
I've now removed it, thanks Stephen for finding this.
greg k-h
PATCH 2/13 Driver Core: misc: add nodename support for misc devices.
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support for misc devices to report their requested nodename to userspace. It also updates a number of misc drivers to provide the needed subdirectory and device name to be used for them.
--- arch/x86/kernel/microcode_core.c | 1 + drivers/char/hw_random/core.c | 1 + drivers/char/misc.c | 15 ++++++++++++--- drivers/md/dm-ioctl.c | 1 + drivers/net/tun.c | 1 + include/linux/miscdevice.h | 1 + 6 files changed, 17 insertions(+), 3 deletions(-)
arch/x86/kernel/microcode_core.c +1 -0
@@ -173,6 +173,7 @@ static const struct file_operations micrstatic struct miscdevice microcode_dev = { .minor =MICROCODE_MINOR , .name ="microcode" , + .devnode ="cpu/microcode" , .fops = µcode_fops, };
drivers/char/hw_random/core.c +1 -0
@@ -153,6 +153,7 @@ static const struct file_operations rng_static struct miscdevice rng_miscdev = { .minor =RNG_MISCDEV_MINOR , .name =RNG_MODULE_NAME , + .devnode ="hwrng" , .fops = &rng_chrdev_ops, };
drivers/char/misc.c +12 -3
@@ -168,7 +168,6 @@ static const struct file_operations misc .open = misc_open, }; -/** * misc_register - register a miscellaneous device * @misc: device structure
@@ -217,8 +216,8 @@ int misc_register(struct miscdevice * mi misc_minors[misc->minor >>3 ] |=1 << (misc->minor &7 ); dev =MKDEV (MISC_MAJOR , misc->minor); - misc->this_device =device_create (misc_class, misc->parent, dev,NULL , -"%s" , misc->name); + misc->this_device =device_create (misc_class, misc->parent, dev, + misc,"%s" , misc->name);if (IS_ERR (misc->this_device)) { err =PTR_ERR (misc->this_device); goto out;
@@ -264,6 +263,15 @@ int misc_deregister(struct miscdevice *mEXPORT_SYMBOL (misc_register);EXPORT_SYMBOL (misc_deregister); +static char *misc_nodename (struct device *dev) +{ +struct miscdevice *c =dev_get_drvdata (dev); + +if (c->devnode) +return kstrdup (c->devnode,GFP_KERNEL ); +return NULL ; +} +static int __init misc_init (void ) {int err;
@@ -279,6 +287,7 @@ static int __init misc_init(void) err = -EIO ;if (register_chrdev (MISC_MAJOR ,"misc" ,&misc_fops)) goto fail_printk; + misc_class->nodename = misc_nodename;return 0 ; fail_printk:
drivers/md/dm-ioctl.c +1 -0
@@ -1513,6 +1513,7 @@ static const struct file_operations _ctlstatic struct miscdevice _dm_misc = { .minor =MISC_DYNAMIC_MINOR , .name =DM_NAME , + .devnode ="mapper/control" , .fops = &_ctl_fops };
drivers/net/tun.c +1 -0
@@ -1318,6 +1318,7 @@ static const struct file_operations tun_static struct miscdevice tun_miscdev = { .minor =TUN_MINOR , .name ="tun" , + .devnode ="net/tun" , .fops = &tun_fops, };
include/linux/miscdevice.h +1 -0
@@ -41,6 +41,7 @@ struct miscdevice {struct list_head list;struct device *parent;struct device *this_device; +const char *devnode; };extern int misc_register (struct miscdevice * misc);
Re: [patch 02/13] Driver Core: misc: add nodename support for misc devices.
Quoted 9 lines · Greg KH
From: Kay Sievers <[email protected]>
This adds support for misc devices to report their requested nodename to userspace. It also updates a number of misc drivers to provide the needed subdirectory and device name to be used for them.
Signed-off-by Kay Sievers <[email protected]>Signed-off-by Jan Blunck <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Maybe it would be better to assign stable minor/major numbers to those devices instead? minor/major number space is pretty big these days...
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Re: [patch 02/13] Driver Core: misc: add nodename support for misc devices.
Quoted 7 lines · Pavel Machek
Quoted 6 lines · Greg KH
From: Kay Sievers <[email protected]>
This adds support for misc devices to report their requested nodename to userspace. It also updates a number of misc drivers to provide the needed subdirectory and device name to be used for them.
Quoted 6 lines
Quoted 3 lines
Signed-off-by Kay Sievers <[email protected]>Signed-off-by Jan Blunck <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Maybe it would be better to assign stable minor/major numbers to those devices instead? minor/major number space is pretty big these days...
That's up to the individual misc driver authors. Lots of them use the dynamic option, so it's not like we can just ignore this very common feature.
thanks,
greg k-h
Re: [patch 02/13] Driver Core: misc: add nodename support for misc devices.
Quoted 12 lines · Greg KH
Quoted 11 lines · Pavel Machek
Quoted 9 lines · Greg KH
From: Kay Sievers <[email protected]>
This adds support for misc devices to report their requested nodename to userspace. It also updates a number of misc drivers to provide the needed subdirectory and device name to be used for them.
Signed-off-by Kay Sievers <[email protected]>Signed-off-by Jan Blunck <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>
Quoted 6 lines
Quoted 2 lines
Maybe it would be better to assign stable minor/major numbers to those devices instead? minor/major number space is pretty big these days...
That's up to the individual misc driver authors. Lots of them use the dynamic option, so it's not like we can just ignore this very common feature.
Well, you are willing to submit device names for individual drivers, so...
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Re: [patch 02/13] Driver Core: misc: add nodename support for misc devices.
In reply to Pavel MachekQuoted 7 lines · On Fri, 15 May 2009 21:58:56 +0200 Pavel Machek <[email protected]> wrote:
Quoted 6 lines · Greg KH
From: Kay Sievers <[email protected]>
This adds support for misc devices to report their requested nodename to userspace. It also updates a number of misc drivers to provide the needed subdirectory and device name to be used for them.
Quoted 6 lines
Quoted 3 lines
Signed-off-by Kay Sievers <[email protected]>Signed-off-by Jan Blunck <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>Maybe it would be better to assign stable minor/major numbers to those devices instead? minor/major number space is pretty big these days...
More to the point we already have /proc/misc
PATCH 3/13 Driver Core: usb: add nodename support for usb drivers.
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support for USB drivers to report their requested nodename to userspace. It also updates a number of USB drivers to provide the needed subdirectory and device name to be used for them.
--- drivers/hid/usbhid/hiddev.c | 7 ++++++- drivers/media/video/dabusb.c | 6 ++++++ drivers/usb/class/usblp.c | 6 ++++++ drivers/usb/core/file.c | 13 ++++++++++++- drivers/usb/core/usb.c | 11 +++++++++++ drivers/usb/misc/iowarrior.c | 6 ++++++ drivers/usb/misc/legousbtower.c | 6 ++++++ include/linux/usb.h | 3 +++ 8 files changed, 56 insertions(+), 2 deletions(-)
drivers/hid/usbhid/hiddev.c +6 -1
@@ -850,8 +850,14 @@ static const struct file_operations hidd#endif }; +static char *hiddev_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"usb/%s" ,dev_name (dev)); +} +static struct usb_class_driver hiddev_class = { .name ="hiddev%d" , + .nodename = hiddev_nodename, .fops = &hiddev_fops, .minor_base =HIDDEV_MINOR_BASE , };
@@ -955,7 +961,6 @@ static int hiddev_usbd_probe(struct usb_return -ENODEV ; } -static /* const */ struct usb_driver hiddev_driver = { .name ="hiddev" , .probe = hiddev_usbd_probe,
drivers/media/video/dabusb.c +6 -0
@@ -747,8 +747,14 @@ static const struct file_operations dabu .release = dabusb_release, }; +static char *dabusb_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"usb/%s" ,dev_name (dev)); +} +static struct usb_class_driver dabusb_class = { .name ="dabusb%d" , + .nodename = dabusb_nodename, .fops = &dabusb_fops, .minor_base =DABUSB_MINOR , };
drivers/usb/class/usblp.c +6 -0
@@ -1057,8 +1057,14 @@ static const struct file_operations usbl .release = usblp_release, }; +static char *usblp_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"usb/%s" ,dev_name (dev)); +} +static struct usb_class_driver usblp_class = { .name ="lp%d" , + .nodename = usblp_nodename, .fops = &usblp_fops, .minor_base =USBLP_MINOR_BASE , };
drivers/usb/core/file.c +12 -1
@@ -67,6 +67,16 @@ static struct usb_class {struct class *class; } *usb_class; +static char *usb_nodename (struct device *dev) +{ +struct usb_class_driver *drv; + + drv =dev_get_drvdata (dev); +if (!drv || !drv->nodename) +return NULL ; +return drv->nodename (dev); +} +static int init_usb_class (void ) {int result =0 ;
@@ -90,6 +100,7 @@ static int init_usb_class(void)kfree (usb_class); usb_class =NULL ; } + usb_class->class->nodename = usb_nodename; exit:return result;
@@ -198,7 +209,7 @@ int usb_register_dev(struct usb_interfacelse temp = name; intf->usb_dev =device_create (usb_class->class, &intf->dev, -MKDEV (USB_MAJOR , minor),NULL , +MKDEV (USB_MAJOR , minor), class_driver,"%s" , temp);if (IS_ERR (intf->usb_dev)) {down_write (&minor_rwsem);
drivers/usb/core/usb.c +11 -0
@@ -305,10 +305,21 @@ static struct dev_pm_ops usb_device_pm_o#endif /* CONFIG_PM */ + +static char *usb_nodename (struct device *dev) +{ +struct usb_device *usb_dev; + + usb_dev =to_usb_device (dev); +return kasprintf (GFP_KERNEL ,"bus/usb/%03d/%03d" , + usb_dev->bus->busnum, usb_dev->devnum); +} +struct device_type usb_device_type = { .name ="usb_device" , .release = usb_release_dev, .uevent = usb_dev_uevent, + .nodename = usb_nodename, .pm = &usb_device_pm_ops, };
drivers/usb/misc/iowarrior.c +6 -0
@@ -726,12 +726,18 @@ static const struct file_operations iowa .poll = iowarrior_poll, }; +static char *iowarrior_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"usb/%s" ,dev_name (dev)); +} +/* * usb class driver info in order to get a minor number from the usb core, * and to have the device registered with devfs and the driver core */ static struct usb_class_driver iowarrior_class = { .name ="iowarrior%d" , + .nodename = iowarrior_nodename, .fops = &iowarrior_fops, .minor_base =IOWARRIOR_MINOR_BASE , };
drivers/usb/misc/legousbtower.c +6 -0
@@ -266,12 +266,18 @@ static const struct file_operations towe .llseek = tower_llseek, }; +static char *legousbtower_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"usb/%s" ,dev_name (dev)); +} +/* * usb class driver info in order to get a minor number from the usb core, * and to have the device registered with the driver core */ static struct usb_class_driver tower_class = { .name ="legousbtower%d" , + .nodename = legousbtower_nodename, .fops = &tower_fops, .minor_base =LEGO_USB_TOWER_MINOR_BASE , };
include/linux/usb.h +3 -0
@@ -869,6 +869,8 @@ struct usb_driver {* struct usb_device_driver - identifies USB device driver to usbcore * @name: The driver name should be unique among USB drivers, * and should normally be the same as the module name. +* @nodename: Callback to provide a naming hint for a possible +* device node to create. * @probe: Called to see if the driver is willing to manage a particular * device. If it is, probe returns zero and uses dev_set_drvdata() * to associate driver-specific data with the device. If unwilling
@@ -912,6 +914,7 @@ extern struct bus_type usb_bus_type;*/ struct usb_class_driver {char *name; +char *(*nodename)(struct device *dev);const struct file_operations *fops;int minor_base; };
PATCH 4/13 Driver Core: block: add nodename support for block drivers.
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support for block drivers to report their requested nodename to userspace. It also updates a number of block drivers to provide the needed subdirectory and device name to be used for them.
--- block/genhd.c | 10 ++++++++++ drivers/block/pktcdvd.c | 7 +++++++ include/linux/genhd.h | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-)
block/genhd.c +10 -0
@@ -985,10 +985,20 @@ struct class block_class = { .name = "block", }; +static char *block_nodename (struct device *dev) +{ +struct gendisk *disk =dev_to_disk (dev); + +if (disk->nodename) +return disk->nodename (disk); +return NULL ; +} +static struct device_type disk_type = { .name ="disk" , .groups = disk_attr_groups, .release = disk_release, + .nodename = block_nodename, };#ifdef CONFIG_PROC_FS
drivers/block/pktcdvd.c +7 -0
@@ -2853,6 +2853,11 @@ static struct block_device_operations pk .media_changed = pkt_media_changed, }; +static char *pktcdvd_nodename (struct gendisk *gd) +{ +return kasprintf (GFP_KERNEL ,"pktcdvd/%s" , gd->disk_name); +} +/* * Set up mapping from pktcdvd device to CD-ROM device. */
@@ -2905,6 +2910,7 @@ static int pkt_setup_dev(dev_t dev, dev_ disk->fops = &pktcdvd_ops; disk->flags =GENHD_FL_REMOVABLE ;strcpy (disk->disk_name, pd->name); + disk->nodename = pktcdvd_nodename; disk->private_data = pd; disk->queue =blk_alloc_queue (GFP_KERNEL );if (!disk->queue)
@@ -3060,6 +3066,7 @@ static const struct file_operations pkt_static struct miscdevice pkt_misc = { .minor =MISC_DYNAMIC_MINOR , .name =DRIVER_NAME , + .name ="pktcdvd/control" , .fops = &pkt_ctl_fops };
include/linux/genhd.h +1 -1
@@ -140,7 +140,7 @@ struct gendisk {* disks that can't be partitioned. */ char disk_name[DISK_NAME_LEN ];/* name of major driver */ - +char *(*nodename)(struct gendisk *gd);/* Array of pointers to partitions indexed by partno. * Protected with matching bdev lock but stat and other * non-critical accesses use RCU. Always access through
PATCH 5/13 Driver Core: x86: add nodename for cpuid and msr drivers.
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the x86 cpuid and msr drivers to report the proper device name to userspace for their devices.
--- arch/x86/kernel/cpuid.c | 6 ++++++ arch/x86/kernel/msr.c | 6 ++++++ 2 files changed, 12 insertions(+)
arch/x86/kernel/cpuid.c +6 -0
@@ -182,6 +182,11 @@ static struct notifier_block __refdata c .notifier_call = cpuid_class_cpu_callback, }; +static char *cpuid_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"cpu/%u/cpuid" ,MINOR (dev->devt)); +} +static int __init cpuid_init (void ) {int i, err =0 ;
@@ -198,6 +203,7 @@ static int __init cpuid_init(void) err =PTR_ERR (cpuid_class); goto out_chrdev; } + cpuid_class->nodename = cpuid_nodename;for_each_online_cpu (i) { err =cpuid_device_create (i);if (err !=0 )
arch/x86/kernel/msr.c +6 -0
@@ -196,6 +196,11 @@ static struct notifier_block __refdata m .notifier_call = msr_class_cpu_callback, }; +static char *msr_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"cpu/%u/msr" ,MINOR (dev->devt)); +} +static int __init msr_init (void ) {int i, err =0 ;
@@ -212,6 +217,7 @@ static int __init msr_init(void) err =PTR_ERR (msr_class); goto out_chrdev; } + msr_class->nodename = msr_nodename;for_each_online_cpu (i) { err =msr_device_create (i);if (err !=0 )
PATCH 6/13 Driver Core: dvb: add nodename for dvb drivers
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the dvb core to report the proper device name to userspace for their devices.
--- drivers/media/dvb/dvb-core/dvbdev.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
drivers/media/dvb/dvb-core/dvbdev.c +10 -0
@@ -447,6 +447,15 @@ static int dvb_uevent(struct device *devreturn 0 ; } +static char *dvb_nodename (struct device *dev) +{ +struct dvb_device *dvbdev =dev_get_drvdata (dev); + +return kasprintf (GFP_KERNEL ,"dvb/adapter%d/%s%d" , + dvbdev->adapter->num, dnames[dvbdev->type], dvbdev->id); +} + +static int __init init_dvbdev (void ) {int retval;
@@ -469,6 +478,7 @@ static int __init init_dvbdev(void) goto error; } dvb_class->dev_uevent = dvb_uevent; + dvb_class->nodename = dvb_nodename;return 0 ; error:
PATCH 7/13 Driver Core: input: add nodename for input drivers
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the input core to report the proper device name to userspace for their devices.
--- drivers/input/input.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/input/input.c +6 -0
@@ -1264,8 +1264,14 @@ static struct device_type input_dev_type .uevent = input_dev_uevent, }; +static char *input_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"input/%s" ,dev_name (dev)); +} +struct class input_class = { .name ="input" , + .nodename = input_nodename, };EXPORT_SYMBOL_GPL (input_class);
PATCH 8/13 Driver Core: sound: add nodename for sound drivers
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the sound core to report the proper device name to userspace for their devices.
--- sound/sound_core.c | 7 +++++++ 1 file changed, 7 insertions(+)
sound/sound_core.c +7 -0
@@ -27,6 +27,11 @@ MODULE_DESCRIPTION("Core sound module");MODULE_AUTHOR ("Alan Cox" );MODULE_LICENSE ("GPL" ); +static char *sound_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"snd/%s" ,dev_name (dev)); +} +static int __init init_soundcore (void ) {int rc;
@@ -41,6 +46,8 @@ static int __init init_soundcore(void)return PTR_ERR (sound_class); } + sound_class->nodename = sound_nodename; +return 0 ; }
PATCH 9/13 Driver Core: raw: add nodename for raw devices
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the raw driver to report the proper device name to userspace for the raw devices.
--- drivers/char/raw.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/char/raw.c +6 -0
@@ -261,6 +261,11 @@ static const struct file_operations raw_static struct cdev raw_cdev; +static char *raw_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"raw/%s" ,dev_name (dev)); +} +static int __init raw_init (void ) {dev_t dev =MKDEV (RAW_MAJOR ,0 );
@@ -284,6 +289,7 @@ static int __init raw_init(void) ret =PTR_ERR (raw_class); goto error_region; } + raw_class->nodename = raw_nodename;device_create (raw_class,NULL ,MKDEV (RAW_MAJOR ,0 ),NULL ,"rawctl" );return 0 ;
PATCH 10/13 Driver Core: drm: add nodename for drm devices
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the drm core to report the proper device name to userspace for the drm devices.
--- drivers/gpu/drm/drm_sysfs.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_sysfs.c +7 -0
@@ -70,6 +70,11 @@ static ssize_t version_show(struct class CORE_MINOR, CORE_PATCHLEVEL, CORE_DATE); } +static char *drm_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"dri/%s" ,dev_name (dev)); +} + static CLASS_ATTR(version, S_IRUGO, version_show, NULL);/**
@@ -101,6 +106,8 @@ struct class *drm_sysfs_create(struct moif (err) goto err_out_class; + class->nodename = drm_nodename; +return class; err_out_class:
PATCH 11/13 Driver Core: aoe: add nodename for aoe devices
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the AOE core to report the proper device name to userspace for the AOE devices.
--- drivers/block/aoe/aoechr.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/block/aoe/aoechr.c +7 -0
@@ -266,6 +266,11 @@ static const struct file_operations aoe_ .owner = THIS_MODULE, }; +static char *aoe_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"etherd/%s" ,dev_name (dev)); +} +int __init aoechr_init (void ) {
@@ -283,6 +288,8 @@ aoechr_init(void)unregister_chrdev (AOE_MAJOR ,"aoechr" );return PTR_ERR (aoe_class); } + aoe_class->nodename = aoe_nodename; +for (i =0 ; i <ARRAY_SIZE (chardevs); ++i) device_create(aoe_class, NULL, MKDEV(AOE_MAJOR, chardevs[i].minor), NULL,
PATCH 12/13 Driver Core: bsg: add nodename for bsg driver
In reply to Greg KHFrom: Kay Sievers <[email protected]>
This adds support to the BSG driver to report the proper device name to userspace for the bsg devices.
--- block/bsg.c | 6 ++++++ 1 file changed, 6 insertions(+)
block/bsg.c +6 -0
@@ -1062,6 +1062,11 @@ EXPORT_SYMBOL_GPL(bsg_register_queue);static struct cdev bsg_cdev; +static char *bsg_nodename (struct device *dev) +{ +return kasprintf (GFP_KERNEL ,"bsg/%s" ,dev_name (dev)); +} +static int __init bsg_init (void ) {int ret, i;
@@ -1082,6 +1087,7 @@ static int __init bsg_init(void) ret =PTR_ERR (bsg_class); goto destroy_kmemcache; } + bsg_class->nodename = bsg_nodename; ret =alloc_chrdev_region (&devid,0 ,BSG_MAX_DEVS ,"bsg" );if (ret)
PATCH 13/13 Driver Core: devtmpfs - driver core maintained /dev tmpfs
In reply to Greg KHFrom: Kay Sievers <[email protected]>
Devtmpfs lets the kernel create a tmpfs very early at kernel initialization, before any driver-core device is registered. Every device with a major/minor will have a device node created in this tmpfs instance. After the rootfs is mounted by the kernel, the populated tmpfs is mounted at /dev. In initramfs
"mount --move /dev /root/dev" can move it to the manually mounted root filesystem before changing into /root and /sbin/init is executed.
The tmpfs instance can be changed and altered by userspace at any time, and in any way needed - just like today's udev-mounted tmpfs. Unmodified udev versions will run just fine on top of it, and will recognize an already existing kernel-created device node and use it.
The default node permissions are root:root 0600. Proper permissions and user/group ownership, meaningful symlinks, all other policy besides the node name, still needs to be applied by udev, just as without devtmpfs.
If a node is created by devtmps, devtmpfs will remove the device node when the device goes away. If the device node was created by userspace, or the devtmpfs created node was replaced by userspace, it will not be removed by devtmpfs.
This makes init=/bin/sh work without any further userspace support. /dev will be fully populated and dynamic, and always reflect the current device state of the kernel. Especially in the face of the already implemented dynamic device numbers for block devices, this can be very helpful in a rescue situation, where static devices nodes will no longer work.
Custom, embedded-like systems should be able to use this as a dynamic /dev directory without any need for aditional userspace tools.
With the kernel populated /dev, existing initramfs or kernel-mount bootup logic can be optimized to be more efficient, and not to require a full coldplug run, which is currently needed to bootstrap the inital /dev directory content, before continuing bringing up the rest of the system. There will be no missed events to replay, because /dev is available before the first kernel device is registered with the driver-core. A coldplug run can take, depending on the speed of the system and the amount of devices which need to be handled, from one to several seconds.
--- drivers/base/Kconfig | 17 ++ drivers/base/Makefile | 1 drivers/base/base.h | 6 drivers/base/core.c | 3 drivers/base/devtmpfs.c | 354 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/base/init.c | 1 include/linux/device.h | 10 + include/linux/shmem_fs.h | 2 init/do_mounts.c | 2 init/initramfs.c | 2 init/main.c | 2 mm/shmem.c | 6 12 files changed, 401 insertions(+), 5 deletions(-)
drivers/base/base.h +6 -0
@@ -134,3 +134,9 @@ static inline void module_add_driver(str struct device_driver *drv) { }static inline void module_remove_driver (struct device_driver *drv) { }#endif + +#ifdef CONFIG_DEVTMPFS +extern int devtmpfs_init (void ); +#else +static inline int devtmpfs_init (void ) {return 0 ; } +#endif
drivers/base/core.c +3 -0
@@ -920,6 +920,8 @@ int device_add(struct device *dev) error =device_create_sys_dev_entry (dev);if (error) goto devtattrError; + +devtmpfs_create_node (dev); } error =device_add_class_symlinks (dev);
@@ -1063,6 +1065,7 @@ void device_del(struct device *dev)if (parent)klist_del (&dev->p->knode_parent);if (MAJOR (dev->devt)) { +devtmpfs_delete_node (dev);device_remove_sys_dev_entry (dev);device_remove_file (dev, &devt_attr); }
drivers/base/devtmpfs.c new file +354 -0
354 lines not on this page · raw message
drivers/base/init.c +1 -0
@@ -20,6 +20,7 @@void __init driver_init (void ) {/* These are the core pieces */ +devtmpfs_init ();devices_init ();buses_init ();classes_init ();
drivers/base/Kconfig +17 -0
@@ -8,6 +8,23 @@ config UEVENT_HELPER_PATH Path to uevent helper program forked by the kernel for every uevent. +config DEVTMPFS + bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)" + depends on HOTPLUG + help + This creates a tmpfs filesystem, and mounts it at bootup + and mounts it at /dev. The kernel driver core creates device + nodes for all registered devices in that filesystem. All device + nodes are owned by root and have the default mode of 0600. + Userspace can add and delete the nodes as needed. This is + intended to simplify bootup, and make it possible to delay + the initial coldplug at bootup done by udev in userspace. + It should also provide a simpler way for rescue systems + to bring up a kernel with dynamic major/minor numbers. + Meaningful symlinks, permissions and device ownership must + still be handled by userspace. + If unsure, say N here. + config STANDALONE bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL default y
drivers/base/Makefile +1 -0
@@ -4,6 +4,7 @@ obj-y := core.o sys.o bus.o dd.o \ driver.o class.o platform.o \ cpu.o firmware.o init.o map.o devres.o \ attribute_container.o transport_class.o +obj-$(CONFIG_DEVTMPFS) += devtmpfs.o obj-y += power/ obj-$(CONFIG_HAS_DMA) += dma-mapping.o obj-$(CONFIG_ISA) += isa.o
include/linux/device.h +10 -0
@@ -554,6 +554,16 @@ extern void put_device(struct device *deextern void wait_for_device_probe (void ); +#ifdef CONFIG_DEVTMPFS +extern int devtmpfs_create_node (struct device *dev); +extern int devtmpfs_delete_node (struct device *dev); +extern int devtmpfs_mount (const char *mountpoint); +#else +static inline int devtmpfs_create_node (struct device *dev) {return 0 ; } +static inline int devtmpfs_delete_node (struct device *dev) {return 0 ; } +static inline int devtmpfs_mount (const char *mountpoint) {return 0 ; } +#endif +/* drivers/base/power/shutdown.c */ extern void device_shutdown (void );
include/linux/shmem_fs.h +2 -0
@@ -42,6 +42,8 @@ static inline struct shmem_inode_info *S return container_of(inode, struct shmem_inode_info, vfs_inode); } +extern int init_tmpfs (void ); +#ifdef CONFIG_TMPFS_POSIX_ACL int shmem_permission (struct inode *,int );int shmem_acl_init (struct inode *,struct inode *);
init/do_mounts.c +1 -1
@@ -414,7 +414,7 @@ void __init prepare_namespace(void)mount_root (); out: +devtmpfs_mount ("dev" );sys_mount ("." ,"/" ,NULL ,MS_MOVE ,NULL );sys_chroot ("." ); } -
init/initramfs.c +2 -0
@@ -8,6 +8,7 @@#include <linux/dirent.h> #include <linux/syscalls.h> #include <linux/utime.h> +#include <linux/device.h> static __initdata char *message;static void __init error (char *x)
@@ -600,6 +601,7 @@ static int __init populate_rootfs(void) initrd_end - initrd_start);if (err)printk (KERN_EMERG "Initramfs unpacking failed: %s\n" , err); +devtmpfs_mount ("dev" );free_initrd ();#endif }
init/main.c +2 -0
@@ -64,6 +64,7 @@#include <linux/idr.h> #include <linux/ftrace.h> #include <linux/async.h> +#include <linux/shmem_fs.h> #include <trace/boot.h> #include <asm/io.h>
@@ -778,6 +779,7 @@ static void __init do_basic_setup(void)init_workqueues ();cpuset_init_smp ();usermodehelper_init (); +init_tmpfs ();driver_init ();init_irq_proc ();do_initcalls ();
mm/shmem.c +2 -4
@@ -2523,7 +2523,7 @@ static struct file_system_type tmpfs_fs_ .kill_sb = kill_litter_super, }; -static int __init init_tmpfs (void ) +int __init init_tmpfs (void ) {int error;
@@ -2580,7 +2580,7 @@ static struct file_system_type tmpfs_fs_ .kill_sb = kill_litter_super, }; -static int __init init_tmpfs (void ) +int __init init_tmpfs (void ) {BUG_ON (register_filesystem (&tmpfs_fs_type) !=0 );
@@ -2691,5 +2691,3 @@ int shmem_zero_setup(struct vm_area_stru vma->vm_ops = &shmem_vm_ops;return 0 ; } - -module_init (init_tmpfs)
Hi.
Quoted 18 lines · Greg KH
Here's the latest version of the devtmpfs patch, broken up into 13 different patches to make it easier to review and merge properly.
This series does the following:
- creates a new callback within the driver core to allow drivers and subsystems to provide a name for their subsystem to properly reflect what userspace should use for their device nodes. This allows for things like thesound/and input/ subdirectories to be properly told to userspace. Note these names and subdirectories are the ones that have been used for years, and are standardized across all distributions and synced up with the LANANA naming scheme which is specified by LSB. We aren't creating anything new here.
- fills in the callbacks by the various subsystems that need to define it, including the misc device layer. This is the majority of the patches in the series.
- adds the devtmpfs core code. Description of what this is, why it is needed, and how it works is within this patch.
Quoted 3 lines
All of these patches have been tested for a number of weeks now in SuSE's kernel trees and have proved to increase boot time a measurable ammount (a few seconds at the very least)
Well, guess you meant the opposite ;-)
Quoted 26 lines
on both traditional systems
(servers / desktops) as well as on netbooks using a non-SuSE based userspace infrastructure.This feature also allows rescue systems to work properly by allowing systems to boot into
/bin/bashwith full access to all of their device nodes. It is also a big win on embedded systems with no local users yet they need to provide dynamic names as their hardware configuration can be changed by external forces.All of the previous objections to this patch series seems to have been properly addressed, but as always, comments are welcome, just make them substantial please :)
These patches are now in the driver-core git tree of quilt patches.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Quoted 21 lines · Fabio Comolli
Hi.
Quoted 18 lines · Greg KH
Here's the latest version of the devtmpfs patch, broken up into 13 different patches to make it easier to review and merge properly.
This series does the following:
- creates a new callback within the driver core to allow drivers and subsystems to provide a name for their subsystem to properly reflect what userspace should use for their device nodes. This allows for things like thesound/and input/ subdirectories to be properly told to userspace. Note these names and subdirectories are the ones that have been used for years, and are standardized across all distributions and synced up with the LANANA naming scheme which is specified by LSB. We aren't creating anything new here.
- fills in the callbacks by the various subsystems that need to define it, including the misc device layer. This is the majority of the patches in the series.
- adds the devtmpfs core code. Description of what this is, why it is needed, and how it works is within this patch.
Quoted 5 lines
Quoted 3 lines
All of these patches have been tested for a number of weeks now in SuSE's kernel trees and have proved to increase boot time a measurable ammount (a few seconds at the very least)
Well, guess you meant the opposite ;-)
Heh, yes, sorry about that. It makes booting faster :)
thanks,
greg k-h
Quoted 3 lines · On Sat, 9 May 2009 08:08:53 -0700 Greg KH <[email protected]> wrote:
Quoted 1 line
Well, guess you meant the opposite ;-)
Heh, yes, sorry about that. It makes booting faster :)
.. and I don't buy that.
The only argument I've heard is "oh but it's hard". No it's not. The other argument is "but for more partitions we get other device numbers"... you know what, that's easy to fix. Just make the 32 bit dev number consistent. Few lines of code I bet, and it is benefit for everyone to do that....
Beyond that... this is not needed... but at least call it "devfs".. for what it is.
(and yes there is very obvious irony)
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 8 lines · Arjan van de Ven
Quoted 3 lines · On Sat, 9 May 2009 08:08:53 -0700 Greg KH <[email protected]> wrote:
Quoted 1 line
Well, guess you meant the opposite ;-)
Heh, yes, sorry about that. It makes booting faster :)
.. and I don't buy that.
Kay posted numbers showing this.
I have bootchart graphics somewhere around here that also shows this.
Quoted 1 line
The only argument I've heard is "oh but it's hard". No it's not.
No, it's not "hard", it's just reality :)
Quoted 4 lines
The other argument is "but for more partitions we get other device numbers"... you know what, that's easy to fix. Just make the 32 bit dev number consistent. Few lines of code I bet, and it is benefit for everyone to do that....
Huh? We need to be able to support large number of partitions at boot time. We also need to support an initrd, and not a static /dev/ tree at boot time, as that is what the world requires from a flexible Linux distro that runs on multiple types of hardware configurations.
Sure, if you can ensure your hardware platform isn't going to change, and is relativly limited (as Moblin currently does), then you don't need an initrd and you can get away with a static /dev and save a few hundred's of a second. But the distros can't do that, they are stuck supporting users with tens of partitions and other "wierd" configurations.
Quoted 2 lines
Beyond that... this is not needed... but at least call it "devfs".. for what it is.
It's not a stand-alone filesystem. It's an in-kernel mknod on top of tmpfs. Heck, if it's just a matter of the name change, I'll gladly do it. That doesn't stop the fact that it's still a very useful and needed option for lots of configurations where Linux is used (embedded, rescue disks, fast boot on flexable distros, etc.)
Quoted 1 line
(and yes there is very obvious irony)
devfs was removed for a number of other reasons (bad code, maintainer left, in-kernel policy that was in contrast to the LSB, modprobe from within the kernel, thousands of lines of code, etc.) Turns out that the idea of a devfs is a good one, and here is a simple, and easy to understand and maintain implementation of such a thing.
I'll be the first to say this, hence it is without irony that I am proposing it be included.
If there are any technical problems with the proposed patches, please let us know.
thanks,
greg k-h
Quoted 5 lines · On Sat, 9 May 2009 09:19:23 -0700 Greg KH <[email protected]> wrote:
I have bootchart graphics somewhere around here that also shows this.
Quoted 1 line
The only argument I've heard is "oh but it's hard". No it's not.
No, it's not "hard", it's just reality :)
it's not hard indeed.
Quoted 8 lines
Quoted 5 lines
The other argument is "but for more partitions we get other device numbers"... you know what, that's easy to fix. Just make the 32 bit dev number consistent. Few lines of code I bet, and it is benefit for everyone to do that....
Huh? We need to be able to support large number of partitions at boot time.
yes and ? Of course we do. I fail to see the problem you're trying to point out.
Quoted 1 line
We also need to support an initrd, and not a static
/dev/tree
sure. Your /dev tree has 2 parts; a part that IS static if you want to or not (and this includes /dev/null, /dev/sda2 etc) and there is a dynamic component. Udev is cheap if you prepopulate the part with preassigned numbers. Really. We do it.
udev *is* expensive if you configure it to do the parts that exposes uuids in /dev as files as well as labels. Don't do that. But your scheme doesn't change that so it's an invariant.
(if you insist on having that it'd be not that hard to have udev first put down the dynamic part of the device nodes that you're complaining about and in a second, asynchronous step, do the label thing).
Quoted 2 lines
at boot time, as that is what the world requires from a flexible Linux distro that runs on multiple types of hardware configurations.
I'm not arguing against that. Just like the same flexible linux distro detects that it doesn't need an initramfs and skips that to avoid that penalty.
Quoted 5 lines
Sure, if you can ensure your hardware platform isn't going to change, and is relativly limited (as Moblin currently does), then you don't need an initrd and you can get away with a static /dev and save a few hundred's of a second.
There's nothing fundamental here in your statement. Moblin currently does not use an initrd for netbooks because it assumes you're not going to use a screwdriver to manually add a disk (there's not even space for a second disk). A minimal initrd for mount-by-label isn't all that hard or expensive, especially if you do it so that your store where the partition was with the label, and try there first, and we're obviously going to do that for non-netbooks.
Moblin obviously does NOT use a static /dev, of course not. A modern desktop linux just cannot have that.
Quoted 3 lines
But the distros can't do that, they are stuck supporting users with tens of partitions and other "wierd" configurations.
tens of partitions is NOT a big deal; it is in fact a very false argument to this discussion. Just make the static devices nodes and be done with it. Nobody cares if there's a few files in /dev that represent partitions that you have not made yet. Especially if later on udev removes them (as it does somewhat by accident in some cases ;-)
Alan wants data, fine, no big deal, I've uploaded a typical moblin bootchart
(I've tried to cut off the part past X start because that's just not relevant for this discussion and would confuse things due to the async nature of getting that started)
it's at
http://www.kernel.org/pub/linux/kernel/people/arjan/bootcharts/bootchart.svg
(done on an Asus EEEpc 901 which obviously doesn't have the fastest cpu in the world)
while you can see that udev takes about 0.75 seconds there, the synchronous part of udev (where all the device nodes get made and drivers modprobed) takes a lot less than that, more like 0.2 or so, if that.
(before people point out the inefficiencies of using gdm; yes we know and are working on that)
X is done init at roughly 2.5 seconds into the total boot, (when gdm-session-worker starts).
If your udev takes longer then I would suggest taking a good look at your udev setup...
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
On Sat, 9 May 2009 09:19:23 -0700
Greg KH <[email protected]> wrote:
btw... I would be a LOT happier about the solution from a technical point of view if it wasn't the kernel making the device node, but the kernel exposing a file with a list of all devices, so that userland can chose to mknod or not, with which permissions if non-default and with non-default owners.
So basically (and I'm making up a filename here, don't read too much into that)
cat /proc/alldevices
c 1 4 foobar b 8 0 sda c 122 12 dri/card0
etc
making the actual nodes from this in the most simple case is basically no time in userspace, but a slightly more advanced early userspace app can even do permissions for the few device nodes where it matters etc.
I can imagine that being a good solution that ends up solving your problem, but in a way that is more consistent with what the kernel does right now and how we can then have userland make decisions on where to make the nodes, with what perms etc etc.
In fact such a file would be a greeat help in general, and would be a nice generic solution.
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 23 lines · Arjan van de Ven
On Sat, 9 May 2009 09:19:23 -0700
Greg KH <[email protected]> wrote:btw... I would be a LOT happier about the solution from a technical point of view if it wasn't the kernel making the device node, but the kernel exposing a file with a list of all devices, so that userland can chose to mknod or not, with which permissions if non-default and with non-default owners.
So basically (and I'm making up a filename here, don't read too much into that)cat
/proc/alldevicesc 1 4 foobar b 8 0 sda c 122 12 dri/card0etc
making the actual nodes from this in the most simple case is basically no time in userspace, but a slightly more advanced early userspace app can even do permissions for the few device nodes where it matters etc.
Quoted 6 lines
I can imagine that being a good solution that ends up solving your problem, but in a way that is more consistent with what the kernel does right now and how we can then have userland make decisions on where to make the nodes, with what perms etc etc.
In fact such a file would be a greeat help in general, and would be a nice generic solution.
I just did a tiny 100 line test app.
It took me all of 0.06s to mount /sys and /dev and to walk sysfs and create all 649 of the device nodes.
I had recently done "echo 3 > /proc/sys/vm/drop_caches" to ensure that the test was cache cold.
Looking at Kay's test data he doesn't even try and mount root until 0.2s in.
It seems to me that 0.06s is in the noise, small enough that if even 0.06s is limiting basic optimization work is called for.
Eric
Quoted 32 lines · [email protected] (Eric W. Biederman) writes:
Quoted 23 lines · Arjan van de Ven
On Sat, 9 May 2009 09:19:23 -0700
Greg KH <[email protected]> wrote:btw... I would be a LOT happier about the solution from a technical point of view if it wasn't the kernel making the device node, but the kernel exposing a file with a list of all devices, so that userland can chose to mknod or not, with which permissions if non-default and with non-default owners.
So basically (and I'm making up a filename here, don't read too much into that)cat
/proc/alldevicesc 1 4 foobar b 8 0 sda c 122 12 dri/card0etc
making the actual nodes from this in the most simple case is basically no time in userspace, but a slightly more advanced early userspace app can even do permissions for the few device nodes where it matters etc.Quoted 6 lines
I can imagine that being a good solution that ends up solving your problem, but in a way that is more consistent with what the kernel does right now and how we can then have userland make decisions on where to make the nodes, with what perms etc etc.
In fact such a file would be a greeat help in general, and would be a nice generic solution.
Quoted 4 lines
I just did a tiny 100 line test app.
It took me all of 0.06s to mount /sys and /dev and to walk sysfs and create all 649 of the device nodes.
Ok. I just asked the question how much is mknod and how much is traversing /sys.
If the I hard code the devices to make in my test app the time is, 0.01s, even on my old 700Mhz amd k7. So the time to traverse sys to find the device numbers is a big part of the cost.
At the same time. Things can potentially be sped up quite a bit by walking /sys/dev/block and /sys/dev/char and just calling readlink.
A cheaper way of reading the devices out of sysfs might be in order, to ensure the bottleneck is mknod speed. But I just don't see this gating boot speed.
Eric
Andrew Morton
maintainerQuoted 2 lines · On Sat, 9 May 2009 09:19:23 -0700 Greg KH <[email protected]> wrote:
We need to be able to support large number of partitions at boot
time.
I suspect that the intersection between (systems which need to shave boot time to the minimum) and (systems which have lots of partitions) is quite small?
Quoted 8 lines · Andrew Morton
Quoted 2 lines · On Sat, 9 May 2009 09:19:23 -0700 Greg KH <[email protected]> wrote:
We need to be able to support large number of partitions at boot
time.I suspect that the intersection between (systems which need to shave boot time to the minimum) and (systems which have lots of partitions) is quite small?
No, not at all, lots of desktops have one or two disks with 15+ partitions. Those users want fast boot times as well.
thanks,
greg k-h
Quoted 6 lines · On Sun, 10 May 2009 08:20:05 -0700 Greg KH <[email protected]> wrote:
Quoted 5 lines · Andrew Morton
Quoted 2 lines · On Sat, 9 May 2009 09:19:23 -0700 Greg KH <[email protected]> wrote:
We need to be able to support large number of partitions at boot
time.
Quoted 6 lines
Quoted 3 lines
I suspect that the intersection between (systems which need to shave boot time to the minimum) and (systems which have lots of partitions) is quite small?
No, not at all, lots of desktops have one or two disks with 15+ partitions. Those users want fast boot times as well.
if partitions > 15 don't have stable numbers surely we could fix that....
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 6 lines · Greg KH
Quoted 5 lines · Andrew Morton
Quoted 2 lines · On Sat, 9 May 2009 09:19:23 -0700 Greg KH <[email protected]> wrote:
We need to be able to support large number of partitions at boot
time.
Quoted 6 lines
Quoted 3 lines
I suspect that the intersection between (systems which need to shave boot time to the minimum) and (systems which have lots of partitions) is quite small?
No, not at all, lots of desktops have one or two disks with 15+ partitions. Those users want fast boot times as well.
/me boggles, however does one end up with that many partitions on so few disks?
/boot
/
/home
/usr
swap/usr/local
/opt
and I'm seriously out of sensible ideas.
Quoted 2 lines
/me boggles, however does one end up with that many partitions on so few disks?
It happens. Tejun did the extending because libata users were really hitting these limits.
Quoted 9 lines
/boot
/
/home
/usr
swap/usr/local
/optand I'm seriously out of sensible ideas.
I've seen two usual variants
Fedora & Unbuntu & Debian & ....
Fedora 10 & Rawhide & Fedora 9 & ...
for people who like to play with distros or need to test a product on them
and once you do that 16 is quite easy
Quoted 18 lines · Alan Cox
Quoted 2 lines
/me boggles, however does one end up with that many partitions on so few disks?
It happens. Tejun did the extending because libata users were really hitting these limits.
Quoted 9 lines
/boot
/
/home
/usr
swap/usr/local
/optand I'm seriously out of sensible ideas.
I've seen two usual variants
Quoted 7 lines
Fedora & Unbuntu & Debian & ....
Fedora 10 & Rawhide & Fedora 9 & ...
for people who like to play with distros or need to test a product on them
and once you do that 16 is quite easy
That's right. Also people with virtualization, running many guest from individual partitions, like to do that - and 16 is nothing for them. :)
Some of us run the dynamic sd minors already, and it's not unlikely we will enable it pretty soon for the distro.
Thanks,
Kay
Quoted 27 lines · On Mon, 11 May 2009 01:47:16 +0200 Kay Sievers <[email protected]> wrote:
Quoted 25 lines · Alan Cox
Quoted 2 lines
/me boggles, however does one end up with that many partitions on so few disks?
It happens. Tejun did the extending because libata users were really hitting these limits.
Quoted 9 lines
/boot
/
/home
/usr
swap/usr/local
/optand I'm seriously out of sensible ideas.
I've seen two usual variants
Fedora & Unbuntu & Debian & ....
Fedora 10 & Rawhide & Fedora 9 & ...
for people who like to play with distros or need to test a product on them
Quoted 9 lines
Quoted 1 line
and once you do that 16 is quite easy
That's right. Also people with virtualization, running many guest from individual partitions, like to do that - and 16 is nothing for them. :)
Some of us run the dynamic sd minors already, and it's not unlikely we will enable it pretty soon for the distro.
I'm still missing why > 16 implies "dynamic"/..
(and it seems to be irrelevant to the devtmpfs discussion anyway since Eric Biederman has shown that pulling the device numbers out of sysfs is basically free... even though it'd be nice to give that some help to make it a nice index)
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Kay Sievers
Quoted 4 lines · Arjan van de Ven
(and it seems to be irrelevant to the devtmpfs discussion anyway since Eric Biederman has shown that pulling the device numbers out of sysfs is basically free... even though it'd be nice to give that some help to make it a nice index)
Devtmpfs is the simplest, is the fastest, is the most reliable, and it is the most flexible
FLEXIBLE?
Quoted 5 lines
option for us. And still, nobody will be forced
to use it, it's entirely optional. For our systems, we decided to do it that way, and we ship it already in the distro, and if there are no substantial problems coming up, which we don't expect, we will continue using it.
Yes but you are asking all of us to maintain it. Forever in perpetuity. A better case needs to be made than you have already shipped the code.
I'm sorry you decided to ship the code before getting a review. I guess that is the definition of an experimental feature. One not in the upstream kernel.
Quoted 1 line
You might not like it for whatever reason.
I think your justification for this ``feature'' is strongly flawed.
You claim to save 2 seconds of a process that should take less than a tenth of a second.
You claim flexibility while removing user space from the policy loop.
You claim speed increases when comparing to a dog slow non-tuned implementation.
Quoted 1 line
And we consider this problem as solved.
What backroom have you had that discussion?
You are presenting this as a decision already made. I think you are not playing well with others.
I don't see a case having been made that the existing user space interface is broken. Just that the udev implementation is slow.
I think a slow user space application is simply not a justification for putting code in the kernel.
I think a developer using faulty arguments for their code likely has not thought things through and that is enough reason to call suspicion onto the code in my opinion.
Eric
Quoted 4 lines · Eric W. Biederman
Quoted 2 lines
Devtmpfs is the simplest, is the fastest, is the most reliable, and it is the most flexible
FLEXIBLE?
Yes, flexible because you can do whatever you want in whatever order and never run into problems with an empty /dev. You can even just ignore /dev and go ahead. There are basically no dependencyies to do other things in parallel.
Quoted 8 lines
Quoted 5 lines
option for us. And still, nobody will be forced
to use it, it's entirely optional. For our systems, we decided to do it that way, and we ship it already in the distro, and if there are no substantial problems coming up, which we don't expect, we will continue using it.Yes but you are asking all of us to maintain it. Forever in perpetuity. A better case needs to be made than you have already shipped the code.
I would be very careful with such statement if you want us to accept your namespace hacks in the future. I guess if we ask with your next round "do we want to to have to maintain this for forever" you get a very different answer than today.
Quoted 3 lines
I'm sorry you decided to ship the code before getting a review. I guess that is the definition of an experimental feature. One not in the upstream kernel.
No, I did decide to ship it in the distro which is how things work since forever. And it's not in the upstream kernel now, while this discussion happens.
Quoted 3 lines
Quoted 1 line
You might not like it for whatever reason.
I think your justification for this ``feature'' is strongly flawed.
I did not hear any substantial technical argument so far.
Quoted 4 lines
You claim to save 2 seconds of a process that should take less than a tenth of a second.
You claim flexibility while removing user space from the policy loop.
The made up numbers you are bringing up here, suggest that you never worked in that area, and really, can you please talk about things you have experience with, or get the needed one _before_ calling things "flawed", "slow". You even suggest non-working racy hacks instead, which is far from funny.
Quoted 2 lines
You claim speed increases when comparing to a dog slow non-tuned implementation.
Again. nothing is dog-slow. We just don't do unreliable bad hacks like you suggest. Have you ever wondered why _every_ distro does it this way? Maybe they are all stupid and just wait for you to tell them and solve their problem.
Quoted 3 lines
Quoted 1 line
And we consider this problem as solved.
What backroom have you had that discussion?
I wrote like ten times as many words as are in the patch, here in this thread. I don't think there is any backroom here.
Quoted 2 lines
You are presenting this as a decision already made. I think you are not playing well with others.
Oh, like calling stuff "flawed", "dog-slow", while not even seen any of this running for real?
Quoted 3 lines
I don't see a case having been made that the existing user space interface is broken. Just that the udev implementation is slow.
That's utter nonsense. It's not slow at all, it's just slower that what we can do with the bit of help from the kernel.
Quoted 2 lines
I think a slow user space application is simply not a justification for putting code in the kernel.
Can you read? Did you read the many reasons why we want this? I guess not.
Quoted 3 lines
I think a developer using faulty arguments for their code likely has not thought things through and that is enough reason to call suspicion onto the code in my opinion.
You seem running in circles with searching for a "suspicion". Care to provide a technical argument for the first time? That would be appreciated.
Thanks,
Kay
Quoted 4 lines
I would be very careful with such statement if you want us to accept your namespace hacks in the future. I guess if we ask with your next round "do we want to to have to maintain this for forever" you get a very different answer than today.
Take your unpleasant threatening attitude somewhere else. There are a lot of people very interested in namespaces.
Quoted 7 lines
Quoted 3 lines
I'm sorry you decided to ship the code before getting a review. I guess that is the definition of an experimental feature. One not in the upstream kernel.
No, I did decide to ship it in the distro which is how things work since forever. And it's not in the upstream kernel now, while this discussion happens.
And since forever the upstream approach has been "we don't care if you shipped it first, that's *your* problem"
You've yet to demonstrate
- That your patches are a real speed up
- That dumping more crap in kernel without policy and management is a good idea
- That the other proposals are worse than yours.
Arjan produced detailed boot graphs and boots a box very fast indeed. I see no boot graphs, no detailed analysis here.
Instead we have obnoxious threats to Eric Biederman and an "I am going to ram this into the kernel whatever" approach.
Neither are constructive or useful and this isn't the way the Linux kernel project works. Yes maybe you can stuff things into Greg's tree easily because you both work for SuSE but that isn't the right way to do stuff for upstream.
Alan
Quoted 2 lines · Alan Cox
You've yet to demonstrate
- That your patches are a real speed up
And I did, and it's obvious that creating a single file along with the ~10 we already create in /sys, instead of running through /sys or /proc later and reconstruct what we missed, is always, and in every case faster and simpler. It gets rid of a bunch of things we need to do today, and depending how much of the things you remove, you get faster. It's a different model and hard to compare directly. But for a fact, you can never be faster than the kernel provided nodes.
Quoted 2 lines
- That dumping more crap in kernel without policy and management is a good idea
What exactly do you find is "crap"? What do you mean with "management"?
Quoted 1 line
- That the other proposals are worse than yours.
I also did, in exactly this thread.
Quoted 2 lines
Arjan produced detailed boot graphs and boots a box very fast indeed. I see no boot graphs, no detailed analysis here.
I did in a reply to your earlier mail. And also mentioned the init=/bin/sh case, which I think, would be reason enough alone, without all the other gains, to do that.
Quoted 2 lines
Instead we have obnoxious threats to Eric Biederman and an "I am going to ram this into the kernel whatever" approach.
Nobody says such thing. I just defend against "dog-slow", "backroom", and the proposal of even more broken hacks to solve this very problem. There is no hammering at all, it's just my personal discomfort with replies who ignore the real issues, and bring up false facts.
Quoted 2 lines
Neither are constructive or useful and this isn't the way the Linux kernel project works.
You might be right here, I don't disagree. It's becoming more a personal issue than a technical, and sorry for that. But stuff like this happens sometimes, and it's also sometimes "how the kernel project works". :) Again, sorry.
Quoted 3 lines
Yes maybe you can stuff things into Greg's tree
easily because you both work for SuSE but that isn't the right way to do stuff for upstream.
Come on. You can not convince Greg about anything, just because you happen to work for the same company. Many of us share a company with others, also you did in the past and you do now - and we will get nowhere bringing up such conspiracy statements.
We came up with this, because we think it is the right thing, and it has proven to solve our problems, and I'm personally still convinced it is the best option, that's all.
Thanks,
Kay
Re: [patch 00/13] devtmpfs
Quoted 4 lines · On Mon, 11 May 2009 13:34:52 +0200 Kay Sievers <[email protected]> wrote:
Quoted 2 lines
- That the other proposals are worse than yours.
I also did, in exactly this thread.
no you have not. But I'd like you to ;)
You have not commented substantially on my counter proposal to make the single file with the "device list" (eg char/block, major, minor, name) so that userland can make the nodes in 0.01-or-less seconds, but with the permissions/owners it wants and the tmpfs mount options it wants.
Again this makes for a more flexible solution (not flexible in "if you don't like it don't use it" sense but flexible in the "there's multiple uses and ways to use it" sense) while keeping the benefits of what you want to achieve.
Eric has shown that making the nodes itself and mounting the tmpfs is basically free, but that the cost (0.05 seconds) was in groveling through sysfs. Fixing that.. I'm all for it.
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Re: [patch 00/13] devtmpfs
Quoted 8 lines · Arjan van de Ven
Quoted 4 lines · On Mon, 11 May 2009 13:34:52 +0200 Kay Sievers <[email protected]> wrote:
Quoted 2 lines
- That the other proposals are worse than yours.
I also did, in exactly this thread.
no you have not. But I'd like you to ;)
I did. It's reliability, the race for new devices coming in when you start reading your list and finishing creating the nodes. You will miss these device, which we don't want to work around with another hack. You will have to bring up the machinery that listens to events for new devices, before synthesizing the stuff that is already there.
Quoted 5 lines
You have not commented substantially on my counter proposal to make the single file with the "device list" (eg char/block, major, minor, name) so that userland can make the nodes in 0.01-or-less seconds, but with the permissions/owners it wants and the tmpfs mount options it wants.
I did. We have all that information in /sys already. I don't see the reason for another file other than to provide the information to make just another new userspace hack a bit more efficient.
Quoted 4 lines
Again this makes for a more flexible solution (not flexible in "if you don't like it don't use it" sense but flexible in the "there's multiple uses and ways to use it" sense) while keeping the benefits of what you want to achieve.
Sure, but it's already in /sys today, and we use it that way already.
Quoted 3 lines
Eric has shown that making the nodes itself and mounting the tmpfs is basically free, but that the cost (0.05 seconds) was in groveling through sysfs. Fixing that.. I'm all for it.
The point is the mentioned race, which we need to cover.
And the main point is the reliability, let all the weird speed arguments and made-up numbers alone. You depend on whatever rather complex userspace to bring your box. And people complain about that for years, and for good reason.
On my box we create 12152 files in /sys on bootup, and with devtmps the same code creates 218 simple device nodes with the same call, and this makes bootup reliable, more self-contained, and as a nice side effect makes it faster. Just focus on init=/bin/sh, if you want to see the reason behind all this.
We focused on the speed here, because we want to solve the initramfs problem, a problem you solved by getting rid of it entirely, which is what I do on all my own boxes too, but what the distro guys will never want to accept.
Thanks,
Kay
Re: [patch 00/13] devtmpfs
Quoted 9 lines · On Mon, 11 May 2009 15:28:33 +0200 Kay Sievers <[email protected]> wrote:
Quoted 7 lines · Arjan van de Ven
Quoted 4 lines · On Mon, 11 May 2009 13:34:52 +0200 Kay Sievers <[email protected]> wrote:
Quoted 2 lines
- That the other proposals are worse than yours.
I also did, in exactly this thread.
Quoted 7 lines
Quoted 1 line
no you have not. But I'd like you to ;)
I did. It's reliability, the race for new devices coming in when you start reading your list and finishing creating the nodes. You will miss these device, which we don't want to work around with another hack. You will have to bring up the machinery that listens to events for new devices, before synthesizing the stuff that is already there.
and this is hard because ?
certainly udev already does the listen machinery as its first step; after setting that up, quickly racing down a "list" (whatever form you make that in) and then daemonizing to work through the events shouldn't be a problem.
(and you are right, while this is not an issue without initramfs, because the kernel doesn't return until all probing activity has finished, it might be a problem for initramfs, because that executes before all the probing is done. But it's not a hard issue, just a sequencing issue)
Quoted 10 lines
Quoted 6 lines
You have not commented substantially on my counter proposal to make the single file with the "device list" (eg char/block, major, minor, name) so that userland can make the nodes in 0.01-or-less seconds, but with the permissions/owners it wants and the tmpfs mount options it wants.
I did. We have all that information in /sys already. I don't see the reason for another file other than to provide the information to make just another new userspace hack a bit more efficient.
I personally don't think the 0.06 seconds are a problem, but I got the impression that you were trying to optimize this path with your patch. (After all, it is pretty much the cost of the thing you're optimizing)
Quoted 3 lines
And the main point is the reliability, let all the weird speed arguments and made-up numbers alone.
I'm sorry, but you're either trying to be obnoxious or telling us your own numbers are made up. Since I doubt the former, and neither my nor Erics numbers are made up, I'll assume the later...
Quoted 3 lines
You depend on whatever rather
complex userspace to bring your box. And people complain about that for years, and for good reason.
prior to sysfs people depended on MAKEDEV (and the fact that they chose to not use tmpfs but a real fs for /dev) for this. It's not that much different today. Using tmpfs for /dev is a local choice. It's fully optional in fact.. and that's a good thing.
Quoted 6 lines
On my box we create 12152 files in /sys on bootup, and with devtmps the same code creates 218 simple device nodes with the same call, and this makes bootup reliable, more self-contained, and as a nice side effect makes it faster. Just focus on init=/bin/sh, if you want to see the reason behind all this.
init=/bin/sh is an interesting subcase, sure. It means in the "before your patch" scenario that people get the "real /dev directory", and not the tmpfs overmount. It's a distro choice what to put there. Fedora puts nothing there, Moblin puts only all static-allocated device nodes there. I don't know what openSuSE puts there.
People who use init=/bin/sh don't expect a full system, yet they expect a certain amount of system that allows them to do system recovery I suppose. I don't consider the delta between "static nodes only" and "devshmfs" to be significant here. In a recovery scenario, if you WANT something dynamic you start the thing to do dynamic by hand. Otherwise you want something predictable.
Quoted 4 lines
We focused on the speed here, because we want to solve the initramfs problem, a problem you solved by getting rid of it entirely, which is what I do on all my own boxes too, but what the distro guys never want to accept.
Now you've lost me. I am missing the link between this and initramfs entirely. How you do /dev has extremely little to do with initramfs or not. Sure you need the rootfs device node before you can mount root for the initramfs case, just like you need the rootfs device node before you can fsck it in the non-initramfs case. In both cases you want all the device nodes as fast as you can, but within the system policy of ownership, permissions, selinux contexts, tmpfs mount options etc. And Eric showed that that is a 0.06 second thing.. not a big deal in the grand scheme of things, even if you want to boot the whole system in 2 seconds like we do.
Also you're rather generalizing with "the distro guys"... the Moblin distribution already does this for the cases where it is possible. I wouldn't be surprised if other distros figured out how to detect this case and ditch the initramfs when it's possible, while keeping it and doing it cheaply when it's required to have an initramfs.
Signature · 1 line
Arjan van de Ven Intel Open Source Technology Centre
Re: [patch 00/13] devtmpfs
Quoted 11 lines · Arjan van de Ven
Quoted 11 lines
Quoted 8 lines · Arjan van de Ven
Quoted 4 lines · On Mon, 11 May 2009 13:34:52 +0200 Kay Sievers <[email protected]> wrote:
Quoted 2 lines
- That the other proposals are worse than yours.
I also did, in exactly this thread.
no you have not. But I'd like you to ;)
Quoted 7 lines
Quoted 5 lines
I did. It's reliability, the race for new devices coming in when you start reading your list and finishing creating the nodes. You will miss these device, which we don't want to work around with another hack. You will have to bring up the machinery that listens to events for new devices, before synthesizing the stuff that is already there.
and this is hard because ?
No, I just object to the "it's free" statement. :)
Quoted 5 lines
(and you are right, while this is not an issue without initramfs, because the kernel doesn't return until all probing activity has finished, it might be a problem for initramfs, because that executes before all the probing is done. But it's not a hard issue, just a sequencing issue)
Right, and we would like to get the freedom of doing anything in parallel to that step. If it's done race-free, it's not really cheap anymore.
Quoted 3 lines
I personally don't think the 0.06 seconds are a problem, but I got the impression that you were trying to optimize this path with your patch. (After all, it is pretty much the cost of the thing you're optimizing)
Nah, I wanted to de-couple userspace dependencies to get a working /dev, so userspace can go ahead and do as many tasks as possible, as early as possible, without the restrictions to wait for another process to synthesize a working /dev first. We are optimizing for robustness and simplicity, and not for speed, that's just the side-effect, and what motivated us.
Quoted 6 lines
Quoted 2 lines
And the main point is the reliability, let all the weird speed arguments and made-up numbers alone.
I'm sorry, but you're either trying to be obnoxious or telling us your own numbers are made up. Since I doubt the former, and neither my nor Erics numbers are made up, I'll assume the later...
Sorry, if that was reading wrong. I meant replies like:
"I think your justification for this ``feature'' is strongly flawed. You claim to save 2 seconds of a process that should take less than a tenth of a second. You claim flexibility while removing user space from the policy loop. You claim speed increases when comparing to a dog slow non-tuned implementation."
I don't even know from what we could save 2 full seconds today.
Quoted 8 lines
Quoted 3 lines
You depend on whatever rather
complex userspace to bring your box. And people complain about that for years, and for good reason.prior to sysfs people depended on MAKEDEV (and the fact that they chose to not use tmpfs but a real fs for /dev) for this. It's not that much different today. Using tmpfs for /dev is a local choice. It's fully optional in fact.. and that's a good thing.
Sure, that's good.
Quoted 11 lines
Quoted 5 lines
On my box we create 12152 files in /sys on bootup, and with devtmps the same code creates 218 simple device nodes with the same call, and this makes bootup reliable, more self-contained, and as a nice side effect makes it faster. Just focus on init=/bin/sh, if you want to see the reason behind all this.
init=/bin/sh is an interesting subcase, sure. It means in the "before your patch" scenario that people get the "real /dev directory", and not the tmpfs overmount. It's a distro choice what to put there. Fedora puts nothing there, Moblin puts only all static-allocated device nodes there. I don't know what openSuSE puts there.
Usually it contained a few nodes, but I've seen an empty /dev too.
Quoted 6 lines
People who use init=/bin/sh don't expect a full system, yet they expect a certain amount of system that allows them to do system recovery I suppose. I don't consider the delta between "static nodes only" and "devshmfs" to be significant here. In a recovery scenario, if you WANT something dynamic you start the thing to do dynamic by hand. Otherwise you want something predictable.
I think it fits nicely to sysfs, and solves the init=/bin/sh problem quit nicely, and is more "predictable" than the usual /dev content, in the light of the current state of dynamic numbers.
It's not worth too much to have something predictably non-working. :)
Quoted 10 lines
Quoted 4 lines
We focused on the speed here, because we want to solve the initramfs problem, a problem you solved by getting rid of it entirely, which is what I do on all my own boxes too, but what the distro guys never want to accept.
Now you've lost me. I am missing the link between this and initramfs entirely. How you do /dev has extremely little to do with initramfs or not. Sure you need the rootfs device node before you can mount root for the initramfs case, just like you need the rootfs device node before you can fsck it in the non-initramfs case.
Yeah, and random tools you want to start as early as possible, you need to delay until /dev is working.
Quoted 2 lines
In both cases you want all
the device nodes as fast as you can,
Which can never be faster than using devtmpfs. :)
Quoted 2 lines
but within the system policy of
ownership, permissions, selinux contexts, tmpfs mount options etc.
That's what udev still does, and will continue to do so. It's just de-coupled from bringing up the mandatory basics of the system. All the policy still lives in udev as it does today, it can just be applied in the background unlike today.
Quoted 3 lines
And Eric showed that that is a 0.06 second thing.. not a big deal in the grand scheme of things, even if you want to boot the whole system in 2 seconds like we do.
Yeah, and I object to just another userspace hack which makes things even more complex as they already are. And it will always be slower and less robust than the devtmpfs thing too.
Quoted 5 lines
Also you're rather generalizing with "the distro guys"... the Moblin distribution already does this for the cases where it is possible. I wouldn't be surprised if other distros figured out how to detect this case and ditch the initramfs when it's possible, while keeping it and doing it cheaply when it's required to have an initramfs.
Yeah, that might be nice to have, but there are not many boxes that can not get a disk added, and you need a reliable way to cope with that, and today that is initramfs. It's great that Moblin can do that, but I meant general purpose distros, which can not know much of the environment in advance they will run on.
Thanks,
Kay
Quoted 4 lines
And I did, and it's obvious that creating a single file along with the ~10 we already create in /sys, instead of running through /sys or /proc later and reconstruct what we missed, is always, and in every case faster and simpler. It gets rid of a bunch of things we need to
Arjan's numbers for sysfs are 0.06 seconds if I remember the mail correctly. That doesn't account for any meaningful speedup.
Quoted 4 lines
Quoted 2 lines
- That dumping more crap in kernel without policy and management is a good idea
What exactly do you find is "crap"? What do you mean with "management"?
Device spaces have user controlled naming rules, user controlled permissions, user controlled labelling and the like. That is policy, and the administering of that is management.
That was one of the things that killed devfs eventually, and it's not a problem your proposal or devfs solved.
Quoted 4 lines
Quoted 2 lines
- That the other proposals are worse than yours.
I also did, in exactly this thread.
Sorry, but I can't find any convincing evidence in the mails. I see unhelpful things like you calling Arjan's numbers "made up", despite the fact he has spent months working on speeding up boot and has probably the most detailed analysis and data sets anyone does.
In fact I see a litany of comments in response to technical queries and asking you to justify the code (as opposed to you trying to ask anyone to justify why it shouldn't get dumped in tree)
Most of those comments are not helpful
Quoted 6 lines
Quoted 2 lines
Arjan produced detailed boot graphs and boots a box very fast indeed. I see no boot graphs, no detailed analysis here.
I did in a reply to your earlier mail. And also mentioned the init=/bin/sh case, which I think, would be reason enough alone, without all the other gains, to do that.
I think you actually hit the nail on the head a lot earlier when you asked Arjan "How will you solve the dynamic device numbers". Which is that we could fix them ....
What is the real underlying concern and what problem should we fix.
We have at least six takes on this
1. What problem ?
2. The udev userspace setup you are using sucks so fix it
3. Udev sucks because it can't get the early boot events so has to
do it the hard way - so queue them
4. Udev sucks because it can't get the early boot events so create
a single table for it to read
5. Make the new big block numbers stable
6. Recreate devfs in a new but more clean form
I don't buy take #1 so I would like to understand
- Why Arjan's systems boot very fast and yours don't
- Why you think sysfs changes will help when the stats say its 0.06 of a second and udev is not it appears taking much time anyway
- How you think you've solved the devfs problems about persistency and the like and what performance cost that has. That killed devfs in the end.
But even more I'd like to know wtf we don't just fix the stability of the big block device numbering by attaching them to the existing block device nodes using minors > 256 which are currently unused in this space. Historically it didn't happen because Al Viro jumped up and down about the initial proposal but its cleaner than a new devfs and it solves the problem for everyone.
Given most distros use udev sorting udev out is obviously useful but its not the 0.06 seconds - its the rest of the time that matters. If a sysfs table of devices or buffering the events until it starts sorts that then we have a far better model.
Udev tackles all the hard stuff - policy in user space, event triggering for management etc, that your new devfs simply doesn't address. Fixing udev isn't so much fun but it does actually get us something featureful and useful that does what people want.
Quoted 7 lines · Alan Cox
Quoted 4 lines
And I did, and it's obvious that creating a single file along with the ~10 we already create in /sys, instead of running through /sys or /proc later and reconstruct what we missed, is always, and in every case faster and simpler. It gets rid of a bunch of things we need to
Arjan's numbers for sysfs are 0.06 seconds if I remember the mail correctly. That doesn't account for any meaningful speedup.
Sure it does. It is great, and it started a huge effort for many people to think about the current way to do it. It is very welcome and it counts a lot, and there is no doubt, that most of the gains we get today are due to Arjans work in that area.
But he does not use an initramfs, and distros insist to do that. And that basically means you need to prepare /dev two times, and also prep the system to cope to bootup without an initramfs, because people, me included, don't want one on their own boxes. So comparing these numbers does not really work too well for distros which need to support so much more than root=/dev/sda2.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
- That dumping more crap in kernel without policy and management is a good idea
What exactly do you find is "crap"? What do you mean with "management"?
Device spaces have user controlled naming rules, user controlled permissions, user controlled labelling and the like. That is policy, and the administering of that is management.
I see. But that does not change at all. It's just that you can also bring up the box without the complex management we need to do today. That is worth so much, in case you need to rescue it. For the real system nothing will change, but the hard dependency on userspace starts _after_ the basics of the box are running, at a point you can probably start fixing things. Today you always need a rescue disk.
Quoted 2 lines
That was one of the things that killed devfs eventually, and it's not a problem your proposal or devfs solved.
Oh, that old devfs was killed for many good reasons, sure. The biggest reason alone to kill it, was the dumb new naming scheme, which broke everything and got us almost nothing. But it also allowed us to boot the box without the large dependencies, that part we like to have back, even today.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
- That the other proposals are worse than yours.
I also did, in exactly this thread.
Sorry, but I can't find any convincing evidence in the mails. I see unhelpful things like you calling Arjan's numbers "made up", despite the fact he has spent months working on speeding up boot and has probably the most detailed analysis and data sets anyone does.
No, sorry, if that reads that way. I called Eric's "seconds" made-up. Arjan even mentioned several times in this thread that he does not complain about the speed of udev. But we can not really compare Arjan's numbers because he uses a "shortcut", distros can't do for a general purpose system.
Quoted 5 lines
I think you actually hit the nail on the head a lot earlier when you asked Arjan "How will you solve the dynamic device numbers". Which is that we could fix them ....
What is the real underlying concern and what problem should we fix.
Sure, I don't object, but it's far more than disks. You need to change more subsystems using dynamic numbers. I just stated, that distros can not go for any static nodes with the current kernel, mainly for correctness reasons, let alone, that there are many more block devices to boot from than sd* nodes, which you really don't want to add all of them statically.
Quoted 3 lines
We have at least six takes on this
1. What problem ?
The reliability on a complex userspace to bring up the basics of a box. The speed is a nice side-effect, and was the actual motivation. Just as all of Arjan's async work is motivated by speed, but it also makes things more efficient, and more flexible.
As mentioned, we create 12.000 files in sysfs, now we just add 210 and decouple the kernel initial bootup from a complex userspace dependency, all for the sake of robustness, that is also faster and very flexible.
Quoted 1 line
2. The udev userspace setup you are using sucks so fix it
I personally wrote most of the "sucking" stuff, so anybody should let me know, what can be fixed and how.
Quoted 2 lines
3. Udev sucks because it can't get the early boot events so has to do it the hard way - so queue them
No, that problem is solved by exporting all of it in sysfs already today. But that does not provide any of the robustness and reliability gains the kernel-provided nodes do.
Quoted 2 lines
4. Udev sucks because it can't get the early boot events so create a single table for it to read
Same as 3.), solved by reading today's sysfs.
Quoted 1 line
5. Make the new big block numbers stable
Might be nice to have, but we still can't include all of the possible block driver names and nodes in initramfs. Distros can just not manage that, and don't do it today.
Quoted 1 line
6. Recreate devfs in a new but more clean form
I thought we did here. :)
Quoted 3 lines
I don't buy take #1 so I would like to understand
- Why Arjan's systems boot very fast and yours don't
Mine does too. But general purpose systems have different problems to solve.
Quoted 2 lines
- Why you think sysfs changes will help when the stats say its 0.06 of a second and udev is not it appears taking much time anyway
Which sysfs changes?
Quoted 3 lines
- How you think you've solved the devfs problems about persistency and the like and what performance cost that has. That killed devfs in the end.
What problem? It will not be different from what we do today and what udev does. It will be just more reliable, and the point userspace dependencies to manage /dev will be later, at a point, you can already interact with the system.
Quoted 6 lines
But even more I'd like to know wtf we don't just fix the stability of the big block device numbering by attaching them to the existing block device nodes using minors > 256 which are currently unused in this space. Historically it didn't happen because Al Viro jumped up and down about the initial proposal but its cleaner than a new devfs and it solves the problem for everyone.
Sounds good to me, I have no objections.
Quoted 4 lines
Given most distros use udev sorting udev out is obviously useful but its not the 0.06 seconds - its the rest of the time that matters. If a sysfs table of devices or buffering the events until it starts sorts that then we have a far better model.
Sysfs itself is already information and buffer enough today, we have all the information we need already, I think. What changes are you proposing here?
Quoted 3 lines
Udev tackles all the hard stuff - policy in user space, event triggering for management etc, that your new devfs simply doesn't address. Fixing udev isn't so much fun
Let me know what specifically needs to be fixed, I'll do it right away, I wrote and maintain most of it, so I should be pretty quick to act here. I work on it almost every day, and I mostly don't find it non-funny. :)
Quoted 2 lines
but it does actually get us something featureful
and useful that does what people want.
Actually, many people asked for more robustness and less complexity to bring up a box, not for more special hacks in udev, initramfs, the boot scripts. That's what we try to solve here, and what we did, from my perspective.
Thanks,
Kay
Quoted 11 lines · On Mon, 11 May 2009 16:14:28 +0200 Kay Sievers <[email protected]> wrote:
Quoted 8 lines · Alan Cox
Quoted 5 lines
And I did, and it's obvious that creating a single file along with the ~10 we already create in /sys, instead of running through /sys or /proc later and reconstruct what we missed, is always, and in every case faster and simpler. It gets rid of a bunch of things we need to
Arjan's numbers for sysfs are 0.06 seconds if I remember the mail correctly. That doesn't account for any meaningful speedup.
Quoted 7 lines
Sure it does. It is great, and it started a huge effort for many people to think about the current way to do it. It is very welcome and it counts a lot, and there is no doubt, that most of the gains we get today are due to Arjans work in that area.
But he does not use an initramfs, and distros insist to do that. And that basically means you need to prepare /dev two times, and also prep
eh why?
this is the part I'm missing.
Make /dev in the initramfs, then bind-mount-move it to its final location later.
you ever only need to fill your tmpfs /dev once. initramfs or not.
Quoted 8 lines · Arjan van de Ven
Quoted 2 lines
But he does not use an initramfs, and distros insist to do that. And that basically means you need to prepare /dev two times, and also prep
eh why?
this is the part I'm missing.
Make /dev in the initramfs, then bind-mount-move it to its final location later.
Yeah, sure, that's what distros do, if initramfs was used.
Quoted 1 line
you ever only need to fill your tmpfs /dev once. initramfs or not.
But you do need to support non-initramfs boot on the same system too, so you get to provide all that bootstrap logic, mount an empty /dev and such, ... installed a second time to possibly run from the real rootfs. That step is partly skipped if initramfs did the tmpfs thing already, but ...
Initramfs is only used to mount the root and then you leave it behind you as soon as you can. Only on the real root you find all the additional udev rules, and tools, which are not available in initramfs, and you need to re-run the coldplug to apply the permissions, group ownership, create the configured symlinks, and run the tools to setup devices.
All these steps involve hard checkpoints where you have to delay other things that might need device nodes which need to be created first. Depending on the actual boot setup where you did the bootstrap, the checkpoint vary.
Thanks,
Kay
Quoted 2 lines
But he does not use an initramfs, and distros insist to do that. And that basically means you need to prepare /dev two times, and also prep
Once. You may want to move a few bits later. You only need null, zero and console to get started. Thats three fixed device nodes.
If we have stable block numbers you might need more than one extra if you have to search for a UUID/label and it moved from where you cached it. Without stable block numbers you can't cache the node but most create lots of nodes to go looking. Do I understand that bit right ?
However you still only create it once as you have zero, console and null on the initrd already and do
mkdir final-dev
mount tmpfs
create them in final-dev
mount root
move final-dev
Tell me if I'm going astray here as I want to clearly understand the problem.
Another data point: On a fairly typical PC on a single CPU we can do over 30,000 mknods per second on tmpfs. I've just benched it. So you can create those block nodes very fast indeed.
On a 1 second budget I can create 3000 device nodes (which should cover most user systems quite adequately) and have 0.9 seconds left to do other work.
Quoted 6 lines
Quoted 3 lines
Device spaces have user controlled naming rules, user controlled permissions, user controlled labelling and the like. That is policy, and the administering of that is management.
I see. But that does not change at all. It's just that you can also bring up the box without the complex management we need to do today.
If you have an environment using any of those features then not having that management is not a win - its a bug.
Quoted 5 lines
Quoted 2 lines
That was one of the things that killed devfs eventually, and it's not a problem your proposal or devfs solved.
Oh, that old devfs was killed for many good reasons, sure. The biggest reason alone to kill it, was the dumb new naming scheme, which broke
The "naming scheme" ? It was not the naming scheme but the inability to make it do stuff the way users wanted. If the naming scheme had been trivially configurable then the distro would simply have shipped a different naming scheme.
Quoted 1 line
As mentioned, we create 12.000 files in sysfs, now we just add 210 and
setfacl -m u:alan:r /sys/devices/virtual/dmi/id/bios_vendor
setfacl: /sys/devices/virtual/dmi/id/bios_vendor: Operation not supported
Sysfs doesn't even support per user ACLs which means its not much use for tty devices or a lot of other things where you want to give access to a piece of hardware to groups of users or use SELinux to control root more tightly.
Quoted 3 lines
decouple the kernel initial bootup from a complex userspace dependency, all for the sake of robustness, that is also faster and very flexible.
It isn't flexible. You can't set the naming policy, you can't set the permissions, you can't control the labelling. It might be a convenient way to implement a very specific narrow set up.
Quoted 3 lines
No, that problem is solved by exporting all of it in sysfs already today. But that does not provide any of the robustness and reliability gains the kernel-provided nodes do.
What is robust and reliable about having another set of nodes that an existing distro won't know about and existing tools don't know about that has permissions and labels that bypass the security as configured by the system administrator ????
Quoted 5 lines
Quoted 1 line
5. Make the new big block numbers stable
Might be nice to have, but we still can't include all of the possible block driver names and nodes in initramfs. Distros can just not manage that, and don't do it today.
Even if we have to create a lot of nodes it shouldn't be slow - mknod syscalls on tmpfs are as we've just established - quite acceptably quick. Yes I think stable numbers would be smart.
Quoted 1 line
Mine does too. But general purpose systems have different problems to solve.
I'm of the opinion your system isn't general purpose - its Kay purpose. If it can become truely general purpose and replace or improve udev with something far better then great but can it ?
Quoted 4 lines
Quoted 2 lines
- Why you think sysfs changes will help when the stats say its 0.06 of a second and udev is not it appears taking much time anyway
Which sysfs changes?
(Sorry that was Eric I think)
Quoted 6 lines
Quoted 4 lines
- How you think you've solved the devfs problems about persistency and the like and what performance cost that has. That killed devfs in the end.
What problem?
The problem I've been pointing out all along - security, naming, permissions, persistency.
Quoted 4 lines
Let me know what specifically needs to be fixed, I'll do it right away, I wrote and maintain most of it, so I should be pretty quick to act here. I work on it almost every day, and I mostly don't find it non-funny. :)
So if you maintain it why is it so slow ? (that isn't an accusation of incompetence btw I want to understand the bottlenecks) - what percentage is CPU wait, what is I/O wait, wtf are we doing with all that wall time and serialized probing ? You've still not provided any useful data on timings. If you had four or five pet programmers and were told "fix udev" what would you direct them to sort out ? The numbers you've posted contain no breakdown. Yes its faster than the old system for your specific case but there is no "why" in the data.
There isn't any reason it should magically go faster in kernel. We don't run the CPU at a different speed in kernel and syscalls are cheap.
Quoted 7 lines
Quoted 2 lines
but it does actually get us something featureful
and useful that does what people want.Actually, many people asked for more robustness and less complexity to bring up a box, not for more special hacks in udev, initramfs, the boot scripts. That's what we try to solve here, and what we did, from my perspective.
"from my perspective" - bingo...
Which is the devfs problem - its easy to solve a problem for one perspective or one user only. But we'd have an awful lot of devfs clones in the kernel if we kept doing that.
So I'd like
- my device file system to do SELinux and ACLs (and Tomoyo and ...)
- ability to set labels and security contexts and permissions
- device nodes in one place only
- ability to use security models which take stuff away from root (so chmodding the sysfs node 000 doesn't cut the mustard)
- a guarantee I can't race the policy application and node creation on hotplug. In other words the creator sets up its security contexts and the like then does the node create.
Putting device nodes into sysfs can't do most if any of that
Putting the data to create those initial device nodes into sysfs *can* make it customisable this way. It also means your initrd can be more robust because the device creation logic is very very simple.
sh < /sys/initial-device-list
might be slightly extreme but you need little more when not using fancy feature sets. We've just established by benchmarking that the mknod paths are fast enough.
It's a question of API and layering
If you put the devices into sysfs I get burger and fries the way you like If you put the list of devices into sysfs I get to decide how I want it.
We have enough fixed nodes to run a recovery shell in the initrd or boot with init=/bin/sh so the recovery argument doesn't seem to hold water.
The performance for reading one sysfs file (even without sysfs optimisation) and writing 3000 device nodes to disk is more than acceptable so if you don't mind I'd prefer my burger with extra onions ;)
Quoted 5 lines · Alan Cox
Quoted 2 lines
But he does not use an initramfs, and distros insist to do that. And that basically means you need to prepare /dev two times, and also prep
Once. You may want to move a few bits later. You only need null, zero and console to get started. Thats three fixed device nodes.
And random, rtc, tty for a custom console, and whatever not, in the non-trivial case. Not to mention non-x86 boxes.
Quoted 4 lines
If we have stable block numbers you might need more than one extra if you have to search for a UUID/label and it moved from where you cached it. Without stable block numbers you can't cache the node but most create lots of nodes to go looking. Do I understand that bit right ?
Look at drivers/block/, you need all of the names then, to get it booting from a non-sd node.
Quoted 11 lines
However you still only create it once as you have zero, console and null on the initrd already and do
mkdir final-dev
mount tmpfs
create them in final-dev
mount root
move final-devTell me if I'm going astray here as I want to clearly understand the problem.
Maybe your root disk shows up after the "create them in final-dev"?
Initramfs logic works by just waiting for the device node udev creates asynchronously. When it's there, we go ahead. To make sure you don't miss it, you have to start udev before you copy the nodes over.
Quoted 7 lines
Another data point: On a fairly typical PC on a single CPU we can do over 30,000 mknods per second on tmpfs. I've just benched it. So you can create those block nodes very fast indeed.
On a 1 second budget I can create 3000 device nodes (which should cover most user systems quite adequately) and have 0.9 seconds left to do other work.
Sure. But that does not solve the problem of missing device nodes or the requirement of shipping all possible combinations.
Quoted 9 lines
Quoted 6 lines
Quoted 3 lines
Device spaces have user controlled naming rules, user controlled permissions, user controlled labelling and the like. That is policy, and the administering of that is management.
I see. But that does not change at all. It's just that you can also bring up the box without the complex management we need to do today.
If you have an environment using any of those features then not having that management is not a win - its a bug.
Bugs happen, it's a reality. We don't needlessly make it harder to work around a bug. We have many tings to make the kernel self-contained. With your argument, we should remove all partition scanning from the kernel too.
Quoted 10 lines
Quoted 5 lines
Quoted 2 lines
That was one of the things that killed devfs eventually, and it's not a problem your proposal or devfs solved.
Oh, that old devfs was killed for many good reasons, sure. The biggest reason alone to kill it, was the dumb new naming scheme, which broke
The "naming scheme" ? It was not the naming scheme but the inability to make it do stuff the way users wanted. If the naming scheme had been trivially configurable then the distro would simply have shipped a different naming scheme.
Yeah, but it did not even create the current names by default. So it was the main reason distros did not use is.
Quoted 9 lines
Quoted 1 line
As mentioned, we create 12.000 files in sysfs, now we just add 210 and
setfacl -m u:alan:r
/sys/devices/virtual/dmi/id/bios_vendor
setfacl:/sys/devices/virtual/dmi/id/bios_vendor: Operation not supportedSysfs doesn't even support per user ACLs which means its not much use for tty devices or a lot of other things where you want to give access to a piece of hardware to groups of users or use SELinux to control root more tightly.
We add the 210 to a separate tmpfs which is the subject of this mail, and that supports ACLs just fine. We don't add any device nodes to sysfs.
Quoted 7 lines
Quoted 3 lines
decouple the kernel initial bootup from a complex userspace dependency, all for the sake of robustness, that is also faster and very flexible.
It isn't flexible. You can't set the naming policy, you can't set the permissions, you can't control the labelling. It might be a convenient way to implement a very specific narrow set up.
The kernel _is_ the naming policy already, claiming anything different is just a lie. If you go and rename /sys/block/sda in the kernel, no current udev system will provide a /dev/sda node anymore. It's that since forever.
Udev still has the last say, and can overwrite the kernel policy, nothing will change, but that does not happen today, and will not happen in the future for 98% of the devices.
Quoted 8 lines
Quoted 3 lines
No, that problem is solved by exporting all of it in sysfs already today. But that does not provide any of the robustness and reliability gains the kernel-provided nodes do.
What is robust and reliable about having another set of nodes that an existing distro won't know about and existing tools don't know about that has permissions and labels that bypass the security as configured by the system administrator ????
Which "other" set? There is only one set of names, that is the kernel provided name. There is no bypass anywhere.
Quoted 9 lines
Quoted 5 lines
Quoted 1 line
5. Make the new big block numbers stable
Might be nice to have, but we still can't include all of the possible block driver names and nodes in initramfs. Distros can just not manage that, and don't do it today.
Even if we have to create a lot of nodes it shouldn't be slow - mknod syscalls on tmpfs are as we've just established - quite acceptably quick. Yes I think stable numbers would be smart.
Just grep in drivers/block/ and estimate how many nodes you will need to provide. General purpose distros don't do that today, and don't want to go back to the time they needed to that.
Quoted 5 lines
Quoted 1 line
Mine does too. But general purpose systems have different problems to solve.
I'm of the opinion your system isn't general purpose - its Kay purpose. If it can become truely general purpose and replace or improve udev with something far better then great but can it ?
I don't understand this question. What do you mean?
Quoted 4 lines
Quoted 1 line
What problem?
The problem I've been pointing out all along - security, naming, permissions, persistency.
Naming happens in the kernel for udev systems since forever. Permissions happens in udev, and we keep that. All kernel created nodes are 0600 root:root. If a device exists in the kernel, we will see its node, if it goes away the node goes away, just like sysfs, and just like we do with udev in /dev today.
Quoted 5 lines
Quoted 4 lines
Let me know what specifically needs to be fixed, I'll do it right away, I wrote and maintain most of it, so I should be pretty quick to act here. I work on it almost every day, and I mostly don't find it non-funny. :)
Quoted 8 lines
So if you maintain it why is it so slow ? (that isn't an accusation of incompetence btw I want to understand the bottlenecks) - what percentage is CPU wait, what is I/O wait, wtf are we doing with all that wall time and serialized probing ? You've still not provided any useful data on timings. If you had four or five pet programmers and were told "fix udev" what would you direct them to sort out ? The numbers you've posted contain no breakdown. Yes its faster than the old system for your specific case but there is no "why" in the data.
It isn't slow. It's just that bootstrapping/re-constructing something later can obviously never be faster than doing it when the device is created.
I don't know of any obvious fixes to udev, otherwise I would have implemented them.
Quoted 2 lines
There isn't any reason it should magically go faster in kernel. We don't run the CPU at a different speed in kernel and syscalls are cheap.
Yes, we are in the context of the device, and create the node on top of many other things we do. At the time userspace runs, we need to recover all that information, which is not as robust, and not as cheap. The recover/bootstrap point is a hard blocking point for other stuff that can run at the same time otherwise.
Quoted 9 lines
Quoted 7 lines
Quoted 2 lines
but it does actually get us something featureful
and useful that does what people want.Actually, many people asked for more robustness and less complexity to bring up a box, not for more special hacks in udev, initramfs, the boot scripts. That's what we try to solve here, and what we did, from my perspective.
"from my perspective" - bingo...
Sure, what else can I say, I have only my one, just like you have yours.
Quoted 4 lines
Which is the devfs problem - its easy to solve a problem for one perspective or one user only. But we'd have an awful lot of devfs clones in the kernel if we kept doing that.
Quoted 9 lines
So I'd like
- my device file system to do SELinux and ACLs (and Tomoyo and ...)
- ability to set labels and security contexts and permissions
- device nodes in one place only
- ability to use security models which take stuff away from root (so chmodding the sysfs node 000 doesn't cut the mustard)
- a guarantee I can't race the policy application and node creation on hotplug. In other words the creator sets up its security contexts and the like then does the node create.
You can do all that just like you do today, no change at all.
Quoted 1 line
Putting device nodes into sysfs can't do most if any of that
Nobody talked about that.
Quoted 5 lines
Putting the data to create those initial device nodes into sysfs *can* make it customisable this way. It also means your initrd can be more robust because the device creation logic is very very simple.
sh <
/sys/initial-device-list
And you still need to cope with the races, and bring up the event listener before that. This is less reliable and always slower than the kernel provided nodes, besides that your /sys/initial-device-list will be the same amount of code we need for the node creation right away, without any of the other benefits, and will require another special-case tool we don't use today.
Quoted 8 lines
might be slightly extreme but you need little more when not using fancy feature sets. We've just established by benchmarking that the mknod paths are fast enough.
It's a question of API and layering
If you put the devices into sysfs I get burger and fries the way you like If you put the list of devices into sysfs I get to decide how I want it.
Come on, nobody puts nodes in sysfs. Where did you get that idea from?
Quoted 2 lines
We have enough fixed nodes to run a recovery shell in the initrd or boot with init=/bin/sh so the recovery argument doesn't seem to hold water.
Unless you got a box that does not work anymore, than it's the most important thing you can have.
Quoted 3 lines
The performance for reading one sysfs file (even without sysfs optimisation) and writing 3000 device nodes to disk is more than acceptable so if you don't mind I'd prefer my burger with extra onions ;)
Sure, if I can have a beer too. :)
Thanks,
Kay
Quoted 4 lines · On Mon, 11 May 2009 18:28:20 +0200 Kay Sievers <[email protected]> wrote:
It isn't slow. It's just that bootstrapping/re-constructing something later can obviously never be faster than doing it when the device is created.
the performance gains from doing stuff in batches is obviously well established; CPU caches cause that. Not saying that's a hot factor here, the total only takes 0.01 second after all, but "obviously" isn't true here.
Quoted 2 lines
I don't know of any obvious fixes to udev, otherwise I would have implemented them.
there's not much to fix afaics. It'd be nice if it was the 0.06 seconds that Eric gets, but 0.20 isn't all that bad either.
Quoted 4 lines
Quoted 1 line
sh <
/sys/initial-device-listAnd you still need to cope with the races, and bring up the event listener before that.
so ?
Quoted 5 lines
This is less reliable and always slower than the
kernel provided nodes, besides that your/sys/initial-device-listwill be the same amount of code we need for the node creation right away, without any of the other benefits, and will require another special-case tool we don't use today.
it's not about the amount of code. It's about in how many useful ways the code can be used!
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 11 lines · Arjan van de Ven
Quoted 4 lines · On Mon, 11 May 2009 18:28:20 +0200 Kay Sievers <[email protected]> wrote:
It isn't slow. It's just that bootstrapping/re-constructing something later can obviously never be faster than doing it when the device is created.
the performance gains from doing stuff in batches is obviously well established; CPU caches cause that. Not saying that's a hot factor here, the total only takes 0.01 second after all, but "obviously" isn't true here.
I'm just saying that we don't need any batch, we are in the context of the device and can do the work there, while we are doing much more and similar stuff anyway. You can apply your cache argument there too, because the iterator for your list would need to get the context of every device first, and we have that already.
Quoted 5 lines
Quoted 2 lines
I don't know of any obvious fixes to udev, otherwise I would have implemented them.
there's not much to fix afaics. It'd be nice if it was the 0.06 seconds that Eric gets, but 0.20 isn't all that bad either.
Good.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
sh <
/sys/initial-device-listAnd you still need to cope with the races, and bring up the event listener before that.
so ?
As said, you need to listen to events before you look what's already there, otherwise you may miss stuff in-between, and you might wait for exactly that event.
The same applies when you leave initiramfs, the in-initramfs udevd copy is killed, and the one from the real root is started. You may miss events in-between, and need to run a full coldplug again, not only to apply the policy, but also to make sure that all nodes are there. The policy can run in the background for most things just fine, the missing node may cause trouble.
Quoted 8 lines
Quoted 5 lines
This is less reliable and always slower than the
kernel provided nodes, besides that your/sys/initial-device-listwill be the same amount of code we need for the node creation right away, without any of the other benefits, and will require another special-case tool we don't use today.it's not about the amount of code. It's about in how many useful ways the code can be used!
Yeah, and I mentioned many other ways this is useful, to do stuff in parallel, to be able to rescue, and to have custom systems which do not need a full udev at all, where many embedded systems use mbox, which can be made much simpler.
Thanks,
Kay
Quoted 6 lines
The same applies when you leave initiramfs, the in-initramfs udevd copy is killed, and the one from the real root is started. You may miss events in-between, and need to run a full coldplug again, not only to apply the policy, but also to make sure that all nodes are there. The policy can run in the background for most things just fine, the missing node may cause trouble.
What a strange behaviour. Why not run a single udev instance inside the tmpfs you are turning into dev and will then attach to the real rootfs when it appears ? You only need to build /dev once.
Quoted 2 lines
Yeah, and I mentioned many other ways this is useful, to do stuff in parallel, to be able to rescue, and to have custom systems which do
But there are lots where it is not - and those you've mentioned where it might be seem rather stretched at best.
Quoted 10 lines · Alan Cox
Quoted 6 lines
The same applies when you leave initiramfs, the in-initramfs udevd copy is killed, and the one from the real root is started. You may miss events in-between, and need to run a full coldplug again, not only to apply the policy, but also to make sure that all nodes are there. The policy can run in the background for most things just fine, the missing node may cause trouble.
What a strange behaviour. Why not run a single udev instance inside the tmpfs you are turning into dev and will then attach to the real rootfs when it appears ? You only need to build /dev once.
Because the udev in initramfs has no clue about uid/gid, has not the tools it needs for a full setup, has not the same rules as the one in the real root. Ignoring the fact, that people may run different versions in initramfs and the real root. There is no sane option so far, not to replace the udevd process from initramfs.
Quoted 5 lines
Quoted 2 lines
Yeah, and I mentioned many other ways this is useful, to do stuff in parallel, to be able to rescue, and to have custom systems which do
But there are lots where it is not - and those you've mentioned where it might be seem rather stretched at best.
Right, but the information you need for all other use cases is already there today in /sys. This is about something new, so there is not a competition about features, just an option to solve a problem in a different way, which we prefer over the current one.
Thanks,
Kay
Quoted 4 lines
Right, but the information you need for all other use cases is already there today in /sys. This is about something new, so there is not a competition about features, just an option to solve a problem in a different way, which we prefer over the current one.
"we". You don't speak for me or a lot of people on this one.
Running a second udevd seems to be overkill. You know which nodes you've created so far so you know which series of rules to reapply.
Quoted 1 line
just an option to solve a problem in a different way
There are thousands of kernel contributors. If they all submit everything that solves their problem, their way we'd drown in the resulting mess. devfs was Richard Gooch's way perhaps we should add that back as well, and a variant that uses a data file for me, and a different one for Arjan.
We could let everyone invent new arbitary APIs for all their device drivers so you need a different app for each pointing device or each light level sensor ....
That way lies *madness*.
Quoted 5 lines
Quoted 2 lines
Once. You may want to move a few bits later. You only need null, zero and console to get started. Thats three fixed device nodes.
And random, rtc, tty for a custom console, and whatever not, in the non-trivial case. Not to mention non-x86 boxes.
Don't need those initially. But they are static so no cost.
Quoted 1 line
Maybe your root disk shows up after the "create them in final-dev"?
Doesn't matter if it does. I'm going to attach the tmpfs when it eventually turns up, and in the case where I'm still waiting for it I do not have a performance problem by definition.
Quoted 6 lines
Quoted 3 lines
On a 1 second budget I can create 3000 device nodes (which should cover most user systems quite adequately) and have 0.9 seconds left to do other work.
Sure. But that does not solve the problem of missing device nodes or the requirement of shipping all possible combinations.
Yes it does. If I have an enumerable list of what is present then I have lots of time to turn that list into nodes. The only thing that matters is the list. It doesn't matter if I do
get static list
open listener port
create static list
go from listener
or
open listener port (buffered from boot time) go from listener
conceptually thats simply
script <pipe
with the other end of the pipe the kernel. That's pretty fast be it netlink or whatever.
Quoted 5 lines
Quoted 2 lines
If you have an environment using any of those features then not having that management is not a win - its a bug.
Bugs happen, it's a reality. We don't needlessly make it harder to work around a bug. We have many tings to make the kernel
You are *introducing* a bug, your very design is faulty as it can't do what users need and what udev can.
Quoted 2 lines
self-contained. With your argument, we should remove all partition scanning from the kernel too.
I would really like to do that because it causes untold pain with faulty devices and also on SAN networks. However we have to have a workable migration path for it. It's on the long term todo list and as md matures it becomes the natural path. It also trivially makes partition scanning asynchronous. Right now the partition code can prevent you booting a machine with a failed device and in a few cases actually stop you recovering the media.
Quoted 5 lines
We add the 210 to a separate tmpfs which is the subject of this mail, and that supports ACLs just fine. We don't add any device nodes to sysfs.
From user space I can create 30,000 tmpfs nodes a second so why exactly
must the kernel do this for me. In the case you are trying to replace I have to do the following
read one message from the kernel (one syscall - could even get batching so its < 1)
parse it (on a 1GHz plus processor with the data in cache) make one setfsuid sycall
make one mknod syscall
Quoted 4 lines
The kernel _is_ the naming policy already, claiming anything different is just a lie. If you go and rename
/sys/block/sdain the kernel, no current udev system will provide a/dev/sdanode anymore. It's that since forever.
Permissions, selinux labels, acls ? The kernel is none of those, even if it dabbles a bit more than it should in naming policy. Not everyone btw slavishly follows the kernel naming policy.
Quoted 1 line
Udev still has the last say, and can overwrite the kernel policy,
*overwrite* - this is racy. In the secure system case the initial policy has to have the right labels and security.
Quoted 2 lines
nothing will change, but that does not happen today, and will not happen in the future for 98% of the devices.
Even if I agreed with you then the other 2% of the Linux userbase is millions of devices....
Quoted 3 lines
Just grep in
drivers/block/and estimate how many nodes you will need to provide. General purpose distros don't do that today, and don't want to go back to the time they needed to that.
I only need to provide those that are present but I must have a way of getting the list of what is present.
Quoted 3 lines
Naming happens in the kernel for udev systems since forever. Permissions happens in udev, and we keep that. All kernel created nodes are 0600 root:root. If a device exists in the kernel, we will
0600 root:root isn't sufficient for a secure environment
Quoted 2 lines
see its node, if it goes away the node goes away, just like sysfs, and just like we do with udev in /dev today.
That also isn't sufficient for a secure environment.
Quoted 3 lines
It isn't slow. It's just that bootstrapping/re-constructing something later can obviously never be faster than doing it when the device is created.
But that doesn't imply it has to be done in kernel space ? Caring about speed is one thing but here are some other speed ups we could trivially do
- turn off memory protection
- stop supporting paging/swap
- require co-operative multi-tasking
Speed is not everything you have to balance speed, flexibility (that means real flexibility not 'hey it does everything *I* want')
In this case the difference between the kernel creating the node and userspace turning a message into a node is utterly miniscule. If it isn't then *that* needs fixing.
Creating the device nodes from the kernel as devfs showed us before isn't the right interface.
Quoted 2 lines
Quoted 1 line
"from my perspective" - bingo...
Sure, what else can I say, I have only my one, just like you have yours.
Yep and the kernel has to be the sum of a lot of perspectives, not "and screw you" to the 2% who are inconvenient.
Quoted 11 lines
Quoted 9 lines
So I'd like
- my device file system to do SELinux and ACLs (and Tomoyo and ...)
- ability to set labels and security contexts and permissions
- device nodes in one place only
- ability to use security models which take stuff away from root (so chmodding the sysfs node 000 doesn't cut the mustard)
- a guarantee I can't race the policy application and node creation on hotplug. In other words the creator sets up its security contexts and the like then does the node create.You can do all that just like you do today, no change at all.
No I can't because you create nodes root:root:0600 with no labels before I can get at them.
Quoted 4 lines
Quoted 1 line
sh <
/sys/initial-device-listAnd you still need to cope with the races, and bring up the event listener before that. This is less reliable and always slower than the
Or buffer the events instead - trivial enough
Quoted 1 line
kernel provided nodes, besides that your
/sys/initial-device-listwill
But it is vastly more flexible, handles permissions properly and does what everyone needs as well as fixing the races.
Quoted 4 lines
Quoted 2 lines
If you put the devices into sysfs I get burger and fries the way you like If you put the list of devices into sysfs I get to decide how I want it.
Come on, nobody puts nodes in sysfs. Where did you get that idea from?
s/sysfs/tmpfs/
Quoted 6 lines
Quoted 3 lines
We have enough fixed nodes to run a recovery shell in the initrd or boot with init=/bin/sh so the recovery argument doesn't seem to hold water.
Unless you got a box that does not work anymore, than it's the most important thing you can have.
If my box is so busted that the initrd shell (busybox I would pick), /dev/zero and /dev/console are missing then I am so screwed that I will need rescue media or to have a "safe mode" alternative kernel boot already in the grub menu.. which I have even if the distros can't figure out that one.
Quoted 5 lines
Quoted 3 lines
The performance for reading one sysfs file (even without sysfs optimisation) and writing 3000 device nodes to disk is more than acceptable so if you don't mind I'd prefer my burger with extra onions ;)
Sure, if I can have a beer too. :)
Well I'm sorry I hardcoded a lack of beer into the serial layer to save a microsecond, you'll have to go without.... It works for me so clearly your usage pattern isn't interesting.
See the problem ?
Alan
Quoted 7 lines · Kay Sievers
Quoted 2 lines
Yes but you are asking all of us to maintain it. Forever in perpetuity. A better case needs to be made than you have already shipped the code.
I would be very careful with such statement if you want us to accept your namespace hacks in the future. I guess if we ask with your next round "do we want to to have to maintain this for forever" you get a very different answer than today.
I fully expect people to ask if we want people to maintain my code forever.
I need to extend to you a small apology you were blasting Arjan and had added me to the CC, and I thought it was a reply to something I wrote so my context was wrong, and I reacted more strongly than I would have otherwise.
Quoted 6 lines
Quoted 3 lines
I don't see a case having been made that the existing user space interface is broken. Just that the udev implementation is slow.
That's utter nonsense. It's not slow at all, it's just slower that what we can do with the bit of help from the kernel.
Which has been my question all along where is the kernel slow?
Quoted 4 lines
Quoted 2 lines
I think a slow user space application is simply not a justification for putting code in the kernel.
Can you read? Did you read the many reasons why we want this? I guess not.
I see statements like:
"several seconds" (Your original patch)
"boot speed boot speed boot speed" (You)
"1-2 seconds" (GregKH)
And I got the impression that a very slowly running udev is what you are trying to solve.
Your numbers actually only show a 1 second net gain on kvm. Although it is hard to tell what is happening.
It sounds like what you are really trying to solve is to allow more things to run in parallel with udev. I believe there is a very simple way to do that.
At udevd start.
mount /dev
mknod /dev/console
mknod /dev/zero
mknod /dev/null
(and maybe a few other well know device nodes) daemonize (to stop serializing other processes) dynamically create everything else by looking at sysfs.
That should have a trivial serialized cost, and allow you to take whatever time it is you need to serialize device creation.
It has the downside that it opens up the window between when devices are in sysfs and devices are in /dev, but I don't see it creating any new races.
Eric
Quoted 7 lines · On Mon, 11 May 2009 03:22:53 +0200 Kay Sievers <[email protected]> wrote:
Quoted 4 lines · Arjan van de Ven
(and it seems to be irrelevant to the devtmpfs discussion anyway since Eric Biederman has shown that pulling the device numbers out of sysfs is basically free... even though it'd be nice to give that some help to make it a nice index)
Quoted 8 lines
It's not free, and it's racy to just copy over the stuff. You have to subscribe to events _before_ you start reading /sys and create nodes, to catch the new stuff that comes in in the meantime. You have to mount an empty tmpfs, bring up a udevd-like process to subscribe to events for new devices and create nodes for them, create the nodes for the already existing devices found in /sys. That's all far from "free", and has non-trivial dependencies.
How about we do something that is useful for more scenarios instead, like proposed already? A /proc or similar file that just lists the type,major,minor and name for the known nodes.
This has none of the race issues you mention (since udev still later processes the events) but opens a LOT of flexibility. You could use it in your set up, but I could use it in the Moblin setup as well. And I suspect many other setups suddenly become possible, just because there now is a lost of device nodes that are "active". Debugging drivers, etc etc. Long list.
I sort of get a bad taste in my mouth from this thread to be honest; it really feels like "this is the code that HAS to be pushed", rather than working on getting something useful for a wide set of uses... even if it's not your initial implementation.
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Hi
On Mon, May 11, 2009 at 3:22 AM, Kay Sievers <[email protected]> wrote:
[BIG snip]
Quoted 6 lines
Devtmpfs is the simplest, is the fastest, is the most reliable, and it is the most flexible option for us. And still, nobody will be forced to use it, it's entirely optional. For our systems, we decided to do it that way, and we ship it already in the distro, and if there are no substantial problems coming up, which we don't expect, we will continue using it.
Can you please point me to a SuSE kernel that ships with this new feature? Thanks,
Fabio
Quoted 4 lines · Fabio Comolli
Hi
On Mon, May 11, 2009 at 3:22 AM, Kay Sievers <[email protected]> wrote:
[BIG snip]
Quoted 8 lines
Quoted 6 lines
Devtmpfs is the simplest, is the fastest, is the most reliable, and it is the most flexible option for us. And still, nobody will be forced to use it, it's entirely optional. For our systems, we decided to do it that way, and we ship it already in the distro, and if there are no substantial problems coming up, which we don't expect, we will continue using it.
Can you please point me to a SuSE kernel that ships with this new feature?
It's in the FACTORY tree right now, and will be shown publically in a few weeks at some trade shows.
thanks,
greg k-h
Quoted 5 lines · Kay Sievers
Maybe you should just give it a try, apply the patch, and bring it up on a box with init=/bin/sh, look at /dev, load some modules and look at /dev again - and see the beauty. I'm pretty sure, when you've seen it for real, you never want to go back to static nodes or whatever other bad hacks to bootstrap /dev.
After it sunk in what you had said I had to go look at your patch. You do magically and backwards incompatibly mount on top of /dev.
That part does not work, and who knows what static /dev setup you break.
The goal for kernel compile options is that they do not affect the kernels behavior. The behavior in devmtmpfs clearly does not match that rule. The kernel acts very different with it compiled in and with it not compiled in. So that section of the code deserves.
+/* After the root filesystem is mounted by the kernel at /root, or the
+ * initramfs in extracted at /root, this tmpfs will be mounted at /root/dev.
+ */
+int devtmpfs_mount(const char *mountpoint)
+{
+ struct path path;
+ int err;
+
+ if (!dev_mnt)
+ return 0;
+
+ err = kern_path(mountpoint, LOOKUP_FOLLOW, &path);
+ if (err)
+ return err;
+ err = do_add_mount(dev_mnt, &path, 0, NULL);
+ if (err)
+ printk(KERN_INFO "devtmpfs: error mounting %i\n", err);
+ else
+ printk(KERN_INFO "devtmpfs: mounted\n");
+ path_put(&path);
+ return err;
+}
+
init/do_mounts.c +1 -1
@@ -414,7 +414,7 @@ void __init prepare_namespace(void)mount_root (); out: +devtmpfs_mount ("dev" );sys_mount ("." ,"/" ,NULL ,MS_MOVE ,NULL );sys_chroot ("." ); } -
Quoted 4 lines · Eric W. Biederman
The goal for kernel compile options is that they do not affect the kernels behavior. The behavior in devmtmpfs clearly does not match that rule. The kernel acts very different with it compiled in and with it not compiled in. So that section of the code deserves.
It's the same as with any other option, like the ones that enable dynamic minors.
Kay
Quoted 8 lines · Kay Sievers
Quoted 4 lines · Eric W. Biederman
The goal for kernel compile options is that they do not affect the kernels behavior. The behavior in devmtmpfs clearly does not match that rule. The kernel acts very different with it compiled in and with it not compiled in. So that section of the code deserves.
It's the same as with any other option, like the ones that enable dynamic minors.
No it's not.
The practical goal is that a distribution can enable essentially every feature in the kernel and not be forced to use one.
The most similar example I can think of is the dhcp client in the kernel. Even when compiled in only if you enable it on the command line (aka ip=dhcp) does it enable and attempt to network boot.
Mouting on /dev might be sane if it was enabled by a kernel command line option. By default it is wrong.
Dynamic minors is right on that hairy edge. I'm puzzled know why we can't have the first N devices use the static assignment and the rest of the devices use the dynamic minors.
Eric
Andrew Morton
maintainerQuoted 25 lines · On Mon, 11 May 2009 01:47:16 +0200 Kay Sievers <[email protected]> wrote:
Quoted 24 lines · Alan Cox
Quoted 2 lines
/me boggles, however does one end up with that many partitions on so few disks?
It happens. Tejun did the extending because libata users were really hitting these limits.
Quoted 9 lines
/boot
/
/home
/usr
swap/usr/local
/optand I'm seriously out of sensible ideas.
I've seen two usual variants
__ __ __
__Fedora& Unbuntu & Debian & ....__ __ __
__Fedora10 & Rawhide & Fedora 9 & ...for people who like to play with distros or need to test a product on them
Quoted 8 lines
Quoted 1 line
and once you do that 16 is quite easy
That's right. Also people with virtualization, running many guest from individual partitions, like to do that - and 16 is nothing for them. :)
Some of us run the dynamic sd minors already, and it's not unlikely we will enable it pretty soon for the distro.
There are plenty of setups which have lots of partitions, but very very few of them are booted with any frequency.
The patchset is described as saving "a few seconds" when booting a typical distro installation? Out of what, 100 seconds? That's pretty thin gruel, IMO, and doesn't obviously justify mucking up the kernel.
A 1.5 second saving on some gadget which boots in 6 seconds would be a lot more interesting.
Quoted 2 lines · On Sun, 10 May 2009 18:00:18 -0700 Andrew Morton <[email protected]>…
A 1.5 second saving on some gadget which boots in 6 seconds would be a lot more interesting.
udev does not take 1.5 seconds today; it takes more like 0.75, of which the last 2/3rds are optional/asynchronous.
Eric has shown that just making the nodes is 0.06 seconds with todays sysfs interface, and there is room for improvement, and room for Kay and Greg's patches if they get turned into having a nice flat ascii file that lists all device nodes in the system. That way Kay and Greg get the fast and easy startup of /dev that they want, and others like Eric and me get the flexibility to have a slightly smarter program that also gets the device ownership and permissions from a small database.
Signature · 3 lines
Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
Quoted 33 lines · Andrew Morton
Quoted 31 lines · On Mon, 11 May 2009 01:47:16 +0200 Kay Sievers <[email protected]> wrote:
Quoted 18 lines · Alan Cox
Quoted 2 lines
/me boggles, however does one end up with that many partitions on so few disks?
It happens. Tejun did the extending because libata users were really hitting these limits.
Quoted 9 lines
/boot
/
/home
/usr
swap/usr/local
/optand I'm seriously out of sensible ideas.
I've seen two usual variants
Quoted 7 lines
__ __ __
__Fedora& Unbuntu & Debian & ....__ __ __
__Fedora10 & Rawhide & Fedora 9 & ...for people who like to play with distros or need to test a product on them
and once you do that 16 is quite easy
That's right. Also people with virtualization, running many guest from individual partitions, like to do that - and 16 is nothing for them. :)
Quoted 5 lines
Quoted 2 lines
Some of us run the dynamic sd minors already, and it's not unlikely we will enable it pretty soon for the distro.
There are plenty of setups which have lots of partitions, but very very few of them are booted with any frequency.
On the contrary, opensuse had lots of very grumpy users that had 10s of partitions (lots of operating systems installed for testing and for other reasons), that did not like us switching to libata which rendered their partition setup as broken.
Hence the dynamic minors for large numbers of scsi partitions. That option is now enabled in the openSUSE FACTORY tree which made that user group very happy.
Quoted 2 lines
The patchset is described as saving "a few seconds" when booting a typical distro installation? Out of what, 100 seconds?
5-8 seconds.
Quoted 2 lines
That's pretty thin gruel, IMO, and doesn't obviously justify mucking up the kernel.
No, it's a very large percentage overall.
Others are talking about getting a full Linux install up and running in 2 or less seconds, so every little bit counts now.
Quoted 2 lines
A 1.5 second saving on some gadget which boots in 6 seconds would be a lot more interesting.
That is what we are talking about here.
thanks,
greg k-h
Quoted 8 lines · Arjan van de Ven
Quoted 3 lines · On Sat, 9 May 2009 08:08:53 -0700 Greg KH <[email protected]> wrote:
Quoted 1 line
Well, guess you meant the opposite ;-)
Heh, yes, sorry about that. It makes booting faster :)
.. and I don't buy that.
Don't buy, just try it - and you will see. :)
We must mount a tmpfs at some point during bootup, wherever you do that, in initramfs or the real root. Doing that, there will obviously be a point, where /dev is empty, exactly at that time you can not do anything else, which is not very tightly controlled, you can not just start stuff in parallel during that time. Devtmpfs gets rid of that limitation, and offers you to do things without waiting for a hard checkpoint. It's obviously the fastest one can do, like number can show. There can be no faster alternatives for this implemented in userspace.
Quoted 5 lines
The only argument I've heard is "oh but it's hard". No it's not. The other argument is "but for more partitions we get other device numbers"... you know what, that's easy to fix. Just make the 32 bit dev number consistent. Few lines of code I bet, and it is benefit for everyone to do that....
And all the other subsystems. You can't even trust a single static node for rtc devices, and so on ... Converting all of that stuff in the kernel is just not a real option. Static device nodes a bad hack, and distros do not do that today, and can for reasons of correctness and reliability, not start doing that.
Quoted 4 lines
Beyond that... this is not needed... but at least call it "devfs".. for what it is.
(and yes there is very obvious irony)
No problem, it's just a random name we've choosen, that even contains all of "devfs". :) I just liked to express, that one can do whatever one wants to do with the nodes from userspace, just like we can today.
Thanks,
Kay
Quoted 11 lines · On Sat, 9 May 2009 18:46:10 +0200 Kay Sievers <[email protected]> wrote:
Quoted 8 lines · Arjan van de Ven
Quoted 3 lines · On Sat, 9 May 2009 08:08:53 -0700 Greg KH <[email protected]> wrote:
Quoted 1 line
Well, guess you meant the opposite ;-)
Heh, yes, sorry about that. It makes booting faster :)
.. and I don't buy that.
Don't buy, just try it - and you will see. :)
Got some boot timing graphs for the change ?
Alan
Quoted 9 lines · Alan Cox
Quoted 6 lines · On Sat, 9 May 2009 18:46:10 +0200 Kay Sievers <[email protected]> wrote:
Quoted 5 lines · Arjan van de Ven
Quoted 2 lines · On Sat, 9 May 2009 08:08:53 -0700 Greg KH <[email protected]> wrote:
Quoted 1 line
Well, guess you meant the opposite ;-)
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Heh, yes, sorry about that. It makes booting faster :)
.. and I don't buy that.
Don't buy, just try it - and you will see. :)
Got some boot timing graphs for the change ?
So far, I got numbers for different options used with devtmpfs to compare initramfs with non-initramfs. Initramfs is what all general purpose distros need to use today, to be able to identify the disk by LABEL/UUID/Hardware-properties. And I wanted to see how expensive the use of initramfs is. They are posted here:
http://lkml.org/lkml/2009/5/6/197
The "init" for intramfs is attached to the mail, mainly to illustrate the simplification over the things we need to do today, and that there is never a point in time where we have to delay things, because /dev is empty during the moment we mount a fresh and empty tmpfs /dev.
To directly compare numbers for devtmpfs and non-devtmpfs, the "init" script would need to be modified to ignore the kernel provided devtmpfs and mount an empty tmpfs over it, and populate it, just like we do it today. There is no theoretical chance that this can ever be faster.
Most of the bootstrap logic we have today: mount an empty tmpfs /dev -> add the few mandatory nodes to be able to start the bootstrap process -> run something that reads sysfs-device-information (in the usual case udev) -> delaying all further processing until /dev is minimally usable to start things that rely on a working /dev, ... all that gets basically stripped down to: "mount --move /dev /root/dev", right at the end before we leave initramfs behind us.
Kay
I took the patches and applied them to Linus' tree and installed the kernel on a Fedora 10 box with SELinux enabled and it oopses on startup. The oops happens every time I boot up so I can reproduce it as needed to help fix it. I've attached my kernel config in case that helps and have pasted the oops below. If needed I can provide the entire dmesg output.
Dave
BUG: Dentry ffff88012b4043c0{i=4,n=/} still in use (-1) [unmount of tmpfs tmpfs]
------------[ cut here ]------------
kernel BUG at fs/dcache.c:669!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/virtual/net/virbr0/bridge/stp_state
CPU 3
Modules linked in: ipt_MASQUERADE iptable_nat nf_nat sco bridge stp bnep l2cap bluetooth ppdev parport_pc parport sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath uinput snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd e1000e i2c_i801 soundcore i2c_core serio_raw snd_page_alloc pcspkr dcdbas iTCO_wdt iTCO_vendor_support [last unloaded: microcode]
Pid: 2342, comm: mingetty Not tainted 2.6.30-rc5 #1 OptiPlex 755
RIP: 0010:[<ffffffff810df875>] [<ffffffff810df875>] shrink_dcache_for_umount_subtree+0x1ac/0x275
RSP: 0018:ffff88012111f848 EFLAGS: 00010292
RAX: 0000000000000054 RBX: ffff88012b4043c0 RCX: 0000000000020000
RDX: 00000000ffffffff RSI: 0000000000000082 RDI: 0000000000000246
RBP: ffff88012111f888 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000018600 R12: ffff88012b4043c0
R13: 00000000000000d1 R14: ffff88012b4044e0 R15: ffffffff815f7c40
FS: 00007f569bb196f0(0000) GS:ffff880028073000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000035a84fc100 CR3: 0000000121c3b000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mingetty (pid: 2342, threadinfo ffff88012111e000, task ffff8801261f1700)
Stack:
ffff88012bc31e88 0000000000000000 ffff88012111f878 ffff88012bc31c00
ffffffff81383030 0000000000000040 0000000000010140 ffff88012ba409d8
ffff88012111f8a8 ffffffff810df975 ffffffff810e4c69 ffff88012bc31c00
Call Trace:
[<ffffffff810df975>] shrink_dcache_for_umount+0x37/0x47
[<ffffffff810e4c69>] ? free_vfsmnt+0x50/0x55
[<ffffffff810d209d>] generic_shutdown_super+0x1e/0xea
[<ffffffff810d21b4>] kill_anon_super+0x11/0x43
[<ffffffff810d2208>] kill_litter_super+0x22/0x26
[<ffffffff810d2840>] deactivate_super+0x6a/0x82
[<ffffffff810e4d7b>] mntput_no_expire+0x10d/0x14e
[<ffffffff810d8d53>] ? path_walk+0xc7/0xd4
[<ffffffff810d7793>] mntput+0x18/0x1a
[<ffffffff810d78b4>] path_put+0x1d/0x22
[<ffffffff8121d2c0>] devtmpfs_create_node+0x209/0x229
[<ffffffff810e11a2>] ? iput+0x2f/0x66
[<ffffffff81120f90>] ? sysfs_addrm_finish+0x69/0x217
[<ffffffff81120bd1>] ? sysfs_add_one+0x1c/0xe6
[<ffffffff81121a63>] ? sysfs_do_create_link+0xe0/0x131
[<ffffffff81217c6a>] device_add+0x1a7/0x54b
[<ffffffff81183ff4>] ? kobject_init+0x43/0x83
[<ffffffff81218027>] device_register+0x19/0x1d
[<ffffffff812180c3>] device_create_vargs+0x98/0xc6
[<ffffffff8121811d>] device_create+0x2c/0x2e
[<ffffffff811ff222>] ? reset_terminal+0x2d0/0x2d5
[<ffffffff811fa673>] vcs_make_sysfs+0x33/0x62
[<ffffffff81200949>] vc_allocate+0x186/0x1aa
[<ffffffff8105defc>] ? down+0x33/0x3b
[<ffffffff8120099f>] con_open+0x32/0xc2
[<ffffffff811f2c4f>] tty_open+0x2ef/0x430
[<ffffffff810d2c52>] chrdev_open+0x14b/0x16a
[<ffffffff811579c4>] ? selinux_dentry_open+0xed/0xf6
[<ffffffff810d2b07>] ? chrdev_open+0x0/0x16a
[<ffffffff810ce576>] __dentry_open+0x150/0x269
[<ffffffff810ce75c>] nameidata_to_filp+0x41/0x53
[<ffffffff810da1ff>] do_filp_open+0x494/0x8b2
[<ffffffff810e4c9f>] ? mntput_no_expire+0x31/0x14e
[<ffffffff8118a755>] ? might_fault+0x1a/0x1c
[<ffffffff810e3540>] ? alloc_fd+0x110/0x124
[<ffffffff810ce369>] do_sys_open+0x56/0xd6
[<ffffffff810ce412>] sys_open+0x1b/0x1d
[<ffffffff81010c02>] system_call_fastpath+0x16/0x1b
Code: 08 49 8b 44 24 10 48 85 c0 74 04 48 8b 50 40 48 8d 86 88 02 00 00 48 c7 c7 0e cb 48 81 4c 89 e6 48 89 04 24 31 c0 e8 79 8f 28 00 <0f> 0b eb fe 49 8b 5c 24 28 49 39 dc 75 04 31 db eb 03 f0 ff 0b
RIP [<ffffffff810df875>] shrink_dcache_for_umount_subtree+0x1ac/0x275
RSP <ffff88012111f848>
---[ end trace 5ce2844beb187c5b ]---#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.30-rc5
# Mon May 11 11:11:00 2009
#CONFIG_64BIT=y
# CONFIG_X86_32 is not setCONFIG_X86_64=yCONFIG_X86=y CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig" CONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_HAVE_LATENCYTOP_SUPPORT=y CONFIG_FAST_CMPXCHG_LOCAL=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=y CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y CONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_TIME_VSYSCALL=y CONFIG_ARCH_HAS_CPU_RELAX=y CONFIG_ARCH_HAS_DEFAULT_IDLE=y CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y CONFIG_HAVE_SETUP_PER_CPU_AREA=y CONFIG_HAVE_DYNAMIC_PER_CPU_AREA=y CONFIG_HAVE_CPUMASK_OF_CPU_MAP=y CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_SUSPEND_POSSIBLE=yCONFIG_ZONE_DMA32=y CONFIG_ARCH_POPULATES_NODE_MAP=y CONFIG_AUDIT_ARCH=y CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_PENDING_IRQ=y CONFIG_USE_GENERIC_SMP_HELPERS=y CONFIG_X86_64_SMP=yCONFIG_X86_HT=yCONFIG_X86_TRAMPOLINE=y
# CONFIG_KTIME_SCALAR is not set CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not setCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=yCONFIG_POSIX_MQUEUE_SYSCTL=yCONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not setCONFIG_TASKSTATS=yCONFIG_TASK_DELAY_ACCT=yCONFIG_TASK_XACCT=yCONFIG_TASK_IO_ACCOUNTING=yCONFIG_AUDIT=yCONFIG_AUDITSYSCALL=yCONFIG_AUDIT_TREE=y
#
# RCU Subsystem
#CONFIG_CLASSIC_RCU=y
# CONFIG_TREE_RCU is not set
# CONFIG_PREEMPT_RCU is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_PREEMPT_RCU_TRACE is not set
# CONFIG_IKCONFIG is not setCONFIG_LOG_BUF_SHIFT=17CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=yCONFIG_GROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_RT_GROUP_SCHED=y
# CONFIG_USER_SCHED is not setCONFIG_CGROUP_SCHED=yCONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not setCONFIG_CGROUP_NS=y
# CONFIG_CGROUP_FREEZER is not setCONFIG_CGROUP_DEVICE=yCONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=yCONFIG_CGROUP_CPUACCT=yCONFIG_RESOURCE_COUNTERS=y
# CONFIG_CGROUP_MEM_RES_CTLR is not set
# CONFIG_SYSFS_DEPRECATED_V2 is not setCONFIG_RELAY=yCONFIG_NAMESPACES=yCONFIG_UTS_NS=yCONFIG_IPC_NS=yCONFIG_USER_NS=yCONFIG_PID_NS=y
# CONFIG_NET_NS is not setCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_RD_GZIP=yCONFIG_RD_BZIP2=yCONFIG_RD_LZMA=yCONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_ANON_INODES=y
# CONFIG_EMBEDDED is not setCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_ALL=yCONFIG_KALLSYMS_EXTRA_PASS=y
# CONFIG_STRIP_ASM_SYMS is not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_PCSPKR_PLATFORM=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_AIO=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PCI_QUIRKS=yCONFIG_SLUB_DEBUG=y
# CONFIG_COMPAT_BRK is not set
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLOB is not setCONFIG_PROFILING=yCONFIG_TRACEPOINTS=yCONFIG_MARKERS=yCONFIG_OPROFILE=m
# CONFIG_OPROFILE_IBS is not setCONFIG_HAVE_OPROFILE=yCONFIG_KPROBES=yCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_KRETPROBES=yCONFIG_HAVE_IOREMAP_PROT=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_API_DEBUG=y
# CONFIG_SLOW_WORK is not set
# CONFIG_HAVE_GENERIC_DMA_COHERENT is not setCONFIG_SLABINFO=yCONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=0CONFIG_MODULES=y
# CONFIG_MODULE_FORCE_LOAD is not setCONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not setCONFIG_MODULE_SRCVERSION_ALL=yCONFIG_STOP_MACHINE=yCONFIG_BLOCK=yCONFIG_BLK_DEV_BSG=yCONFIG_BLK_DEV_INTEGRITY=yCONFIG_BLOCK_COMPAT=y
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"CONFIG_PREEMPT_NOTIFIERS=yCONFIG_FREEZER=y
#
# Processor type and features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y CONFIG_GENERIC_CLOCKEVENTS_BUILD=y CONFIG_SMP=y
# CONFIG_SPARSE_IRQ is not set CONFIG_X86_MPPARSE=y CONFIG_X86_EXTENDED_PLATFORM=y
# CONFIG_X86_VSMP is not set
# CONFIG_X86_UV is not set CONFIG_SCHED_OMIT_FRAME_POINTER=y CONFIG_PARAVIRT_GUEST=yCONFIG_XEN=yCONFIG_XEN_MAX_DOMAIN_MEMORY=32 CONFIG_XEN_SAVE_RESTORE=y
# CONFIG_XEN_DEBUG_FS is not set CONFIG_KVM_CLOCK=yCONFIG_KVM_GUEST=yCONFIG_PARAVIRT=yCONFIG_PARAVIRT_CLOCK=y
# CONFIG_PARAVIRT_DEBUG is not set
# CONFIG_MEMTEST is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set CONFIG_GENERIC_CPU=yCONFIG_X86_CPU=y CONFIG_X86_L1_CACHE_BYTES=64 CONFIG_X86_INTERNODE_CACHE_BYTES=64 CONFIG_X86_CMPXCHG=y CONFIG_X86_L1_CACHE_SHIFT=6 CONFIG_X86_WP_WORKS_OK=yCONFIG_X86_TSC=yCONFIG_X86_CMPXCHG64=yCONFIG_X86_CMOV=y CONFIG_X86_MINIMUM_CPU_FAMILY=64 CONFIG_X86_DEBUGCTLMSR=y CONFIG_CPU_SUP_INTEL=yCONFIG_CPU_SUP_AMD=y CONFIG_CPU_SUP_CENTAUR=y
# CONFIG_X86_DS is not set CONFIG_HPET_TIMER=y CONFIG_HPET_EMULATE_RTC=yCONFIG_DMI=yCONFIG_GART_IOMMU=yCONFIG_CALGARY_IOMMU=y CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y CONFIG_AMD_IOMMU=y
# CONFIG_AMD_IOMMU_STATS is not set CONFIG_SWIOTLB=yCONFIG_IOMMU_HELPER=yCONFIG_IOMMU_API=y
# CONFIG_MAXSMP is not setCONFIG_NR_CPUS=64CONFIG_SCHED_SMT=yCONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set CONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=y
# CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS is not set CONFIG_X86_MCE=yCONFIG_X86_MCE_INTEL=yCONFIG_X86_MCE_AMD=y CONFIG_X86_MCE_THRESHOLD=yCONFIG_I8K=mCONFIG_MICROCODE=mCONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set CONFIG_MICROCODE_OLD_INTERFACE=y CONFIG_X86_MSR=yCONFIG_X86_CPUID=y
# CONFIG_X86_CPU_DEBUG is not set CONFIG_ARCH_PHYS_ADDR_T_64BIT=y CONFIG_DIRECT_GBPAGES=yCONFIG_NUMA=yCONFIG_K8_NUMA=yCONFIG_X86_64_ACPI_NUMA=y CONFIG_NODES_SPAN_OTHER_NODES=y
# CONFIG_NUMA_EMU is not set CONFIG_NODES_SHIFT=9 CONFIG_ARCH_SPARSEMEM_DEFAULT=y CONFIG_ARCH_SPARSEMEM_ENABLE=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set CONFIG_SPARSEMEM_MANUAL=yCONFIG_SPARSEMEM=y CONFIG_NEED_MULTIPLE_NODES=y CONFIG_HAVE_MEMORY_PRESENT=y CONFIG_SPARSEMEM_EXTREME=y CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y CONFIG_SPARSEMEM_VMEMMAP=y
#
# Memory hotplug is currently incompatible with Software Suspend #CONFIG_PAGEFLAGS_EXTENDED=yCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_MIGRATION=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_VIRT_TO_BUS=yCONFIG_UNEVICTABLE_LRU=yCONFIG_HAVE_MLOCK=yCONFIG_HAVE_MLOCKED_PAGE_BIT=yCONFIG_MMU_NOTIFIER=y
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set CONFIG_X86_RESERVE_LOW_64K=yCONFIG_MTRR=yCONFIG_MTRR_SANITIZER=y CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1 CONFIG_X86_PAT=yCONFIG_EFI=yCONFIG_SECCOMP=y
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not setCONFIG_HZ_1000=yCONFIG_HZ=1000CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_CRASH_DUMP=y
# CONFIG_KEXEC_JUMP is not set CONFIG_PHYSICAL_START=0x1000000CONFIG_RELOCATABLE=yCONFIG_PHYSICAL_ALIGN=0x200000CONFIG_HOTPLUG_CPU=y
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_HAVE_ARCH_EARLY_PFN_TO_NID=y
#
# Power management and ACPI options
#CONFIG_ARCH_HIBERNATION_HEADER=yCONFIG_PM=yCONFIG_PM_DEBUG=y
# CONFIG_PM_VERBOSE is not setCONFIG_CAN_PM_TRACE=yCONFIG_PM_TRACE=yCONFIG_PM_TRACE_RTC=yCONFIG_PM_SLEEP_SMP=yCONFIG_PM_SLEEP=yCONFIG_SUSPEND=y
# CONFIG_PM_TEST_SUSPEND is not setCONFIG_SUSPEND_FREEZER=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION=""CONFIG_ACPI=yCONFIG_ACPI_SLEEP=yCONFIG_ACPI_PROCFS=yCONFIG_ACPI_PROCFS_POWER=yCONFIG_ACPI_SYSFS_POWER=yCONFIG_ACPI_PROC_EVENT=yCONFIG_ACPI_AC=mCONFIG_ACPI_BATTERY=mCONFIG_ACPI_BUTTON=yCONFIG_ACPI_VIDEO=mCONFIG_ACPI_FAN=yCONFIG_ACPI_DOCK=yCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_HOTPLUG_CPU=yCONFIG_ACPI_THERMAL=yCONFIG_ACPI_NUMA=y
# CONFIG_ACPI_CUSTOM_DSDT is not setCONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not setCONFIG_ACPI_PCI_SLOT=mCONFIG_X86_PM_TIMER=yCONFIG_ACPI_CONTAINER=yCONFIG_ACPI_SBS=m
#
# CPU Frequency scaling
#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_TABLE=m CONFIG_CPU_FREQ_DEBUG=y CONFIG_CPU_FREQ_STAT=m CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=m CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
#
# CPUFreq processor drivers
#CONFIG_X86_ACPI_CPUFREQ=mCONFIG_X86_POWERNOW_K8=m
# CONFIG_X86_SPEEDSTEP_CENTRINO is not setCONFIG_X86_P4_CLOCKMOD=m
#
# shared options # CONFIG_X86_SPEEDSTEP_LIB=m CONFIG_CPU_IDLE=y CONFIG_CPU_IDLE_GOV_LADDER=y CONFIG_CPU_IDLE_GOV_MENU=y
#
# Memory power savings
#
# CONFIG_I7300_IDLE is not set
#
# Bus options (PCI etc.)
#CONFIG_PCI=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=yCONFIG_PCI_DOMAINS=y
# CONFIG_DMAR is not set
# CONFIG_INTR_REMAP is not setCONFIG_PCIEPORTBUS=yCONFIG_HOTPLUG_PCI_PCIE=mCONFIG_PCIEAER=yCONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not setCONFIG_ARCH_SUPPORTS_MSI=yCONFIG_PCI_MSI=yCONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_STUB is not setCONFIG_HT_IRQ=y
# CONFIG_PCI_IOV is not setCONFIG_ISA_DMA_API=yCONFIG_K8_NB=yCONFIG_PCCARD=y
# CONFIG_PCMCIA_DEBUG is not setCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=yCONFIG_PCMCIA_IOCTL=yCONFIG_CARDBUS=y
#
# PC-card bridges
#CONFIG_YENTA=mCONFIG_YENTA_O2=yCONFIG_YENTA_RICOH=yCONFIG_YENTA_TI=yCONFIG_YENTA_ENE_TUNE=yCONFIG_YENTA_TOSHIBA=yCONFIG_PD6729=mCONFIG_I82092=mCONFIG_PCCARD_NONSTATIC=mCONFIG_HOTPLUG_PCI=yCONFIG_HOTPLUG_PCI_FAKE=mCONFIG_HOTPLUG_PCI_ACPI=yCONFIG_HOTPLUG_PCI_ACPI_IBM=m
# CONFIG_HOTPLUG_PCI_CPCI is not setCONFIG_HOTPLUG_PCI_SHPC=m
#
# Executable file formats / Emulations
#CONFIG_BINFMT_ELF=yCONFIG_COMPAT_BINFMT_ELF=y
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
# CONFIG_HAVE_AOUT is not setCONFIG_BINFMT_MISC=yCONFIG_IA32_EMULATION=y
# CONFIG_IA32_AOUT is not setCONFIG_COMPAT=yCONFIG_COMPAT_FOR_U64_ALIGNMENT=yCONFIG_SYSVIPC_COMPAT=yCONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_XFRM_USER=yCONFIG_XFRM_SUB_POLICY=yCONFIG_XFRM_MIGRATE=yCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_IPCOMP=mCONFIG_NET_KEY=mCONFIG_NET_KEY_MIGRATE=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not setCONFIG_IP_FIB_HASH=yCONFIG_IP_MULTIPLE_TABLES=yCONFIG_IP_ROUTE_MULTIPATH=yCONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not setCONFIG_NET_IPIP=mCONFIG_NET_IPGRE=mCONFIG_NET_IPGRE_BROADCAST=yCONFIG_IP_MROUTE=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=yCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_XFRM_MODE_TRANSPORT=mCONFIG_INET_XFRM_MODE_TUNNEL=mCONFIG_INET_XFRM_MODE_BEET=mCONFIG_INET_LRO=yCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=mCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=mCONFIG_TCP_CONG_CUBIC=yCONFIG_TCP_CONG_WESTWOOD=mCONFIG_TCP_CONG_HTCP=mCONFIG_TCP_CONG_HSTCP=mCONFIG_TCP_CONG_HYBLA=mCONFIG_TCP_CONG_VEGAS=mCONFIG_TCP_CONG_SCALABLE=mCONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=mCONFIG_TCP_CONG_ILLINOIS=m
# CONFIG_DEFAULT_BIC is not setCONFIG_DEFAULT_CUBIC=y
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not set
# CONFIG_DEFAULT_WESTWOOD is not set
# CONFIG_DEFAULT_RENO is not setCONFIG_DEFAULT_TCP_CONG="cubic"CONFIG_TCP_MD5SIG=yCONFIG_IPV6=mCONFIG_IPV6_PRIVACY=yCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=yCONFIG_IPV6_OPTIMISTIC_DAD=yCONFIG_INET6_AH=mCONFIG_INET6_ESP=mCONFIG_INET6_IPCOMP=mCONFIG_IPV6_MIP6=mCONFIG_INET6_XFRM_TUNNEL=mCONFIG_INET6_TUNNEL=mCONFIG_INET6_XFRM_MODE_TRANSPORT=mCONFIG_INET6_XFRM_MODE_TUNNEL=mCONFIG_INET6_XFRM_MODE_BEET=mCONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=mCONFIG_IPV6_SIT=mCONFIG_IPV6_NDISC_NODETYPE=yCONFIG_IPV6_TUNNEL=mCONFIG_IPV6_MULTIPLE_TABLES=yCONFIG_IPV6_SUBTREES=yCONFIG_IPV6_MROUTE=yCONFIG_IPV6_PIMSM_V2=yCONFIG_NETLABEL=yCONFIG_NETWORK_SECMARK=yCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not setCONFIG_NETFILTER_ADVANCED=yCONFIG_BRIDGE_NETFILTER=y
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=mCONFIG_NF_CONNTRACK=yCONFIG_NF_CT_ACCT=yCONFIG_NF_CONNTRACK_MARK=yCONFIG_NF_CONNTRACK_SECMARK=yCONFIG_NF_CONNTRACK_EVENTS=yCONFIG_NF_CT_PROTO_DCCP=mCONFIG_NF_CT_PROTO_GRE=mCONFIG_NF_CT_PROTO_SCTP=mCONFIG_NF_CT_PROTO_UDPLITE=mCONFIG_NF_CONNTRACK_AMANDA=mCONFIG_NF_CONNTRACK_FTP=mCONFIG_NF_CONNTRACK_H323=mCONFIG_NF_CONNTRACK_IRC=mCONFIG_NF_CONNTRACK_NETBIOS_NS=mCONFIG_NF_CONNTRACK_PPTP=mCONFIG_NF_CONNTRACK_SANE=mCONFIG_NF_CONNTRACK_SIP=mCONFIG_NF_CONNTRACK_TFTP=mCONFIG_NF_CT_NETLINK=m
# CONFIG_NETFILTER_TPROXY is not setCONFIG_NETFILTER_XTABLES=yCONFIG_NETFILTER_XT_TARGET_CLASSIFY=mCONFIG_NETFILTER_XT_TARGET_CONNMARK=mCONFIG_NETFILTER_XT_TARGET_CONNSECMARK=mCONFIG_NETFILTER_XT_TARGET_DSCP=mCONFIG_NETFILTER_XT_TARGET_HL=m
# CONFIG_NETFILTER_XT_TARGET_LED is not setCONFIG_NETFILTER_XT_TARGET_MARK=mCONFIG_NETFILTER_XT_TARGET_NFLOG=mCONFIG_NETFILTER_XT_TARGET_NFQUEUE=mCONFIG_NETFILTER_XT_TARGET_NOTRACK=mCONFIG_NETFILTER_XT_TARGET_RATEEST=mCONFIG_NETFILTER_XT_TARGET_TRACE=mCONFIG_NETFILTER_XT_TARGET_SECMARK=mCONFIG_NETFILTER_XT_TARGET_TCPMSS=mCONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not setCONFIG_NETFILTER_XT_MATCH_COMMENT=mCONFIG_NETFILTER_XT_MATCH_CONNBYTES=mCONFIG_NETFILTER_XT_MATCH_CONNLIMIT=mCONFIG_NETFILTER_XT_MATCH_CONNMARK=mCONFIG_NETFILTER_XT_MATCH_CONNTRACK=yCONFIG_NETFILTER_XT_MATCH_DCCP=mCONFIG_NETFILTER_XT_MATCH_DSCP=mCONFIG_NETFILTER_XT_MATCH_ESP=mCONFIG_NETFILTER_XT_MATCH_HASHLIMIT=mCONFIG_NETFILTER_XT_MATCH_HELPER=mCONFIG_NETFILTER_XT_MATCH_HL=mCONFIG_NETFILTER_XT_MATCH_IPRANGE=mCONFIG_NETFILTER_XT_MATCH_LENGTH=mCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_MULTIPORT=mCONFIG_NETFILTER_XT_MATCH_OWNER=mCONFIG_NETFILTER_XT_MATCH_POLICY=mCONFIG_NETFILTER_XT_MATCH_PHYSDEV=mCONFIG_NETFILTER_XT_MATCH_PKTTYPE=mCONFIG_NETFILTER_XT_MATCH_QUOTA=mCONFIG_NETFILTER_XT_MATCH_RATEEST=mCONFIG_NETFILTER_XT_MATCH_REALM=m
# CONFIG_NETFILTER_XT_MATCH_RECENT is not setCONFIG_NETFILTER_XT_MATCH_SCTP=mCONFIG_NETFILTER_XT_MATCH_STATE=yCONFIG_NETFILTER_XT_MATCH_STATISTIC=mCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=mCONFIG_NETFILTER_XT_MATCH_TIME=mCONFIG_NETFILTER_XT_MATCH_U32=mCONFIG_IP_VS=m
# CONFIG_IP_VS_IPV6 is not set
# CONFIG_IP_VS_DEBUG is not setCONFIG_IP_VS_TAB_BITS=12
#
# IPVS transport protocol load balancing support
#CONFIG_IP_VS_PROTO_TCP=yCONFIG_IP_VS_PROTO_UDP=yCONFIG_IP_VS_PROTO_AH_ESP=yCONFIG_IP_VS_PROTO_ESP=yCONFIG_IP_VS_PROTO_AH=y
#
# IPVS scheduler
#CONFIG_IP_VS_RR=mCONFIG_IP_VS_WRR=mCONFIG_IP_VS_LC=mCONFIG_IP_VS_WLC=mCONFIG_IP_VS_LBLC=mCONFIG_IP_VS_LBLCR=mCONFIG_IP_VS_DH=mCONFIG_IP_VS_SH=mCONFIG_IP_VS_SED=mCONFIG_IP_VS_NQ=m
#
# IPVS application helper
#CONFIG_IP_VS_FTP=m
#
# IP: Netfilter Configuration
#CONFIG_NF_DEFRAG_IPV4=yCONFIG_NF_CONNTRACK_IPV4=y
# CONFIG_NF_CONNTRACK_PROC_COMPAT is not setCONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=yCONFIG_IP_NF_MATCH_ADDRTYPE=mCONFIG_IP_NF_MATCH_AH=mCONFIG_IP_NF_MATCH_ECN=mCONFIG_IP_NF_MATCH_TTL=mCONFIG_IP_NF_FILTER=yCONFIG_IP_NF_TARGET_REJECT=yCONFIG_IP_NF_TARGET_LOG=mCONFIG_IP_NF_TARGET_ULOG=mCONFIG_NF_NAT=mCONFIG_NF_NAT_NEEDED=yCONFIG_IP_NF_TARGET_MASQUERADE=mCONFIG_IP_NF_TARGET_NETMAP=mCONFIG_IP_NF_TARGET_REDIRECT=mCONFIG_NF_NAT_SNMP_BASIC=mCONFIG_NF_NAT_PROTO_DCCP=mCONFIG_NF_NAT_PROTO_GRE=mCONFIG_NF_NAT_PROTO_UDPLITE=mCONFIG_NF_NAT_PROTO_SCTP=mCONFIG_NF_NAT_FTP=mCONFIG_NF_NAT_IRC=mCONFIG_NF_NAT_TFTP=mCONFIG_NF_NAT_AMANDA=mCONFIG_NF_NAT_PPTP=mCONFIG_NF_NAT_H323=mCONFIG_NF_NAT_SIP=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_CLUSTERIP=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=mCONFIG_IP_NF_RAW=mCONFIG_IP_NF_SECURITY=mCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=mCONFIG_IP_NF_ARP_MANGLE=m
#
# IPv6: Netfilter Configuration
#CONFIG_NF_CONNTRACK_IPV6=mCONFIG_IP6_NF_QUEUE=mCONFIG_IP6_NF_IPTABLES=mCONFIG_IP6_NF_MATCH_AH=mCONFIG_IP6_NF_MATCH_EUI64=mCONFIG_IP6_NF_MATCH_FRAG=mCONFIG_IP6_NF_MATCH_OPTS=mCONFIG_IP6_NF_MATCH_HL=mCONFIG_IP6_NF_MATCH_IPV6HEADER=mCONFIG_IP6_NF_MATCH_MH=mCONFIG_IP6_NF_MATCH_RT=mCONFIG_IP6_NF_TARGET_HL=mCONFIG_IP6_NF_TARGET_LOG=mCONFIG_IP6_NF_FILTER=mCONFIG_IP6_NF_TARGET_REJECT=mCONFIG_IP6_NF_MANGLE=mCONFIG_IP6_NF_RAW=mCONFIG_IP6_NF_SECURITY=m
#
# DECnet: Netfilter Configuration
#
# CONFIG_DECNET_NF_GRABULATOR is not setCONFIG_BRIDGE_NF_EBTABLES=mCONFIG_BRIDGE_EBT_BROUTE=mCONFIG_BRIDGE_EBT_T_FILTER=mCONFIG_BRIDGE_EBT_T_NAT=mCONFIG_BRIDGE_EBT_802_3=mCONFIG_BRIDGE_EBT_AMONG=mCONFIG_BRIDGE_EBT_ARP=mCONFIG_BRIDGE_EBT_IP=mCONFIG_BRIDGE_EBT_IP6=mCONFIG_BRIDGE_EBT_LIMIT=mCONFIG_BRIDGE_EBT_MARK=mCONFIG_BRIDGE_EBT_PKTTYPE=mCONFIG_BRIDGE_EBT_STP=mCONFIG_BRIDGE_EBT_VLAN=mCONFIG_BRIDGE_EBT_ARPREPLY=mCONFIG_BRIDGE_EBT_DNAT=mCONFIG_BRIDGE_EBT_MARK_T=mCONFIG_BRIDGE_EBT_REDIRECT=mCONFIG_BRIDGE_EBT_SNAT=mCONFIG_BRIDGE_EBT_LOG=mCONFIG_BRIDGE_EBT_ULOG=mCONFIG_BRIDGE_EBT_NFLOG=mCONFIG_IP_DCCP=mCONFIG_INET_DCCP_DIAG=m
#
# DCCP CCIDs Configuration (EXPERIMENTAL)
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not setCONFIG_IP_DCCP_CCID3_RTO=100CONFIG_IP_DCCP_TFRC_LIB=y
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not setCONFIG_NET_DCCPPROBE=mCONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_MSG is not set
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_HMAC_NONE is not set
# CONFIG_SCTP_HMAC_SHA1 is not setCONFIG_SCTP_HMAC_MD5=y
# CONFIG_RDS is not setCONFIG_TIPC=m
# CONFIG_TIPC_ADVANCED is not set
# CONFIG_TIPC_DEBUG is not setCONFIG_ATM=mCONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not setCONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not setCONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not setCONFIG_STP=mCONFIG_GARP=mCONFIG_BRIDGE=m
# CONFIG_NET_DSA is not setCONFIG_VLAN_8021Q=mCONFIG_VLAN_8021Q_GVRP=yCONFIG_DECNET=mCONFIG_DECNET_ROUTER=yCONFIG_LLC=y
# CONFIG_LLC2 is not setCONFIG_IPX=m
# CONFIG_IPX_INTERN is not setCONFIG_ATALK=mCONFIG_DEV_APPLETALK=mCONFIG_IPDDP=mCONFIG_IPDDP_ENCAP=yCONFIG_IPDDP_DECAP=y
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not setCONFIG_WAN_ROUTER=m
# CONFIG_PHONET is not setCONFIG_NET_SCHED=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=mCONFIG_NET_SCH_ATM=mCONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_MULTIQ is not setCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_DSMARK=mCONFIG_NET_SCH_NETEM=m
# CONFIG_NET_SCH_DRR is not setCONFIG_NET_SCH_INGRESS=m
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_ROUTE=yCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_RSVP=mCONFIG_NET_CLS_RSVP6=mCONFIG_NET_CLS_FLOW=m
# CONFIG_NET_CLS_CGROUP is not setCONFIG_NET_EMATCH=yCONFIG_NET_EMATCH_STACK=32CONFIG_NET_EMATCH_CMP=mCONFIG_NET_EMATCH_NBYTE=mCONFIG_NET_EMATCH_U32=mCONFIG_NET_EMATCH_META=mCONFIG_NET_EMATCH_TEXT=mCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=mCONFIG_NET_ACT_GACT=mCONFIG_GACT_PROB=yCONFIG_NET_ACT_MIRRED=mCONFIG_NET_ACT_IPT=mCONFIG_NET_ACT_NAT=mCONFIG_NET_ACT_PEDIT=mCONFIG_NET_ACT_SIMP=m
# CONFIG_NET_ACT_SKBEDIT is not setCONFIG_NET_CLS_IND=yCONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
#
# Network testing
#CONFIG_NET_PKTGEN=m
# CONFIG_NET_TCPPROBE is not set
# CONFIG_NET_DROP_MONITOR is not setCONFIG_HAMRADIO=y
#
# Packet Radio protocols
#CONFIG_AX25=mCONFIG_AX25_DAMA_SLAVE=yCONFIG_NETROM=mCONFIG_ROSE=m
#
# AX.25 network device drivers
#CONFIG_MKISS=mCONFIG_6PACK=mCONFIG_BPQETHER=mCONFIG_BAYCOM_SER_FDX=mCONFIG_BAYCOM_SER_HDX=mCONFIG_BAYCOM_PAR=mCONFIG_YAM=mCONFIG_CAN=mCONFIG_CAN_RAW=mCONFIG_CAN_BCM=m
#
# CAN Device Drivers
#CONFIG_CAN_VCAN=m
# CONFIG_CAN_DEBUG_DEVICES is not setCONFIG_IRDA=m
#
# IrDA protocols
#CONFIG_IRLAN=mCONFIG_IRNET=mCONFIG_IRCOMM=m
# CONFIG_IRDA_ULTRA is not set
#
# IrDA options
#CONFIG_IRDA_CACHE_LAST_LSAP=yCONFIG_IRDA_FAST_RR=y
# CONFIG_IRDA_DEBUG is not set
#
# Infrared-port device drivers
#
#
# SIR device drivers
#CONFIG_IRTTY_SIR=m
#
# Dongle support
#CONFIG_DONGLE=yCONFIG_ESI_DONGLE=mCONFIG_ACTISYS_DONGLE=mCONFIG_TEKRAM_DONGLE=mCONFIG_TOIM3232_DONGLE=mCONFIG_LITELINK_DONGLE=mCONFIG_MA600_DONGLE=mCONFIG_GIRBIL_DONGLE=mCONFIG_MCP2120_DONGLE=mCONFIG_OLD_BELKIN_DONGLE=mCONFIG_ACT200L_DONGLE=mCONFIG_KINGSUN_DONGLE=mCONFIG_KSDAZZLE_DONGLE=mCONFIG_KS959_DONGLE=m
#
# FIR device drivers
#CONFIG_USB_IRDA=mCONFIG_SIGMATEL_FIR=mCONFIG_NSC_FIR=mCONFIG_WINBOND_FIR=mCONFIG_SMC_IRCC_FIR=mCONFIG_ALI_FIR=mCONFIG_VLSI_FIR=mCONFIG_VIA_FIR=mCONFIG_MCS_FIR=mCONFIG_BT=mCONFIG_BT_L2CAP=mCONFIG_BT_SCO=mCONFIG_BT_RFCOMM=mCONFIG_BT_RFCOMM_TTY=yCONFIG_BT_BNEP=mCONFIG_BT_BNEP_MC_FILTER=yCONFIG_BT_BNEP_PROTO_FILTER=yCONFIG_BT_CMTP=mCONFIG_BT_HIDP=m
#
# Bluetooth device drivers
#CONFIG_BT_HCIBTUSB=mCONFIG_BT_HCIBTSDIO=mCONFIG_BT_HCIUART=mCONFIG_BT_HCIUART_H4=yCONFIG_BT_HCIUART_BCSP=yCONFIG_BT_HCIUART_LL=yCONFIG_BT_HCIBCM203X=mCONFIG_BT_HCIBPA10X=mCONFIG_BT_HCIBFUSB=mCONFIG_BT_HCIDTL1=mCONFIG_BT_HCIBT3C=mCONFIG_BT_HCIBLUECARD=mCONFIG_BT_HCIBTUART=mCONFIG_BT_HCIVHCI=m
# CONFIG_AF_RXRPC is not setCONFIG_FIB_RULES=y
# CONFIG_WIRELESS is not setCONFIG_WIRELESS_EXT=yCONFIG_LIB80211=mCONFIG_LIB80211_CRYPT_WEP=mCONFIG_LIB80211_CRYPT_CCMP=mCONFIG_LIB80211_CRYPT_TKIP=m
# CONFIG_WIMAX is not setCONFIG_RFKILL=mCONFIG_RFKILL_INPUT=mCONFIG_RFKILL_LEDS=yCONFIG_NET_9P=mCONFIG_NET_9P_VIRTIO=m
# CONFIG_NET_9P_RDMA is not set
# CONFIG_NET_9P_DEBUG is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"CONFIG_DEVTMPFS=yCONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=y
# CONFIG_FIRMWARE_IN_KERNEL is not setCONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not setCONFIG_DEBUG_DEVRES=y
# CONFIG_SYS_HYPERVISOR is not setCONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=yCONFIG_MTD=m
# CONFIG_MTD_DEBUG is not setCONFIG_MTD_CONCAT=mCONFIG_MTD_PARTITIONS=y
# CONFIG_MTD_TESTS is not setCONFIG_MTD_REDBOOT_PARTS=mCONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
# CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set
# CONFIG_MTD_REDBOOT_PARTS_READONLY is not setCONFIG_MTD_AR7_PARTS=m
#
# User Modules And Translation Layers
#CONFIG_MTD_CHAR=mCONFIG_MTD_BLKDEVS=mCONFIG_MTD_BLOCK=mCONFIG_MTD_BLOCK_RO=mCONFIG_FTL=mCONFIG_NFTL=mCONFIG_NFTL_RW=yCONFIG_INFTL=mCONFIG_RFD_FTL=mCONFIG_SSFDC=mCONFIG_MTD_OOPS=m
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=mCONFIG_MTD_JEDECPROBE=mCONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not setCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not setCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not setCONFIG_MTD_CFI_INTELEXT=mCONFIG_MTD_CFI_AMDSTD=mCONFIG_MTD_CFI_STAA=mCONFIG_MTD_CFI_UTIL=mCONFIG_MTD_RAM=mCONFIG_MTD_ROM=mCONFIG_MTD_ABSENT=m
#
# Mapping drivers for chip access
#CONFIG_MTD_COMPLEX_MAPPINGS=y
# CONFIG_MTD_PHYSMAP is not setCONFIG_MTD_SC520CDP=mCONFIG_MTD_NETSC520=mCONFIG_MTD_TS5500=m
# CONFIG_MTD_SBC_GXX is not set
# CONFIG_MTD_AMD76XROM is not set
# CONFIG_MTD_ICHXROM is not setCONFIG_MTD_ESB2ROM=mCONFIG_MTD_CK804XROM=mCONFIG_MTD_SCB2_FLASH=m
# CONFIG_MTD_NETtel is not set
# CONFIG_MTD_DILNETPC is not set
# CONFIG_MTD_L440GX is not setCONFIG_MTD_PCI=m
# CONFIG_MTD_INTEL_VR_NOR is not set
# CONFIG_MTD_PLATRAM is not set
#
# Self-contained MTD device drivers
#CONFIG_MTD_PMC551=m
# CONFIG_MTD_PMC551_BUGFIX is not set
# CONFIG_MTD_PMC551_DEBUG is not set
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not setCONFIG_MTD_MTDRAM=mCONFIG_MTDRAM_TOTAL_SIZE=4096CONFIG_MTDRAM_ERASE_SIZE=128CONFIG_MTD_BLOCK2MTD=m
#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOC2000 is not set
# CONFIG_MTD_DOC2001 is not set
# CONFIG_MTD_DOC2001PLUS is not set CONFIG_MTD_NAND=m
# CONFIG_MTD_NAND_VERIFY_WRITE is not set CONFIG_MTD_NAND_ECC_SMC=y
# CONFIG_MTD_NAND_MUSEUM_IDS is not set CONFIG_MTD_NAND_IDS=m CONFIG_MTD_NAND_DISKONCHIP=m
# CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADVANCED is not set CONFIG_MTD_NAND_DISKONCHIP_PROBE_ADDRESS=0
# CONFIG_MTD_NAND_DISKONCHIP_BBTWRITE is not set # CONFIG_MTD_NAND_CAFE is not set CONFIG_MTD_NAND_NANDSIM=m
# CONFIG_MTD_NAND_PLATFORM is not set CONFIG_MTD_ALAUDA=m
# CONFIG_MTD_ONENAND is not set
#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
#
# UBI - Unsorted block images
#CONFIG_MTD_UBI=mCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_RESERVE=1
# CONFIG_MTD_UBI_GLUEBI is not set
#
# UBI debugging options
#
# CONFIG_MTD_UBI_DEBUG is not setCONFIG_PARPORT=mCONFIG_PARPORT_PC=mCONFIG_PARPORT_SERIAL=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not setCONFIG_PARPORT_PC_PCMCIA=m
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not setCONFIG_PARPORT_1284=yCONFIG_PARPORT_NOT_PC=yCONFIG_PNP=yCONFIG_PNP_DEBUG_MESSAGES=y
#
# Protocols
#CONFIG_PNPACPI=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=mCONFIG_PARIDE=m
#
# Parallel IDE high-level drivers
#CONFIG_PARIDE_PD=mCONFIG_PARIDE_PCD=mCONFIG_PARIDE_PF=mCONFIG_PARIDE_PT=mCONFIG_PARIDE_PG=m
#
# Parallel IDE protocol modules
#CONFIG_PARIDE_ATEN=mCONFIG_PARIDE_BPCK=mCONFIG_PARIDE_COMM=mCONFIG_PARIDE_DSTR=mCONFIG_PARIDE_FIT2=mCONFIG_PARIDE_FIT3=mCONFIG_PARIDE_EPAT=mCONFIG_PARIDE_EPATC8=yCONFIG_PARIDE_EPIA=mCONFIG_PARIDE_FRIQ=mCONFIG_PARIDE_FRPW=mCONFIG_PARIDE_KBIC=mCONFIG_PARIDE_KTTI=mCONFIG_PARIDE_ON20=mCONFIG_PARIDE_ON26=mCONFIG_BLK_CPQ_DA=mCONFIG_BLK_CPQ_CISS_DA=mCONFIG_CISS_SCSI_TAPE=yCONFIG_BLK_DEV_DAC960=mCONFIG_BLK_DEV_UMEM=m
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=yCONFIG_BLK_DEV_CRYPTOLOOP=mCONFIG_BLK_DEV_NBD=mCONFIG_BLK_DEV_SX8=m
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=16384
# CONFIG_BLK_DEV_XIP is not setCONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not setCONFIG_ATA_OVER_ETH=mCONFIG_XEN_BLKDEV_FRONTEND=mCONFIG_VIRTIO_BLK=m
# CONFIG_BLK_DEV_HD is not setCONFIG_MISC_DEVICES=y
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not setCONFIG_SGI_IOC4=mCONFIG_TIFM_CORE=mCONFIG_TIFM_7XX1=m
# CONFIG_ICS932S401 is not setCONFIG_ENCLOSURE_SERVICES=m
# CONFIG_HP_ILO is not set
# CONFIG_DELL_LAPTOP is not set
# CONFIG_ISL29003 is not set
# CONFIG_C2PORT is not set
#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not setCONFIG_EEPROM_93CX6=mCONFIG_HAVE_IDE=y
# CONFIG_IDE is not set
#
# SCSI device support
#CONFIG_RAID_ATTRS=mCONFIG_SCSI=yCONFIG_SCSI_DMA=yCONFIG_SCSI_TGT=mCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=yCONFIG_CHR_DEV_ST=mCONFIG_CHR_DEV_OSST=mCONFIG_BLK_DEV_SR=yCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=yCONFIG_CHR_DEV_SCH=mCONFIG_SCSI_ENCLOSURE=m
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #CONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=yCONFIG_SCSI_LOGGING=yCONFIG_SCSI_SCAN_ASYNC=yCONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=mCONFIG_SCSI_FC_TGT_ATTRS=yCONFIG_SCSI_ISCSI_ATTRS=mCONFIG_SCSI_SAS_ATTRS=mCONFIG_SCSI_SAS_LIBSAS=mCONFIG_SCSI_SAS_ATA=yCONFIG_SCSI_SAS_HOST_SMP=y
# CONFIG_SCSI_SAS_LIBSAS_DEBUG is not setCONFIG_SCSI_SRP_ATTRS=mCONFIG_SCSI_SRP_TGT_ATTRS=yCONFIG_SCSI_LOWLEVEL=yCONFIG_ISCSI_TCP=m
# CONFIG_SCSI_CXGB3_ISCSI is not setCONFIG_BLK_DEV_3W_XXXX_RAID=mCONFIG_SCSI_3W_9XXX=mCONFIG_SCSI_ACARD=mCONFIG_SCSI_AACRAID=mCONFIG_SCSI_AIC7XXX=mCONFIG_AIC7XXX_CMDS_PER_DEVICE=4CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_DEBUG_ENABLE is not setCONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC7XXX_REG_PRETTY_PRINT is not setCONFIG_SCSI_AIC7XXX_OLD=mCONFIG_SCSI_AIC79XX=mCONFIG_AIC79XX_CMDS_PER_DEVICE=4CONFIG_AIC79XX_RESET_DELAY_MS=15000
# CONFIG_AIC79XX_DEBUG_ENABLE is not setCONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC79XX_REG_PRETTY_PRINT is not setCONFIG_SCSI_AIC94XX=m
# CONFIG_AIC94XX_DEBUG is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not setCONFIG_SCSI_ARCMSR=mCONFIG_SCSI_ARCMSR_AER=yCONFIG_MEGARAID_NEWGEN=yCONFIG_MEGARAID_MM=mCONFIG_MEGARAID_MAILBOX=mCONFIG_MEGARAID_LEGACY=mCONFIG_MEGARAID_SAS=m
# CONFIG_SCSI_MPT2SAS is not setCONFIG_SCSI_HPTIOP=mCONFIG_SCSI_BUSLOGIC=m
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_FCOE is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not setCONFIG_SCSI_GDTH=mCONFIG_SCSI_IPS=mCONFIG_SCSI_INITIO=mCONFIG_SCSI_INIA100=mCONFIG_SCSI_PPA=mCONFIG_SCSI_IMM=m
# CONFIG_SCSI_IZIP_EPP16 is not set
# CONFIG_SCSI_IZIP_SLOW_CTR is not setCONFIG_SCSI_MVSAS=mCONFIG_SCSI_STEX=mCONFIG_SCSI_SYM53C8XX_2=mCONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64CONFIG_SCSI_SYM53C8XX_MMIO=y
# CONFIG_SCSI_IPR is not setCONFIG_SCSI_QLOGIC_1280=mCONFIG_SCSI_QLA_FC=mCONFIG_SCSI_QLA_ISCSI=mCONFIG_SCSI_LPFC=m
# CONFIG_SCSI_LPFC_DEBUG_FS is not set
CONFIG_SCSI_DC395x=mCONFIG_SCSI_DC390T=m
# CONFIG_SCSI_DEBUG is not setCONFIG_SCSI_SRP=mCONFIG_SCSI_LOWLEVEL_PCMCIA=y
# CONFIG_PCMCIA_FDOMAIN is not setCONFIG_PCMCIA_QLOGIC=mCONFIG_PCMCIA_SYM53C500=mCONFIG_SCSI_DH=yCONFIG_SCSI_DH_RDAC=mCONFIG_SCSI_DH_HP_SW=mCONFIG_SCSI_DH_EMC=mCONFIG_SCSI_DH_ALUA=m
# CONFIG_SCSI_OSD_INITIATOR is not setCONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_ACPI=yCONFIG_SATA_PMP=yCONFIG_SATA_AHCI=yCONFIG_SATA_SIL24=mCONFIG_ATA_SFF=yCONFIG_SATA_SVW=mCONFIG_ATA_PIIX=yCONFIG_SATA_MV=mCONFIG_SATA_NV=mCONFIG_PDC_ADMA=mCONFIG_SATA_QSTOR=mCONFIG_SATA_PROMISE=mCONFIG_SATA_SX4=mCONFIG_SATA_SIL=mCONFIG_SATA_SIS=mCONFIG_SATA_ULI=mCONFIG_SATA_VIA=mCONFIG_SATA_VITESSE=mCONFIG_SATA_INIC162X=mCONFIG_PATA_ACPI=mCONFIG_PATA_ALI=mCONFIG_PATA_AMD=mCONFIG_PATA_ARTOP=mCONFIG_PATA_ATIIXP=mCONFIG_PATA_CMD640_PCI=mCONFIG_PATA_CMD64X=mCONFIG_PATA_CS5520=mCONFIG_PATA_CS5530=mCONFIG_PATA_CYPRESS=mCONFIG_PATA_EFAR=mCONFIG_ATA_GENERIC=mCONFIG_PATA_HPT366=mCONFIG_PATA_HPT37X=mCONFIG_PATA_HPT3X2N=mCONFIG_PATA_HPT3X3=m
# CONFIG_PATA_HPT3X3_DMA is not setCONFIG_PATA_IT821X=mCONFIG_PATA_IT8213=mCONFIG_PATA_JMICRON=mCONFIG_PATA_TRIFLEX=mCONFIG_PATA_MARVELL=mCONFIG_PATA_MPIIX=mCONFIG_PATA_OLDPIIX=mCONFIG_PATA_NETCELL=mCONFIG_PATA_NINJA32=mCONFIG_PATA_NS87410=mCONFIG_PATA_NS87415=mCONFIG_PATA_OPTI=mCONFIG_PATA_OPTIDMA=mCONFIG_PATA_PCMCIA=mCONFIG_PATA_PDC_OLD=m
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not setCONFIG_PATA_SERVERWORKS=mCONFIG_PATA_PDC2027X=mCONFIG_PATA_SIL680=mCONFIG_PATA_SIS=mCONFIG_PATA_VIA=mCONFIG_PATA_WINBOND=mCONFIG_PATA_SCH=mCONFIG_MD=yCONFIG_BLK_DEV_MD=yCONFIG_MD_AUTODETECT=yCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=mCONFIG_MD_RAID6_PQ=mCONFIG_MD_MULTIPATH=mCONFIG_MD_FAULTY=mCONFIG_BLK_DEV_DM=yCONFIG_DM_DEBUG=yCONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=yCONFIG_DM_MIRROR=yCONFIG_DM_ZERO=yCONFIG_DM_MULTIPATH=m
# CONFIG_DM_DELAY is not setCONFIG_DM_UEVENT=yCONFIG_FUSION=yCONFIG_FUSION_SPI=mCONFIG_FUSION_FC=mCONFIG_FUSION_SAS=mCONFIG_FUSION_MAX_SGE=40CONFIG_FUSION_CTL=mCONFIG_FUSION_LAN=mCONFIG_FUSION_LOGGING=y
#
# IEEE 1394 (FireWire) support
#
#
# Enable only one of the two stacks, unless you know what you are doing #CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=mCONFIG_FIREWIRE_OHCI_DEBUG=yCONFIG_FIREWIRE_SBP2=m
# CONFIG_IEEE1394 is not setCONFIG_I2O=m
# CONFIG_I2O_LCT_NOTIFY_ON_CHANGES is not set CONFIG_I2O_EXT_ADAPTEC=yCONFIG_I2O_EXT_ADAPTEC_DMA64=yCONFIG_I2O_CONFIG=mCONFIG_I2O_CONFIG_OLD_IOCTL=yCONFIG_I2O_BUS=mCONFIG_I2O_BLOCK=mCONFIG_I2O_SCSI=mCONFIG_I2O_PROC=mCONFIG_MACINTOSH_DRIVERS=yCONFIG_MAC_EMUMOUSEBTN=yCONFIG_NETDEVICES=yCONFIG_COMPAT_NET_DEV_OPS=yCONFIG_IFB=mCONFIG_DUMMY=mCONFIG_BONDING=mCONFIG_MACVLAN=mCONFIG_EQUALIZER=mCONFIG_TUN=mCONFIG_VETH=mCONFIG_NET_SB1000=m
# CONFIG_ARCNET is not setCONFIG_PHYLIB=m
#
# MII PHY device drivers
#CONFIG_MARVELL_PHY=mCONFIG_DAVICOM_PHY=mCONFIG_QSEMI_PHY=mCONFIG_LXT_PHY=mCONFIG_CICADA_PHY=mCONFIG_VITESSE_PHY=mCONFIG_SMSC_PHY=mCONFIG_BROADCOM_PHY=mCONFIG_ICPLUS_PHY=mCONFIG_REALTEK_PHY=m
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set CONFIG_MDIO_BITBANG=m CONFIG_NET_ETHERNET=yCONFIG_MII=mCONFIG_HAPPYMEAL=mCONFIG_SUNGEM=mCONFIG_CASSINI=mCONFIG_NET_VENDOR_3COM=yCONFIG_VORTEX=mCONFIG_TYPHOON=m
# CONFIG_ETHOC is not set
# CONFIG_DNET is not set CONFIG_NET_TULIP=yCONFIG_DE2104X=mCONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set CONFIG_TULIP_MMIO=y
# CONFIG_TULIP_NAPI is not set CONFIG_DE4X5=mCONFIG_WINBOND_840=mCONFIG_DM9102=mCONFIG_ULI526X=mCONFIG_PCMCIA_XIRCOM=m
# CONFIG_HP100 is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set CONFIG_NET_PCI=yCONFIG_PCNET32=mCONFIG_AMD8111_ETH=m CONFIG_ADAPTEC_STARFIRE=mCONFIG_B44=mCONFIG_B44_PCI_AUTOSELECT=y CONFIG_B44_PCICORE_AUTOSELECT=y CONFIG_B44_PCI=yCONFIG_FORCEDETH=mCONFIG_FORCEDETH_NAPI=yCONFIG_E100=mCONFIG_FEALNX=mCONFIG_NATSEMI=mCONFIG_NE2K_PCI=mCONFIG_8139CP=mCONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set CONFIG_R6040=mCONFIG_SIS900=mCONFIG_EPIC100=m
# CONFIG_SMSC9420 is not set CONFIG_SUNDANCE=m
# CONFIG_SUNDANCE_MMIO is not set CONFIG_TLAN=mCONFIG_VIA_RHINE=mCONFIG_VIA_RHINE_MMIO=yCONFIG_SC92031=mCONFIG_NET_POCKET=yCONFIG_ATP=mCONFIG_DE600=mCONFIG_DE620=mCONFIG_ATL2=mCONFIG_NETDEV_1000=yCONFIG_ACENIC=m
# CONFIG_ACENIC_OMIT_TIGON_I is not set CONFIG_DL2K=mCONFIG_E1000=mCONFIG_E1000E=mCONFIG_IP1000=mCONFIG_IGB=mCONFIG_IGB_DCA=y
# CONFIG_IGBVF is not setCONFIG_NS83820=mCONFIG_HAMACHI=mCONFIG_YELLOWFIN=mCONFIG_R8169=mCONFIG_R8169_VLAN=yCONFIG_SIS190=mCONFIG_SKGE=m
# CONFIG_SKGE_DEBUG is not set CONFIG_SKY2=m
# CONFIG_SKY2_DEBUG is not set CONFIG_VIA_VELOCITY=mCONFIG_TIGON3=mCONFIG_BNX2=mCONFIG_QLA3XXX=mCONFIG_ATL1=mCONFIG_ATL1E=m
# CONFIG_ATL1C is not set
# CONFIG_JME is not set CONFIG_NETDEV_10000=yCONFIG_CHELSIO_T1=mCONFIG_CHELSIO_T1_1G=y CONFIG_CHELSIO_T3_DEPENDS=y CONFIG_CHELSIO_T3=m
# CONFIG_ENIC is not setCONFIG_IXGBE=mCONFIG_IXGBE_DCA=yCONFIG_IXGB=mCONFIG_S2IO=m
# CONFIG_VXGE is not setCONFIG_MYRI10GE=mCONFIG_MYRI10GE_DCA=yCONFIG_NETXEN_NIC=mCONFIG_NIU=m
# CONFIG_MLX4_EN is not set CONFIG_MLX4_CORE=mCONFIG_MLX4_DEBUG=yCONFIG_TEHUTI=mCONFIG_BNX2X=m
# CONFIG_QLGE is not set
# CONFIG_SFC is not set
# CONFIG_BE2NET is not setCONFIG_TR=yCONFIG_IBMOL=mCONFIG_3C359=m
# CONFIG_TMS380TR is not set
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not setCONFIG_WLAN_80211=y
# CONFIG_PCMCIA_RAYCS is not setCONFIG_LIBERTAS=mCONFIG_LIBERTAS_USB=mCONFIG_LIBERTAS_CS=mCONFIG_LIBERTAS_SDIO=mCONFIG_LIBERTAS_DEBUG=yCONFIG_AIRO=mCONFIG_ATMEL=mCONFIG_PCI_ATMEL=mCONFIG_PCMCIA_ATMEL=mCONFIG_AIRO_CS=mCONFIG_PCMCIA_WL3501=mCONFIG_PRISM54=mCONFIG_USB_ZD1201=mCONFIG_USB_NET_RNDIS_WLAN=mCONFIG_IPW2100=mCONFIG_IPW2100_MONITOR=y
# CONFIG_IPW2100_DEBUG is not setCONFIG_IPW2200=mCONFIG_IPW2200_MONITOR=yCONFIG_IPW2200_RADIOTAP=yCONFIG_IPW2200_PROMISCUOUS=yCONFIG_IPW2200_QOS=y
# CONFIG_IPW2200_DEBUG is not setCONFIG_LIBIPW=m
# CONFIG_LIBIPW_DEBUG is not setCONFIG_HOSTAP=mCONFIG_HOSTAP_FIRMWARE=yCONFIG_HOSTAP_FIRMWARE_NVRAM=yCONFIG_HOSTAP_PLX=mCONFIG_HOSTAP_PCI=mCONFIG_HOSTAP_CS=mCONFIG_HERMES=mCONFIG_HERMES_CACHE_FW_ON_INIT=yCONFIG_PLX_HERMES=mCONFIG_TMD_HERMES=mCONFIG_NORTEL_HERMES=mCONFIG_PCI_HERMES=mCONFIG_PCMCIA_HERMES=mCONFIG_PCMCIA_SPECTRUM=m
#
# Enable WiMAX (Networking options) to see the WiMAX drivers #
#
# USB Network Adapters
#CONFIG_USB_CATC=mCONFIG_USB_KAWETH=mCONFIG_USB_PEGASUS=mCONFIG_USB_RTL8150=mCONFIG_USB_USBNET=mCONFIG_USB_NET_AX8817X=mCONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_CDC_EEM is not setCONFIG_USB_NET_DM9601=m
# CONFIG_USB_NET_SMSC95XX is not setCONFIG_USB_NET_GL620A=mCONFIG_USB_NET_NET1080=mCONFIG_USB_NET_PLUSB=mCONFIG_USB_NET_MCS7830=mCONFIG_USB_NET_RNDIS_HOST=mCONFIG_USB_NET_CDC_SUBSET=mCONFIG_USB_ALI_M5632=yCONFIG_USB_AN2720=yCONFIG_USB_BELKIN=yCONFIG_USB_ARMLINUX=yCONFIG_USB_EPSON2888=yCONFIG_USB_KC2190=yCONFIG_USB_NET_ZAURUS=mCONFIG_USB_HSO=mCONFIG_NET_PCMCIA=yCONFIG_PCMCIA_3C589=mCONFIG_PCMCIA_3C574=mCONFIG_PCMCIA_FMVJ18X=mCONFIG_PCMCIA_PCNET=mCONFIG_PCMCIA_NMCLAN=mCONFIG_PCMCIA_SMC91C92=mCONFIG_PCMCIA_XIRC2PS=mCONFIG_PCMCIA_AXNET=m
# CONFIG_PCMCIA_IBMTR is not set
# CONFIG_WAN is not setCONFIG_ATM_DRIVERS=y
# CONFIG_ATM_DUMMY is not setCONFIG_ATM_TCP=mCONFIG_ATM_LANAI=mCONFIG_ATM_ENI=m
# CONFIG_ATM_ENI_DEBUG is not set
# CONFIG_ATM_ENI_TUNE_BURST is not setCONFIG_ATM_FIRESTREAM=m
# CONFIG_ATM_ZATM is not setCONFIG_ATM_IDT77252=m
# CONFIG_ATM_IDT77252_DEBUG is not set
# CONFIG_ATM_IDT77252_RCV_ALL is not setCONFIG_ATM_IDT77252_USE_SUNI=yCONFIG_ATM_AMBASSADOR=m
# CONFIG_ATM_AMBASSADOR_DEBUG is not setCONFIG_ATM_HORIZON=m
# CONFIG_ATM_HORIZON_DEBUG is not set
# CONFIG_ATM_IA is not setCONFIG_ATM_FORE200E=m
# CONFIG_ATM_FORE200E_USE_TASKLET is not setCONFIG_ATM_FORE200E_TX_RETRY=16CONFIG_ATM_FORE200E_DEBUG=0CONFIG_ATM_HE=m
# CONFIG_ATM_HE_USE_SUNI is not set
# CONFIG_ATM_SOLOS is not setCONFIG_XEN_NETDEV_FRONTEND=mCONFIG_FDDI=y
# CONFIG_DEFXX is not setCONFIG_SKFP=m
# CONFIG_HIPPI is not setCONFIG_PLIP=mCONFIG_PPP=mCONFIG_PPP_MULTILINK=yCONFIG_PPP_FILTER=yCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=m
# CONFIG_PPP_BSDCOMP is not setCONFIG_PPP_MPPE=mCONFIG_PPPOE=mCONFIG_PPPOATM=mCONFIG_PPPOL2TP=mCONFIG_SLIP=mCONFIG_SLIP_COMPRESSED=yCONFIG_SLHC=mCONFIG_SLIP_SMART=y
# CONFIG_SLIP_MODE_SLIP6 is not setCONFIG_NET_FC=yCONFIG_NETCONSOLE=mCONFIG_NETCONSOLE_DYNAMIC=yCONFIG_NETPOLL=yCONFIG_NETPOLL_TRAP=yCONFIG_NET_POLL_CONTROLLER=yCONFIG_VIRTIO_NET=mCONFIG_ISDN=yCONFIG_MISDN=mCONFIG_MISDN_DSP=mCONFIG_MISDN_L1OIP=m
#
# mISDN hardware drivers
#CONFIG_MISDN_HFCPCI=mCONFIG_MISDN_HFCMULTI=m
# CONFIG_MISDN_HFCUSB is not setCONFIG_ISDN_I4L=mCONFIG_ISDN_PPP=yCONFIG_ISDN_PPP_VJ=yCONFIG_ISDN_MPP=yCONFIG_IPPP_FILTER=y
# CONFIG_ISDN_PPP_BSDCOMP is not setCONFIG_ISDN_AUDIO=yCONFIG_ISDN_TTY_FAX=y
#
# ISDN feature submodules
#CONFIG_ISDN_DIVERSION=m
#
# ISDN4Linux hardware drivers
#
#
# Passive cards
#CONFIG_ISDN_DRV_HISAX=m
#
# D-channel protocol features
#CONFIG_HISAX_EURO=yCONFIG_DE_AOC=yCONFIG_HISAX_NO_SENDCOMPLETE=yCONFIG_HISAX_NO_LLC=yCONFIG_HISAX_NO_KEYPAD=yCONFIG_HISAX_1TR6=yCONFIG_HISAX_NI1=yCONFIG_HISAX_MAX_CARDS=8
#
# HiSax supported cards
#CONFIG_HISAX_16_3=yCONFIG_HISAX_TELESPCI=yCONFIG_HISAX_S0BOX=yCONFIG_HISAX_FRITZPCI=yCONFIG_HISAX_AVM_A1_PCMCIA=yCONFIG_HISAX_ELSA=yCONFIG_HISAX_DIEHLDIVA=yCONFIG_HISAX_SEDLBAUER=yCONFIG_HISAX_NETJET=yCONFIG_HISAX_NETJET_U=yCONFIG_HISAX_NICCY=yCONFIG_HISAX_BKM_A4T=yCONFIG_HISAX_SCT_QUADRO=yCONFIG_HISAX_GAZEL=yCONFIG_HISAX_HFC_PCI=yCONFIG_HISAX_W6692=yCONFIG_HISAX_HFC_SX=yCONFIG_HISAX_ENTERNOW_PCI=y
# CONFIG_HISAX_DEBUG is not set
#
# HiSax PCMCIA card service modules
#CONFIG_HISAX_SEDLBAUER_CS=mCONFIG_HISAX_ELSA_CS=mCONFIG_HISAX_AVM_A1_CS=mCONFIG_HISAX_TELES_CS=m
#
# HiSax sub driver modules
#CONFIG_HISAX_ST5481=m
# CONFIG_HISAX_HFCUSB is not setCONFIG_HISAX_HFC4S8S=mCONFIG_HISAX_FRITZ_PCIPNP=mCONFIG_HISAX_HDLC=y
#
# Active cards
#CONFIG_HYSDN=mCONFIG_HYSDN_CAPI=yCONFIG_ISDN_DRV_GIGASET=mCONFIG_GIGASET_BASE=mCONFIG_GIGASET_M105=mCONFIG_GIGASET_M101=m
# CONFIG_GIGASET_DEBUG is not set
# CONFIG_GIGASET_UNDOCREQ is not setCONFIG_ISDN_CAPI=mCONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON=y
# CONFIG_CAPI_TRACE is not setCONFIG_ISDN_CAPI_MIDDLEWARE=yCONFIG_ISDN_CAPI_CAPI20=mCONFIG_ISDN_CAPI_CAPIFS_BOOL=yCONFIG_ISDN_CAPI_CAPIFS=mCONFIG_ISDN_CAPI_CAPIDRV=m
#
# CAPI hardware drivers
#CONFIG_CAPI_AVM=yCONFIG_ISDN_DRV_AVMB1_B1PCI=mCONFIG_ISDN_DRV_AVMB1_B1PCIV4=yCONFIG_ISDN_DRV_AVMB1_B1PCMCIA=mCONFIG_ISDN_DRV_AVMB1_AVM_CS=mCONFIG_ISDN_DRV_AVMB1_T1PCI=mCONFIG_ISDN_DRV_AVMB1_C4=m
# CONFIG_CAPI_EICON is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=yCONFIG_INPUT_FF_MEMLESS=yCONFIG_INPUT_POLLDEV=m
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=y
# CONFIG_INPUT_MOUSEDEV_PSAUX is not setCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=mCONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not setCONFIG_XEN_KBDDEV_FRONTEND=y
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=yCONFIG_MOUSE_PS2_ALPS=yCONFIG_MOUSE_PS2_LOGIPS2PP=yCONFIG_MOUSE_PS2_SYNAPTICS=yCONFIG_MOUSE_PS2_LIFEBOOK=yCONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not setCONFIG_MOUSE_SERIAL=mCONFIG_MOUSE_APPLETOUCH=mCONFIG_MOUSE_BCM5974=mCONFIG_MOUSE_VSXXXAA=mCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=mCONFIG_JOYSTICK_A3D=mCONFIG_JOYSTICK_ADI=mCONFIG_JOYSTICK_COBRA=mCONFIG_JOYSTICK_GF2K=mCONFIG_JOYSTICK_GRIP=mCONFIG_JOYSTICK_GRIP_MP=mCONFIG_JOYSTICK_GUILLEMOT=mCONFIG_JOYSTICK_INTERACT=mCONFIG_JOYSTICK_SIDEWINDER=mCONFIG_JOYSTICK_TMDC=mCONFIG_JOYSTICK_IFORCE=mCONFIG_JOYSTICK_IFORCE_USB=yCONFIG_JOYSTICK_IFORCE_232=yCONFIG_JOYSTICK_WARRIOR=mCONFIG_JOYSTICK_MAGELLAN=mCONFIG_JOYSTICK_SPACEORB=mCONFIG_JOYSTICK_SPACEBALL=mCONFIG_JOYSTICK_STINGER=mCONFIG_JOYSTICK_TWIDJOY=mCONFIG_JOYSTICK_ZHENHUA=mCONFIG_JOYSTICK_DB9=mCONFIG_JOYSTICK_GAMECON=mCONFIG_JOYSTICK_TURBOGRAFX=mCONFIG_JOYSTICK_JOYDUMP=mCONFIG_JOYSTICK_XPAD=mCONFIG_JOYSTICK_XPAD_FF=yCONFIG_JOYSTICK_XPAD_LEDS=y
# CONFIG_JOYSTICK_WALKERA0701 is not setCONFIG_INPUT_TABLET=yCONFIG_TABLET_USB_ACECAD=mCONFIG_TABLET_USB_AIPTEK=mCONFIG_TABLET_USB_GTCO=mCONFIG_TABLET_USB_KBTAB=mCONFIG_TABLET_USB_WACOM=mCONFIG_INPUT_TOUCHSCREEN=y
# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
# CONFIG_TOUCHSCREEN_AD7879 is not setCONFIG_TOUCHSCREEN_FUJITSU=mCONFIG_TOUCHSCREEN_GUNZE=mCONFIG_TOUCHSCREEN_ELO=m
# CONFIG_TOUCHSCREEN_WACOM_W8001 is not setCONFIG_TOUCHSCREEN_MTOUCH=mCONFIG_TOUCHSCREEN_INEXIO=mCONFIG_TOUCHSCREEN_MK712=mCONFIG_TOUCHSCREEN_PENMOUNT=mCONFIG_TOUCHSCREEN_TOUCHRIGHT=mCONFIG_TOUCHSCREEN_TOUCHWIN=m
# CONFIG_TOUCHSCREEN_WM97XX is not setCONFIG_TOUCHSCREEN_USB_COMPOSITE=mCONFIG_TOUCHSCREEN_USB_EGALAX=yCONFIG_TOUCHSCREEN_USB_PANJIT=yCONFIG_TOUCHSCREEN_USB_3M=yCONFIG_TOUCHSCREEN_USB_ITM=yCONFIG_TOUCHSCREEN_USB_ETURBO=yCONFIG_TOUCHSCREEN_USB_GUNZE=yCONFIG_TOUCHSCREEN_USB_DMC_TSC10=yCONFIG_TOUCHSCREEN_USB_IRTOUCH=yCONFIG_TOUCHSCREEN_USB_IDEALTEK=yCONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=yCONFIG_TOUCHSCREEN_USB_GOTOP=yCONFIG_TOUCHSCREEN_TOUCHIT213=m
# CONFIG_TOUCHSCREEN_TSC2007 is not setCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=mCONFIG_INPUT_APANEL=mCONFIG_INPUT_ATLAS_BTNS=mCONFIG_INPUT_ATI_REMOTE=mCONFIG_INPUT_ATI_REMOTE2=mCONFIG_INPUT_KEYSPAN_REMOTE=mCONFIG_INPUT_POWERMATE=mCONFIG_INPUT_YEALINK=m
# CONFIG_INPUT_CM109 is not setCONFIG_INPUT_UINPUT=m
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=yCONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not setCONFIG_SERIO_LIBPS2=yCONFIG_SERIO_RAW=mCONFIG_GAMEPORT=mCONFIG_GAMEPORT_NS558=mCONFIG_GAMEPORT_L4=mCONFIG_GAMEPORT_EMU10K1=mCONFIG_GAMEPORT_FM801=m
#
# Character devices
#CONFIG_VT=yCONFIG_CONSOLE_TRANSLATIONS=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_DEVKMEM is not setCONFIG_SERIAL_NONSTANDARD=y
# CONFIG_COMPUTONE is not setCONFIG_ROCKETPORT=mCONFIG_CYCLADES=m
# CONFIG_CYZ_INTR is not set
# CONFIG_DIGIEPCA is not set
# CONFIG_MOXA_INTELLIO is not set
# CONFIG_MOXA_SMARTIO is not set
# CONFIG_ISI is not setCONFIG_SYNCLINK=mCONFIG_SYNCLINKMP=mCONFIG_SYNCLINK_GT=mCONFIG_N_HDLC=m
# CONFIG_RISCOM8 is not set
# CONFIG_SPECIALIX is not set
# CONFIG_SX is not set
# CONFIG_RIO is not set
# CONFIG_STALDRV is not setCONFIG_NOZOMI=m
#
# Serial drivers
#CONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_FIX_EARLYCON_MEM=yCONFIG_SERIAL_8250_PCI=yCONFIG_SERIAL_8250_PNP=yCONFIG_SERIAL_8250_CS=mCONFIG_SERIAL_8250_NR_UARTS=32CONFIG_SERIAL_8250_RUNTIME_UARTS=4CONFIG_SERIAL_8250_EXTENDED=yCONFIG_SERIAL_8250_MANY_PORTS=yCONFIG_SERIAL_8250_SHARE_IRQ=yCONFIG_SERIAL_8250_DETECT_IRQ=yCONFIG_SERIAL_8250_RSA=y
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_CONSOLE_POLL=yCONFIG_SERIAL_JSM=mCONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
# CONFIG_LEGACY_PTYS is not setCONFIG_PRINTER=mCONFIG_LP_CONSOLE=yCONFIG_PPDEV=mCONFIG_HVC_DRIVER=yCONFIG_HVC_IRQ=yCONFIG_HVC_XEN=yCONFIG_VIRTIO_CONSOLE=mCONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not setCONFIG_IPMI_DEVICE_INTERFACE=mCONFIG_IPMI_SI=mCONFIG_IPMI_WATCHDOG=mCONFIG_IPMI_POWEROFF=mCONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not setCONFIG_HW_RANDOM_INTEL=mCONFIG_HW_RANDOM_AMD=mCONFIG_HW_RANDOM_VIRTIO=mCONFIG_NVRAM=yCONFIG_R3964=m
# CONFIG_APPLICOM is not set
#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not setCONFIG_CARDMAN_4000=mCONFIG_CARDMAN_4040=mCONFIG_IPWIRELESS=mCONFIG_MWAVE=m
# CONFIG_PC8736x_GPIO is not setCONFIG_RAW_DRIVER=yCONFIG_MAX_RAW_DEVS=8192CONFIG_HPET=y
# CONFIG_HPET_MMAP is not setCONFIG_HANGCHECK_TIMER=mCONFIG_TCG_TPM=mCONFIG_TCG_TIS=mCONFIG_TCG_NSC=mCONFIG_TCG_ATMEL=mCONFIG_TCG_INFINEON=mCONFIG_TELCLOCK=mCONFIG_DEVPORT=yCONFIG_I2C=mCONFIG_I2C_BOARDINFO=yCONFIG_I2C_CHARDEV=mCONFIG_I2C_HELPER_AUTO=yCONFIG_I2C_ALGOBIT=mCONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not setCONFIG_I2C_AMD756=mCONFIG_I2C_AMD756_S4882=mCONFIG_I2C_AMD8111=mCONFIG_I2C_I801=mCONFIG_I2C_ISCH=mCONFIG_I2C_PIIX4=mCONFIG_I2C_NFORCE2=mCONFIG_I2C_NFORCE2_S4985=m
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not setCONFIG_I2C_SIS96X=mCONFIG_I2C_VIA=mCONFIG_I2C_VIAPRO=m
#
# I2C system bus drivers (mostly embedded / system-on-chip) #
# CONFIG_I2C_OCORES is not setCONFIG_I2C_SIMTEC=m
#
# External I2C/SMBus adapter drivers
#CONFIG_I2C_PARPORT=mCONFIG_I2C_PARPORT_LIGHT=m
# CONFIG_I2C_TAOS_EVM is not setCONFIG_I2C_TINY_USB=m
#
# Graphics adapter I2C/DDC channel drivers
#CONFIG_I2C_VOODOO3=m
#
# Other I2C/SMBus bus drivers
#CONFIG_I2C_PCA_PLATFORM=mCONFIG_I2C_STUB=m
#
# Miscellaneous I2C Chip support
#
# CONFIG_DS1682 is not setCONFIG_SENSORS_PCF8574=mCONFIG_PCF8575=mCONFIG_SENSORS_PCA9539=mCONFIG_SENSORS_MAX6875=mCONFIG_SENSORS_TSL2550=m
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_SPI is not setCONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not setCONFIG_W1=mCONFIG_W1_CON=y
#
# 1-wire Bus Masters
#
# CONFIG_W1_MASTER_MATROX is not setCONFIG_W1_MASTER_DS2490=mCONFIG_W1_MASTER_DS2482=m
#
# 1-wire Slaves
#CONFIG_W1_SLAVE_THERM=mCONFIG_W1_SLAVE_SMEM=m
# CONFIG_W1_SLAVE_DS2431 is not setCONFIG_W1_SLAVE_DS2433=mCONFIG_W1_SLAVE_DS2433_CRC=yCONFIG_W1_SLAVE_DS2760=m
# CONFIG_W1_SLAVE_BQ27000 is not setCONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_BATTERY_DS2760 is not set
# CONFIG_BATTERY_BQ27x00 is not setCONFIG_HWMON=mCONFIG_HWMON_VID=mCONFIG_SENSORS_ABITUGURU=mCONFIG_SENSORS_ABITUGURU3=mCONFIG_SENSORS_AD7414=mCONFIG_SENSORS_AD7418=mCONFIG_SENSORS_ADM1021=mCONFIG_SENSORS_ADM1025=mCONFIG_SENSORS_ADM1026=mCONFIG_SENSORS_ADM1029=mCONFIG_SENSORS_ADM1031=mCONFIG_SENSORS_ADM9240=m
# CONFIG_SENSORS_ADT7462 is not setCONFIG_SENSORS_ADT7470=mCONFIG_SENSORS_ADT7473=m
# CONFIG_SENSORS_ADT7475 is not setCONFIG_SENSORS_K8TEMP=mCONFIG_SENSORS_ASB100=m
# CONFIG_SENSORS_ATK0110 is not setCONFIG_SENSORS_ATXP1=mCONFIG_SENSORS_DS1621=mCONFIG_SENSORS_I5K_AMB=mCONFIG_SENSORS_F71805F=mCONFIG_SENSORS_F71882FG=mCONFIG_SENSORS_F75375S=mCONFIG_SENSORS_FSCHER=mCONFIG_SENSORS_FSCPOS=mCONFIG_SENSORS_FSCHMD=m
# CONFIG_SENSORS_G760A is not setCONFIG_SENSORS_GL518SM=mCONFIG_SENSORS_GL520SM=mCONFIG_SENSORS_CORETEMP=mCONFIG_SENSORS_IBMAEM=mCONFIG_SENSORS_IBMPEX=mCONFIG_SENSORS_IT87=mCONFIG_SENSORS_LM63=mCONFIG_SENSORS_LM75=mCONFIG_SENSORS_LM77=mCONFIG_SENSORS_LM78=mCONFIG_SENSORS_LM80=mCONFIG_SENSORS_LM83=mCONFIG_SENSORS_LM85=mCONFIG_SENSORS_LM87=mCONFIG_SENSORS_LM90=mCONFIG_SENSORS_LM92=mCONFIG_SENSORS_LM93=m
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LM95241 is not setCONFIG_SENSORS_MAX1619=mCONFIG_SENSORS_MAX6650=mCONFIG_SENSORS_PC87360=mCONFIG_SENSORS_PC87427=mCONFIG_SENSORS_PCF8591=mCONFIG_SENSORS_SIS5595=mCONFIG_SENSORS_DME1737=mCONFIG_SENSORS_SMSC47M1=mCONFIG_SENSORS_SMSC47M192=mCONFIG_SENSORS_SMSC47B397=mCONFIG_SENSORS_ADS7828=mCONFIG_SENSORS_THMC50=mCONFIG_SENSORS_VIA686A=mCONFIG_SENSORS_VT1211=mCONFIG_SENSORS_VT8231=mCONFIG_SENSORS_W83781D=mCONFIG_SENSORS_W83791D=mCONFIG_SENSORS_W83792D=mCONFIG_SENSORS_W83793=mCONFIG_SENSORS_W83L785TS=mCONFIG_SENSORS_W83L786NG=mCONFIG_SENSORS_W83627HF=mCONFIG_SENSORS_W83627EHF=mCONFIG_SENSORS_HDAPS=m
# CONFIG_SENSORS_LIS3LV02D is not setCONFIG_SENSORS_APPLESMC=m
# CONFIG_HWMON_DEBUG_CHIP is not setCONFIG_THERMAL=yCONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
#
# Watchdog Device Drivers
#CONFIG_SOFT_WATCHDOG=m
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not setCONFIG_ALIM1535_WDT=mCONFIG_ALIM7101_WDT=m
# CONFIG_SC520_WDT is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not setCONFIG_IBMASR=m
# CONFIG_WAFER_WDT is not setCONFIG_I6300ESB_WDT=mCONFIG_ITCO_WDT=mCONFIG_ITCO_VENDOR_SUPPORT=yCONFIG_IT8712F_WDT=m
# CONFIG_IT87_WDT is not setCONFIG_HP_WATCHDOG=m
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not setCONFIG_W83627HF_WDT=mCONFIG_W83697HF_WDT=m
# CONFIG_W83697UG_WDT is not setCONFIG_W83877F_WDT=mCONFIG_W83977F_WDT=mCONFIG_MACHZ_WDT=m
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
#
# PCI-based Watchdog Cards
#CONFIG_PCIPCWATCHDOG=mCONFIG_WDTPCI=mCONFIG_WDT_501_PCI=y
#
# USB-based Watchdog Cards
#CONFIG_USBPCWATCHDOG=mCONFIG_SSB_POSSIBLE=y
#
# Sonics Silicon Backplane
#CONFIG_SSB=mCONFIG_SSB_SPROM=yCONFIG_SSB_PCIHOST_POSSIBLE=yCONFIG_SSB_PCIHOST=y
# CONFIG_SSB_B43_PCI_BRIDGE is not setCONFIG_SSB_PCMCIAHOST_POSSIBLE=yCONFIG_SSB_PCMCIAHOST=y
# CONFIG_SSB_DEBUG is not setCONFIG_SSB_DRIVER_PCICORE_POSSIBLE=yCONFIG_SSB_DRIVER_PCICORE=y
#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not setCONFIG_MFD_SM501=m
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_REGULATOR is not set
#
# Multimedia devices
#
#
# Multimedia core support
#CONFIG_VIDEO_DEV=mCONFIG_VIDEO_V4L2_COMMON=mCONFIG_VIDEO_ALLOW_V4L1=yCONFIG_VIDEO_V4L1_COMPAT=yCONFIG_DVB_CORE=mCONFIG_VIDEO_MEDIA=m
#
# Multimedia drivers
#CONFIG_VIDEO_SAA7146=mCONFIG_VIDEO_SAA7146_VV=mCONFIG_MEDIA_ATTACH=yCONFIG_MEDIA_TUNER=m
# CONFIG_MEDIA_TUNER_CUSTOMISE is not setCONFIG_MEDIA_TUNER_SIMPLE=mCONFIG_MEDIA_TUNER_TDA8290=mCONFIG_MEDIA_TUNER_TDA827X=mCONFIG_MEDIA_TUNER_TDA18271=mCONFIG_MEDIA_TUNER_TDA9887=mCONFIG_MEDIA_TUNER_TEA5761=mCONFIG_MEDIA_TUNER_TEA5767=mCONFIG_MEDIA_TUNER_MT20XX=mCONFIG_MEDIA_TUNER_MT2060=mCONFIG_MEDIA_TUNER_MT2266=mCONFIG_MEDIA_TUNER_MT2131=mCONFIG_MEDIA_TUNER_QT1010=mCONFIG_MEDIA_TUNER_XC2028=mCONFIG_MEDIA_TUNER_XC5000=mCONFIG_MEDIA_TUNER_MXL5005S=mCONFIG_MEDIA_TUNER_MXL5007T=mCONFIG_MEDIA_TUNER_MC44S803=mCONFIG_VIDEO_V4L2=mCONFIG_VIDEO_V4L1=mCONFIG_VIDEOBUF_GEN=mCONFIG_VIDEOBUF_DMA_SG=mCONFIG_VIDEOBUF_VMALLOC=mCONFIG_VIDEOBUF_DVB=mCONFIG_VIDEO_BTCX=mCONFIG_VIDEO_IR=mCONFIG_VIDEO_TVEEPROM=mCONFIG_VIDEO_TUNER=mCONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not setCONFIG_VIDEO_IR_I2C=m
#
# Encoders/decoders and other helper chips
#
#
# Audio decoders
#CONFIG_VIDEO_TVAUDIO=mCONFIG_VIDEO_TDA7432=mCONFIG_VIDEO_TDA9840=mCONFIG_VIDEO_TDA9875=mCONFIG_VIDEO_TEA6415C=mCONFIG_VIDEO_TEA6420=mCONFIG_VIDEO_MSP3400=mCONFIG_VIDEO_CS5345=mCONFIG_VIDEO_CS53L32A=mCONFIG_VIDEO_M52790=mCONFIG_VIDEO_TLV320AIC23B=mCONFIG_VIDEO_WM8775=mCONFIG_VIDEO_WM8739=mCONFIG_VIDEO_VP27SMPX=m
#
# RDS decoders
#CONFIG_VIDEO_SAA6588=m
#
# Video decoders
#CONFIG_VIDEO_BT819=mCONFIG_VIDEO_BT856=mCONFIG_VIDEO_BT866=mCONFIG_VIDEO_KS0127=mCONFIG_VIDEO_OV7670=mCONFIG_VIDEO_TCM825X=mCONFIG_VIDEO_SAA7110=mCONFIG_VIDEO_SAA711X=mCONFIG_VIDEO_SAA717X=mCONFIG_VIDEO_SAA7191=m
# CONFIG_VIDEO_TVP514X is not setCONFIG_VIDEO_TVP5150=mCONFIG_VIDEO_VPX3220=m
#
# Video and audio decoders
#CONFIG_VIDEO_CX25840=m
#
# MPEG video encoders
#CONFIG_VIDEO_CX2341X=m
#
# Video encoders
#CONFIG_VIDEO_SAA7127=mCONFIG_VIDEO_SAA7185=mCONFIG_VIDEO_ADV7170=mCONFIG_VIDEO_ADV7175=m
#
# Video improvement chips
#CONFIG_VIDEO_UPD64031A=mCONFIG_VIDEO_UPD64083=m
# CONFIG_VIDEO_VIVI is not setCONFIG_VIDEO_BT848=mCONFIG_VIDEO_BT848_DVB=yCONFIG_VIDEO_BWQCAM=mCONFIG_VIDEO_CQCAM=mCONFIG_VIDEO_W9966=mCONFIG_VIDEO_CPIA=mCONFIG_VIDEO_CPIA_PP=mCONFIG_VIDEO_CPIA_USB=mCONFIG_VIDEO_CPIA2=mCONFIG_VIDEO_SAA5246A=mCONFIG_VIDEO_SAA5249=mCONFIG_VIDEO_STRADIS=mCONFIG_VIDEO_ZORAN=mCONFIG_VIDEO_ZORAN_DC30=mCONFIG_VIDEO_ZORAN_ZR36060=mCONFIG_VIDEO_ZORAN_BUZ=mCONFIG_VIDEO_ZORAN_DC10=mCONFIG_VIDEO_ZORAN_LML33=mCONFIG_VIDEO_ZORAN_LML33R10=mCONFIG_VIDEO_ZORAN_AVS6EYES=mCONFIG_VIDEO_MEYE=mCONFIG_VIDEO_SAA7134=mCONFIG_VIDEO_SAA7134_ALSA=mCONFIG_VIDEO_SAA7134_DVB=mCONFIG_VIDEO_MXB=mCONFIG_VIDEO_HEXIUM_ORION=mCONFIG_VIDEO_HEXIUM_GEMINI=mCONFIG_VIDEO_CX88=mCONFIG_VIDEO_CX88_ALSA=mCONFIG_VIDEO_CX88_BLACKBIRD=mCONFIG_VIDEO_CX88_DVB=mCONFIG_VIDEO_CX88_MPEG=mCONFIG_VIDEO_CX88_VP3054=mCONFIG_VIDEO_CX23885=mCONFIG_VIDEO_AU0828=mCONFIG_VIDEO_IVTV=mCONFIG_VIDEO_FB_IVTV=mCONFIG_VIDEO_CX18=m
# CONFIG_VIDEO_CAFE_CCIC is not setCONFIG_SOC_CAMERA=mCONFIG_SOC_CAMERA_MT9M001=m
# CONFIG_SOC_CAMERA_MT9M111 is not set
# CONFIG_SOC_CAMERA_MT9T031 is not setCONFIG_SOC_CAMERA_MT9V022=m
# CONFIG_SOC_CAMERA_TW9910 is not setCONFIG_SOC_CAMERA_PLATFORM=m
# CONFIG_SOC_CAMERA_OV772X is not setCONFIG_V4L_USB_DRIVERS=yCONFIG_USB_VIDEO_CLASS=mCONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=yCONFIG_USB_GSPCA=m
# CONFIG_USB_M5602 is not set
# CONFIG_USB_STV06XX is not set
# CONFIG_USB_GSPCA_CONEX is not set
# CONFIG_USB_GSPCA_ETOMS is not set
# CONFIG_USB_GSPCA_FINEPIX is not set
# CONFIG_USB_GSPCA_MARS is not set
# CONFIG_USB_GSPCA_MR97310A is not set
# CONFIG_USB_GSPCA_OV519 is not set
# CONFIG_USB_GSPCA_OV534 is not set
# CONFIG_USB_GSPCA_PAC207 is not set
# CONFIG_USB_GSPCA_PAC7311 is not set
# CONFIG_USB_GSPCA_SONIXB is not set
# CONFIG_USB_GSPCA_SONIXJ is not set
# CONFIG_USB_GSPCA_SPCA500 is not set
# CONFIG_USB_GSPCA_SPCA501 is not set
# CONFIG_USB_GSPCA_SPCA505 is not set
# CONFIG_USB_GSPCA_SPCA506 is not set
# CONFIG_USB_GSPCA_SPCA508 is not set
# CONFIG_USB_GSPCA_SPCA561 is not set
# CONFIG_USB_GSPCA_SQ905 is not set
# CONFIG_USB_GSPCA_SQ905C is not set
# CONFIG_USB_GSPCA_STK014 is not set
# CONFIG_USB_GSPCA_SUNPLUS is not set
# CONFIG_USB_GSPCA_T613 is not set
# CONFIG_USB_GSPCA_TV8532 is not set
# CONFIG_USB_GSPCA_VC032X is not set
# CONFIG_USB_GSPCA_ZC3XX is not setCONFIG_VIDEO_PVRUSB2=mCONFIG_VIDEO_PVRUSB2_SYSFS=yCONFIG_VIDEO_PVRUSB2_DVB=y
# CONFIG_VIDEO_PVRUSB2_DEBUGIFC is not setCONFIG_VIDEO_HDPVR=mCONFIG_VIDEO_EM28XX=mCONFIG_VIDEO_EM28XX_ALSA=mCONFIG_VIDEO_EM28XX_DVB=m
# CONFIG_VIDEO_CX231XX is not setCONFIG_VIDEO_USBVISION=mCONFIG_VIDEO_USBVIDEO=mCONFIG_USB_VICAM=mCONFIG_USB_IBMCAM=mCONFIG_USB_KONICAWC=mCONFIG_USB_QUICKCAM_MESSENGER=mCONFIG_USB_ET61X251=mCONFIG_VIDEO_OVCAMCHIP=mCONFIG_USB_W9968CF=mCONFIG_USB_OV511=mCONFIG_USB_SE401=mCONFIG_USB_SN9C102=mCONFIG_USB_STV680=m
# CONFIG_USB_ZC0301 is not setCONFIG_USB_PWC=m
# CONFIG_USB_PWC_DEBUG is not setCONFIG_USB_PWC_INPUT_EVDEV=yCONFIG_USB_ZR364XX=mCONFIG_USB_STKWEBCAM=mCONFIG_USB_S2255=mCONFIG_RADIO_ADAPTERS=yCONFIG_RADIO_GEMTEK_PCI=mCONFIG_RADIO_MAXIRADIO=mCONFIG_RADIO_MAESTRO=mCONFIG_USB_DSBR=mCONFIG_USB_SI470X=m
# CONFIG_USB_MR800 is not set
# CONFIG_RADIO_TEA5764 is not set
# CONFIG_DVB_DYNAMIC_MINORS is not setCONFIG_DVB_CAPTURE_DRIVERS=y
#
# Supported SAA7146 based PCI Adapters
#CONFIG_TTPCI_EEPROM=mCONFIG_DVB_AV7110=mCONFIG_DVB_AV7110_OSD=yCONFIG_DVB_BUDGET_CORE=mCONFIG_DVB_BUDGET=mCONFIG_DVB_BUDGET_CI=mCONFIG_DVB_BUDGET_AV=mCONFIG_DVB_BUDGET_PATCH=m
#
# Supported USB Adapters
#CONFIG_DVB_USB=m
# CONFIG_DVB_USB_DEBUG is not setCONFIG_DVB_USB_A800=mCONFIG_DVB_USB_DIBUSB_MB=m
# CONFIG_DVB_USB_DIBUSB_MB_FAULTY is not setCONFIG_DVB_USB_DIBUSB_MC=mCONFIG_DVB_USB_DIB0700=mCONFIG_DVB_USB_UMT_010=mCONFIG_DVB_USB_CXUSB=mCONFIG_DVB_USB_M920X=mCONFIG_DVB_USB_GL861=mCONFIG_DVB_USB_AU6610=mCONFIG_DVB_USB_DIGITV=mCONFIG_DVB_USB_VP7045=mCONFIG_DVB_USB_VP702X=mCONFIG_DVB_USB_GP8PSK=mCONFIG_DVB_USB_NOVA_T_USB2=mCONFIG_DVB_USB_TTUSB2=mCONFIG_DVB_USB_DTT200U=mCONFIG_DVB_USB_OPERA1=mCONFIG_DVB_USB_AF9005=mCONFIG_DVB_USB_AF9005_REMOTE=mCONFIG_DVB_USB_DW2102=m
# CONFIG_DVB_USB_CINERGY_T2 is not setCONFIG_DVB_USB_ANYSEE=m
# CONFIG_DVB_USB_DTV5100 is not set
# CONFIG_DVB_USB_AF9015 is not set
# CONFIG_DVB_USB_CE6230 is not setCONFIG_DVB_TTUSB_BUDGET=mCONFIG_DVB_TTUSB_DEC=mCONFIG_DVB_SIANO_SMS1XXX=mCONFIG_DVB_SIANO_SMS1XXX_SMS_IDS=y
#
# Supported FlexCopII (B2C2) Adapters
#CONFIG_DVB_B2C2_FLEXCOP=mCONFIG_DVB_B2C2_FLEXCOP_PCI=mCONFIG_DVB_B2C2_FLEXCOP_USB=m
# CONFIG_DVB_B2C2_FLEXCOP_DEBUG is not set
#
# Supported BT878 Adapters
#CONFIG_DVB_BT8XX=m
#
# Supported Pluto2 Adapters
#CONFIG_DVB_PLUTO2=m
#
# Supported SDMC DM1105 Adapters
#
# CONFIG_DVB_DM1105 is not set
#
# Supported DVB Frontends
#
# CONFIG_DVB_FE_CUSTOMISE is not setCONFIG_DVB_STB0899=mCONFIG_DVB_STB6100=mCONFIG_DVB_CX24110=mCONFIG_DVB_CX24123=mCONFIG_DVB_MT312=mCONFIG_DVB_ZL10036=mCONFIG_DVB_S5H1420=mCONFIG_DVB_STV0288=mCONFIG_DVB_STB6000=mCONFIG_DVB_STV0299=mCONFIG_DVB_STV6110=mCONFIG_DVB_STV0900=mCONFIG_DVB_TDA8083=mCONFIG_DVB_TDA10086=mCONFIG_DVB_TDA8261=mCONFIG_DVB_VES1X93=mCONFIG_DVB_TUNER_ITD1000=mCONFIG_DVB_TUNER_CX24113=mCONFIG_DVB_TDA826X=mCONFIG_DVB_TUA6100=mCONFIG_DVB_CX24116=mCONFIG_DVB_SI21XX=mCONFIG_DVB_SP8870=mCONFIG_DVB_SP887X=mCONFIG_DVB_CX22700=mCONFIG_DVB_CX22702=mCONFIG_DVB_L64781=mCONFIG_DVB_TDA1004X=mCONFIG_DVB_NXT6000=mCONFIG_DVB_MT352=mCONFIG_DVB_ZL10353=mCONFIG_DVB_DIB3000MB=mCONFIG_DVB_DIB3000MC=mCONFIG_DVB_DIB7000M=mCONFIG_DVB_DIB7000P=mCONFIG_DVB_TDA10048=mCONFIG_DVB_VES1820=mCONFIG_DVB_TDA10021=mCONFIG_DVB_TDA10023=mCONFIG_DVB_STV0297=mCONFIG_DVB_NXT200X=mCONFIG_DVB_OR51211=mCONFIG_DVB_OR51132=mCONFIG_DVB_BCM3510=mCONFIG_DVB_LGDT330X=mCONFIG_DVB_LGDT3305=mCONFIG_DVB_S5H1409=mCONFIG_DVB_AU8522=mCONFIG_DVB_S5H1411=mCONFIG_DVB_PLL=mCONFIG_DVB_TUNER_DIB0070=mCONFIG_DVB_LNBP21=mCONFIG_DVB_ISL6405=mCONFIG_DVB_ISL6421=mCONFIG_DVB_LGS8GL5=mCONFIG_DAB=yCONFIG_USB_DABUSB=m
#
# Graphics support
#CONFIG_AGP=yCONFIG_AGP_AMD64=yCONFIG_AGP_INTEL=yCONFIG_AGP_SIS=yCONFIG_AGP_VIA=yCONFIG_DRM=mCONFIG_DRM_TDFX=mCONFIG_DRM_R128=mCONFIG_DRM_RADEON=mCONFIG_DRM_I810=mCONFIG_DRM_I830=mCONFIG_DRM_I915=m
# CONFIG_DRM_I915_KMS is not setCONFIG_DRM_MGA=mCONFIG_DRM_SIS=mCONFIG_DRM_VIA=mCONFIG_DRM_SAVAGE=mCONFIG_VGASTATE=mCONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not setCONFIG_FB_DDC=mCONFIG_FB_BOOT_VESA_SUPPORT=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not setCONFIG_FB_SYS_FILLRECT=yCONFIG_FB_SYS_COPYAREA=yCONFIG_FB_SYS_IMAGEBLIT=y
# CONFIG_FB_FOREIGN_ENDIAN is not setCONFIG_FB_SYS_FOPS=yCONFIG_FB_DEFERRED_IO=yCONFIG_FB_SVGALIB=m
# CONFIG_FB_MACMODES is not setCONFIG_FB_BACKLIGHT=yCONFIG_FB_MODE_HELPERS=yCONFIG_FB_TILEBLITTING=y
#
# Frame buffer hardware drivers
#CONFIG_FB_CIRRUS=m
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not setCONFIG_FB_VGA16=m
# CONFIG_FB_UVESA is not setCONFIG_FB_VESA=yCONFIG_FB_EFI=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not setCONFIG_FB_NVIDIA=mCONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not setCONFIG_FB_NVIDIA_BACKLIGHT=yCONFIG_FB_RIVA=m
# CONFIG_FB_RIVA_I2C is not set
# CONFIG_FB_RIVA_DEBUG is not setCONFIG_FB_RIVA_BACKLIGHT=y
# CONFIG_FB_LE80578 is not setCONFIG_FB_INTEL=m
# CONFIG_FB_INTEL_DEBUG is not setCONFIG_FB_INTEL_I2C=yCONFIG_FB_MATROX=mCONFIG_FB_MATROX_MILLENIUM=yCONFIG_FB_MATROX_MYSTIQUE=yCONFIG_FB_MATROX_G=yCONFIG_FB_MATROX_I2C=mCONFIG_FB_MATROX_MAVEN=mCONFIG_FB_MATROX_MULTIHEAD=yCONFIG_FB_RADEON=mCONFIG_FB_RADEON_I2C=yCONFIG_FB_RADEON_BACKLIGHT=y
# CONFIG_FB_RADEON_DEBUG is not setCONFIG_FB_ATY128=mCONFIG_FB_ATY128_BACKLIGHT=yCONFIG_FB_ATY=mCONFIG_FB_ATY_CT=yCONFIG_FB_ATY_GENERIC_LCD=yCONFIG_FB_ATY_GX=yCONFIG_FB_ATY_BACKLIGHT=yCONFIG_FB_S3=mCONFIG_FB_SAVAGE=mCONFIG_FB_SAVAGE_I2C=yCONFIG_FB_SAVAGE_ACCEL=y
# CONFIG_FB_SIS is not set
# CONFIG_FB_VIA is not setCONFIG_FB_NEOMAGIC=mCONFIG_FB_KYRO=mCONFIG_FB_3DFX=mCONFIG_FB_3DFX_ACCEL=yCONFIG_FB_3DFX_I2C=yCONFIG_FB_VOODOO1=m
# CONFIG_FB_VT8623 is not setCONFIG_FB_TRIDENT=m
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not setCONFIG_FB_SM501=m
# CONFIG_FB_VIRTUAL is not setCONFIG_XEN_FBDEV_FRONTEND=y
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not setCONFIG_BACKLIGHT_LCD_SUPPORT=yCONFIG_LCD_CLASS_DEVICE=m
# CONFIG_LCD_ILI9320 is not setCONFIG_LCD_PLATFORM=mCONFIG_BACKLIGHT_CLASS_DEVICE=yCONFIG_BACKLIGHT_GENERIC=yCONFIG_BACKLIGHT_PROGEAR=mCONFIG_BACKLIGHT_MBP_NVIDIA=m
# CONFIG_BACKLIGHT_SAHARA is not set
#
# Display device support
#CONFIG_DISPLAY_SUPPORT=m
#
# Display hardware drivers
#
#
# Console display driver support
#CONFIG_VGA_CONSOLE=yCONFIG_VGACON_SOFT_SCROLLBACK=yCONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64CONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=yCONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not setCONFIG_LOGO_LINUX_CLUT224=yCONFIG_SOUND=mCONFIG_SOUND_OSS_CORE=yCONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_HWDEP=mCONFIG_SND_RAWMIDI=mCONFIG_SND_JACK=yCONFIG_SND_SEQUENCER=mCONFIG_SND_SEQ_DUMMY=mCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_HRTIMER is not setCONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not setCONFIG_SND_VERBOSE_PROCFS=yCONFIG_SND_VERBOSE_PRINTK=yCONFIG_SND_DEBUG=y
# CONFIG_SND_DEBUG_VERBOSE is not setCONFIG_SND_PCM_XRUN_DEBUG=yCONFIG_SND_VMASTER=yCONFIG_SND_MPU401_UART=mCONFIG_SND_OPL3_LIB=mCONFIG_SND_VX_LIB=mCONFIG_SND_AC97_CODEC=mCONFIG_SND_DRIVERS=yCONFIG_SND_PCSP=mCONFIG_SND_DUMMY=mCONFIG_SND_VIRMIDI=mCONFIG_SND_MTPAV=mCONFIG_SND_MTS64=mCONFIG_SND_SERIAL_U16550=mCONFIG_SND_MPU401=mCONFIG_SND_PORTMAN2X4=mCONFIG_SND_AC97_POWER_SAVE=yCONFIG_SND_AC97_POWER_SAVE_DEFAULT=0CONFIG_SND_SB_COMMON=mCONFIG_SND_SB16_DSP=mCONFIG_SND_PCI=yCONFIG_SND_AD1889=mCONFIG_SND_ALS300=mCONFIG_SND_ALS4000=mCONFIG_SND_ALI5451=mCONFIG_SND_ATIIXP=mCONFIG_SND_ATIIXP_MODEM=mCONFIG_SND_AU8810=mCONFIG_SND_AU8820=mCONFIG_SND_AU8830=m
# CONFIG_SND_AW2 is not setCONFIG_SND_AZT3328=mCONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not setCONFIG_SND_CA0106=mCONFIG_SND_CMIPCI=mCONFIG_SND_OXYGEN_LIB=mCONFIG_SND_OXYGEN=mCONFIG_SND_CS4281=mCONFIG_SND_CS46XX=mCONFIG_SND_CS46XX_NEW_DSP=yCONFIG_SND_CS5530=mCONFIG_SND_DARLA20=mCONFIG_SND_GINA20=mCONFIG_SND_LAYLA20=mCONFIG_SND_DARLA24=mCONFIG_SND_GINA24=mCONFIG_SND_LAYLA24=mCONFIG_SND_MONA=mCONFIG_SND_MIA=mCONFIG_SND_ECHO3G=mCONFIG_SND_INDIGO=mCONFIG_SND_INDIGOIO=mCONFIG_SND_INDIGODJ=m
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not setCONFIG_SND_EMU10K1=mCONFIG_SND_EMU10K1X=mCONFIG_SND_ENS1370=mCONFIG_SND_ENS1371=mCONFIG_SND_ES1938=mCONFIG_SND_ES1968=mCONFIG_SND_FM801=mCONFIG_SND_FM801_TEA575X_BOOL=yCONFIG_SND_FM801_TEA575X=mCONFIG_SND_HDA_INTEL=mCONFIG_SND_HDA_HWDEP=y
# CONFIG_SND_HDA_RECONFIG is not set
# CONFIG_SND_HDA_INPUT_BEEP is not setCONFIG_SND_HDA_CODEC_REALTEK=yCONFIG_SND_HDA_CODEC_ANALOG=yCONFIG_SND_HDA_CODEC_SIGMATEL=yCONFIG_SND_HDA_CODEC_VIA=yCONFIG_SND_HDA_CODEC_ATIHDMI=yCONFIG_SND_HDA_CODEC_NVHDMI=yCONFIG_SND_HDA_CODEC_INTELHDMI=yCONFIG_SND_HDA_ELD=yCONFIG_SND_HDA_CODEC_CONEXANT=yCONFIG_SND_HDA_CODEC_CMEDIA=yCONFIG_SND_HDA_CODEC_SI3054=yCONFIG_SND_HDA_GENERIC=yCONFIG_SND_HDA_POWER_SAVE=yCONFIG_SND_HDA_POWER_SAVE_DEFAULT=0CONFIG_SND_HDSP=mCONFIG_SND_HDSPM=mCONFIG_SND_HIFIER=mCONFIG_SND_ICE1712=mCONFIG_SND_ICE1724=mCONFIG_SND_INTEL8X0=mCONFIG_SND_INTEL8X0M=mCONFIG_SND_KORG1212=mCONFIG_SND_MAESTRO3=mCONFIG_SND_MIXART=mCONFIG_SND_NM256=mCONFIG_SND_PCXHR=mCONFIG_SND_RIPTIDE=mCONFIG_SND_RME32=mCONFIG_SND_RME96=mCONFIG_SND_RME9652=mCONFIG_SND_SONICVIBES=mCONFIG_SND_TRIDENT=mCONFIG_SND_VIA82XX=mCONFIG_SND_VIA82XX_MODEM=mCONFIG_SND_VIRTUOSO=mCONFIG_SND_VX222=mCONFIG_SND_YMFPCI=mCONFIG_SND_USB=yCONFIG_SND_USB_AUDIO=mCONFIG_SND_USB_USX2Y=mCONFIG_SND_USB_CAIAQ=mCONFIG_SND_USB_CAIAQ_INPUT=y
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_PCMCIA is not set
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not setCONFIG_AC97_BUS=mCONFIG_HID_SUPPORT=yCONFIG_HID=yCONFIG_HID_DEBUG=yCONFIG_HIDRAW=y
#
# USB Input Devices
#CONFIG_USB_HID=yCONFIG_HID_PID=yCONFIG_USB_HIDDEV=y
#
# Special HID drivers
#CONFIG_HID_A4TECH=yCONFIG_HID_APPLE=yCONFIG_HID_BELKIN=yCONFIG_HID_CHERRY=yCONFIG_HID_CHICONY=yCONFIG_HID_CYPRESS=y
# CONFIG_DRAGONRISE_FF is not setCONFIG_HID_EZKEY=yCONFIG_HID_KYE=yCONFIG_HID_GYRATION=yCONFIG_HID_KENSINGTON=yCONFIG_HID_LOGITECH=yCONFIG_LOGITECH_FF=yCONFIG_LOGIRUMBLEPAD2_FF=yCONFIG_HID_MICROSOFT=yCONFIG_HID_MONTEREY=yCONFIG_HID_NTRIG=yCONFIG_HID_PANTHERLORD=yCONFIG_PANTHERLORD_FF=yCONFIG_HID_PETALYNX=yCONFIG_HID_SAMSUNG=yCONFIG_HID_SONY=yCONFIG_HID_SUNPLUS=y
# CONFIG_GREENASIA_FF is not setCONFIG_HID_TOPSEED=yCONFIG_THRUSTMASTER_FF=yCONFIG_ZEROPLUS_FF=yCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=y
# CONFIG_USB_DEBUG is not setCONFIG_USB_ANNOUNCE_NEW_DEVICES=y
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not setCONFIG_USB_SUSPEND=y
# CONFIG_USB_OTG is not setCONFIG_USB_MON=y
# CONFIG_USB_WUSB is not set
# CONFIG_USB_WUSB_CBAF is not set
#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not setCONFIG_USB_EHCI_HCD=yCONFIG_USB_EHCI_ROOT_HUB_TT=yCONFIG_USB_EHCI_TT_NEWSCHED=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_ISP1760_HCD is not setCONFIG_USB_OHCI_HCD=y
# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not setCONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_USB_UHCI_HCD=yCONFIG_USB_U132_HCD=mCONFIG_USB_SL811_HCD=m
# CONFIG_USB_SL811_CS is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_WHCI_HCD is not set
# CONFIG_USB_HWA_HCD is not set
#
# USB Device Class drivers
#CONFIG_USB_ACM=mCONFIG_USB_PRINTER=mCONFIG_USB_WDM=m
# CONFIG_USB_TMC is not set
#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may #
#
# also be needed; see USB_STORAGE Help for more info # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set CONFIG_USB_STORAGE_DATAFAB=m CONFIG_USB_STORAGE_FREECOM=m CONFIG_USB_STORAGE_ISD200=m CONFIG_USB_STORAGE_USBAT=m CONFIG_USB_STORAGE_SDDR09=m CONFIG_USB_STORAGE_SDDR55=m CONFIG_USB_STORAGE_JUMPSHOT=m CONFIG_USB_STORAGE_ALAUDA=m CONFIG_USB_STORAGE_ONETOUCH=m CONFIG_USB_STORAGE_KARMA=m CONFIG_USB_STORAGE_CYPRESS_ATACB=m # CONFIG_USB_LIBUSUAL is not set
#
# USB Imaging devices
#CONFIG_USB_MDC800=mCONFIG_USB_MICROTEK=m
#
# USB port drivers
#CONFIG_USB_USS720=mCONFIG_USB_SERIAL=mCONFIG_USB_EZUSB=yCONFIG_USB_SERIAL_GENERIC=yCONFIG_USB_SERIAL_AIRCABLE=mCONFIG_USB_SERIAL_ARK3116=mCONFIG_USB_SERIAL_BELKIN=mCONFIG_USB_SERIAL_CH341=mCONFIG_USB_SERIAL_WHITEHEAT=mCONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
# CONFIG_USB_SERIAL_CP210X is not setCONFIG_USB_SERIAL_CYPRESS_M8=mCONFIG_USB_SERIAL_EMPEG=mCONFIG_USB_SERIAL_FTDI_SIO=mCONFIG_USB_SERIAL_FUNSOFT=mCONFIG_USB_SERIAL_VISOR=mCONFIG_USB_SERIAL_IPAQ=mCONFIG_USB_SERIAL_IR=mCONFIG_USB_SERIAL_EDGEPORT=mCONFIG_USB_SERIAL_EDGEPORT_TI=m
# CONFIG_USB_SERIAL_GARMIN is not setCONFIG_USB_SERIAL_IPW=mCONFIG_USB_SERIAL_IUU=mCONFIG_USB_SERIAL_KEYSPAN_PDA=mCONFIG_USB_SERIAL_KEYSPAN=mCONFIG_USB_SERIAL_KLSI=mCONFIG_USB_SERIAL_KOBIL_SCT=mCONFIG_USB_SERIAL_MCT_U232=mCONFIG_USB_SERIAL_MOS7720=mCONFIG_USB_SERIAL_MOS7840=mCONFIG_USB_SERIAL_MOTOROLA=mCONFIG_USB_SERIAL_NAVMAN=mCONFIG_USB_SERIAL_PL2303=mCONFIG_USB_SERIAL_OTI6858=m
# CONFIG_USB_SERIAL_QUALCOMM is not setCONFIG_USB_SERIAL_SPCP8X5=mCONFIG_USB_SERIAL_HP4X=mCONFIG_USB_SERIAL_SAFE=mCONFIG_USB_SERIAL_SAFE_PADDED=y
# CONFIG_USB_SERIAL_SIEMENS_MPI is not setCONFIG_USB_SERIAL_SIERRAWIRELESS=m
# CONFIG_USB_SERIAL_SYMBOL is not setCONFIG_USB_SERIAL_TI=mCONFIG_USB_SERIAL_CYBERJACK=mCONFIG_USB_SERIAL_XIRCOM=mCONFIG_USB_SERIAL_OPTION=mCONFIG_USB_SERIAL_OMNINET=m
# CONFIG_USB_SERIAL_OPTICON is not setCONFIG_USB_SERIAL_DEBUG=m
#
# USB Miscellaneous drivers
#CONFIG_USB_EMI62=mCONFIG_USB_EMI26=mCONFIG_USB_ADUTUX=m
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not setCONFIG_USB_LEGOTOWER=mCONFIG_USB_LCD=mCONFIG_USB_BERRY_CHARGE=mCONFIG_USB_LED=m
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not setCONFIG_USB_IDMOUSE=mCONFIG_USB_FTDI_ELAN=mCONFIG_USB_APPLEDISPLAY=mCONFIG_USB_SISUSBVGA=mCONFIG_USB_SISUSBVGA_CON=yCONFIG_USB_LD=mCONFIG_USB_TRANCEVIBRATOR=mCONFIG_USB_IOWARRIOR=m
# CONFIG_USB_TEST is not setCONFIG_USB_ISIGHTFW=m
# CONFIG_USB_VST is not setCONFIG_USB_ATM=mCONFIG_USB_SPEEDTOUCH=mCONFIG_USB_CXACRU=mCONFIG_USB_UEAGLEATM=mCONFIG_USB_XUSBATM=m
# CONFIG_USB_GADGET is not set
#
# OTG and related infrastructure
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_UWB is not setCONFIG_MMC=m
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
#
# MMC/SD/SDIO Card Drivers
#CONFIG_MMC_BLOCK=mCONFIG_MMC_BLOCK_BOUNCE=yCONFIG_SDIO_UART=m
# CONFIG_MMC_TEST is not set
#
# MMC/SD/SDIO Host Controller Drivers
#CONFIG_MMC_SDHCI=mCONFIG_MMC_SDHCI_PCI=mCONFIG_MMC_RICOH_MMC=mCONFIG_MMC_WBSD=mCONFIG_MMC_TIFM_SD=mCONFIG_MMC_SDRICOH_CS=mCONFIG_MEMSTICK=m
# CONFIG_MEMSTICK_DEBUG is not set
#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not setCONFIG_MSPRO_BLOCK=m
#
# MemoryStick Host Controller Drivers
#CONFIG_MEMSTICK_TIFM_MS=mCONFIG_MEMSTICK_JMICRON_38X=mCONFIG_NEW_LEDS=yCONFIG_LEDS_CLASS=y
#
# LED drivers
#
# CONFIG_LEDS_ALIX2 is not set
# CONFIG_LEDS_PCA9532 is not set
# CONFIG_LEDS_LP5521 is not setCONFIG_LEDS_CLEVO_MAIL=m
# CONFIG_LEDS_PCA955X is not set
# CONFIG_LEDS_BD2802 is not set
#
# LED Triggers
#CONFIG_LEDS_TRIGGERS=yCONFIG_LEDS_TRIGGER_TIMER=mCONFIG_LEDS_TRIGGER_HEARTBEAT=m
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not setCONFIG_LEDS_TRIGGER_DEFAULT_ON=m
#
# iptables trigger is under Netfilter config (LED target) # CONFIG_ACCESSIBILITY=y CONFIG_A11Y_BRAILLE_CONSOLE=y CONFIG_INFINIBAND=m CONFIG_INFINIBAND_USER_MAD=m CONFIG_INFINIBAND_USER_ACCESS=m CONFIG_INFINIBAND_USER_MEM=y CONFIG_INFINIBAND_ADDR_TRANS=y CONFIG_INFINIBAND_MTHCA=m CONFIG_INFINIBAND_MTHCA_DEBUG=y CONFIG_INFINIBAND_IPATH=m CONFIG_INFINIBAND_AMSO1100=m # CONFIG_INFINIBAND_AMSO1100_DEBUG is not set CONFIG_INFINIBAND_CXGB3=m # CONFIG_INFINIBAND_CXGB3_DEBUG is not set CONFIG_MLX4_INFINIBAND=m CONFIG_INFINIBAND_NES=m # CONFIG_INFINIBAND_NES_DEBUG is not set CONFIG_INFINIBAND_IPOIB=m CONFIG_INFINIBAND_IPOIB_CM=y CONFIG_INFINIBAND_IPOIB_DEBUG=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y CONFIG_INFINIBAND_SRP=m CONFIG_INFINIBAND_ISER=m CONFIG_EDAC=y
#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not setCONFIG_EDAC_MM_EDAC=mCONFIG_EDAC_E752X=mCONFIG_EDAC_I82975X=mCONFIG_EDAC_I3000=m
# CONFIG_EDAC_X38 is not set
# CONFIG_EDAC_I5400 is not setCONFIG_EDAC_I5000=mCONFIG_EDAC_I5100=m
# CONFIG_EDAC_AMD8131 is not set
# CONFIG_EDAC_AMD8111 is not setCONFIG_RTC_LIB=yCONFIG_RTC_CLASS=y
# CONFIG_RTC_HCTOSYS is not set
# CONFIG_RTC_DEBUG is not set
#
# RTC interfaces
#CONFIG_RTC_INTF_SYSFS=yCONFIG_RTC_INTF_PROC=yCONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set
#
# I2C RTC drivers
#CONFIG_RTC_DRV_DS1307=mCONFIG_RTC_DRV_DS1374=mCONFIG_RTC_DRV_DS1672=mCONFIG_RTC_DRV_MAX6900=mCONFIG_RTC_DRV_RS5C372=mCONFIG_RTC_DRV_ISL1208=mCONFIG_RTC_DRV_X1205=mCONFIG_RTC_DRV_PCF8563=mCONFIG_RTC_DRV_PCF8583=mCONFIG_RTC_DRV_M41T80=mCONFIG_RTC_DRV_M41T80_WDT=y
# CONFIG_RTC_DRV_S35390A is not setCONFIG_RTC_DRV_FM3130=m
# CONFIG_RTC_DRV_RX8581 is not set
#
# SPI RTC drivers
#
#
# Platform RTC drivers
#CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not setCONFIG_RTC_DRV_DS1511=mCONFIG_RTC_DRV_DS1553=mCONFIG_RTC_DRV_DS1742=mCONFIG_RTC_DRV_STK17TA8=m
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not setCONFIG_RTC_DRV_M48T59=m
# CONFIG_RTC_DRV_BQ4802 is not setCONFIG_RTC_DRV_V3020=m
#
# on-CPU RTC drivers
#CONFIG_DMADEVICES=y
#
# DMA Devices
#CONFIG_INTEL_IOATDMA=mCONFIG_DMA_ENGINE=y
#
# DMA Clients
#CONFIG_NET_DMA=y
# CONFIG_ASYNC_TX_DMA is not set
# CONFIG_DMATEST is not setCONFIG_DCA=mCONFIG_AUXDISPLAY=yCONFIG_KS0108=mCONFIG_KS0108_PORT=0x378CONFIG_KS0108_DELAY=2CONFIG_CFAG12864B=mCONFIG_CFAG12864B_RATE=20CONFIG_UIO=mCONFIG_UIO_CIF=mCONFIG_UIO_PDRV=mCONFIG_UIO_PDRV_GENIRQ=mCONFIG_UIO_SMX=m
# CONFIG_UIO_AEC is not set
# CONFIG_UIO_SERCOS3 is not setCONFIG_XEN_BALLOON=yCONFIG_XEN_SCRUB_PAGES=yCONFIG_XENFS=yCONFIG_XEN_COMPAT_XENFS=y
# CONFIG_STAGING is not setCONFIG_X86_PLATFORM_DEVICES=yCONFIG_ACER_WMI=mCONFIG_ASUS_LAPTOP=m
# CONFIG_DELL_WMI is not setCONFIG_FUJITSU_LAPTOP=m
# CONFIG_FUJITSU_LAPTOP_DEBUG is not setCONFIG_HP_WMI=mCONFIG_MSI_LAPTOP=m
# CONFIG_PANASONIC_LAPTOP is not setCONFIG_COMPAL_LAPTOP=mCONFIG_SONY_LAPTOP=mCONFIG_SONYPI_COMPAT=yCONFIG_THINKPAD_ACPI=m
# CONFIG_THINKPAD_ACPI_DEBUGFACILITIES is not set
# CONFIG_THINKPAD_ACPI_DEBUG is not set
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not setCONFIG_THINKPAD_ACPI_BAY=yCONFIG_THINKPAD_ACPI_VIDEO=yCONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not setCONFIG_ACPI_WMI=m
# CONFIG_ACPI_ASUS is not setCONFIG_ACPI_TOSHIBA=m
#
# Firmware Drivers
#CONFIG_EDD=m
# CONFIG_EDD_OFF is not setCONFIG_FIRMWARE_MEMMAP=yCONFIG_EFI_VARS=yCONFIG_DELL_RBU=mCONFIG_DCDBAS=mCONFIG_DMIID=yCONFIG_ISCSI_IBFT_FIND=yCONFIG_ISCSI_IBFT=m
#
# File systems
#CONFIG_EXT2_FS=mCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT2_FS_SECURITY=yCONFIG_EXT2_FS_XIP=yCONFIG_EXT3_FS=y
# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not setCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_EXT3_FS_SECURITY=yCONFIG_EXT4_FS=mCONFIG_EXT4DEV_COMPAT=yCONFIG_EXT4_FS_XATTR=yCONFIG_EXT4_FS_POSIX_ACL=yCONFIG_EXT4_FS_SECURITY=yCONFIG_FS_XIP=yCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_JBD2=mCONFIG_JBD2_DEBUG=yCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not setCONFIG_REISERFS_PROC_INFO=yCONFIG_REISERFS_FS_XATTR=yCONFIG_REISERFS_FS_POSIX_ACL=yCONFIG_REISERFS_FS_SECURITY=yCONFIG_JFS_FS=mCONFIG_JFS_POSIX_ACL=yCONFIG_JFS_SECURITY=y
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not setCONFIG_FS_POSIX_ACL=yCONFIG_FILE_LOCKING=yCONFIG_XFS_FS=mCONFIG_XFS_QUOTA=yCONFIG_XFS_POSIX_ACL=y
# CONFIG_XFS_RT is not set
# CONFIG_XFS_DEBUG is not setCONFIG_GFS2_FS=m
# CONFIG_GFS2_FS_LOCKING_DLM is not setCONFIG_OCFS2_FS=mCONFIG_OCFS2_FS_O2CB=mCONFIG_OCFS2_FS_USERSPACE_CLUSTER=m
# CONFIG_OCFS2_FS_STATS is not set
# CONFIG_OCFS2_DEBUG_MASKLOG is not set
# CONFIG_OCFS2_DEBUG_FS is not set
# CONFIG_OCFS2_FS_POSIX_ACL is not set
# CONFIG_BTRFS_FS is not setCONFIG_DNOTIFY=yCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=yCONFIG_QUOTA=yCONFIG_QUOTA_NETLINK_INTERFACE=y
# CONFIG_PRINT_QUOTA_WARNING is not setCONFIG_QUOTA_TREE=y
# CONFIG_QFMT_V1 is not setCONFIG_QFMT_V2=yCONFIG_QUOTACTL=y
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=mCONFIG_FUSE_FS=mCONFIG_GENERIC_ACL=y
#
# Caches
#
# CONFIG_FSCACHE is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=yCONFIG_JOLIET=yCONFIG_ZISOFS=yCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=437CONFIG_FAT_DEFAULT_IOCHARSET="ascii"
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_VMCORE=yCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_SYSFS=yCONFIG_TMPFS=yCONFIG_TMPFS_POSIX_ACL=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_CONFIGFS_FS=mCONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not setCONFIG_AFFS_FS=mCONFIG_ECRYPT_FS=mCONFIG_HFS_FS=mCONFIG_HFSPLUS_FS=mCONFIG_BEFS_FS=m
# CONFIG_BEFS_DEBUG is not setCONFIG_BFS_FS=mCONFIG_EFS_FS=mCONFIG_JFFS2_FS=mCONFIG_JFFS2_FS_DEBUG=0CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not setCONFIG_JFFS2_SUMMARY=yCONFIG_JFFS2_FS_XATTR=yCONFIG_JFFS2_FS_POSIX_ACL=yCONFIG_JFFS2_FS_SECURITY=y
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not setCONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not setCONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not setCONFIG_UBIFS_FS=mCONFIG_UBIFS_FS_XATTR=y
# CONFIG_UBIFS_FS_ADVANCED_COMPR is not setCONFIG_UBIFS_FS_LZO=yCONFIG_UBIFS_FS_ZLIB=y
# CONFIG_UBIFS_FS_DEBUG is not setCONFIG_CRAMFS=mCONFIG_SQUASHFS=m
# CONFIG_SQUASHFS_EMBEDDED is not setCONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3CONFIG_VXFS_FS=mCONFIG_MINIX_FS=mCONFIG_OMFS_FS=m
# CONFIG_HPFS_FS is not setCONFIG_QNX4FS_FS=mCONFIG_ROMFS_FS=mCONFIG_ROMFS_BACKED_BY_BLOCK=y
# CONFIG_ROMFS_BACKED_BY_MTD is not set
# CONFIG_ROMFS_BACKED_BY_BOTH is not setCONFIG_ROMFS_ON_BLOCK=yCONFIG_SYSV_FS=mCONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set
# CONFIG_UFS_DEBUG is not set
# CONFIG_NILFS2_FS is not setCONFIG_NETWORK_FILESYSTEMS=yCONFIG_NFS_FS=mCONFIG_NFS_V3=yCONFIG_NFS_V3_ACL=yCONFIG_NFS_V4=yCONFIG_NFSD=mCONFIG_NFSD_V2_ACL=yCONFIG_NFSD_V3=yCONFIG_NFSD_V3_ACL=yCONFIG_NFSD_V4=yCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=mCONFIG_NFS_ACL_SUPPORT=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=mCONFIG_SUNRPC_XPRT_RDMA=mCONFIG_RPCSEC_GSS_KRB5=mCONFIG_RPCSEC_GSS_SPKM3=m
# CONFIG_SMB_FS is not setCONFIG_CIFS=m
# CONFIG_CIFS_STATS is not setCONFIG_CIFS_WEAK_PW_HASH=yCONFIG_CIFS_UPCALL=yCONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not setCONFIG_CIFS_DFS_UPCALL=yCONFIG_CIFS_EXPERIMENTAL=yCONFIG_NCP_FS=mCONFIG_NCPFS_PACKET_SIGNING=yCONFIG_NCPFS_IOCTL_LOCKING=yCONFIG_NCPFS_STRONG=yCONFIG_NCPFS_NFS_NS=yCONFIG_NCPFS_OS2_NS=yCONFIG_NCPFS_SMALLDOS=yCONFIG_NCPFS_NLS=yCONFIG_NCPFS_EXTRAS=yCONFIG_CODA_FS=m
# CONFIG_AFS_FS is not setCONFIG_9P_FS=m
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not setCONFIG_OSF_PARTITION=yCONFIG_AMIGA_PARTITION=y
# CONFIG_ATARI_PARTITION is not setCONFIG_MAC_PARTITION=yCONFIG_MSDOS_PARTITION=yCONFIG_BSD_DISKLABEL=yCONFIG_MINIX_SUBPARTITION=yCONFIG_SOLARIS_X86_PARTITION=yCONFIG_UNIXWARE_DISKLABEL=y
# CONFIG_LDM_PARTITION is not setCONFIG_SGI_PARTITION=y
# CONFIG_ULTRIX_PARTITION is not setCONFIG_SUN_PARTITION=yCONFIG_KARMA_PARTITION=yCONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="utf8"CONFIG_NLS_CODEPAGE_437=yCONFIG_NLS_CODEPAGE_737=mCONFIG_NLS_CODEPAGE_775=mCONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_CODEPAGE_852=mCONFIG_NLS_CODEPAGE_855=mCONFIG_NLS_CODEPAGE_857=mCONFIG_NLS_CODEPAGE_860=mCONFIG_NLS_CODEPAGE_861=mCONFIG_NLS_CODEPAGE_862=mCONFIG_NLS_CODEPAGE_863=mCONFIG_NLS_CODEPAGE_864=mCONFIG_NLS_CODEPAGE_865=mCONFIG_NLS_CODEPAGE_866=mCONFIG_NLS_CODEPAGE_869=mCONFIG_NLS_CODEPAGE_936=mCONFIG_NLS_CODEPAGE_950=mCONFIG_NLS_CODEPAGE_932=mCONFIG_NLS_CODEPAGE_949=mCONFIG_NLS_CODEPAGE_874=mCONFIG_NLS_ISO8859_8=mCONFIG_NLS_CODEPAGE_1250=mCONFIG_NLS_CODEPAGE_1251=mCONFIG_NLS_ASCII=yCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=mCONFIG_NLS_ISO8859_3=mCONFIG_NLS_ISO8859_4=mCONFIG_NLS_ISO8859_5=mCONFIG_NLS_ISO8859_6=mCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=mCONFIG_NLS_ISO8859_13=mCONFIG_NLS_ISO8859_14=mCONFIG_NLS_ISO8859_15=mCONFIG_NLS_KOI8_R=mCONFIG_NLS_KOI8_U=mCONFIG_NLS_UTF8=mCONFIG_DLM=mCONFIG_DLM_DEBUG=y
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not setCONFIG_ENABLE_MUST_CHECK=yCONFIG_FRAME_WARN=2048CONFIG_MAGIC_SYSRQ=yCONFIG_UNUSED_SYMBOLS=yCONFIG_DEBUG_FS=yCONFIG_HEADERS_CHECK=yCONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_SHIRQ=yCONFIG_DETECT_SOFTLOCKUP=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not setCONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0CONFIG_DETECT_HUNG_TASK=y
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not setCONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0CONFIG_SCHED_DEBUG=yCONFIG_SCHEDSTATS=yCONFIG_TIMER_STATS=y
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_STATS is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not setCONFIG_TRACE_IRQFLAGS=yCONFIG_DEBUG_SPINLOCK_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not setCONFIG_STACKTRACE=y
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=yCONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_WRITECOUNT is not setCONFIG_DEBUG_MEMORY_INIT=yCONFIG_DEBUG_LIST=y
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not setCONFIG_ARCH_WANT_FRAME_POINTERS=yCONFIG_FRAME_POINTER=yCONFIG_BOOT_PRINTK_DELAY=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_LKDTM is not set
# CONFIG_FAULT_INJECTION is not setCONFIG_LATENCYTOP=y
# CONFIG_SYSCTL_SYSCALL_CHECK is not set
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_USER_STACKTRACE_SUPPORT=yCONFIG_NOP_TRACER=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_FTRACE_SYSCALLS=yCONFIG_TRACER_MAX_TRACE=yCONFIG_RING_BUFFER=yCONFIG_TRACING=yCONFIG_TRACING_SUPPORT=y
#
# Tracers
#
# CONFIG_FUNCTION_TRACER is not setCONFIG_IRQSOFF_TRACER=yCONFIG_SYSPROF_TRACER=yCONFIG_SCHED_TRACER=yCONFIG_CONTEXT_SWITCH_TRACER=y
# CONFIG_EVENT_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_BOOT_TRACER is not set
# CONFIG_TRACE_BRANCH_PROFILING is not set
# CONFIG_POWER_TRACER is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_KMEMTRACE is not set
# CONFIG_WORKQUEUE_TRACER is not setCONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not setCONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_FIREWIRE_OHCI_REMOTE_DMA is not setCONFIG_BUILD_DOCSRC=y
# CONFIG_DYNAMIC_DEBUG is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_ARCH_KGDB=yCONFIG_KGDB=yCONFIG_KGDB_SERIAL_CONSOLE=yCONFIG_KGDB_TESTS=y
# CONFIG_KGDB_TESTS_ON_BOOT is not setCONFIG_STRICT_DEVMEM=y
# CONFIG_X86_VERBOSE_BOOTUP is not setCONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not setCONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
# CONFIG_X86_PTDUMP is not setCONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_NX_TEST is not set
# CONFIG_IOMMU_DEBUG is not setCONFIG_HAVE_MMIOTRACE_SUPPORT=yCONFIG_IO_DELAY_TYPE_0X80=0CONFIG_IO_DELAY_TYPE_0XED=1CONFIG_IO_DELAY_TYPE_UDELAY=2CONFIG_IO_DELAY_TYPE_NONE=3CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not setCONFIG_DEFAULT_IO_DELAY_TYPE=0CONFIG_DEBUG_BOOT_PARAMS=y
# CONFIG_CPA_DEBUG is not setCONFIG_OPTIMIZE_INLINING=y
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_DEBUG_PROC_KEYS=yCONFIG_SECURITY=yCONFIG_SECURITYFS=yCONFIG_SECURITY_NETWORK=y CONFIG_SECURITY_NETWORK_XFRM=y
# CONFIG_SECURITY_PATH is not set CONFIG_SECURITY_FILE_CAPABILITIES=y
# CONFIG_SECURITY_ROOTPLUG is not set CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=65536 CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_SECURITY_SELINUX_DEVELOP=y CONFIG_SECURITY_SELINUX_AVC_STATS=y CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set # CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_IMA is not setCONFIG_XOR_BLOCKS=mCONFIG_ASYNC_CORE=mCONFIG_ASYNC_MEMCPY=mCONFIG_ASYNC_XOR=mCONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_FIPS=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=mCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_BLKCIPHER=mCONFIG_CRYPTO_BLKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=mCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_PCOMP=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_GF128MUL=mCONFIG_CRYPTO_NULL=mCONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not setCONFIG_CRYPTO_AUTHENC=mCONFIG_CRYPTO_TEST=m
#
# Authenticated Encryption with Associated Data
#CONFIG_CRYPTO_CCM=mCONFIG_CRYPTO_GCM=mCONFIG_CRYPTO_SEQIV=m
#
# Block modes
#CONFIG_CRYPTO_CBC=mCONFIG_CRYPTO_CTR=mCONFIG_CRYPTO_CTS=mCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_LRW=mCONFIG_CRYPTO_PCBC=mCONFIG_CRYPTO_XTS=m
#
# Hash modes
#CONFIG_CRYPTO_HMAC=yCONFIG_CRYPTO_XCBC=m
#
# Digest
#CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CRC32C_INTEL is not setCONFIG_CRYPTO_MD4=mCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_RMD128=mCONFIG_CRYPTO_RMD160=mCONFIG_CRYPTO_RMD256=mCONFIG_CRYPTO_RMD320=mCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_SHA512=mCONFIG_CRYPTO_TGR192=mCONFIG_CRYPTO_WP512=m
#
# Ciphers
#CONFIG_CRYPTO_AES=mCONFIG_CRYPTO_AES_X86_64=m
# CONFIG_CRYPTO_AES_NI_INTEL is not setCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARC4=mCONFIG_CRYPTO_BLOWFISH=mCONFIG_CRYPTO_CAMELLIA=mCONFIG_CRYPTO_CAST5=mCONFIG_CRYPTO_CAST6=mCONFIG_CRYPTO_DES=mCONFIG_CRYPTO_FCRYPT=mCONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SALSA20 is not setCONFIG_CRYPTO_SALSA20_X86_64=mCONFIG_CRYPTO_SEED=mCONFIG_CRYPTO_SERPENT=mCONFIG_CRYPTO_TEA=m
# CONFIG_CRYPTO_TWOFISH is not setCONFIG_CRYPTO_TWOFISH_COMMON=mCONFIG_CRYPTO_TWOFISH_X86_64=m
#
# Compression
#CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_ZLIB is not setCONFIG_CRYPTO_LZO=m
#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not setCONFIG_CRYPTO_HW=yCONFIG_CRYPTO_DEV_HIFN_795X=mCONFIG_CRYPTO_DEV_HIFN_795X_RNG=yCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=mCONFIG_KVM_INTEL=mCONFIG_KVM_AMD=mCONFIG_KVM_TRACE=yCONFIG_VIRTIO=mCONFIG_VIRTIO_RING=mCONFIG_VIRTIO_PCI=mCONFIG_VIRTIO_BALLOON=mCONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_GENERIC_FIND_FIRST_BIT=yCONFIG_GENERIC_FIND_NEXT_BIT=yCONFIG_GENERIC_FIND_LAST_BIT=yCONFIG_CRC_CCITT=mCONFIG_CRC16=mCONFIG_CRC_T10DIF=yCONFIG_CRC_ITU_T=mCONFIG_CRC32=y
# CONFIG_CRC7 is not setCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=mCONFIG_LZO_DECOMPRESS=mCONFIG_DECOMPRESS_GZIP=yCONFIG_DECOMPRESS_BZIP2=yCONFIG_DECOMPRESS_LZMA=yCONFIG_GENERIC_ALLOCATOR=yCONFIG_REED_SOLOMON=mCONFIG_REED_SOLOMON_DEC16=yCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=mCONFIG_TEXTSEARCH_BM=mCONFIG_TEXTSEARCH_FSM=mCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_CHECK_SIGNATURE=yCONFIG_NLATTR=y
Quoted 5 lines · David P. Quigley
I took the patches and applied them to Linus' tree and installed the kernel on a Fedora 10 box with SELinux enabled and it oopses on startup. The oops happens every time I boot up so I can reproduce it as needed to help fix it. I've attached my kernel config in case that helps and have pasted the oops below. If needed I can provide the entire dmesg output.
If you disable selinux at the boot command line, does this oops not happen?
thanks for testing and reporting this,
greg k-h
Quoted 7 lines · Greg KH
Quoted 5 lines · David P. Quigley
I took the patches and applied them to Linus' tree and installed the kernel on a Fedora 10 box with SELinux enabled and it oopses on startup. The oops happens every time I boot up so I can reproduce it as needed to help fix it. I've attached my kernel config in case that helps and have pasted the oops below. If needed I can provide the entire dmesg output.
Quoted 6 lines
If you disable selinux at the boot command line, does this oops not happen?
thanks for testing and reporting this,
greg k-h
So if I boot SELinux with enforcing mode turned off (enforcing=0) it boots without oopsing. I would assume that booting with SELinux completely disabled does the same thing. I narrowed it down to this one system call.
----
type=SYSCALL msg=audit(05/11/2009 14:07:11.756:4) : arch=x86_64 syscall=open success=yes exit=3 a0=7fffaf25dfe0 a1=2 a2=0 a3=8 items=0 ppid=1 pid=2329 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=tty5 ses=4294967295 comm=mingetty exe=/sbin/mingetty subj=system_u:system_r:getty_t:s0 key=(null)
type=AVC msg=audit(05/11/2009 14:07:11.756:4) : avc: denied { create } for pid=2329 comm=mingetty name=vcs5 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=chr_file
type=AVC msg=audit(05/11/2009 14:07:11.756:4) : avc: denied { add_name } for pid=2329 comm=mingetty name=vcs5 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
type=AVC msg=audit(05/11/2009 14:07:11.756:4) : avc: denied { mknod } for pid=2329 comm=mingetty capability=mknod scontext=system_u:system_r:getty_t:s0 tcontext=system_u:system_r:getty_t:s0 tclass=capability
type=AVC msg=audit(05/11/2009 14:07:11.756:4) : avc: denied { write } for pid=2329 comm=mingetty name=/ dev=tmpfs ino=4 scontext=system_u:system_r:getty_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir ----
Basically what this means is that getty attempted an open system call which would have failed with an SELinux permission denial. What I think might be happening here is that getty tries to open the tty device and the devtmpfs kicks in and tries to create the tty devices. The problem is in doing this it uses the credentials of the current process which in this case is getty, and since it is trying to create them on a tmpfs instead of a directory labeled properly it is failing. Now even if these permissions fail it shouldn't be possible to bug the kernel with it. This makes me think that there is a problem some where in the error handling code.
This however does highlight a problem with the fact that device node labeling isn't being done properly. It should be possible to create this fs with a different name such that it doesn't appear as a tmpfs file system to SELinux. If it appears as a devtmpfs file system then we can specify the root label and labels on the other devices properly in policy. Also it is concerning that creating the node is being done with the credentials of the current process because it means that applications which have no business creating device nodes will have to have policy allowing them to do so.
Dave
Quoted 6 lines · David P. Quigley
This however does highlight a problem with the fact that device node labeling isn't being done properly. It should be possible to create this fs with a different name such that it doesn't appear as a tmpfs file system to SELinux. If it appears as a devtmpfs file system then we can specify the root label and labels on the other devices properly in policy.
That could be done, if it solves this problem. Damn, now we have the naming problem back again. :)
By doing its own fstype, we could also make the auto-mount optional, because you could always reach the filesystem anytime later.
A different fstype has the slight inconvenience, that existing userspace needs to be taught to handle it explicitly, while a tmfps is already handled automatically because we use tmpfs already today. But that may not be too important.
Thanks a lot for your tests and analysis,
Kay
Quoted 2 lines
By doing its own fstype, we could also make the auto-mount optional, because you could always reach the filesystem anytime later.
Killing the automount would also fix a lot of the other problems as you can then mount it in the initrd and dump it when you have the real fs up, or you can mount it privately thanks to Al Viro's magic with mount points and only the daemon that must make the "real" device file system need have it mounted and accessible.
Quoted 4 lines
A different fstype has the slight inconvenience, that existing userspace needs to be taught to handle it explicitly, while a tmfps is already handled automatically because we use tmpfs already today. But that may not be too important.
Thats a good thing - it stops some of the suprise behaviour the Eric pointed out and objected to.
Quoted 1 line
Thanks a lot for your tests and analysis,
And I think btw the underlying failure was in the tty layer - I just need to find it. It's the second report vaguely of this form so something is lurking in the stygian depths.
Alan
Quoted 8 lines · Alan Cox
Quoted 2 lines
By doing its own fstype, we could also make the auto-mount optional, because you could always reach the filesystem anytime later.
Killing the automount would also fix a lot of the other problems as you can then mount it in the initrd and dump it when you have the real fs up, or you can mount it privately thanks to Al Viro's magic with mount points and only the daemon that must make the "real" device file system need have it mounted and accessible.
Sounds good.
Quoted 7 lines
Quoted 4 lines
A different fstype has the slight inconvenience, that existing userspace needs to be taught to handle it explicitly, while a tmfps is already handled automatically because we use tmpfs already today. But that may not be too important.
Thats a good thing - it stops some of the suprise behaviour the Eric pointed out and objected to.
I'll give it try. Any name suggestions to throw at that thing? :)
Quoted 5 lines
Quoted 1 line
Thanks a lot for your tests and analysis,
And I think btw the underlying failure was in the tty layer - I just need to find it. It's the second report vaguely of this form so something is lurking in the stygian depths.
Ah, good. So that was a useful outcome of it at least. :)
Thanks,
Kay
Quoted 15 lines · Kay Sievers
Quoted 6 lines · David P. Quigley
This however does highlight a problem with the fact that device node labeling isn't being done properly. It should be possible to create this fs with a different name such that it doesn't appear as a tmpfs file system to SELinux. If it appears as a devtmpfs file system then we can specify the root label and labels on the other devices properly in policy.
That could be done, if it solves this problem. Damn, now we have the naming problem back again. :)
By doing its own fstype, we could also make the auto-mount optional, because you could always reach the filesystem anytime later.
Quoted 6 lines
A different fstype has the slight inconvenience, that existing userspace needs to be taught to handle it explicitly, while a tmfps is already handled automatically because we use tmpfs already today. But that may not be too important.
Thanks a lot for your tests and analysis,
I don't think merely changing the fstype will suffice; that merely lets us assign a different default security context to inodes in the filesystem (e.g. device_t vs tmpfs_t), but doesn't address the fact that use of devtmpfs rather than just udev seems to alter the permission checking upon an open(2) by mingetty, thereby breaking existing policies. Previously mingetty didn't require permissions to mknod; with devtmpfs, it does. I'm wondering if devtmpfs is internally performing operations that ought to be done in kernel context rather than the context of the userspace process that initiated the open(2).
Also, I was wondering why the existing restorecon -R /dev that is performed by /etc/rc.sysinit to fix up the security contexts on the initial /dev tree prior to policy load doesn't seem to be getting applied when devtmpfs is enabled. Does devtmpfs pass through setxattr() requests to the underlying tmpfs mount?
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 6 lines · Stephen Smalley
I don't think merely changing the fstype will suffice; that merely lets us assign a different default security context to inodes in the filesystem (e.g.
device_tvstmpfs_t), but doesn't address the fact that use of devtmpfs rather than just udev seems to alter the permission checking upon an open(2) by mingetty, thereby breaking existing policies.
It will be its own filesystem type and no longer be auto-mounted in initramfs at all. There is an option to request an auto-mount it for the case the kernel mounted the rootfs. This is to allow the rescue setup to work.
Quoted 4 lines
Previously mingetty didn't require permissions to mknod; with devtmpfs, it does. I'm wondering if devtmpfs is internally performing operations that ought to be done in kernel context rather than the context of the userspace process that initiated the open(2).
How may that look like?
Quoted 5 lines
Also, I was wondering why the existing restorecon -R /dev that is performed by
/etc/rc.sysinitto fix up the security contexts on the initial /dev tree prior to policy load doesn't seem to be getting applied when devtmpfs is enabled. Does devtmpfs pass throughsetxattr()requests to the underlying tmpfs mount?
It's a plain tmpfs, nothing different from a manual mounted one, just that the kernel has created the instance and remembered the vfs mount to put stuff into it, regardless of where is is mounted, or maybe not mounted at all.
Thanks,
Kay
Quoted 14 lines · Kay Sievers
Quoted 6 lines · Stephen Smalley
I don't think merely changing the fstype will suffice; that merely lets us assign a different default security context to inodes in the filesystem (e.g.
device_tvstmpfs_t), but doesn't address the fact that use of devtmpfs rather than just udev seems to alter the permission checking upon an open(2) by mingetty, thereby breaking existing policies.It will be its own filesystem type and no longer be auto-mounted in initramfs at all. There is an option to request an auto-mount it for the case the kernel mounted the rootfs. This is to allow the rescue setup to work.
Quoted 6 lines
Quoted 4 lines
Previously mingetty didn't require permissions to mknod; with devtmpfs, it does. I'm wondering if devtmpfs is internally performing operations that ought to be done in kernel context rather than the context of the userspace process that initiated the open(2).
How may that look like?
I think the issue is that the devtmpfs functions are calling vfs helpers to create and unlink the device nodes, and those helpers apply permission checks based on the current process' credentials. I think a similar issue arose in sysfs a while ago. Options are to either bypass the vfs helpers to avoid that permission checking for what I think are intended to be kernel-internal operations, or to override credentials temporarily around the calls to the vfs helpers, ala:new_cred = prepare_kernel_cred(NULL);old_cred = override_creds(new_cred);
rc = vfs_mknod(...);revert_creds(old_cred);
Quoted 13 lines
Quoted 5 lines
Also, I was wondering why the existing restorecon -R /dev that is performed by
/etc/rc.sysinitto fix up the security contexts on the initial /dev tree prior to policy load doesn't seem to be getting applied when devtmpfs is enabled. Does devtmpfs pass throughsetxattr()requests to the underlying tmpfs mount?It's a plain tmpfs, nothing different from a manual mounted one, just that the kernel has created the instance and remembered the vfs mount to put stuff into it, regardless of where is is mounted, or maybe not mounted at all.
Thanks,
Kay
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 11 lines · Stephen Smalley
I think the issue is that the devtmpfs functions are calling vfs helpers to create and unlink the device nodes, and those helpers apply permission checks based on the current process' credentials. I think a similar issue arose in sysfs a while ago. Options are to either bypass the vfs helpers to avoid that permission checking for what I think are intended to be kernel-internal operations, or to override credentials temporarily around the calls to the vfs helpers, ala:
new_cred=prepare_kernel_cred(NULL);old_cred=override_creds(new_cred);
rc =vfs_mknod(...);revert_creds(old_cred);
Ah, I see. That's probably what stuff like this is for:
/**
* lookup_one_noperm - bad hack for sysfs
* @name: pathname component to lookup
* @base: base directory to lookup from
*
* This is a variant of lookup_one_len that doesn't perform any permission
* checks. It's a horrible hack to work around the braindead sysfs
* architecture and should not be used anywhere else.
*
* DON'T USE THIS FUNCTION EVER, thanks.
*/
struct dentry *lookup_one_noperm(const char *name, struct dentry *base)
Thanks,
Kay
Quoted 14 lines · Kay Sievers
Quoted 11 lines · Stephen Smalley
I think the issue is that the devtmpfs functions are calling vfs helpers to create and unlink the device nodes, and those helpers apply permission checks based on the current process' credentials. I think a similar issue arose in sysfs a while ago. Options are to either bypass the vfs helpers to avoid that permission checking for what I think are intended to be kernel-internal operations, or to override credentials temporarily around the calls to the vfs helpers, ala:
new_cred=prepare_kernel_cred(NULL);old_cred=override_creds(new_cred);
rc =vfs_mknod(...);revert_creds(old_cred);
Quoted 1 line
Ah, I see.
Here is the current state of the patch. It would be great, if you can have a quick look, if that matches what you meant. It runs fine here, but I didn't try any security enforcing software so far, which might run into trouble without the credential stuff.
Thanks a lot,
Kay
From: Kay Sievers <[email protected]>
Subject: Driver Core: devtmpfs - kernel-maintained tmpfs-based /dev
Devtmpfs lets the kernel create a tmpfs instance called devtmpfs very early at kernel initialization, before any driver-core device is registered. Every device with a major/minor will create a device node in devtmpfs.
Devtmpfs can be changed and altered by userspace at any time, and in any way needed - just like today's udev-mounted tmpfs. Unmodified udev versions will run just fine on top of it, and will recognize an already existing kernel-created device node and use it.
The default node permissions are root:root 0600. Proper permissions and user/group ownership, meaningful symlinks, all other policy besides the node name, still needs to be applied by udev, just as without devtmpfs.
If a node is created by devtmps, devtmpfs will remove the device node when the device goes away. If the device node was created by userspace, or the devtmpfs created node was replaced by userspace, it will not be removed by devtmpfs.
If automatically mounted, it makes init=/bin/sh work without any further userspace support. /dev will be fully populated and dynamic, and always reflect the current device state of the kernel. Especially in the face of the already implemented dynamic device numbers, this can be very helpful in a rescue situation, where static devices nodes may no longer work correctly.
Custom, embedded-like systems should be able to use this as a dynamic /dev directory without any need for aditional userspace tools.
With the kernel populated /dev, existing initramfs or kernel-mount bootup logic can be optimized to be more efficient, and not to require a full coldplug run, which is currently needed to bootstrap the inital /dev directory content, before continuing bringing up the rest of the system. There will be no missed events to replay, because /dev is available before the first kernel device is registered with the driver-core.
--- drivers/base/Kconfig | 25 ++ drivers/base/Makefile | 1 drivers/base/base.h | 6 drivers/base/core.c | 3 drivers/base/devtmpfs.c | 405 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/base/init.c | 1 include/linux/device.h | 10 + include/linux/shmem_fs.h | 2 init/do_mounts.c | 2 init/main.c | 2 mm/shmem.c | 6 11 files changed, 458 insertions(+), 5 deletions(-)
drivers/base/Kconfig +25 -0
@@ -8,6 +8,31 @@ config UEVENT_HELPER_PATH Path to uevent helper program forked by the kernel for every uevent. +config DEVTMPFS + bool "Create a kernel maintained /dev tmpfs (EXPERIMENTAL)" + depends on HOTPLUG + help + This creates a tmpfs filesystem, and mounts it at bootup + and mounts it at /dev. The kernel driver core creates device + nodes for all registered devices in that filesystem. All device + nodes are owned by root and have the default mode of 0600. + Userspace can add and delete the nodes as needed. This is + intended to simplify bootup, and make it possible to delay + the initial coldplug at bootup done by udev in userspace. + It should also provide a simpler way for rescue systems + to bring up a kernel with dynamic major/minor numbers. + Meaningful symlinks, permissions and device ownership must + still be handled by userspace. + If unsure, say N here. + +config DEVTMPFS_MOUNT + bool "Automount devtmpfs at /dev" + depends on DEVTMPFS + help + This will mount devtmpfs at /dev if the kernel mounts the root + filesystem. It will not affect initramfs based mounting. + If unsure, say N here. + config STANDALONE bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL default y
drivers/base/Makefile +1 -0
@@ -4,6 +4,7 @@ obj-y := core.o sys.o bus.o dd.o \ driver.o class.o platform.o \ cpu.o firmware.o init.o map.o devres.o \ attribute_container.o transport_class.o +obj-$(CONFIG_DEVTMPFS) += devtmpfs.o obj-y += power/ obj-$(CONFIG_HAS_DMA) += dma-mapping.o obj-$(CONFIG_ISA) += isa.o
drivers/base/base.h +6 -0
@@ -134,3 +134,9 @@ static inline void module_add_driver(str struct device_driver *drv) { }static inline void module_remove_driver (struct device_driver *drv) { }#endif + +#ifdef CONFIG_DEVTMPFS +extern int devtmpfs_init (void ); +#else +static inline int devtmpfs_init (void ) {return 0 ; } +#endif
drivers/base/core.c +3 -0
@@ -920,6 +920,8 @@ int device_add(struct device *dev) error =device_create_sys_dev_entry (dev);if (error) goto devtattrError; + +devtmpfs_create_node (dev); } error =device_add_class_symlinks (dev);
@@ -1063,6 +1065,7 @@ void device_del(struct device *dev)if (parent)klist_del (&dev->p->knode_parent);if (MAJOR (dev->devt)) { +devtmpfs_delete_node (dev);device_remove_sys_dev_entry (dev);device_remove_file (dev, &devt_attr); }
drivers/base/devtmpfs.c new file +405 -0
405 lines not on this page · raw message
drivers/base/init.c +1 -0
@@ -20,6 +20,7 @@void __init driver_init (void ) {/* These are the core pieces */ +devtmpfs_init ();devices_init ();buses_init ();classes_init ();
include/linux/device.h +10 -0
@@ -553,6 +553,16 @@ extern void put_device(struct device *deextern void wait_for_device_probe (void ); +#ifdef CONFIG_DEVTMPFS +extern int devtmpfs_create_node (struct device *dev); +extern int devtmpfs_delete_node (struct device *dev); +extern int devtmpfs_mount (const char *mountpoint); +#else +static inline int devtmpfs_create_node (struct device *dev) {return 0 ; } +static inline int devtmpfs_delete_node (struct device *dev) {return 0 ; } +static inline int devtmpfs_mount (const char *mountpoint) {return 0 ; } +#endif +/* drivers/base/power/shutdown.c */ extern void device_shutdown (void );
include/linux/shmem_fs.h +2 -0
@@ -42,6 +42,8 @@ static inline struct shmem_inode_info *S return container_of(inode, struct shmem_inode_info, vfs_inode); } +extern int init_tmpfs (void ); +#ifdef CONFIG_TMPFS_POSIX_ACL int shmem_permission (struct inode *,int );int shmem_acl_init (struct inode *,struct inode *);
init/do_mounts.c +1 -1
@@ -414,7 +414,7 @@ void __init prepare_namespace(void)mount_root (); out: +devtmpfs_mount ("dev" );sys_mount ("." ,"/" ,NULL ,MS_MOVE ,NULL );sys_chroot ("." ); } -
init/main.c +2 -0
@@ -64,6 +64,7 @@#include <linux/idr.h> #include <linux/ftrace.h> #include <linux/async.h> +#include <linux/shmem_fs.h> #include <trace/boot.h> #include <asm/io.h>
@@ -778,6 +779,7 @@ static void __init do_basic_setup(void)init_workqueues ();cpuset_init_smp ();usermodehelper_init (); +init_tmpfs ();driver_init ();init_irq_proc ();do_initcalls ();
mm/shmem.c +2 -4
@@ -2523,7 +2523,7 @@ static struct file_system_type tmpfs_fs_ .kill_sb = kill_litter_super, }; -static int __init init_tmpfs (void ) +int __init init_tmpfs (void ) {int error;
@@ -2580,7 +2580,7 @@ static struct file_system_type tmpfs_fs_ .kill_sb = kill_litter_super, }; -static int __init init_tmpfs (void ) +int __init init_tmpfs (void ) {BUG_ON (register_filesystem (&tmpfs_fs_type) !=0 );
@@ -2691,5 +2691,3 @@ int shmem_zero_setup(struct vm_area_stru vma->vm_ops = &shmem_vm_ops;return 0 ; } - -module_init (init_tmpfs)
Does this apply to a vanilla tree or is this on top of your original patch set?
Dave
Quoted 2 lines · David P. Quigley
Does this apply to a vanilla tree or is this on top of your original patch set?
It updates the one in Greg's tree, which is on top of current Linus' git. It does no longer auto-mount devtmpfs in the initramfs, only for kernel-mounts, if told to do. So the original issue might no longer be visible, unless it is mounted there, or the one line call, that did the auto-mount is restored.
Here is the patch in Greg's tree:
http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f=driver-core/driver-core-devtmpfs-driver-core-maintained-dev-tmpfs.patch;hb=HEAD
Thanks,
Kay
Quoted 4 lines · Kay Sievers
Quoted 2 lines · David P. Quigley
Does this apply to a vanilla tree or is this on top of your original patch set?
Quoted 8 lines
It updates the one in Greg's tree, which is on top of current Linus' git. It does no longer auto-mount devtmpfs in the initramfs, only for kernel-mounts, if told to do. So the original issue might no longer be visible, unless it is mounted there, or the one line call, that did the auto-mount is restored.
Here is the patch in Greg's tree:
http://git.kernel.org/?p=linux/kernel/git/gregkh/patches.git;a=blob;f=driver-core/driver-core-devtmpfs-driver-core-maintained-dev-tmpfs.patch;hb=HEAD
I'll replace this version, with your new one, so people can test with linux-next easier tomorrow.
thanks,
greg k-h
Quoted 15 lines · Kay Sievers
Quoted 14 lines · Kay Sievers
Quoted 11 lines · Stephen Smalley
I think the issue is that the devtmpfs functions are calling vfs helpers to create and unlink the device nodes, and those helpers apply permission checks based on the current process' credentials. I think a similar issue arose in sysfs a while ago. Options are to either bypass the vfs helpers to avoid that permission checking for what I think are intended to be kernel-internal operations, or to override credentials temporarily around the calls to the vfs helpers, ala:
new_cred=prepare_kernel_cred(NULL);old_cred=override_creds(new_cred);
rc =vfs_mknod(...);revert_creds(old_cred);
Quoted 6 lines
Quoted 1 line
Ah, I see.
Here is the current state of the patch. It would be great, if you can have a quick look, if that matches what you meant. It runs fine here, but I didn't try any security enforcing software so far, which might run into trouble without the credential stuff.
I think you'll actually need to switch credentials around the entire sequence starting from vfs_path_lookup() and going through the vfs_mknod() call in order to avoid any denials from vfs_path_lookup, vfs_mkdir (via create_path), and vfs_mknod.
Then the same issue applies to devtmpfs_delete_node() to prevent unlink denials against the current process when a node is removed, similarly wrapping everything from the vfs_path_lookup() through the final delete_path() call.
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 9 lines · Stephen Smalley
I think you'll actually need to switch credentials around the entire sequence starting from
vfs_path_lookup()and going through thevfs_mknod()call in order to avoid any denials fromvfs_path_lookup,vfs_mkdir(viacreate_path), andvfs_mknod.Then the same issue applies to
devtmpfs_delete_node()to prevent unlink denials against the current process when a node is removed, similarly wrapping everything from thevfs_path_lookup()through the finaldelete_path()call.
Ok, good, will do that. Anything like this to keep in mind when creating/removing simple subdirectories?
Thanks,
Kay
Quoted 7 lines · Kay Sievers
Quoted 5 lines · Stephen Smalley
I think you'll actually need to switch credentials around the entire sequence starting from
vfs_path_lookup()and going through thevfs_mknod()call in order to avoid any denials fromvfs_path_lookup,vfs_mkdir(viacreate_path), andvfs_mknod.
Quoted 7 lines
Quoted 4 lines
Then the same issue applies to
devtmpfs_delete_node()to prevent unlink denials against the current process when a node is removed, similarly wrapping everything from thevfs_path_lookup()through the finaldelete_path()call.Ok, good, will do that. Anything like this to keep in mind when creating/removing simple subdirectories?
Yes, any time you call any vfs helper (and thus are subject to the permission checking calls, both DAC and LSM/SELinux), you need to decide whether you truly want those permission checks to get applied against the current process' credentials or whether you should be using alternate credentials for the call. If on the other hand you can perform your operations at a lower level (e.g. direct calls to the underlying inode operations), then you don't have to be concerned with the permission checking, but there is still the issue of ownership and file security labeling for any new files/directories you create, so even there you may need to establish different credentials to avoid unwittingly creating those files with the uid/security context of whatever the current process happens to be.
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 8 lines · Stephen Smalley
Quoted 2 lines
Ok, good, will do that. Anything like this to keep in mind when creating/removing simple subdirectories?
Yes, any time you call any vfs helper (and thus are subject to the permission checking calls, both DAC and LSM/SELinux), you need to decide whether you truly want those permission checks to get applied against the current process' credentials or whether you should be using alternate credentials for the call.
Yeah, I see. I'll wrap the entire operation in the swapped credentials, which should be the best option anyway.
Thanks a lot,
Kay
Had a poke at the crash - seems to be a devtmpfs bug at the moment.
Quoted 1 line · Kay Sievers
+static struct cred
*kern_cred;
Can I suggest that you call your cred pointer dev_cred rather than kern_cred so that the naming is consistent with the other globals variables?
drivers/base/devtmpfs.c line 378
Quoted 1 line
drivers/base/devtmpfs.c new file +1
-0+ kern_cred =prepare_kernel_cred (NULL );
If you have no intention of altering the credentials you create, you might want to use &init_cred instead of kern_cred. That said, you might want to allocate it and let the security module alter it before you use it.
Also, Stephen is right, you should probably wrap all your accesses to the VFS in your devtmpfs credentials. For instance, devtmpfs_create_node() calls vfs_mkdir() with the process's credentials via create_path() and directly with the kern_cred.
What you probably want is:
int devtmpfs_create_node(struct device *dev)
{
const struct cred *curr_cred;
const char *tmp = NULL;
const char *nodename;
mode_t mode;
struct nameidata nd;
struct dentry *dentry;
int err;
if (!dev_mnt)
return 0;
nodename = device_get_nodename(dev, &tmp);
if (!nodename)
return -ENOMEM;
curr_cred = override_creds(kern_cred);
if (is_blockdev(dev))
mode = S_IFBLK|0600;
else
mode = S_IFCHR|0600;
err = vfs_path_lookup(dev_mnt->mnt_root, dev_mnt,
nodename, LOOKUP_PARENT, &nd);
if (err == -ENOENT) {
/* create missing parent directories */
create_path(nodename);
err = vfs_path_lookup(dev_mnt->mnt_root, dev_mnt,
nodename, LOOKUP_PARENT, &nd);
if (err)
goto out_name;
}
dentry = lookup_create(&nd, 0);
if (!IS_ERR(dentry)) {
err = vfs_mknod(nd.path.dentry->d_inode,
dentry, mode, dev->devt);
/* mark as kernel created inode */
if (!err)
dentry->d_inode->i_private = &dev_mnt;
dput(dentry);
} else {
err = PTR_ERR(dentry);
}
mutex_unlock(&nd.path.dentry->d_inode->i_mutex);
path_put(&nd.path);
out_name:
revert_creds(curr_cred);
kfree(tmp);
return err;
}David
Quoted 6 lines · David Howells
Quoted 1 line · Kay Sievers
+static struct cred
*kern_cred;Can I suggest that you call your cred pointer
dev_credrather thankern_credso that the naming is consistent with the other globals variables?
Sounds good.
Quoted 5 lines
Quoted 1 line
+
kern_cred=prepare_kernel_cred(NULL);If you have no intention of altering the credentials you create, you might want to use
&init_credinstead ofkern_cred. That said, you might want to allocate it and let the security module alter it before you use it.
Ah, didn't know that it was exported. It's the one in include/linux/init_task.h, right? I'll give that a try.
Quoted 11 lines
Also, Stephen is right, you should probably wrap all your accesses to the VFS in your devtmpfs credentials. For instance,
devtmpfs_create_node()callsvfs_mkdir()with the process's credentials viacreate_path()and directly with thekern_cred.What you probably want is:
nodename = device_get_nodename(dev, &tmp); if (!nodename) return -ENOMEM;curr_cred =
override_creds(kern_cred);
...
Quoted 2 lines
out_name:
revert_creds(curr_cred);
Yeah, I have exactly that already now.
Thanks,
Kay
Quoted 8 lines · Kay Sievers
Quoted 5 lines
Quoted 1 line
+
kern_cred=prepare_kernel_cred(NULL);If you have no intention of altering the credentials you create, you might want to use
&init_credinstead ofkern_cred. That said, you might want to allocate it and let the security module alter it before you use it.Ah, didn't know that it was exported. It's the one in
include/linux/init_task.h, right? I'll give that a try.
That seems to work fine here. Thanks a lot for the help.
Maybe we could do the same credential swap in sysfs, and get rid of:
/**
* lookup_one_noperm - bad hack for sysfs
* @name: pathname component to lookup
* @base: base directory to lookup from
*
* This is a variant of lookup_one_len that doesn't perform any permission
* checks. It's a horrible hack to work around the braindead sysfs
* architecture and should not be used anywhere else.
*
* DON'T USE THIS FUNCTION EVER, thanks.
*/
in fs/namei.c?
Seems a bit odd to have a vfs function for a single filesystem, called from a single location, and annotated as "do not use". Christoph added the comment a while ago, so adding him to Cc:.
Thanks,
Kay
Quoted 26 lines · Kay Sievers
Quoted 8 lines · Kay Sievers
Quoted 5 lines
Quoted 1 line
+
kern_cred=prepare_kernel_cred(NULL);If you have no intention of altering the credentials you create, you might want to use
&init_credinstead ofkern_cred. That said, you might want to allocate it and let the security module alter it before you use it.Ah, didn't know that it was exported. It's the one in
include/linux/init_task.h, right? I'll give that a try.That seems to work fine here. Thanks a lot for the help.
Maybe we could do the same credential swap in sysfs, and get rid of:
/**
*lookup_one_noperm- bad hack for sysfs
* @name: pathname component to lookup
* @base: base directory to lookup from
*
* This is a variant oflookup_one_lenthat doesn't perform any permission
* checks. It's a horrible hack to work around the braindead sysfs
* architecture and should not be used anywhere else.
*
* DON'T USE THIS FUNCTION EVER, thanks.
*/
Quoted 5 lines
in
fs/namei.c?Seems a bit odd to have a vfs function for a single filesystem, called from a single location, and annotated as "do not use". Christoph added the comment a while ago, so adding him to Cc:.
Yes, that makes sense to me as well - we didn't have the credentials infrastructure in place at the time that lookup_one_noperm was introduced, but switching the credentials around a normal lookup_one_len call should work now.
Signature · 2 lines
Stephen Smalley National Security Agency
Quoted 4 lines · Stephen Smalley
Quoted 4 lines
Maybe we could do the same credential swap in sysfs, and get rid of:
/**
*lookup_one_noperm- bad hack for sysfs
Quoted 8 lines
Quoted 3 lines
Seems a bit odd to have a vfs function for a single filesystem, called from a single location, and annotated as "do not use". Christoph added the comment a while ago, so adding him to Cc:.
Yes, that makes sense to me as well - we didn't have the credentials infrastructure in place at the time that
lookup_one_nopermwas introduced, but switching the credentials around a normallookup_one_lencall should work now.
Something like this? It seems to work fine here, but I did not test it with SELinux.
Thanks,
Kay
From: Kay Sievers <[email protected]>
Subject: sysfs - switch noperm lookup_one_len() hack to credentials switch
Cc: Greg KH <[email protected]>
Cc: Stephen Smalley <[email protected]>
Cc: David Howells <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Driver core actions may be requested by processes, which do not have the proper permissions in a DAC and LSM/SELinux context to create entries in sysfs. This replaces the vfs noperm hack with a switch to init_cred before sysfs entries are created.
--- fs/namei.c | 22 ---------------------- fs/sysfs/dir.c | 7 ++++++- include/linux/namei.h | 1 - 3 files changed, 6 insertions(+), 24 deletions(-)
fs/namei.c +0 -22
@@ -1260,28 +1260,6 @@ struct dentry *lookup_one_len(const charreturn __lookup_hash (&this, base,NULL ); } -/** -* lookup_one_noperm - bad hack for sysfs -* @name: pathname component to lookup -* @base: base directory to lookup from -* -* This is a variant of lookup_one_len that doesn't perform any permission -* checks. It's a horrible hack to work around the braindead sysfs -* architecture and should not be used anywhere else. -* -* DON'T USE THIS FUNCTION EVER, thanks. -*/ -struct dentry *lookup_one_noperm (const char *name,struct dentry *base) -{ -int err; -struct qstr this; - - err =__lookup_one_len (name, &this, base,strlen (name)); -if (err) -return ERR_PTR (err); -return __lookup_hash (&this, base,NULL ); -} -int user_path_at (int dfd,const char __user *name,unsigned flags,struct path *path) {
fs/sysfs/dir.c +6 -1
@@ -21,6 +21,8 @@#include <linux/completion.h> #include <linux/mutex.h> #include <linux/slab.h> +#include <linux/cred.h> +#include <linux/init_task.h> #include "sysfs.h" DEFINE_MUTEX (sysfs_mutex);
@@ -103,6 +105,7 @@ struct dentry *sysfs_get_dentry(struct swhile (dentry->d_fsdata != sd) {struct sysfs_dirent *cur; +const struct cred *curr_cred;struct dentry *parent;/* find the first ancestor which hasn't been looked up */
@@ -111,11 +114,13 @@ struct dentry *sysfs_get_dentry(struct s cur = cur->s_parent;/* look it up */ + curr_cred =override_creds (&init_cred); parent = dentry;mutex_lock (&parent->d_inode->i_mutex); - dentry =lookup_one_noperm (cur->s_name, parent); + dentry =lookup_one_len (cur->s_name, parent,strlen (cur->s_name));mutex_unlock (&parent->d_inode->i_mutex);dput (parent); +revert_creds (curr_cred);if (IS_ERR (dentry))break ;
include/linux/namei.h +0 -1
@@ -75,7 +75,6 @@ extern struct file *nameidata_to_filp(stextern void release_open_intent (struct nameidata *);extern struct dentry *lookup_one_len (const char *,struct dentry *,int ); -extern struct dentry *lookup_one_noperm (const char *,struct dentry *);extern int follow_down (struct vfsmount **,struct dentry **);extern int follow_up (struct vfsmount **,struct dentry **);
Quoted 9 lines · Kay Sievers
Quoted 8 lines · Stephen Smalley
Quoted 7 lines
Maybe we could do the same credential swap in sysfs, and get rid of:
/**
*lookup_one_noperm- bad hack for sysfsSeems a bit odd to have a vfs function for a single filesystem, called from a single location, and annotated as "do not use". Christoph added the comment a while ago, so adding him to Cc:.
Quoted 6 lines
Quoted 4 lines
Yes, that makes sense to me as well - we didn't have the credentials infrastructure in place at the time that
lookup_one_nopermwas introduced, but switching the credentials around a normallookup_one_lencall should work now.Something like this? It seems to work fine here, but I did not test it with SELinux.
That just masks the problem not fixes it.
The problem is that sysfs attempts to keep the dcache in lock-step with the sysfs_dentries.
The VFS model is lazy coherency and bringing things in sync on access. This is important to avoid locking problems.
Eric
Quoted 18 lines · Eric W. Biederman
Quoted 9 lines · Kay Sievers
Quoted 8 lines · Stephen Smalley
Quoted 7 lines
Maybe we could do the same credential swap in sysfs, and get rid of:
/**
*lookup_one_noperm- bad hack for sysfsSeems a bit odd to have a vfs function for a single filesystem, called from a single location, and annotated as "do not use". Christoph added the comment a while ago, so adding him to Cc:.
Quoted 6 lines
Quoted 4 lines
Yes, that makes sense to me as well - we didn't have the credentials infrastructure in place at the time that
lookup_one_nopermwas introduced, but switching the credentials around a normallookup_one_lencall should work now.Something like this? It seems to work fine here, but I did not test it with SELinux.
Quoted 7 lines
That just masks the problem not fixes it.
The problem is that sysfs attempts to keep the dcache in lock-step with the
sysfs_dentries.The VFS model is lazy coherency and bringing things in sync on access. This is important to avoid locking problems.
So how would you propose to resolve this?
thanks,
greg k-h