* [ANNOUNCE] udev 004 release
@ 2003-10-21 16:28 Greg KH
2003-10-21 21:45 ` Jesse Barnes
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2003-10-21 16:28 UTC (permalink / raw)
To: linux-hotplug-devel, linux-kernel
Hi,
I've released the 004 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-004.tar.gz
Thanks to Robert Love, there are now rpms available at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-004-1.i386.rpm
with the source rpm at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-004-1.src.rpm
udev is a implementation of devfs in userspace using sysfs and
/sbin/hotplug. It requires a 2.6 kernel to run properly.
The major changes since the 003 release are:
- MAJOR speedups over the previous version. No more "sleep(1)"
always, we now wait for the "dev" file to show up, and not
blindly guess.
- partitions now work again.
- removal of devices that were named differently from the kernel
name work properly.
- proper spec file.
- a man page with real content.
- sync up with current version of libsysfs.
Many thanks to Dan Stekloff, Kay Sievers, and Robert Love for their help
with patches for this release. I really appreciate it.
The full ChangeLog can be found below.
The udev FAQ can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ
Development of udev is done in a BitKeeper tree available at:
bk://kernel.bkbits.net/gregkh/udev/
If anyone ever wants a snapshot of the current tree, due to not using
BitKeeper, or other reasons, is always available at any time by asking.
thanks,
greg k-h
Summary of changes from v003 to v004
============================================
Daniel E. F. Stekloff:
o new version of libsysfs patch
Greg Kroah-Hartman:
o 004 release
o major database cleanups
o Changed test.block and test.tty to take ACTION from the command line
o don't sleep if 'dev' file is already present on device add
o fix comment about how the "dev" file is made up
o more database work. Now we only store the info we really need right now
o add BUS= bug to TODO list so it will not get forgotten
o spec file changes
o test.block changes
o ok, rpm likes the "_" character instead of "-" better
o change the version to 003-bk to keep things sane with people using the bk tree
o got "remove of named devices" working
o fix segfaults when dealing with partitions
Kay Sievers:
o man file update
o man page update
Robert Love:
o udev: mode should be mode_t
o udev: trivial trivialities
o udev: cool test scripts again
o udev spec file symlink support
o udev: cool test scripts
o udev spec file bits
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ANNOUNCE] udev 004 release
2003-10-21 16:28 [ANNOUNCE] udev 004 release Greg KH
@ 2003-10-21 21:45 ` Jesse Barnes
2003-10-21 22:13 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Jesse Barnes @ 2003-10-21 21:45 UTC (permalink / raw)
To: linux-hotplug-devel, gregkh; +Cc: linux-kernel
Thanks for the new release, Greg. I just tried it out on a system with
some disks, but a bunch of udev processes ended up hanging. Is there
something I'm missing or do you need a patch like this?
Thanks,
Jesse
--- udev-004/udev-add.c Mon Oct 20 14:39:08 2003
+++ udev-004-working/udev-add.c Tue Oct 21 14:42:27 2003
@@ -141,7 +141,7 @@
strcat(filename, path);
strcat(filename, "/dev");
- while (loop < SECONDS_TO_WAIT_FOR_DEV) {
+ while (loop++ < SECONDS_TO_WAIT_FOR_DEV) {
dbg("looking for %s", filename);
retval = stat(filename, &buf);
if (retval == 0) {
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [ANNOUNCE] udev 004 release
2003-10-21 21:45 ` Jesse Barnes
@ 2003-10-21 22:13 ` Greg KH
2003-10-22 1:46 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2003-10-21 22:13 UTC (permalink / raw)
To: linux-hotplug-devel, linux-kernel
On Tue, Oct 21, 2003 at 02:45:55PM -0700, Jesse Barnes wrote:
> Thanks for the new release, Greg. I just tried it out on a system with
> some disks, but a bunch of udev processes ended up hanging. Is there
> something I'm missing or do you need a patch like this?
Yeah, sorry, this kind of fix is required :(
It's fixed in my bk tree now.
Oh, and it looks like the LABEL rule is also broken due to the libsysfs
changes... I'm working on adding regression tests right now to prevent
things like this from slipping through.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ANNOUNCE] udev 004 release
2003-10-21 22:13 ` Greg KH
@ 2003-10-22 1:46 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2003-10-22 1:46 UTC (permalink / raw)
To: linux-hotplug-devel, linux-kernel
On Tue, Oct 21, 2003 at 03:13:38PM -0700, Greg KH wrote:
> On Tue, Oct 21, 2003 at 02:45:55PM -0700, Jesse Barnes wrote:
> > Thanks for the new release, Greg. I just tried it out on a system with
> > some disks, but a bunch of udev processes ended up hanging. Is there
> > something I'm missing or do you need a patch like this?
>
> Yeah, sorry, this kind of fix is required :(
>
> It's fixed in my bk tree now.
>
> Oh, and it looks like the LABEL rule is also broken due to the libsysfs
> changes... I'm working on adding regression tests right now to prevent
> things like this from slipping through.
Here's a patch for this. It fixes the problem of LABEL rules on the
device, not the class device. LABEL rules on the class device seem to
work just fine.
Thanks to Dan Stekloff for help in finding this bug.
thanks,
greg k-h
# fix LABEL bug for device files (not class files.)
diff -Nru a/namedev.c b/namedev.c
--- a/namedev.c Tue Oct 21 18:44:59 2003
+++ b/namedev.c Tue Oct 21 18:44:59 2003
@@ -566,7 +566,7 @@
/* look in the class device directory if present */
if (class_dev->sysdevice) {
- tmpattr = sysfs_get_classdev_attr(class_dev, dev->sysfs_file);
+ tmpattr = sysfs_get_device_attr(class_dev->sysdevice, dev->sysfs_file);
if (tmpattr)
goto label_found;
}
@@ -599,7 +599,7 @@
/* look in the class device directory if present */
if (class_dev_parent->sysdevice) {
- tmpattr = sysfs_get_classdev_attr(class_dev_parent, dev->sysfs_file);
+ tmpattr = sysfs_get_device_attr(class_dev_parent->sysdevice, dev->sysfs_file);
if (tmpattr)
goto label_found;
}
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-22 1:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-21 16:28 [ANNOUNCE] udev 004 release Greg KH
2003-10-21 21:45 ` Jesse Barnes
2003-10-21 22:13 ` Greg KH
2003-10-22 1:46 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox