Skip to contentSkip to conversation

udev 051 release

ANNOUNCE Greg KH 5 participants 6 messages Feb 3, 2005 – Feb 6, 2005

lore
Share & tools
lore

Greg KH

author
#0 lore raw

I've released the 051 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-051.tar.gz

udev allows users to have a dynamic /dev and provides the ability to have persistent device names. It uses sysfs and /sbin/hotplug and runs entirely in userspace. It requires a 2.6 kernel with CONFIG_HOTPLUG enabled to run. Please see the udev FAQ for any questions about it:
kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQ

For any udev vs devfs questions anyone might have, please see:
kernel.org/pub/linux/utils/kernel/hotplug/udev_vs_devfs

And there is a general udev web page at:
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html

The major change in this release is the fact that the .permissions files are no longer used. All group and mode settings are to be in the main rules files. The Gentoo rules have been converted over to this scheme if you want an example of how to do this.

There are lots of other good bugfixes and changes in this release, see the full changelog below.

Thanks to everyone who has send me patches for this release, a full list of everyone, and their changes is below.

udev development is done in a BitKeeper repository located at:
bk://linuxusb.bkbits.net/udev

Daily snapshots of udev from the BitKeeper tree can be found at:
http://www.codemonkey.org.uk/projects/bitkeeper/udev/
If anyone ever wants a tarball of the current bk tree, just email me.

thanks,

greg k-h

Summary of changes from v050 to v051
======================

<roland:digitalvampire.org>:
o This fixes a silly mistake in how udevinfo prints the major and minor numbers (right now it prints the minor next to "MAJOR" and the major next to "MINOR" ;)

<tklauser:access.unizh.chbk>:
o I tried to compile udev 050plus with the GCC 4.0 snapshot 200412119 and got two errors about possibly uninitialized structs, so I fixed this.

Christian Bornträger:
o udev_volume_id: fix -d option

Greg Kroah-Hartman:
o gentoo fb permission fix
o fix gcc 2.96 issue in libsysfs
o remove the lfs startup script on request of the author
o clean up the aoe char device rules, and delete the block one as it's not needed
o add aoe block and char device rules to the gentoo rule file
o fix udev_volume_id build error

Hannes Reinecke:
o rearrange link order in Makefile

Kay Sievers:
o udev_volume_id: new version of volume_id
o klibc: update to version 0.198
o udev_volume_id: fix FAT label reading
o klibc: update to version 0.196
o udevd: throttle the forking of processes
o udevd: add possible initialization of expected_seqnum
o udevd: it's obviously not the brightest idea to exit a device node manager if it doesn't find /dev/null
o udevd: separate socket handling to prepare for other event sources
o udevd: support -d switch to become a daemon
o udev_volume_id: version 27
o udevd: split up message receiving an queueing
o remove useless warning if udev.conf contains keys not read by udev itself
o improve event sequence serialization
o remove udevsend syslog noise on udevd startup
o limit the initial timeout of the udevd event handling
o correct detection of hotplug.d/ udevsend loop
o correct log statement
o remove default_* permissions from udev.conf file
o update Fedora config files and add some more tests
o allow permissions only rules
o add SUBSYSTEM rule to catch all block devices and apply the disk permissions
o update Fedora config files
o handle renamed network interfaces properly if we manage hotplug.d/
o allow multiline rules by backslash at the end of the line
o add OnStream tape drive rules
o simplify rules file by setting default mode to 0660
o simplify permission application
o I broke the extras/ again. Add simple build test script now
o initial merge of fedora udev.permissions into udev.rules
o remove permissions file mentioning from the udev man page
o fix some typos in gentoo's udev.rules introduced by the merge

Michael Buesch:
o The attached patch fixes the code path if namedev_name_device() fails

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

Hi Greg,

would you consider adding these rules to your default udev rules:

KERNEL="dvb[0-9].dvr*",        NAME="dvb/adapter%n/dvr%n", GROUP="video"
KERNEL="dvb[0-9].demux*",      NAME="dvb/adapter%n/demux%n", GROUP="video"
KERNEL="dvb[0-9].frontend*",   NAME="dvb/adapter%n/frontend%n", GROUP="video"
KERNEL="dvb[0-9].audio*",      NAME="dvb/adapter%n/audio%n", GROUP="video"
KERNEL="dvb[0-9].ca*",         NAME="dvb/adapter%n/ca%n", GROUP="video"
KERNEL="dvb[0-9].osd*",        NAME="dvb/adapter%n/osd%n", GROUP="video"
KERNEL="dvb[0-9].net*",        NAME="dvb/adapter%n/net%n", GROUP="video"
KERNEL="dvb[0-9].video*",      NAME="dvb/adapter%n/video%n", GROUP="video"

I guess DVD users would appreciate this.

Thanks !

--
Prakash Punnoor

formerly known as Prakash K. Cheemplavam

#2 lore raw
In reply to Greg KH
Quoted 1 line · Prakash Punnoor

would you consider adding these rules to your default udev rules:

Look at extras/dvb.sh and the Debian rules files.

Signature · 2 lines
ciao,
Marco
#3 lore raw
In reply to Greg KH
Quoted 3 lines · Greg KH

I've released the 051 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-051.tar.gz

make USE_KLIBC=true

returned (using vanilla 2.6.10):

Precompiling udevd.c: [OK]
udevd.c: In function `main':
udevd.c:728: warning: implicit declaration of function __FD_ZERO' udevd.c:729: warning: implicit declaration of function __FD_SET' udevd.c:744: warning: implicit declaration of function `__FD_ISSET'
Linking udevd: [ERROR]
gcc --static --nostdlib -nostartfiles -nodefaultlibs -o udevd /tmp/udev-051/k libc/klibc/crt0.o udevd.o udev.a libsysfs/sysfs.a klibc_fixups/klibc_fixups.a
/tmp/udev-051/klibc/klibc/libc.a
udevd.o(.text+0x521): In function `main':
: undefined reference to `__FD_ZERO'
udevd.o(.text+0x531): In function `main':
: undefined reference to `__FD_SET'
udevd.o(.text+0x541): In function `main':
: undefined reference to `__FD_SET'
udevd.o(.text+0x591): In function `main':
: undefined reference to `__FD_ISSET'
udevd.o(.text+0x891): In function `main':
: undefined reference to `__FD_ISSET'
collect2: ld returned 1 exit status
make: *** [udevd] Error 1

Maybe a related question: Why doesn't udev use the "official" klibc?

Regards

Harri

#4 lore raw
In reply to Greg KH
Quoted 6 lines · Harald Dunkel
Quoted 3 lines · Greg KH

I've released the 051 version of udev. It can be found at:
kernel.org/pub/linux/utils/kernel/hotplug/udev-051.tar.gz

make USE_KLIBC=true

Try:
make USE_KLIBC=true KERNEL_DIR=<...>

and specify the path to your kernel sources.

Quoted 2 lines

Maybe a related question: Why doesn't udev use the "official" klibc?

What do you mean with "official"? There is no difference.

Kay

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Greg KH
Quoted 6 lines · Kay Sievers

Try:
make USE_KLIBC=true KERNEL_DIR=<...>

and specify the path to your kernel sources.

Same result: __FD_ZERO. __FD_SET, __FD_ISSET are not found.

???

Regards

Harri