ALT Linux Bugzilla
– Attachment 3845 Details for
Bug 21416
На некоторых машинаx не срабатывает udev.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
workaround
0001-Add-udev-starting-check-and-sleep-after-udev-start.patch (text/plain), 723 bytes, created by
Michail Yakushin
on 2009-09-04 13:29:17 MSD
(
hide
)
Description:
workaround
Filename:
MIME Type:
Creator:
Michail Yakushin
Created:
2009-09-04 13:29:17 MSD
Size:
723 bytes
patch
obsolete
>From 584d3bdbf03b29b41bd2959003b00ac08371c76f Mon Sep 17 00:00:00 2001 >From: Michail Yakushin <silicium@altlinux.org> >Date: Fri, 4 Sep 2009 13:17:51 +0400 >Subject: [PATCH] Add udev starting check and sleep after udev start. > > On some machines udev trigger not work without sleep. >--- > init.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/init.c b/init.c >index 998ccb3..c02b08a 100644 >--- a/init.c >+++ b/init.c >@@ -414,7 +414,9 @@ int main(int argc, char **argv) > printf("Spawning udevd..."); > > udevpid = spawn(udevd); >- >+ if(udevpid<0) >+ fatal("Udev"); >+ usleep(500); > if (mkdir("/dev/.udev/queue", 0755) < 0 && errno != EEXIST) > fatal("cannot create /dev/.udev/queue"); > >-- >1.6.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21416
: 3845