Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36327 - version bump : sys-fs/udev 009 => 0.11
Summary: version bump : sys-fs/udev 009 => 0.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 36083 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-22 17:29 UTC by Stephane Loeuillet
Modified: 2003-12-26 17:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for udev 010 (udev-010.ebuild,2.40 KB, text/plain)
2003-12-23 23:03 UTC, j.
Details
foo.sh (foo.sh,1.10 KB, text/plain)
2003-12-25 14:26 UTC, Martin Schlemmer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephane Loeuillet 2003-12-22 17:29:21 UTC
available here :
ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/udev-010.tar.gz

The major changes since the 009 release are:
	- a number of bugs that were in the 009 release are now fixed.
	  The extras/ subdir should now build properly (but I take no
	  responsibility if it doesn't...)
	  
	- we now don't blow away old config files if you install this
	  version on top of an older version.  Sorry about that...
	  
	- udev now supports looking at multiple sysfs files at once for
	  a single rule.  This enables you to write such rules as:
	  LABEL, BUS="usb", SYSFS_vendor="FUJIFILM", SYSFS_model="M100", NAME="camera%n"
	  which helps in trying to identify a device in a unique way.
	  Right now udev supports up to 5 different sysfs files.  If you
	  want to have more, the code can be changed, just let me know.

	- new format modifier "%k" has been added to allow rules to use
	  the kernel name of the device.

	- an example shell script that handles an IDE devfs mapping has
	  been added to the tarball.  Thanks to Kay Sievers for this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-12-23 12:42:33 UTC
*** Bug 36083 has been marked as a duplicate of this bug. ***
Comment 2 j. 2003-12-23 23:03:14 UTC
Created attachment 22607 [details]
ebuild for udev 010

only changes i've made from the 090 ebuild are commenting out the epatch.
seems to work fine for me.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-24 14:49:44 UTC
I already had an ebuild (and still working on it) when Greg posted to LKML.
There are however a few issues that needs resolving (like the 1sec slowdown
thing which I really need fixed before I can get this with new baselayout
revision to handle some changes to udev out).  Ill wait a few days for Greg
to see if they can fix libsysfs to not need the 1sec delay for each call...
Comment 4 Stephane Loeuillet 2003-12-25 03:12:01 UTC
seems some people can't sleem. Greg K-H released 0.11 :

The major changes since the 010 release are:
	- The _long_ time delay on startup if you used the udev init
	  script is now gone.  We now fork a new process of udev for
	  every device in the sysfs tree, causing any slow udev proceses
	  (due to the type of device) to be not noticeable by the user.

	- The RPM package is built against klibc.  If you have any
	  problems with this image, please let me know.

	- The big "always wait 1 second" problem with the 010 release is
	  now pretty much fixed.  I still need some libsysfs changes to
	  work around some of the delays I had to hard code in, but for
	  any device that is not a partition, and has a "device"
	  symlink, udev will not sleep at all.  If a device does not
	  have a "device" symlink, we will wait around for a few seconds
	  to see if one is going to be created or not, and then move on.
	  It's the only sane way of handling the issue of not knowing
	  what kinds of devices have symlinks and which ones do not.

	- fixed a few bugs when devices did not have a "device" symlink.
	  Rules were getting applied when they should not have been.

	- LABEL and CALLOUT rules now no longer require the BUS key.  If
	  the BUS key is not present, the LABEL or CALLOUT rule will be
	  always be checked.  This allows us to use these types of rules
	  for devices without a "device" symlink.

	- a few other minor tweaks and bug fixes too.

bye bye 1s delay
(even if the next libsysfs would fix it the proper way)
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-25 14:26:41 UTC
Created attachment 22663 [details]
foo.sh

It is still there - only for devices with the device symlink its not.  Try
running this script, and see how long it takes (used to be a 1-3secs over
here).
Comment 6 SpanKY gentoo-dev 2003-12-26 17:54:29 UTC
now in portage baby ... too bad it fails to compile for me ;)
but i'll be posting a new bug for that