Commit Graph

219 Commits

Author SHA1 Message Date
greg@kroah.com
6fbecf3547 [PATCH] 047 release 2005-04-26 23:13:47 -07:00
greg@kroah.com
3efc93cc40 [PATCH] Fix the multithreaded build again... 2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
c64081980e [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.
2005-04-26 23:06:10 -07:00
kay.sievers@vrfy.org
9aa0485c97 [PATCH] remove archive file if we changed something 2005-04-26 22:44:26 -07:00
kay.sievers@vrfy.org
7c2aae11ff [PATCH] link archive insted of objects
This cuts the size of the binaries, as only objects that
are actually used are linked into the binary:

 45592 -> 43608 udev
  4380 ->  4380 udevsend
 10380 ->  4652 udevd
 34732 -> 33100 udevinfo
 45432 -> 37208 udevtest
2005-04-26 22:44:08 -07:00
kay.sievers@vrfy.org
9af5bb2f8f [PATCH] rename udev_lib to udev_utils and dev_d to udev_multiplex 2005-04-26 22:44:02 -07:00
kay.sievers@vrfy.org
c449b25e3f [PATCH] integrate wait_for_sysfs in udev
Move the wait_for_sysfs logic into the udev binary. udev is called for
every hotplug event. It also waits for /devices events.
2005-04-26 22:37:37 -07:00
greg@kroah.com
ff5761c972 [PATCH] fix parallel build error 2005-04-26 22:30:28 -07:00
greg@kroah.com
162c0ee8b9 [PATCH] 046 release 2005-04-26 22:30:28 -07:00
kay.sievers@vrfy.org
7225821d63 [PATCH] disable logging for udevstart
The slow logging facilites on some systems are a reason for
the reported slowness of udevstart. On one of my boxes udevstart
is down from 9 second to 0.3 seconds.
2005-04-26 22:27:34 -07:00
kay.sievers@vrfy.org
02fa9ae589 [PATCH] rename udevdb* to udev_db* 2005-04-26 22:25:14 -07:00
kay.sievers@vrfy.org
13f24d596c [PATCH] remove udev_lib dependency from udevsend, which makes it smaller 2005-04-26 22:24:30 -07:00
greg@kroah.com
04b49aab9a [PATCH] make spotless for releases. 2005-04-26 22:18:23 -07:00
kay.sievers@vrfy.org
2b41e68a08 [PATCH] replace tdb database by simple lockless file database
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 22:16:40 -07:00
greg@kroah.com
482b0ecd8f [PATCH] 045 release 2005-04-26 22:12:45 -07:00
greg@kroah.com
0bac7bab72 [PATCH] 044 release 2005-04-26 22:12:34 -07:00
greg@kroah.com
5ca6ff6457 [PATCH] 043 release 2005-04-26 22:12:10 -07:00
greg@kroah.com
e9f653894e [PATCH] remove 'sudo' usage from the Makefile
should fix a lot of gentoo bug reports
2005-04-26 22:09:26 -07:00
greg@kroah.com
bd842ba41a [PATCH] add test target to makefile
Will help distros that have a test phase of their build.
2005-04-26 22:08:27 -07:00
greg@kroah.com
1a04bce13a [PATCH] 042 release
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 22:08:27 -07:00
kay.sievers@vrfy.org
993a633ab8 [PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f8c1ccde6a [PATCH] improve klibc fixup integration 2005-04-26 22:06:44 -07:00
kay.sievers@vrfy.org
f071348004 [PATCH] expose sysfs functions for sharing it
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 22:06:44 -07:00
greg@kroah.com
796ed8851b [PATCH] 040 release 2005-04-26 22:06:44 -07:00
greg@kroah.com
4a33024799 [PATCH] 039 release 2005-04-26 22:02:45 -07:00
greg@kroah.com
396bb4c3d3 [PATCH] let the extras/ programs build "pretty" also 2005-04-26 22:02:45 -07:00
patmans@us.ibm.com
125930b454 [PATCH] pass SYSFS setting down for extras builds
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 22:02:45 -07:00
greg@kroah.com
31a6e02871 [PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the config and man page mess. 2005-04-26 22:02:44 -07:00
kay.sievers@vrfy.org
32935a50ea [PATCH] delete udevruler?
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 22:02:44 -07:00
greg@kroah.com
053083431f [PATCH] fix broken 'make -j5' functionality. 2005-04-26 22:02:44 -07:00
kay.sievers@vrfy.org
218f11bcf1 [PATCH] Makefile fix
Remove the rest of the debian stuff too, to make install working again.
2005-04-26 22:02:44 -07:00
greg@kroah.com
817c223af3 [PATCH] 038 release 2005-04-26 22:02:44 -07:00
greg@kroah.com
c008fe93f5 [PATCH] fix up error in building extras and libsysfs 2005-04-26 21:58:15 -07:00
greg@kroah.com
e457f010b1 [PATCH] 037 release 2005-04-26 21:58:15 -07:00
mbuesch@freenet.de
e5a5b54ab6 [PATCH] fix asmlinkage
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 21:55:39 -07:00
greg@kroah.com
c36f0ac34f [PATCH] a few more Makefile tweaks for the quiet feature. 2005-04-26 21:47:44 -07:00
greg@kroah.com
c04a16479f [PATCH] Make the build silent, thanks to a helper program from ncftp 2005-04-26 21:47:44 -07:00
greg@kroah.com
c850706e84 [PATCH] rename files to have '_' instead of '-' in them.
We should be consistent in our madness...
2005-04-26 21:47:44 -07:00
greg@kroah.com
a5e425369c [PATCH] fix up Makefile for wait_for_sysfs udev_version.h dependancy 2005-04-26 21:47:44 -07:00
greg@kroah.com
b808414477 [PATCH] 036 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
858e0e81d0 [PATCH] 035 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
d1f382f026 [PATCH] 034 release 2005-04-26 21:37:04 -07:00
greg@kroah.com
bab16df879 [PATCH] 33_bk mark for the makefile 2005-04-26 21:37:04 -07:00
greg@kroah.com
5cb8eb82e0 [PATCH] 033 release 2005-04-26 21:37:03 -07:00
kay.sievers@vrfy.org
e629ca3f49 [PATCH] wait_for_sysfs debug cleanup
> Sorry, I left my debug code in.

Oops, just realized it now. You've applied a older version and not the
latest. Here is a new patch to catch up.
2005-04-26 21:37:03 -07:00
greg@kroah.com
12901d995f [PATCH] enable native tdb spinlocks on i386 platforms.
also clean out some stuff in the makefile that was never getting used.
2005-04-26 21:37:03 -07:00
harald@redhat.com
9825617b07 [PATCH] PATCH selinux for udev
Daniel Walsh's working selinux patch
2005-04-26 21:37:02 -07:00
kpfleming@backtobasicsmgmt.com
b889880073 [PATCH] respect prefix= setting in built udev.conf (updated)
Here is a revised version of the patch. Again, it modifies the Makefile
to respect the prefix= setting when putting paths to
/etc/udev/{rules.s,permissions.d} into the built /etc/udev/udev.conf
file. It also changes the Makefile to create this file at "make" time,
not "make install" time. This allows for udevdir to be specified at
"make" time (thus putting the correct path into udev.conf), but not
specified at "make install" time (thus allowing the installation to
proceed without trying to use the wrong directory).

 Submitted By: Kevin P. Fleming <kpfleming@linuxfromscratch.org>
 Date: 2004-09-16
 Initial Package Version: 032
 Origin: David Jensen
 Description: correct udev's Makefile and template config file
 to respect the "prefix=" setting supplied when it is built; also
 build etc/udev/udev.conf at "make" time, not "make install" time
2005-04-26 21:37:02 -07:00
kay.sievers@vrfy.org
a8b5267a62 [PATCH] finally solve the bad sysfs-timing for all of us
On Tue, Sep 21, 2004 at 07:17:34PM +0200, Kay Sievers wrote:
> During the integration of HAL into the linux hotplug system, we dicover
> every week a new signaling path that fails cause of the delayed
> population of the sysfs files, which are connected by symlinks and
> appear in something like a random order in userspace.
>
> It's pretty complicated to understand the connection between all these
> files for all the different subsystems with all the exceptions, so most
> of the users simply sleep a few seconds, but that is not acceptable for
> our integration work.
>
> Here I try to get all the special knowledge about that behavior together
> and place that in a simple binary. That program _must_ run first of all
> other hotplug processsing and every later script, udev or HAL all can get
> rid of the wild guesses about the right time sysfs is ready.
>
> It will not only wait for the "dev"-file events we handle with udev, also
> for every /device-device with the corresponding bus link.
>
> It is provided as a patch against the current udev tree and a "install" will
> place the new program in the hotplug.d directory:
>
>   [kay@pim ~]$ tree /etc/hotplug.d/
>   /etc/hotplug.d/
>   `-- default
>       |-- 00-wait_for_sysfs.hotplug -> /sbin/wait_for_sysfs
>       |-- 10-udev.hotplug -> /sbin/udevsend
>       |-- 20-hal.hotplug -> /usr/libexec/hal.hotplug
>       |-- default.hotplug
>       `-- log.hotplug
>
>
> For now, it logs the result of the waiting to syslog, to catch any
> device, that needs special treatment. All newly discovered delay problems,
> device black/whitelist updates should go into that program and we may remove
> that kind of specialisation from all the other hotplug programs.
>
> Any patches, reports, testing is more than welcome.
>
> Sample debug:
>   Sep 21 18:44:07 localhost kernel: usb 3-2: new full speed USB device using address 12
>   Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: USB hub found
>   Sep 21 18:44:07 localhost kernel: hub 3-2:1.0: 2 ports detected
>   Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2'
>   Sep 21 18:44:07 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0'
>   Sep 21 18:44:08 localhost kernel: usb 3-2.1: new full speed USB device using address 13
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/usb/lp0'
>   Sep 21 18:44:08 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 13 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1/3-2.1:1.0'
>   Sep 21 18:44:08 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.1'
>   Sep 21 18:44:08 localhost udev: configured rule in '/etc/udev/rules.d/50-udev.rules' at line 29 applied, 'lp0' becomes 'usb/%k'
>   Sep 21 18:44:08 localhost udev: creating device node '/udev/usb/lp0'
>   Sep 21 18:44:09 localhost kernel: usb 3-2.2: new full speed USB device using address 14
>   Sep 21 18:44:09 localhost kernel: pl2303 3-2.2:1.0: PL-2303 converter detected
>   Sep 21 18:44:09 localhost kernel: usb 3-2.2: PL-2303 converter now attached to ttyUSB0
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2.2/3-2.2:1.0/ttyUSB0'
>   Sep 21 18:44:09 localhost 00-wait_for_sysfs.hotplug: result: waiting for sysfs successful '/class/tty/ttyUSB0'
>   Sep 21 18:44:09 localhost udev: creating device node '/udev/ttyUSB0'

New version with more devices excluded from /device-link saerch and
a better maching for device names.
2005-04-26 21:37:02 -07:00
greg@kroah.com
e7c4f85f8a [PATCH] fix up Makefiles to get the klibc build working properly.
Based on a patch from Kay Sievers <kay.sievers@vrfy.org>
2005-04-26 21:37:02 -07:00