chiark / gitweb /
kay.sievers@vrfy.org [Sat, 5 Feb 2005 04:23:26 +0000 (05:23 +0100)]
[PATCH] udev_volume_id: rename probe_ibm into probe_dasd
kay.sievers@vrfy.org [Sat, 5 Feb 2005 03:10:48 +0000 (04:10 +0100)]
[PATCH] udev_volume_id: volume_id version 032
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:44:37 +0000 (02:44 +0100)]
[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compile
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:43:16 +0000 (02:43 +0100)]
[PATCH] Makefile: cleanup conditional config option sections
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:38:56 +0000 (02:38 +0100)]
[PATCH] fix -Wsign-compare warnings
kay.sievers@vrfy.org [Sat, 5 Feb 2005 01:36:54 +0000 (02:36 +0100)]
[PATCH] chassis_id: clean compilation and fix bad function parameter passing
Adding prototypes for functions resulted in an error, cause:
table_find_disk(disk_snum, &chassis_num, &slot_num);
is called but the function is defined as:
int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num)
which can obviously not work correctly.
Using popen() is not klibc compatible, so skip the compilation if
a klibc compile is requested.
kay.sievers@vrfy.org [Fri, 4 Feb 2005 20:57:39 +0000 (21:57 +0100)]
[PATCH] simple_build_check: make it possible to pass KERNEL_DIR
kay.sievers@vrfy.org [Fri, 4 Feb 2005 20:38:26 +0000 (21:38 +0100)]
[PATCH] selinux: cleanup udev integration
Move code into a .c-file instead of big inline functions in a header file.
Pass the device name down instead of relying that the node name is equal
to the kernel name.
greg@kroah.com [Thu, 3 Feb 2005 08:24:38 +0000 (00:24 -0800)]
[PATCH] 051 release
greg@kroah.com [Thu, 3 Feb 2005 08:22:31 +0000 (00:22 -0800)]
[PATCH] gentoo fb permission fix.
mbuesch@freenet.de [Tue, 1 Feb 2005 10:12:32 +0000 (11:12 +0100)]
[PATCH] The attached patch fixes the code path if namedev_name_device() fails.
kay.sievers@vrfy.org [Mon, 31 Jan 2005 04:28:44 +0000 (05:28 +0100)]
[PATCH] udev_volume_id: new version of volume_id
Every filesystem has its own subdirectory.
The IBM dasd label reading is included into volume_id.
cborntra@de.ibm.com [Sun, 30 Jan 2005 12:09:38 +0000 (13:09 +0100)]
[PATCH] udev_volume_id: fix -d option
The -d option in udev_allows to go from a partition to the underlying disk
for s390 dasd labels. If the device is already the disk itself, finding the
parent will fail, therefore -d on /sys/block/dasda/ for example gives no
result at all.
kay.sievers@vrfy.org [Fri, 28 Jan 2005 06:53:22 +0000 (07:53 +0100)]
[PATCH] klibc: update to version 0.198
greg@kroah.com [Thu, 20 Jan 2005 06:04:54 +0000 (22:04 -0800)]
[PATCH] remove the lfs startup script on request of the author.
The distro now has its own version, so this one is not needed.
greg@kroah.com [Thu, 13 Jan 2005 01:46:50 +0000 (17:46 -0800)]
[PATCH] clean up the aoe char device rules, and delete the block one as it's not needed.
greg@bucket.kroah.org [Wed, 12 Jan 2005 16:15:22 +0000 (08:15 -0800)]
[PATCH] fix gcc 2.96 issue in libsysfs
hare@suse.de [Thu, 20 Jan 2005 03:44:36 +0000 (04:44 +0100)]
[PATCH] rearrange link order in Makefile
The link-order in the main Makefile is not quite correct (sysfs should
be linked after udev.a) which might cause the build to fail.
kay.sievers@vrfy.org [Tue, 18 Jan 2005 08:13:01 +0000 (09:13 +0100)]
[PATCH] udev_volume_id: fix FAT label reading
kay.sievers@vrfy.org [Mon, 17 Jan 2005 08:26:07 +0000 (09:26 +0100)]
[PATCH] klibc: update to version 0.196
tklauser@access.unizh.chbk [Mon, 17 Jan 2005 02:54:26 +0000 (03:54 +0100)]
[PATCH] I tried to compile udev 050plus with the GCC 4.0 snapshot
200412119 and
kay.sievers@vrfy.org [Sun, 16 Jan 2005 23:53:08 +0000 (00:53 +0100)]
[PATCH] udevd: throttle the forking of processes
If the system reaches a defined limit of processes in running state, udevd
starts to count its own processes in running state from its session (all
forked hotplug child processes, subprocesses and callouts) and throttles
further process forking if the limit is reached.
This should help setups with hundreds of events emitted hotplug events
in parallel with hundreds of processes in "R" state. which makes the machine
unresponsible.
I placed a 100% cpu time consuming program in /etc/hotplug.d/ which runs for 5
seconds. With this patch I can load "scsi_debug add_host=100" without any major
problem. Without the patch the box is completly unresponsible for many minutes.
kay.sievers@vrfy.org [Sun, 16 Jan 2005 04:53:29 +0000 (05:53 +0100)]
[PATCH] udevd: add possible initialization of expected_seqnum
UDEVD_EXPECTED_SEQNUM=$[`cat /sys/kernel/hotplug_seqnum` + 1] ./udevd -d
will init udevd, so the next event will not wait for any timeout.
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:39:02 +0000 (04:39 +0100)]
[PATCH] udevd: it's obviously not the brightest idea to exit a device node manager if it doesn't find /dev/null
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:08:54 +0000 (04:08 +0100)]
[PATCH] udevd: separate socket handling to prepare for other event sources
kay.sievers@vrfy.org [Sun, 16 Jan 2005 03:06:22 +0000 (04:06 +0100)]
[PATCH] udevd: support -d switch to become a daemon
greg@kroah.com [Wed, 12 Jan 2005 15:38:49 +0000 (07:38 -0800)]
[PATCH] add aoe block and char device rules to the gentoo rule file.
kay.sievers@vrfy.org [Wed, 12 Jan 2005 09:44:52 +0000 (10:44 +0100)]
[PATCH] udev_volume_id: version 27
Fix FAT label reading bug for very large volumes.
Recognize FAT label at Win98 formatted volumes.
Read iso9660 joliet descriptor for unicode labels.
Support uuid/label of swap partitions.
roland@digitalvampire.org [Wed, 12 Jan 2005 09:34:02 +0000 (10:34 +0100)]
[PATCH] This fixes a silly mistake in how udevinfo prints the major and minor
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:37:50 +0000 (05:37 +0100)]
[PATCH] udevd: split up message receiving an queueing
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:37:01 +0000 (05:37 +0100)]
[PATCH] remove useless warning if udev.conf contains keys not read by udev itself
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:35:24 +0000 (05:35 +0100)]
[PATCH] improve event sequence serialization
We delay the execution of events if there is already an event running for
the same device, a parent or a child device. "add" events with a reference
to a physical device will also wait for the physical device to finish.
Here we fix the devpath comparison logic to return "busy" only if a complete
device names is matching. /block/sdaa will not longer block a /block/sda event.
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:33:49 +0000 (05:33 +0100)]
[PATCH] remove udevsend syslog noise on udevd startup
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:33:26 +0000 (05:33 +0100)]
[PATCH] limit the initial timeout of the udevd event handling
Define an inititialization phase, where we delay the events only
for a short time to eventually recollect the event sequence instead
of delaying the very first events for 10 seconds, which breaks the
firmware loader.
kay.sievers@vrfy.org [Wed, 5 Jan 2005 04:31:42 +0000 (05:31 +0100)]
[PATCH] correct detection of hotplug.d/ udevsend loop
If udevsend is called from the commandline the env may be too
big to fit in our buffer and we tag the message.
kay.sievers@vrfy.org [Wed, 22 Dec 2004 00:41:03 +0000 (01:41 +0100)]
[PATCH] correct log statement
kay.sievers@vrfy.org [Tue, 21 Dec 2004 05:10:57 +0000 (06:10 +0100)]
[PATCH] remove default_* permissions from udev.conf file
With the "permissions only rules" we can just place:
MODE="0660", OWNER="root", GROUP="root"
at the beginning of the rules file and get exactly the same behavior.
If no values are given the compiled-in defaults are used.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 23:19:34 +0000 (00:19 +0100)]
[PATCH] update Fedora config files and add some more tests
kay.sievers@vrfy.org [Mon, 20 Dec 2004 22:44:57 +0000 (23:44 +0100)]
[PATCH] allow permissions only rules
On Mon, 2004-12-20 at 15:03 +0100, Marco d'Itri wrote:
> +# all block devices
> > +SUBSYSTEM="block", NAME="%k", GROUP="disk"
> > +
> NAME="%k" here and in similar rules does not add any new information,
> what about making it optional, like it is for SYMLINK-only rules?
kay.sievers@vrfy.org [Mon, 20 Dec 2004 21:24:19 +0000 (22:24 +0100)]
[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk permissions
kay.sievers@vrfy.org [Mon, 20 Dec 2004 08:53:32 +0000 (09:53 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Mon, 20 Dec 2004 07:57:31 +0000 (08:57 +0100)]
[PATCH] handle renamed network interfaces properly if we manage hotplug.d/
If we take over the hotplug call and manage the events we don't need
to call the event fake script in dev.d/. Just set all expected values
to the new network interface name and call hotplug.d/. This way the
device renaming is completely handled inside of udev and userspace
can't get confused.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 06:38:33 +0000 (07:38 +0100)]
[PATCH] allow multiline rules by backslash at the end of the line
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> > On Dec 19, Kay Sievers <kay.sievers@vrfy.org> wrote:
>
> > (Feature request: would it be possible to extend the rules files parser
> > to support continuation lines? I'd like it to consider lines starting
> > with white space as part of the previous line.)
>
> How about the usual backslash at the end of the line. Here is a simple
> patch.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 02:11:22 +0000 (03:11 +0100)]
[PATCH] add OnStream tape drive rules
On Sun, 2004-12-19 at 17:36 +0000, Willem Riede wrote:
Would you mind adding OnStream tape drives?
>
> KERNEL="osst*", NAME="%k", GROUP="tape", MODE="0660"
> KERNEL="nosst*", NAME="%k", GROUP="tape", MODE="0660"
kay.sievers@vrfy.org [Mon, 20 Dec 2004 02:04:11 +0000 (03:04 +0100)]
[PATCH] simplify rules file by setting default mode to 0660
On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote:
> It may be better to use default_mode="0660", I do not think that there
> are any mode 600 devices. This would allow setting only the group for
> most of them.
kay.sievers@vrfy.org [Mon, 20 Dec 2004 00:31:56 +0000 (01:31 +0100)]
[PATCH] simplify permission application
We have only one source of permissions now, so apply the default
permissions at udev init.
kay.sievers@vrfy.org [Sun, 19 Dec 2004 01:39:52 +0000 (02:39 +0100)]
[PATCH] I broke the extras/ again. Add simple build test script now.
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:59:21 +0000 (22:59 +0100)]
[PATCH] initial merge of fedora udev.permissions into udev.rules
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:58:37 +0000 (22:58 +0100)]
[PATCH] remove permissions file mentioning from the udev man page
kay.sievers@vrfy.org [Sat, 18 Dec 2004 21:57:49 +0000 (22:57 +0100)]
[PATCH] fix some typos in gentoo's udev.rules introduced by the merge
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:22:16 +0000 (12:22 +0100)]
[PATCH] initial merge of gentoo udev.permissions into udev.rules
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:21:21 +0000 (12:21 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Sat, 18 Dec 2004 11:20:41 +0000 (12:20 +0100)]
[PATCH] update Fedora config files
kay.sievers@vrfy.org [Sat, 18 Dec 2004 10:34:17 +0000 (11:34 +0100)]
[PATCH] complete removal of explicit udev permissions config file
tklauser@access.unizh.ch [Fri, 17 Dec 2004 23:19:35 +0000 (00:19 +0100)]
[PATCH] I made some more changes to the manpage of udev including:
Patch-From: Tobias Klauser <tklauser@access.unizh.ch>
- Move the description of the environment variables to a new section
called "ENVIRONMENT" (as stated in man(7))
- Pointer to the "official" udev homepage
- Fixes for various typos and whitespace damages
greg@kroah.com [Sat, 18 Dec 2004 14:19:12 +0000 (06:19 -0800)]
[PATCH] fix udev_volume_id build error.
bah, when will I remember to check the extras _before_ I do a release...
greg@kroah.com [Sat, 18 Dec 2004 13:52:25 +0000 (05:52 -0800)]
[PATCH] 050 release
harald@redhat.com [Fri, 17 Dec 2004 02:59:22 +0000 (03:59 +0100)]
[PATCH] selinux patch
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=142713
/sbin/udevstart segfaults on an ATIIXP chipset which is not supported
well by the kernel yet. There, /proc/ide/hda/media can not be read
(EIO error) and udevstart seems to give a null-pointer to an SELinux
function checking the media-type.
kay.sievers@vrfy.org [Thu, 16 Dec 2004 15:05:01 +0000 (16:05 +0100)]
[PATCH] update libsysfs to CVS version and fix segfaulting attribute reading
kay.sievers@vrfy.org [Wed, 15 Dec 2004 10:27:10 +0000 (11:27 +0100)]
[PATCH] klibc supports LOG_PID now, so remove our own implementation
Greg KH [Wed, 27 Apr 2005 06:15:56 +0000 (23:15 -0700)]
bleah, more merge fixes...
kay.sievers@vrfy.org [Wed, 15 Dec 2004 10:26:05 +0000 (11:26 +0100)]
[PATCH] avoid building klibc test programs and pass SUBDIRS= to klibc clean
greg@kroah.com [Wed, 15 Dec 2004 07:00:33 +0000 (23:00 -0800)]
[PATCH] 049 release
greg@kroah.com [Wed, 15 Dec 2004 01:51:58 +0000 (17:51 -0800)]
[PATCH] fix 'make clean' error in klibc
kay.sievers@vrfy.org [Tue, 14 Dec 2004 10:42:06 +0000 (11:42 +0100)]
[PATCH] update klibc to 0.194
kay.sievers@vrfy.org [Tue, 14 Dec 2004 10:06:49 +0000 (11:06 +0100)]
[PATCH] export DEVNAME regardless of the state of udev_dev_d
azarah@nosferatu.za.org [Tue, 14 Dec 2004 08:42:20 +0000 (09:42 +0100)]
[PATCH] remove leftover from udevinfo's -d option
kay.sievers@vrfy.org [Sun, 12 Dec 2004 07:34:46 +0000 (08:34 +0100)]
[PATCH] add class specific files for class/spi_transport and class/spi_host
kay.sievers@vrfy.org [Sun, 12 Dec 2004 02:35:39 +0000 (03:35 +0100)]
[PATCH] udevd-test.pl: remove wrong date calculation
A hour wrap during the test run does not work :) Just remove
all the useless date conversions as we are only interested in the
seconds it takes to process.
[root@pim udevd-test]# ./udevd-test.pl 9
...
device: /class/tty/console, action: remove
forking udev time: Sat Dec 11 18:59:57 2004
the delay time is: 3 s
device: /class/tty/ptmx, action: remove
forking udev time: Sat Dec 11 19:00:07 2004
the delay time is: 4013 s
the delay time is: 4013
udevd doesn't act properly.
kay.sievers@vrfy.org [Sun, 12 Dec 2004 02:29:59 +0000 (03:29 +0100)]
[PATCH] check earlier if we should run as udevstart
kay.sievers@vrfy.org [Sun, 12 Dec 2004 01:54:55 +0000 (02:54 +0100)]
[PATCH] remove double initialization
kay.sievers@vrfy.org [Sun, 12 Dec 2004 01:32:25 +0000 (02:32 +0100)]
[PATCH] include missing header to udevtest.c
kay.sievers@vrfy.org [Sun, 12 Dec 2004 01:27:50 +0000 (02:27 +0100)]
[PATCH] add -V option to udev to print the version number
On Sat, 2004-12-11 at 18:44 +0200, Martin Schlemmer [c] wrote:
>
> Any suggestions to determining the version of the installed udev?
> This is now during startup, to see if we can make use of using
> udevsend as hotplug agent. If the system was up, udevinfo could
> be used, but that is in /usr/bin that might be on a seperate /usr.
> I know we might move udevinfo to /bin, but that might be an issue
> for some, and adding a -V switch to /sbin/udev might be a better
> choice.
kay.sievers@vrfy.org [Sun, 12 Dec 2004 01:03:14 +0000 (02:03 +0100)]
[PATCH] prevent udev node creatinon for "class" registration
I've found a /dev/video4linux node and just realized, that libsysfs
searches all subdirs for an attribute name.
So it found /class/video4linux/video0/dev for the videodev class
creation event /class/video4linux and created a node.
Just ignore the SUBSYSTEM="class" events now.
kay.sievers@vrfy.org [Sat, 11 Dec 2004 20:43:08 +0000 (21:43 +0100)]
[PATCH] udevd: serialization of the event sequence of a chain of devices
Currently udevd delays only events for the same DEVPATH.
Example of an "add" event sequence:
/block/sda
/block/sda/sda1
With this change, we make sure, that the udev process handling
/block/sda has finished its work (waited for all attributes,
created the node) before we fork the udev event for /block/sda/sda1.
This way the event for sda1 can be sure, that the node for the
main device is already created (may be useful for disk labels).
It will not affect any parallel device handling, only the sequence
of the devices directory chain is serialized. The 10.000 disks
plugged in will still run as parallel events. :)
The main motivation to do this is the program execution of the
dev.d/ and hotplug.d/ directory. If we don't wait for the parent
event to exit, we can't be sure that the executed scripts are
run in the right order.
On Thu, Dec 09, 2004 at 09:18:28AM +0100, Kay Sievers wrote:
> On Wed, 2004-12-08 at 19:07 -0800, David Brownell wrote:
> > Could that argument apply to the underlying hardware, too?
> We now make sure that the sequence of events for a device
> is serialized for every device chain and the class/block
> devices which have a "device" link to a physical device are
> handled after the physical device is fully populated and
> notified to userspace. It will only work this way on kernels
> later than 2.6.10-rc1 cause it depends on the PHYSDEVPATH
> value in the hotplug environment.
kay.sievers@vrfy.org [Sat, 11 Dec 2004 05:07:31 +0000 (06:07 +0100)]
[PATCH] add a class/fc_host file to the list of what to wait for
kay.sievers@vrfy.org [Thu, 9 Dec 2004 05:06:17 +0000 (06:06 +0100)]
[PATCH] udev_volume_id: links sysfs.a instead of all objects
cuts down the size from:
dynamically linked: 48.030 -> 45.187
statically linked: 149.177 -> 142.362
greg@kroah.com [Thu, 9 Dec 2004 03:42:47 +0000 (19:42 -0800)]
[PATCH] 048 release
greg@kroah.com [Thu, 9 Dec 2004 03:35:29 +0000 (19:35 -0800)]
[PATCH] fix udev_volume_id so it will now build properly.
greg@kroah.com [Thu, 9 Dec 2004 03:30:41 +0000 (19:30 -0800)]
[PATCH] fix scsi_id build errors due to changes in the main udev makefile
also fixed up the QUIET issue when it was disabled for the extras programs
greg@kroah.com [Thu, 9 Dec 2004 02:29:04 +0000 (18:29 -0800)]
[PATCH] 047 release
greg@kroah.com [Thu, 9 Dec 2004 01:09:40 +0000 (17:09 -0800)]
[PATCH] add more debian rules files.
greg@kroah.com [Thu, 9 Dec 2004 01:08:20 +0000 (17:08 -0800)]
[PATCH] move distro specific config files into their own directories
Greg KH [Wed, 27 Apr 2005 06:10:15 +0000 (23:10 -0700)]
more merge fixups
greg@kroah.com [Thu, 9 Dec 2004 01:05:20 +0000 (17:05 -0800)]
[PATCH] update debian rules files.
greg@kroah.com [Thu, 9 Dec 2004 00:55:27 +0000 (16:55 -0800)]
[PATCH] added asterix rules to the gentoo file.
greg@kroah.com [Sat, 4 Dec 2004 02:50:05 +0000 (18:50 -0800)]
[PATCH] fix gentoo scsi cdrom rule
http://bugs.gentoo.org/show_bug.cgi?id=73208
greg@kroah.com [Fri, 3 Dec 2004 09:04:53 +0000 (01:04 -0800)]
[PATCH] Fix the multithreaded build again...
greg@kroah.com [Sun, 5 Dec 2004 16:31:37 +0000 (08:31 -0800)]
[PATCH] use udevstart for udev.init.* files.
Thanks to Kay for pointing it out.
greg@kroah.com [Sun, 5 Dec 2004 16:31:04 +0000 (08:31 -0800)]
[PATCH] delete a bunch of files no longer needed.
Thanks to Kay for pointing it out.
klauser@access.unizh.ch [Tue, 7 Dec 2004 22:01:44 +0000 (23:01 +0100)]
[PATCH] Various typos and other litte errors in udev.8.in
Thanks-To: Tobias Klauser <tklauser@access.unizh.ch>
While crawling through the udev manpage I noticed some typos and other
grammatical errors. English is not my native language, so I'm not sure
if I fixed everything right. I would be glad if any English-speaking
person could check this patch before applying.
kay.sievers@vrfy.org [Tue, 7 Dec 2004 21:55:08 +0000 (22:55 +0100)]
[PATCH] update Fedora dev.d/ example and remove unused conf.d/ directory
kay.sievers@vrfy.org [Tue, 7 Dec 2004 21:45:36 +0000 (22:45 +0100)]
[PATCH] don't install distribution specific init script on "make install"
Leave that part up to the one who itegrates udev into a system as
there is much more to care of than to call a init stript for a
dynamic dev.
kay.sievers@vrfy.org [Tue, 7 Dec 2004 21:38:40 +0000 (22:38 +0100)]
[PATCH] restore OWNER/GROUP assignment in rule coming from RESULT
kay.sievers@vrfy.org [Sun, 5 Dec 2004 15:31:51 +0000 (16:31 +0100)]
[PATCH] make gcov compile scripts working with recent gcc
kay.sievers@vrfy.org [Sun, 5 Dec 2004 14:07:39 +0000 (15:07 +0100)]
[PATCH] fix udev-test/udev-test.pl to work with again
kay.sievers@vrfy.org [Sun, 5 Dec 2004 14:03:43 +0000 (15:03 +0100)]
[PATCH] add net/atml and class/ppdev to the wait_for_sysfs exception list
kay.sievers@vrfy.org [Thu, 2 Dec 2004 18:30:23 +0000 (19:30 +0100)]
[PATCH] add net/nlv* devices to the exception list
kay.sievers@vrfy.org [Tue, 30 Nov 2004 10:36:36 +0000 (11:36 +0100)]
[PATCH] add "pcmcia" and "fc_transport" to the wait_for_sysfs lists
kay.sievers@vrfy.org [Mon, 29 Nov 2004 12:51:20 +0000 (13:51 +0100)]
[PATCH] remove unused timestamp field