[sisyphus] Новый udev broken ?
Sergey Bolshakov
sbolshakov на altlinux.ru
Пн Май 10 18:59:00 UTC 2010
>>>>> "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)
--
Подробная информация о списке рассылки Sisyphus