From: Sergey Bolshakov <sbolshakov@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Новый udev broken ?
Date: Mon, 10 May 2010 22:59:00 +0400
Message-ID: <m339xzd1mz.fsf@hammer.lioka.obninsk.ru> (raw)
In-Reply-To: <hpn1fh$5eu$1@dough.gmane.org> (Anton Farygin's message of "Fri, 09 Apr 2010 15:02:16 +0400")
>>>>> "Anton" == Anton Farygin <rider-u2l5PoMzF/VWk0Htik3J/w@public.gmane.org> writes:
> 09.04.2010 14:59, Valery V. Inozemtsev пишет:
>> В Птн, 09/04/2010 в 14:43 +0400, Anton Farygin пишет:
>>> Это только я один такой, у которого новый udev не работает в initrd ?
>>>
>>> Перегенерация initrd убивает напрочь загрузку...
>>
>> а поподробнее?
> Поподробнее - после запуска udevd из initrd:
> Error getting signalfd.
> и в /dev/ не создаются устройства.
Ещё более подробно (на i586):
(initramfs) strace udevd --debug
execve("/sbin/udevd", ["udevd", "--debug"], [/* 6 vars */]) = 0
mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0xb780f000
open("/etc/udev/udev.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/dev/kmsg", O_WRONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
getuid32() = 0
open("/dev/null", O_RDWR|O_LARGEFILE) = 3
write(1, NULL, 0) = 0
write(2, NULL, 0) = 0
socket(PF_FILE, SOCK_DGRAM, 0) = 4
bind(4, {sa_family=AF_FILE, path=@"/org/kernel/udev/udevd"}, 25) = 0
setsockopt(4, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
socket(PF_NETLINK, SOCK_DGRAM, 15) = 5
bind(5, {sa_family=AF_NETLINK, pid=0, groups=00000001}, 12) = 0
getsockname(5, {sa_family=AF_NETLINK, pid=926, groups=00000001}, [12]) = 0
setsockopt(5, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0
setsockopt(5, SOL_SOCKET, 0x21 /* SO_??? */, [134217728], 4) = 0
inotify_init() = 6
fcntl64(6, F_GETFD) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
inotify_add_watch(6, "/lib/udev/rules.d", IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE) = -1 ENOENT (No such file or directory)
inotify_add_watch(6, "/etc/udev/rules.d", IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE) = 1
stat64("/dev/.udev/rules.d", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
inotify_add_watch(6, "/dev/.udev/rules.d", IN_CLOSE_WRITE|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE) = 2
rename("/dev/.udev/watch", "/dev/.udev/watch.old") = -1 ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, ~[RT_1 RT_2 RT_3 RT_4 RT_5 RT_6 RT_7 RT_8 RT_9 RT_10 RT_11 RT_12 RT_13 RT_14 RT_15 RT_16 RT_17 RT_18 RT_19 RT_20 RT_21 RT_22 RT_23 RT_24 RT_25 RT_26 RT_27 RT_28 RT_29 RT_30 RT_31], 0x80580ac, 4) = -1 EINVAL (Invalid argument)
signalfd4(-1, ~[RT_1 RT_2 RT_3 RT_4 RT_5 RT_6 RT_7 RT_8 RT_9 RT_10 RT_11 RT_12 RT_13 RT_14 RT_15 RT_16 RT_17 RT_18 RT_19 RT_20 RT_21 RT_22 RT_23 RT_24 RT_25 RT_26 RT_27 RT_28 RT_29 RT_30 RT_31], 4, 0) = -1 EINVAL (Invalid argument)
write(2, "error getting signalfd\n", 23error getting signalfd
) = 23
close(4) = 0
close(0) = 0
close(0) = -1 EBADF (Bad file descriptor)
close(5) = 0
munmap(0xb780f000, 65536) = 0
_exit(5)
--
next prev parent reply other threads:[~2010-05-10 18:59 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-09 10:43 Anton Farygin
2010-04-09 10:45 ` Anton Farygin
2010-04-09 11:06 ` Valery V. Inozemtsev
2010-04-09 11:14 ` Anton Farygin
2010-04-09 11:18 ` Valery V. Inozemtsev
2010-04-09 11:27 ` Anton Farygin
2010-04-09 15:54 ` Alexey Borisenkov
2010-04-09 16:26 ` Dmitry V. Levin
2010-04-09 16:29 ` Anton Farygin
2010-04-09 16:33 ` Dmitry V. Levin
2010-04-09 16:48 ` Anton Farygin
2010-04-09 16:33 ` Dmitriy Kruglikov
2010-04-09 10:46 ` Dmitriy Kruglikov
2010-04-09 11:09 ` Valery V. Inozemtsev
2010-04-09 10:59 ` Valery V. Inozemtsev
2010-04-09 11:02 ` Anton Farygin
2010-04-12 6:33 ` Michael Shigorin
2010-04-12 7:20 ` Anton Farygin
2010-04-12 12:16 ` [sisyphus] New udev broken? Michael Shigorin
2010-04-12 22:18 ` Alexei V. Mezin
2010-04-12 22:36 ` Alex Negulescu
2010-04-12 23:00 ` Alexei V. Mezin
2010-04-12 23:05 ` Alex Negulescu
2010-04-14 8:16 ` Ildar Mulyukov
2010-04-15 6:58 ` Ildar Mulyukov
2010-04-28 10:42 ` [sisyphus] Новый udev broken ? diver
2010-04-28 10:46 ` Алексей Шенцев
2010-04-28 10:53 ` Sergey
2010-04-28 11:08 ` diver
2010-04-29 5:54 ` Sergey
2010-04-29 5:56 ` Sergey
2010-04-29 6:09 ` Алексей Шенцев
2010-04-29 6:53 ` diver
2010-04-29 9:16 ` Sergey
2010-04-29 9:20 ` diver
2010-04-29 9:34 ` Sergey
2010-04-29 6:56 ` diver
2010-05-10 18:59 ` Sergey Bolshakov [this message]
2010-05-10 20:12 ` Sergey Vlasov
2010-05-20 22:18 ` Dmitry V. Levin
2010-05-24 14:47 ` Dmitry V. Levin
2010-05-24 17:58 ` kostya.hm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m339xzd1mz.fsf@hammer.lioka.obninsk.ru \
--to=sbolshakov@altlinux.ru \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git