UdevRoadmap
1109
Comment: paste from hardware-activation
|
1895
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
Upgrading from udev 060 to 071 is a major change that affects initramfs, udev, hotplug, hal, and many other pieces. The 2.6.15 kernel will require udev 071. Because these changes are invasive, this spec is split out from HardwareDetection to make sure that it can be reviewed and implemented independantly. |
|
Line 12: | Line 14: |
== Use cases == | * Many components of the Linux system will require a newer udev. These include ProbeForRootFilesystem, LinuxKernelRoadmap, and HardwareDetection. |
Line 16: | Line 18: |
== Design == | Newer versions of udev affect the following packages: * initramfs-tools * hotplug * klibc * hal * linux-image-* |
Line 40: | Line 52: |
The scoreboading component will need to be written. initramfs-tools needs to be modified to handle event driven coldplugging. |
|
Line 42: | Line 58: |
Custom written hotplug rules will need to be migrated to be udev rules. There is no way to do this in an automated fashion. |
|
Line 43: | Line 61: |
== BoF agenda and discussion == |
Launchpad Entry: https://launchpad.net/distros/ubuntu/+spec/foo
Created: Date(2005-11-02T17:22:51Z) by JeffBailey
Contributors: JeffBailey
Packages affected:
Summary
Upgrading from udev 060 to 071 is a major change that affects initramfs, udev, hotplug, hal, and many other pieces. The 2.6.15 kernel will require udev 071. Because these changes are invasive, this spec is split out from HardwareDetection to make sure that it can be reviewed and implemented independantly.
Rationale
Many components of the Linux system will require a newer udev. These include ProbeForRootFilesystem, LinuxKernelRoadmap, and HardwareDetection.
Scope
Newer versions of udev affect the following packages:
- initramfs-tools
- hotplug
- klibc
- hal
- linux-image-*
Implementation
New Initramfs:
o Create base device nodes o Start udevd o Load modules from /etc/mkinitramfs/modules (and other force_load calls)
** Note: without udevstart, something needs to correct permissions, or we need to provide the rules.
o Walk the sysfs tree for harddrive devices and tickle uevents for those o Walk the ide, scsi, and i2o busses o Attempt hibernate recovery o Walk the pci sysfs tree for usb controllers
Update to UDEV 071. Add scoreboard to udevd. Track scoreboard status during coldplug by looking for existance of /dev/.udev_scoreboard. We create the file initially, and udev will unlink it.
Code
The scoreboading component will need to be written. initramfs-tools needs to be modified to handle event driven coldplugging.
Data preservation and migration
Custom written hotplug rules will need to be migrated to be udev rules. There is no way to do this in an automated fashion.
Outstanding issues
UdevRoadmap (last edited 2008-08-06 16:16:48 by localhost)