summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] replace tdb database by simple lockless file databasekay.sievers@vrfy.org
This makes the udev operation completely lockless by storing a file for every node in /dev/.udevdb/* This solved the problem with deadlocking concurrent udev processes waiting for each other to release the file lock under heavy load.
2005-04-26[PATCH] 045 releaseudev/v045greg@kroah.com
2005-04-26[PATCH] Some updates for Gentoo's udev rulesazarah@nosferatu.za.org
Hi, Here is a few updates for the udev.rules.gentoo from udev package. I will summarise it briefly: 1) The last change you did to legacy tty's is wrong. I say this because: 1a) The original devfs rules had both master and slave in /dev/pty: nosferatu linux # grep devfs_name drivers/char/pty.c pty_driver->devfs_name = "pty/m"; pty_slave_driver->devfs_name = "pty/s"; nosferatu linux # 1b) If you refer to '2.6.8.1-mm1 Tty problems?', you will see that the /dev/tty/ directory our rules create, replaces this symlink: nosferatu portage # ls -l /dev/tty crw-rw-rw- 1 root tty 5, 0 Nov 14 17:06 /dev/tty nosferatu portage # which is used to determine the controlling tty. 2) Somebody added the /dev/cpu/microcode rule, but it was not run as there was an older rule before that placing it in /dev/misc (which is wrong). Just remove the first broken rule 3) Some form/tab cleanups. Reorder rules alphabetically according to device class to make searching/editing easier.
2005-04-26[PATCH] 044 releaseudev/v044greg@kroah.com
2005-04-26[PATCH] 043 releaseudev/v043greg@kroah.com
2005-04-26[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevdkay.sievers@vrfy.org
2005-04-26[PATCH] add i2c-dev to the list of devices without a buskay.sievers@vrfy.org
2005-04-26[PATCH] add cdsymlinks.sh support to gentoo rules file.greg@kroah.com
2005-04-26[PATCH] fix gentoo legacy tty rulegreg@kroah.com
I thought I had fixed this a long time ago...
2005-04-26[PATCH] remove 'sudo' usage from the Makefilegreg@kroah.com
should fix a lot of gentoo bug reports
2005-04-26[PATCH] make udev-test.pl test for root permissions before runninggreg@kroah.com
Should prevent false error reports from happening.
2005-04-26[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possiblekay.sievers@vrfy.org
2005-04-26[PATCH] wait() for specific pid to return from fork().kay.sievers@vrfy.org
2005-04-26[PATCH] Don't use any syslog() in signal handler, cause it may deadlock.kay.sievers@vrfy.org
2005-04-26[PATCH] Add support for highpoint ataraid to volume_id to suppresskay.sievers@vrfy.org
2005-04-26[PATCH] Add a bunch of devices without "device" symlinks.kay.sievers@vrfy.org
2005-04-26[PATCH] Exit, if udevtest cannot open the device (segfault).kay.sievers@vrfy.org
2005-04-26[PATCH] Patches from Harald Hoyer <harald@redhat.com>.kay.sievers@vrfy.org
2005-04-26[PATCH] Apply the default permissions even if we found a entry inkay.sievers@vrfy.org
2005-04-26[PATCH] add test for format chars in multiple symlinks to replacekay.sievers@vrfy.org
2005-04-26[PATCH] Add net/vmnet and class/zaptel to the list of devices without ↵kay.sievers@vrfy.org
physical device
2005-04-26[PATCH] add test target to makefilegreg@kroah.com
Will help distros that have a test phase of their build.
2005-04-26[PATCH] add dumb script to show all sysfs devices in the system.greg@kroah.com
2005-04-26[PATCH] 042 releaseudev/v042greg@kroah.com
In the grand tradition of releasing free software projects on my birthday for the past few years. And yes, I skipped version 041, call it grumpyness in my old age...
2005-04-26[PATCH] add inotify to the rules for gentoogreg@kroah.com
2005-04-26[PATCH] Remove the last klibc specific line from the main udev codekay.sievers@vrfy.org
2005-04-26[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixupkay.sievers@vrfy.org
2005-04-26[PATCH] improve klibc fixup integrationkay.sievers@vrfy.org
2005-04-26[PATCH] cleanup udevd/udevstartkay.sievers@vrfy.org
Change to the same timeout loop we use in the rest of the code. Change some comments and names to be more descriptive. I'm mostly finished with the overall cleanup. I will post a new patch for the udevd-nofork experiment, which will be much smaller now.
2005-04-26[PATCH] skip waiting for device if we get a bad event for class creationkay.sievers@vrfy.org
2005-04-26[PATCH] add net/pan and net/bnep handlingkay.sievers@vrfy.org
2005-04-26[PATCH] switch wait for bus_file to stat() instead of open()kay.sievers@vrfy.org
2005-04-26[PATCH] expose sysfs functions for sharing itkay.sievers@vrfy.org
This patch exposes the wait_for_sysfs functions to all possible users, so we need to maintain only one list of exceptions. The last list is hereby removed from udev.c.
2005-04-26[PATCH] 040 releaseudev/v040greg@kroah.com
2005-04-26[PATCH] sparse cleanups on the treegreg@kroah.com
2005-04-26[PATCH] fix debug in volume id / fix clashing global var namekay.sievers@vrfy.org
Here we get the logging for udev_volume_id working if it is compiled with DEBUG=true. Also fixed is a name clash with a global variable.
2005-04-26[PATCH] wait_for_sysfs update for dm devicesjk@blackdown.de
Hi, I got these when creating LVM2 snapshots: ,---- | Oct 17 04:23:09 server wait_for_sysfs[5120]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to <linux-hotplug-devel@lists.sourceforge.net> | Oct 17 04:23:09 server wait_for_sysfs[5129]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to <linux-hotplug-devel@lists.sourceforge.net> | Oct 17 04:23:09 server wait_for_sysfs[5131]: error: wait_for_sysfs needs an update to handle the device '/block/dm-7' properly, please report to <linux-hotplug-devel@lists.sourceforge.net> | [...] `----
2005-04-26[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes.greg@kroah.com
2005-04-26[PATCH] volume_id fixkay.sievers@vrfy.org
I've been told that open() should not pass O_NONBLOCK.
2005-04-26[PATCH] $local userkay.sievers@vrfy.org
We once implemented the devfsd feature to set the owner of a device node to the "local" user. This was before we had the dev.d/ scripts. We discussed a similar issue with D-BUS recently and this should be better handled depending on the distributions way to do such a thing. I'm for removing this here as this can be easily covered by a dev.d/ script. Here is the patch if nobody objects :)
2005-04-26[PATCH] delete udevruler.c as per Kay's request.greg@kroah.com
2005-04-26[PATCH] cleanup netif handling and netif-dev.d/ eventskay.sievers@vrfy.org
Here we supress the dev.d/ execution if we didn't change a network interface's name with a rule. This should solve the issue of two running dhclients for the same interface, cause the /etc/dev.d/net/hotplug.dev script that fakes the hotplug event runs with every udevstart for every interface and fakes a second identical hotplug event on bootup. With this patch netif interfaces are no longer stored in the udevdb. It is not needed, cause we don't have permissions or symlinks :) and all information is available in sysfs. This patch also moves the dev_d execution calls out of the udev_add/udev_remove. As with the former api-cleanup-patch we have all processed data in one udev struct and can place the execution calls where needed.
2005-04-26[PATCH] big cleanup of internal udev apikay.sievers@vrfy.org
Here is the first patch to cleanup the internal processing of the various stages of an udev event. It should not change any behavior, but if your system depends on udev, please always test it before reboot :) We pass only one generic structure around between add, remove, namedev, db and dev_d handling and make all relevant data available to all internal stages. All udev structures are renamed to "udev". We replace the fake parameter by a flag in the udev structure. We open the class device in the main binaries and not in udev_add, to make it possible to use libsysfs for udevstart directory crawling. The last sleep parameters are removed.
2005-04-26[PATCH] fix up the wait_for_sysfs_test script a bit.greg@kroah.com
We also emit the same things the -mm tree does now, so to make that easier to test for.
2005-04-26[PATCH] don't wait for dummy deviceskay.sievers@vrfy.org
No need to wait for dummy net devices.
2005-04-26[PATCH] close the syslogkay.sievers@vrfy.org
Seems that we never closed the opened syslog. Here is a patch to do this in all our binaries.
2005-04-26[PATCH] Fix ppp net devices in wait_for_sysfskay.sievers@vrfy.org
On Sat, Oct 16, 2004 at 10:32:47AM -0500, Jason Dravet wrote: > FYI > > wait_for_sysfs[2986]: either wait_for_sysfs (udev 038) needs an update to > handle the device '/class/ppp/ppp' properly (5) or the sysfs-support of > your device's driver needs to be fixed, please report to > <linux-hotplug-devel@lists.sourceforge.net> > > I am running udev 38-2 and ppp-2.4.2-6.3 Yeah, the ppp-class is missing, we only covered the net ppp-devices.
2005-04-26[PATCH] Fix wait_for_sysfs messages (more debugging info)kay.sievers@vrfy.org
On Sat, Oct 16, 2004 at 02:48:42PM -0400, Jeff wrote: > Kay Sievers wrote: > >On Sat, Oct 16, 2004 at 04:40:51AM +0200, Kay Sievers wrote: > > > >Here is a better version. We return successful in the case, that the > >advertised device does not appear within the timeout or goes completely > >away while waiting for the attributes. All magic numbers should be > >readable as a string now. > > > >This hopefully fixes the last vc errors. > > > K, first patch produced a couple of device unavailables & a slew of no > device symlinks. Second patch-no messages at all :) > > Thank god, if I have to reboot again I'm going to puke. Nice to hear that we covered all the vc errors now. I think we should apply the same logic to the /devices device wait loops, as they may go with a remove event too. Here is the 3rd version of the patch :)
2005-04-26[PATCH] 039 releaseudev/v039greg@kroah.com
2005-04-26[PATCH] update udev to scsi_id 0.7patmans@us.ibm.com
Update udev's scsi_id to version 0.7, this fixes a bad bug in scsi_id on 64 bit systems.