]> err.no Git - systemd/log
systemd
19 years ago[PATCH] disable logging for udevstart
kay.sievers@vrfy.org [Sat, 13 Nov 2004 13:51:10 +0000 (14:51 +0100)]
[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.

19 years ago[PATCH] add NAME{ignore_remove} attribute
kay.sievers@vrfy.org [Sat, 13 Nov 2004 13:43:24 +0000 (14:43 +0100)]
[PATCH] add NAME{ignore_remove} attribute

Some broken ide drivers are generating high event traffic, with
add/remove events. With this attribute, it can be specified,
that the node is always available. It may be used in conjunction
with the new DRIVER= match to catch specific kernel device drivers.

19 years ago[PATCH] remove historical SYSFS_attr="value" format
kay.sievers@vrfy.org [Sat, 13 Nov 2004 11:50:44 +0000 (12:50 +0100)]
[PATCH] remove historical SYSFS_attr="value" format

This is long ago replaced by the unified key attribute
format SYSFS{attr}="value".

19 years ago[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to expect
kay.sievers@vrfy.org [Sat, 13 Nov 2004 11:36:47 +0000 (12:36 +0100)]
[PATCH] don't wait for sysfs if the kernel(2.6.10-rc2) tells us what not to expect

Newer kernels will tell us if we should wait for the "device" or
the "bus" link. So don't waste the time with our lists or wait
for the timeout.

19 years ago[PATCH] support DRIVER as a rule key
kay.sievers@vrfy.org [Sat, 13 Nov 2004 04:21:12 +0000 (05:21 +0100)]
[PATCH] support DRIVER as a rule key

Match with a rule against a device with a specific kernel driver.

19 years ago[PATCH] support SUBSYSTEM as a rule key
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:52:55 +0000 (06:52 +0100)]
[PATCH] support SUBSYSTEM as a rule key

This should make it easier to catch e.g all block or net devices with
a single rule.

19 years ago[PATCH] rename udevdb* to udev_db*
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:32:19 +0000 (06:32 +0100)]
[PATCH] rename udevdb* to udev_db*

19 years ago[PATCH] Make dev.d/ handling a separate processing stage
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:21:16 +0000 (06:21 +0100)]
[PATCH] Make dev.d/ handling a separate processing stage

Move the logic when and how to call the dev.d/ scripts into the
main processing path.

19 years ago[PATCH] make the udev object available to more processing stages
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:20:22 +0000 (06:20 +0100)]
[PATCH] make the udev object available to more processing stages

Remove the overwriting of main_argv[] hack and use the values
from the udev object.

Pass the udev object to call_foreach_file().

In the udevstart case, export SUBSYSTEM and UDEVSTART to the
environment.

19 years ago[PATCH] remove udev_lib dependency from udevsend, which makes it smaller
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:18:28 +0000 (06:18 +0100)]
[PATCH] remove udev_lib dependency from udevsend, which makes it smaller

19 years ago[PATCH] add ACTION to udev object to expose it to the whole process
kay.sievers@vrfy.org [Fri, 12 Nov 2004 05:17:35 +0000 (06:17 +0100)]
[PATCH] add ACTION to udev object to expose it to the whole process

19 years ago[PATCH] make udevinfo's -r option also workimg for symlink queries
kay.sievers@vrfy.org [Wed, 10 Nov 2004 09:19:39 +0000 (10:19 +0100)]
[PATCH] make udevinfo's -r option also workimg for symlink queries

[kay@pim udev.kay]$ ./udevinfo -r -q symlink -p /class/video4linux/video0
/dev/camera0 /dev/kamera0 /dev/videocam0 /dev/webcam0

[kay@pim udev.kay]$ ./udevinfo -q symlink -p /class/video4linux/video0
camera0 kamera0 videocam0 webcam0

19 years ago[PATCH] let udev act as udevstart if argv[1] == "udevstart"
kay.sievers@vrfy.org [Wed, 10 Nov 2004 08:44:58 +0000 (09:44 +0100)]
[PATCH] let udev act as udevstart if argv[1] == "udevstart"

"udev udevstart" will run udev as udevstart. This makes it easier
to run a test in the source tree without the need to create a
symlink.

19 years ago[PATCH] improve udevinfo sysfs info walk
kay.sievers@vrfy.org [Wed, 10 Nov 2004 01:15:27 +0000 (02:15 +0100)]
[PATCH] improve udevinfo sysfs info walk

19 years ago[PATCH] add sysfs info walk to udevinfo
kay.sievers@vrfy.org [Tue, 9 Nov 2004 11:11:46 +0000 (12:11 +0100)]
[PATCH] add sysfs info walk to udevinfo

The option "-s" will get information about the major/minor,
the physical device, the bus value and the driver from sysfs for
all class and block devices:

kay@pim udev.kay]$ ./udevinfo -s

DEVPATH        '/sys/block/sda'
SUBSYSTEM      'block'
NAME           'sda'
MAJORMINOR     '8:0'
PHYSDEVPATH    '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:0'
PHYSDEVPATHBUS 'scsi'
DRIVER         'sd'

DEVPATH        '/sys/class/input/mice'
SUBSYSTEM      'input'
NAME           'mice'
MAJORMINOR     '13:63'

DEVPATH        '/sys/class/input/mouse0'
SUBSYSTEM      'input'
NAME           'mouse0'
MAJORMINOR     '13:32'

...

19 years ago[PATCH] pass the whole event environment to udevd
kay.sievers@vrfy.org [Sat, 6 Nov 2004 13:30:15 +0000 (14:30 +0100)]
[PATCH] pass the whole event environment to udevd

Make _all_ hotplug variables available to the forked udev,
the udev callouts and the udev dev.d/ scripts. We put the
whole environment into a buffer and send it over the udevd
socket. udevd recreates *envp[] and passes it to the exec().

19 years ago[PATCH] make spotless for releases.
greg@kroah.com [Sat, 13 Nov 2004 07:43:34 +0000 (23:43 -0800)]
[PATCH] make spotless for releases.

19 years ago[PATCH] replace tdb database by simple lockless file database
kay.sievers@vrfy.org [Sat, 6 Nov 2004 13:28:01 +0000 (14:28 +0100)]
[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.

19 years ago[PATCH] 045 release 045
greg@kroah.com [Thu, 18 Nov 2004 03:28:03 +0000 (19:28 -0800)]
[PATCH] 045 release

19 years ago[PATCH] Some updates for Gentoo's udev rules
azarah@nosferatu.za.org [Thu, 18 Nov 2004 03:10:07 +0000 (19:10 -0800)]
[PATCH] Some updates for Gentoo's udev rules

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.

19 years ago[PATCH] 044 release 044
greg@kroah.com [Thu, 11 Nov 2004 03:38:07 +0000 (19:38 -0800)]
[PATCH] 044 release

19 years ago[PATCH] 043 release 043
greg@kroah.com [Fri, 5 Nov 2004 14:52:53 +0000 (06:52 -0800)]
[PATCH] 043 release

19 years ago[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd
kay.sievers@vrfy.org [Thu, 11 Nov 2004 03:05:20 +0000 (19:05 -0800)]
[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd

19 years ago[PATCH] add i2c-dev to the list of devices without a bus
kay.sievers@vrfy.org [Thu, 11 Nov 2004 03:04:38 +0000 (19:04 -0800)]
[PATCH] add i2c-dev to the list of devices without a bus

19 years ago[PATCH] add cdsymlinks.sh support to gentoo rules file.
greg@kroah.com [Thu, 11 Nov 2004 02:46:01 +0000 (18:46 -0800)]
[PATCH] add cdsymlinks.sh support to gentoo rules file.

19 years ago[PATCH] fix gentoo legacy tty rule
greg@kroah.com [Thu, 11 Nov 2004 02:13:11 +0000 (18:13 -0800)]
[PATCH] fix gentoo legacy tty rule

I thought I had fixed this a long time ago...

19 years ago[PATCH] remove 'sudo' usage from the Makefile
greg@kroah.com [Thu, 11 Nov 2004 02:11:40 +0000 (18:11 -0800)]
[PATCH] remove 'sudo' usage from the Makefile

should fix a lot of gentoo bug reports

19 years ago[PATCH] make udev-test.pl test for root permissions before running
greg@kroah.com [Thu, 11 Nov 2004 02:11:00 +0000 (18:11 -0800)]
[PATCH] make udev-test.pl test for root permissions before running

Should prevent false error reports from happening.

19 years ago[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possible
kay.sievers@vrfy.org [Fri, 5 Nov 2004 12:17:30 +0000 (13:17 +0100)]
[PATCH] Shut up wait_for_sysfs class/net failure messages, as it's not possible

19 years ago[PATCH] wait() for specific pid to return from fork().
kay.sievers@vrfy.org [Fri, 5 Nov 2004 12:16:56 +0000 (13:16 +0100)]
[PATCH] wait() for specific pid to return from fork().

19 years ago[PATCH] Don't use any syslog() in signal handler, cause it may deadlock.
kay.sievers@vrfy.org [Fri, 5 Nov 2004 12:16:32 +0000 (13:16 +0100)]
[PATCH] Don't use any syslog() in signal handler, cause it may deadlock.

19 years ago[PATCH] Add support for highpoint ataraid to volume_id to suppress
kay.sievers@vrfy.org [Tue, 2 Nov 2004 09:22:11 +0000 (10:22 +0100)]
[PATCH] Add support for highpoint ataraid to volume_id to suppress

19 years ago[PATCH] Add a bunch of devices without "device" symlinks.
kay.sievers@vrfy.org [Tue, 2 Nov 2004 09:20:31 +0000 (10:20 +0100)]
[PATCH] Add a bunch of devices without "device" symlinks.

19 years ago[PATCH] Exit, if udevtest cannot open the device (segfault).
kay.sievers@vrfy.org [Sat, 30 Oct 2004 11:44:46 +0000 (13:44 +0200)]
[PATCH] Exit, if udevtest cannot open the device (segfault).

19 years ago[PATCH] Patches from Harald Hoyer <harald@redhat.com>.
kay.sievers@vrfy.org [Sat, 30 Oct 2004 11:37:48 +0000 (13:37 +0200)]
[PATCH] Patches from Harald Hoyer <harald@redhat.com>.

19 years ago[PATCH] Apply the default permissions even if we found a entry in
kay.sievers@vrfy.org [Sat, 30 Oct 2004 11:33:06 +0000 (13:33 +0200)]
[PATCH] Apply the default permissions even if we found a entry in

19 years ago[PATCH] add test for format chars in multiple symlinks to replace
kay.sievers@vrfy.org [Sat, 30 Oct 2004 11:29:52 +0000 (13:29 +0200)]
[PATCH] add test for format chars in multiple symlinks to replace

19 years ago[PATCH] Add net/vmnet and class/zaptel to the list of devices without physical device
kay.sievers@vrfy.org [Sat, 30 Oct 2004 11:27:36 +0000 (13:27 +0200)]
[PATCH] Add net/vmnet and class/zaptel to the list of devices without physical device

19 years ago[PATCH] add test target to makefile
greg@kroah.com [Thu, 28 Oct 2004 15:19:13 +0000 (10:19 -0500)]
[PATCH] add test target to makefile

Will help distros that have a test phase of their build.

19 years ago[PATCH] add dumb script to show all sysfs devices in the system.
greg@kroah.com [Mon, 25 Oct 2004 14:53:15 +0000 (07:53 -0700)]
[PATCH] add dumb script to show all sysfs devices in the system.

19 years ago[PATCH] 042 release 042
greg@kroah.com [Sat, 23 Oct 2004 13:44:29 +0000 (06:44 -0700)]
[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...

19 years ago[PATCH] add inotify to the rules for gentoo
greg@kroah.com [Sat, 23 Oct 2004 12:44:44 +0000 (05:44 -0700)]
[PATCH] add inotify to the rules for gentoo

19 years ago[PATCH] Remove the last klibc specific line from the main udev code
kay.sievers@vrfy.org [Wed, 20 Oct 2004 12:13:33 +0000 (14:13 +0200)]
[PATCH] Remove the last klibc specific line from the main udev code

19 years ago[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup
kay.sievers@vrfy.org [Wed, 20 Oct 2004 11:15:26 +0000 (13:15 +0200)]
[PATCH] update to libsysfs 1.2.0 and add some stuff klib_fixup

19 years ago[PATCH] improve klibc fixup integration
kay.sievers@vrfy.org [Wed, 20 Oct 2004 09:59:11 +0000 (11:59 +0200)]
[PATCH] improve klibc fixup integration

19 years ago[PATCH] cleanup udevd/udevstart
kay.sievers@vrfy.org [Tue, 19 Oct 2004 11:37:30 +0000 (04:37 -0700)]
[PATCH] cleanup udevd/udevstart

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.

19 years ago[PATCH] skip waiting for device if we get a bad event for class creation
kay.sievers@vrfy.org [Sat, 23 Oct 2004 10:15:22 +0000 (12:15 +0200)]
[PATCH] skip waiting for device if we get a bad event for class creation

19 years ago[PATCH] add net/pan and net/bnep handling
kay.sievers@vrfy.org [Sat, 23 Oct 2004 10:13:01 +0000 (12:13 +0200)]
[PATCH] add net/pan and net/bnep handling

19 years ago[PATCH] switch wait for bus_file to stat() instead of open()
kay.sievers@vrfy.org [Sat, 23 Oct 2004 10:12:28 +0000 (12:12 +0200)]
[PATCH] switch wait for bus_file to stat() instead of open()

19 years ago[PATCH] expose sysfs functions for sharing it
kay.sievers@vrfy.org [Tue, 19 Oct 2004 11:37:22 +0000 (04:37 -0700)]
[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.

19 years ago[PATCH] 040 release 040
greg@kroah.com [Tue, 19 Oct 2004 08:20:30 +0000 (01:20 -0700)]
[PATCH] 040 release

19 years ago[PATCH] sparse cleanups on the tree
greg@kroah.com [Tue, 19 Oct 2004 06:14:20 +0000 (23:14 -0700)]
[PATCH] sparse cleanups on the tree

19 years ago[PATCH] fix debug in volume id / fix clashing global var name
kay.sievers@vrfy.org [Tue, 19 Oct 2004 05:57:41 +0000 (22:57 -0700)]
[PATCH] fix debug in volume id / fix clashing global var name

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.

19 years ago[PATCH] wait_for_sysfs update for dm devices
jk@blackdown.de [Tue, 19 Oct 2004 05:10:38 +0000 (22:10 -0700)]
[PATCH] wait_for_sysfs update for dm devices

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>
| [...]
`----

19 years ago[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes.
greg@kroah.com [Tue, 19 Oct 2004 04:42:23 +0000 (21:42 -0700)]
[PATCH] fix stupid cut-and-paste error for msr devices on gentoo boxes.

19 years ago[PATCH] volume_id fix
kay.sievers@vrfy.org [Tue, 19 Oct 2004 03:51:16 +0000 (20:51 -0700)]
[PATCH] volume_id fix

I've been told that open() should not pass O_NONBLOCK.

19 years ago[PATCH] $local user
kay.sievers@vrfy.org [Tue, 19 Oct 2004 03:51:13 +0000 (20:51 -0700)]
[PATCH] $local user

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 :)

19 years ago[PATCH] delete udevruler.c as per Kay's request.
greg@kroah.com [Tue, 19 Oct 2004 02:40:21 +0000 (19:40 -0700)]
[PATCH] delete udevruler.c as per Kay's request.

19 years ago[PATCH] cleanup netif handling and netif-dev.d/ events
kay.sievers@vrfy.org [Tue, 19 Oct 2004 02:28:39 +0000 (19:28 -0700)]
[PATCH] cleanup netif handling and netif-dev.d/ events

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.

19 years ago[PATCH] big cleanup of internal udev api
kay.sievers@vrfy.org [Tue, 19 Oct 2004 02:11:51 +0000 (19:11 -0700)]
[PATCH] big cleanup of internal udev api

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.

19 years ago[PATCH] fix up the wait_for_sysfs_test script a bit.
greg@kroah.com [Tue, 19 Oct 2004 02:04:20 +0000 (19:04 -0700)]
[PATCH] fix up the wait_for_sysfs_test script a bit.

We also emit the same things the -mm tree does now, so to make that easier
to test for.

19 years ago[PATCH] don't wait for dummy devices
kay.sievers@vrfy.org [Tue, 19 Oct 2004 01:16:12 +0000 (18:16 -0700)]
[PATCH] don't wait for dummy devices

No need to wait for dummy net devices.

19 years ago[PATCH] close the syslog
kay.sievers@vrfy.org [Tue, 19 Oct 2004 01:15:10 +0000 (18:15 -0700)]
[PATCH] close the syslog

Seems that we never closed the opened syslog.
Here is a patch to do this in all our binaries.

19 years ago[PATCH] Fix ppp net devices in wait_for_sysfs
kay.sievers@vrfy.org [Tue, 19 Oct 2004 01:13:40 +0000 (18:13 -0700)]
[PATCH] Fix ppp net devices in wait_for_sysfs

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.

19 years ago[PATCH] Fix wait_for_sysfs messages (more debugging info)
kay.sievers@vrfy.org [Tue, 19 Oct 2004 01:13:13 +0000 (18:13 -0700)]
[PATCH] Fix wait_for_sysfs messages (more debugging info)

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 :)

19 years ago[PATCH] 039 release 039
greg@kroah.com [Sat, 16 Oct 2004 06:08:08 +0000 (23:08 -0700)]
[PATCH] 039 release

19 years ago[PATCH] update udev to scsi_id 0.7
patmans@us.ibm.com [Sat, 16 Oct 2004 06:04:44 +0000 (23:04 -0700)]
[PATCH] update udev to scsi_id 0.7

Update udev's scsi_id to version 0.7, this fixes a bad bug in scsi_id on
64 bit systems.

19 years ago[PATCH] Hopefully fix the vcs issue in wait_for_sysfs
greg@kroah.com [Sat, 16 Oct 2004 05:54:12 +0000 (22:54 -0700)]
[PATCH] Hopefully fix the vcs issue in wait_for_sysfs

19 years ago[PATCH] take out & from wait_for_sysfs_test that I previously missed.
greg@kroah.com [Sat, 16 Oct 2004 05:38:46 +0000 (22:38 -0700)]
[PATCH] take out & from wait_for_sysfs_test that I previously missed.

19 years ago[PATCH] swich attribute open() to simple stat()
kay.sievers@vrfy.org [Sat, 16 Oct 2004 02:45:56 +0000 (19:45 -0700)]
[PATCH] swich attribute open() to simple stat()

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.

19 years ago[PATCH] add very nice cdsymlinks scripts.
greg@kroah.com [Sat, 16 Oct 2004 02:19:53 +0000 (19:19 -0700)]
[PATCH] add very nice cdsymlinks scripts.

These are from Darren Salt <linux@youmustbejoking.demon.co.uk>

19 years ago[PATCH] add some helper scripts for dvb and input devices.
greg@kroah.com [Sat, 16 Oct 2004 02:18:58 +0000 (19:18 -0700)]
[PATCH] add some helper scripts for dvb and input devices.

19 years ago[PATCH] add debian config files.
greg@kroah.com [Sat, 16 Oct 2004 02:18:25 +0000 (19:18 -0700)]
[PATCH] add debian config files.

taken from latest udev debian package.

19 years ago[PATCH] let the extras/ programs build "pretty" also
greg@kroah.com [Sat, 16 Oct 2004 01:49:27 +0000 (18:49 -0700)]
[PATCH] let the extras/ programs build "pretty" also

19 years ago[PATCH] pass SYSFS setting down for extras builds
patmans@us.ibm.com [Sat, 16 Oct 2004 01:42:53 +0000 (18:42 -0700)]
[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.

19 years ago[PATCH] tweak the ccdv program to handle files in subdirectories being built.
greg@kroah.com [Sat, 16 Oct 2004 01:42:42 +0000 (18:42 -0700)]
[PATCH] tweak the ccdv program to handle files in subdirectories being built.

19 years ago[PATCH] move assignments past local variables
patmans@us.ibm.com [Sat, 16 Oct 2004 01:18:54 +0000 (18:18 -0700)]
[PATCH] move assignments past local variables

I'm using an older C compiler, and it doesn't like assignments mixed with
declarations, but this is also a style cleanup.

19 years ago[PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the config...
greg@kroah.com [Sat, 16 Oct 2004 00:15:52 +0000 (17:15 -0700)]
[PATCH] crap, I messed up the 'sed' instances pretty badly, this fixes the config and man page mess.

19 years ago[PATCH] wait_for_sysfs update for /class/firmware and /class/net/irda devices
kay.sievers@vrfy.org [Fri, 15 Oct 2004 03:36:12 +0000 (20:36 -0700)]
[PATCH] wait_for_sysfs update for /class/firmware and /class/net/irda devices

update for /class/firmware and /class/net/irda devices

19 years ago[PATCH] fix unusual sysfs behavior for pcmcia_socket
kay.sievers@vrfy.org [Fri, 15 Oct 2004 03:36:10 +0000 (20:36 -0700)]
[PATCH] fix unusual sysfs behavior for pcmcia_socket

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.

19 years ago[PATCH] remove sleeps from udev as it is external now
kay.sievers@vrfy.org [Fri, 15 Oct 2004 03:36:07 +0000 (20:36 -0700)]
[PATCH] remove sleeps from udev as it is external now

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.

19 years ago[PATCH] delete udevruler?
kay.sievers@vrfy.org [Fri, 15 Oct 2004 03:36:04 +0000 (20:36 -0700)]
[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.

19 years ago[PATCH] fix broken 'make -j5' functionality.
greg@kroah.com [Fri, 15 Oct 2004 02:42:52 +0000 (19:42 -0700)]
[PATCH] fix broken 'make -j5' functionality.

19 years ago[PATCH] Makefile fix
kay.sievers@vrfy.org [Thu, 14 Oct 2004 08:42:33 +0000 (01:42 -0700)]
[PATCH] Makefile fix

Remove the rest of the debian stuff too, to make install working again.

19 years ago[PATCH] 038 release 038
greg@kroah.com [Thu, 14 Oct 2004 07:49:55 +0000 (00:49 -0700)]
[PATCH] 038 release

19 years ago[PATCH] Problem parsing %s in udev rules
andrew.patterson@hp.com [Thu, 14 Oct 2004 07:47:38 +0000 (00:47 -0700)]
[PATCH] Problem parsing %s in udev rules

> > > > 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.

19 years ago[PATCH] fix up error in building extras and libsysfs
greg@kroah.com [Thu, 14 Oct 2004 07:38:08 +0000 (00:38 -0700)]
[PATCH] fix up error in building extras and libsysfs

19 years ago[PATCH] 037 release 037
greg@kroah.com [Thu, 14 Oct 2004 06:58:54 +0000 (23:58 -0700)]
[PATCH] 037 release

19 years ago[PATCH] fix compilation warning in tdb log message.
greg@kroah.com [Thu, 14 Oct 2004 06:26:05 +0000 (23:26 -0700)]
[PATCH] fix compilation warning in tdb log message.

19 years ago[PATCH] Fix build error with klibc due to recent changes.
greg@kroah.com [Thu, 14 Oct 2004 06:22:37 +0000 (23:22 -0700)]
[PATCH] Fix build error with klibc due to recent changes.

19 years ago[PATCH] merge
greg@kroah.com [Thu, 14 Oct 2004 06:16:02 +0000 (23:16 -0700)]
[PATCH] merge

19 years ago[PATCH] add wait_for_sysfs test script to the tarball to help people debug their...
greg@kroah.com [Thu, 14 Oct 2004 05:52:08 +0000 (22:52 -0700)]
[PATCH] add wait_for_sysfs test script to the tarball to help people debug their boxes.

19 years ago[PATCH] add ipsec to wait_for_sysfs ignore list.
greg@kroah.com [Thu, 14 Oct 2004 05:51:41 +0000 (22:51 -0700)]
[PATCH] add ipsec to wait_for_sysfs ignore list.

19 years ago[PATCH] fix asmlinkage
mbuesch@freenet.de [Thu, 14 Oct 2004 05:38:15 +0000 (22:38 -0700)]
[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.

19 years ago[PATCH] fix incompatible pointer type warning
mbuesch@freenet.de [Thu, 14 Oct 2004 05:37:59 +0000 (22:37 -0700)]
[PATCH] fix incompatible pointer type warning

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'

19 years ago[PATCH] prevent deadlocks on an corrupt udev database
kay.sievers@vrfy.org [Thu, 14 Oct 2004 06:13:26 +0000 (23:13 -0700)]
[PATCH] prevent deadlocks on an corrupt udev database

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()

19 years ago[PATCH] a few more Makefile tweaks for the quiet feature.
greg@kroah.com [Thu, 14 Oct 2004 05:33:09 +0000 (22:33 -0700)]
[PATCH] a few more Makefile tweaks for the quiet feature.

19 years ago[PATCH] Make the build silent, thanks to a helper program from ncftp
greg@kroah.com [Thu, 14 Oct 2004 05:28:06 +0000 (22:28 -0700)]
[PATCH] Make the build silent, thanks to a helper program from ncftp

19 years ago[PATCH] rename files to have '_' instead of '-' in them.
greg@kroah.com [Thu, 14 Oct 2004 04:25:11 +0000 (21:25 -0700)]
[PATCH] rename files to have '_' instead of '-' in them.

We should be consistent in our madness...

19 years ago[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully handle...
greg@kroah.com [Thu, 14 Oct 2004 04:19:49 +0000 (21:19 -0700)]
[PATCH] change max time to wait in wait_for_sysfs to 10 seconds to hopefully handle some slow machines.