summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2005-04-26[PATCH] Hopefully fix the vcs issue in wait_for_sysfsgreg@kroah.com
2005-04-26[PATCH] take out & from wait_for_sysfs_test that I previously missed.greg@kroah.com
2005-04-26[PATCH] swich attribute open() to simple stat()kay.sievers@vrfy.org
Here we switch to a simple stat() to recognize the file creation. This will make it possible to wait for files, which are unreadable. I've switched the timout back to 5 seconds cause the our /class/vc errors seems like a bug in the vc layer not a sysfs delay.
2005-04-26[PATCH] add very nice cdsymlinks scripts.greg@kroah.com
These are from Darren Salt <linux@youmustbejoking.demon.co.uk>
2005-04-26[PATCH] add some helper scripts for dvb and input devices.greg@kroah.com
2005-04-26[PATCH] add debian config files.greg@kroah.com
taken from latest udev debian package.
2005-04-26[PATCH] let the extras/ programs build "pretty" alsogreg@kroah.com
2005-04-26[PATCH] pass SYSFS setting down for extras buildspatmans@us.ibm.com
Modify SYSFS to specify the full path, and pass it down for the extras builds. Change the scsi_id Makefile so it will work with and without udev.
2005-04-26[PATCH] tweak the ccdv program to handle files in subdirectories being built.greg@kroah.com
2005-04-26[PATCH] move assignments past local variablespatmans@us.ibm.com
I'm using an older C compiler, and it doesn't like assignments mixed with declarations, but this is also a style cleanup.
2005-04-26[PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the ↵greg@kroah.com
config and man page mess.
2005-04-26[PATCH] wait_for_sysfs update for /class/firmware and /class/net/irda deviceskay.sievers@vrfy.org
update for /class/firmware and /class/net/irda devices
2005-04-26[PATCH] fix unusual sysfs behavior for pcmcia_socketkay.sievers@vrfy.org
All files in /sys/class/pcmcia_socket/pcmcia_socket0/* are unreadable without a card inserted: read(3, 0x9167858, 4096) = -1 ENODEV (No such device) So we need to skip that step for now.
2005-04-26[PATCH] remove sleeps from udev as it is external nowkay.sievers@vrfy.org
Here we remove all the sysfs sleep loops from udev as wait_for_sysfs will do this for us and any other hotplug user. We still keep a small blacklist of subsystems we don't care about but any missing entry here will no longer lead to a spinning udev waiting for files.
2005-04-26[PATCH] delete udevruler?kay.sievers@vrfy.org
Hey, we got consistent source filenames today. Let's go ahead :) I once started this ambitiuos curses gui to edit udev rules files. udevruler still lays dead around in the tree. I will not finish it and it is not really useful at his state. If nobody wants to do something for it, I'm for deleting it.
2005-04-26[PATCH] fix broken 'make -j5' functionality.greg@kroah.com
2005-04-26[PATCH] Makefile fixkay.sievers@vrfy.org
Remove the rest of the debian stuff too, to make install working again.
2005-04-26[PATCH] 038 releaseudev/v038greg@kroah.com
2005-04-26[PATCH] Problem parsing %s in udev rulesandrew.patterson@hp.com
> > > > That explains the spaces. What about stuff trailing %s, if %s does not > > > > contain spaces. I.e, in the above example, model is ST336753LC and the > > > > resulting device file is /dev/scsi_disks/some-proceding-stuff- > > > > ST336753LC. > > > > > > I expect the model value has trailing spaces. > > > > > > You may look with: > > > udevinfo -a -p /block/sdX > > > > Yes it does, and it seems for most SCSI devices, vendor and model will > > have trailing spaces. > > It all depends on the vendor and model :) > > > I have included a patch to udev-036 to deal with > > this issue. It trims off trailing whitespace for all sysfs attributes. > > It might be better to trim off leading whitespace as well. > > We already trim it off when matching, but we also allow matching if you > do put the spaces in there. This patch breaks that, right? Correct, I have a new patch that trims after the comparison, so it should work in both cases.
2005-04-26[PATCH] fix up error in building extras and libsysfsgreg@kroah.com
2005-04-26[PATCH] 037 releaseudev/v037greg@kroah.com
2005-04-26[PATCH] fix compilation warning in tdb log message.greg@kroah.com
2005-04-26[PATCH] Fix build error with klibc due to recent changes.greg@kroah.com
2005-04-26[PATCH] mergegreg@kroah.com
2005-04-26[PATCH] add wait_for_sysfs test script to the tarball to help people debug ↵greg@kroah.com
their boxes.
2005-04-26[PATCH] add ipsec to wait_for_sysfs ignore list.greg@kroah.com
2005-04-26[PATCH] fix asmlinkagembuesch@freenet.de
This patch fixes the reintroduced bug with the sig_handler(), if we link against a -mregparm=3 compiled klibc on i386. It also fixes some compiler warnings about redefined asmlinkage on some systems. Also some (broken?) compilers on distros throw out warnings if asmlinkage is before "static void". This fixes it, too.
2005-04-26[PATCH] fix incompatible pointer type warningmbuesch@freenet.de
This patch fixes two warning: assignment from incompatible pointer type asmlinkage is the reason for the warning. We can simply cast to avoid it. It also fixes this warning: warning: implicit declaration of function `umask'
2005-04-26[PATCH] prevent deadlocks on an corrupt udev databasekay.sievers@vrfy.org
Here is the patch, that should prevent all of the known deadlocks with corrupt tdb databases we discovered. Thanks to Frank Steiner <fsteiner-mail@bio.ifi.lmu.de>, who tested all this endlessly with a NFS mounted /dev. The conclusion is, that udev will not work on filesystems without proper record locking, but we should prevent the endless loops anyway. This patch implements: o recovery from a corrupted udev database. udev will continue without database support now, instead of doing nothing. So the node should be generated in any case, remove will obviously not work for custom names. o added iteration limits to the tdb-code at the places we discovered endless loops. In the case tdb tries to find more than 100.000 entries with the same hash, we better give up :) o prevent a {all_partitions} loop caused by corrupt db data o log all tdb errors to syslog o switch sleep() to usleep() cause we want to use alarm()
2005-04-26[PATCH] a few more Makefile tweaks for the quiet feature.greg@kroah.com
2005-04-26[PATCH] Make the build silent, thanks to a helper program from ncftpgreg@kroah.com
2005-04-26[PATCH] rename files to have '_' instead of '-' in them.greg@kroah.com
We should be consistent in our madness...
2005-04-26[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully ↵greg@kroah.com
handle some slow machines.
2005-04-26[PATCH] add support for class/raw/ to wait_for_sysfsgreg@kroah.com