Hello community, here is the log from the commit of package udev for openSUSE:Factory checked in at Fri Feb 5 13:56:35 CET 2010. -------- --- udev/udev.changes 2010-01-27 10:31:34.000000000 +0100 +++ /mounts/work_src_done/STABLE/udev/udev.changes 2010-02-05 01:29:32.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Feb 5 01:24:58 CET 2010 - kay.sievers@novell.com + +- fix firmware loading issue (bnc#574904) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- udev-firmware-timout-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ udev.spec ++++++ --- /var/tmp/diff_new_pack.TsDNt8/_old 2010-02-05 13:56:07.000000000 +0100 +++ /var/tmp/diff_new_pack.TsDNt8/_new 2010-02-05 13:56:07.000000000 +0100 @@ -21,7 +21,7 @@ Name: udev Url: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html Version: 151 -Release: 1 +Release: 2 License: GPLv2+ Group: System/Kernel Summary: A rule-based device node and kernel event manager @@ -39,6 +39,7 @@ Source2: baselibs.conf Source60: boot.udev Source61: boot.udev_retry +Patch0: udev-firmware-timout-fix.patch %description Udev creates and removes device nodes in /dev for devices discovered or @@ -90,6 +91,7 @@ %prep %setup -q +%patch0 -p1 %build # prevent man pages from re-building (xmlto) ++++++ udev-firmware-timout-fix.patch ++++++
From 86a7a2f853fe6022c5b0c1b415918047b65533be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20B=C3=A4chler?=
Date: Sun, 31 Jan 2010 13:49:02 +0100 Subject: [PATCH] firmware: fix error reporting on missing firmware files
The new firmware loader does not report an error to the kernel if a firmware file is missing. This results in modprobe stalling for 60 seconds for each firmware a module tries to load. --- extras/firmware/firmware.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/extras/firmware/firmware.c b/extras/firmware/firmware.c index 8f70be4..16455de 100644 --- a/extras/firmware/firmware.c +++ b/extras/firmware/firmware.c @@ -149,6 +149,7 @@ int main(int argc, char **argv) util_path_encode(firmware, fwencpath, sizeof(fwencpath)); util_strscpyl(misspath, sizeof(misspath), udev_get_dev_path(udev), "/.udev/firmware-missing/", fwencpath, NULL); + util_strscpyl(loadpath, sizeof(loadpath), udev_get_sys_path(udev), devpath, "/loading", NULL); if (fwfile == NULL) { int err; @@ -166,6 +167,7 @@ int main(int argc, char **argv) udev_selinux_resetfscreatecon(udev); } while (err == -ENOENT); rc = 2; + set_loading(udev, loadpath, "-1"); goto exit; } @@ -176,7 +178,6 @@ int main(int argc, char **argv) if (unlink(misspath) == 0) util_delete_path(udev, misspath); - util_strscpyl(loadpath, sizeof(loadpath), udev_get_sys_path(udev), devpath, "/loading", NULL); set_loading(udev, loadpath, "1"); util_strscpyl(datapath, sizeof(datapath), udev_get_sys_path(udev), devpath, "/data", NULL); -- 1.6.6.1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org