Summary: | linux-headers-2.6.30 + sys-fs/udev-146-r1: 2nd boot halts at the stage of starting udev, specifically at the stage of "Waiting for uevents to be processed" after the upgrade from version udev-41-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Konstantin Ivanov <kostik.russia> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | udev-bugs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Config Kernel 2.6.32-gentoo-r1 |
Description
Konstantin Ivanov
2010-01-17 02:14:47 UTC
Created attachment 216711 [details]
Config Kernel 2.6.32-gentoo-r1
Of what I could understand from your message: udev-146 needs a fairly recent kernel and glibc, though IIRC glibc-2.10.1-r1 and 2.6.30-gentoo-r8 should be OK. It also wants CONFIG_SYSFS_DEPRECATED_V2 not set, but the attached config seems OK there too. Did you try to revdep-rebuild after udev/util-linux/e2fsprogs-libs upgrade ? First, in my system was the kernel 2.6.31-gentoo-r4, udev-146-r1, gcc-4.4.1 and glibc-2.9. Then I build a new kernel with the config from the old kernel, but added support for module ath5k. The first boot with new kernel was fine. In the second loading system with the new kernel boot process has to stop at the stage of "Waiting for uevents to be processed". I waited about 20 minutes, but the download does not progress. I booted from the old kernel, but now when booting from it stops at the stage of "Waiting for uevents to be processed". I booted from minimalcd, moved to chroot and produced reinstall udev-146-r1. The first boot with the old kernel (2.6.31-gentoo-r4) is normal, but should again be stopped. In the chroot I have performed a emerge-e system. The process of loading the second just stops. Then I installed on a separate system with stage 3, which is udev-141-r1 of the box. Copy the kernel from minimalcd 2.6.30-gentoo-r8 with the modules and its kernel 2.6.32-gentoo-r1. When you boot with both cores are all normal. After the upgrade to emerge-auvDN system at boot with kernel 2.6.32-gentoo-r8 boot process stops again at the stage of "Waiting for uevents to be processed", boot from kernel 2.6.30-gentoo-r8 is normally only once. Because it was made to update all system packages after the installation I set the system again, copied the kernel, checked the boot from both, everything is fine. Then made the upgrade to udev version 141-r1 to version 146-r1, boot with the kernel 2.6.-32-gentoo-r1 the boot process stops at the stage of "Waiting for uevents to be processed". If the boot after that with the kernel 2.6.30-gentoo-r8, then at the stage of "Waiting for uevents to be processed" is delayed for about a minute, then the system is still loaded. How can I restore the system work without reinstalling? I'm not sure if blindly copying old kernels is a good idea. Kernel headers and glibc play a major role in kernel compilation. udev-146 wants signalfd4 syscall - it's in kernel (for x86/amd64) since (AFAIK) 2.6.27 and it must be implemented in glibc (that's at least 2.9, if not 2.10.1). While your 'emerge --info' seems sufficient, perhaps that old kernel was compiled on a system with too low versions. I have to report another problem with udev-146-r1. After booting the system, X starts but input devices do not get recognized. dmesg reports, very late in the boot sequence (just before X starts): "udevadm[6595]: segfault at 0 ip 00007f287efc7061 sp 00007fff90b05238 error 4 in libc-2.10.1.so[7f287ef4b000+14f000]" The (USB) mouse gets recognized after Unplugging and replugging it. Then, I can drop to a console and restart dbus, consolekit and hal, all of which gets the (PS-2) keyboard recognized. Only after this, X becomes usable. Downgrading udev to version 141 solves the problem. I am running an up-to-date amd64 gentoo (stable) system. Emerge --info output: Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 19 Jan 2010 15:15:03 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirrors3.netvisao.pt/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en pt pt_BR en_US" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://darkstar.ist.utl.pt/gentoo-portage" USE="X Xaw3d a52 aac acl acpi alsa amd64 auctex bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cvs cxx dbus directfb divx dri dts dv dvd dvdr dvi eds emacs emboss encode evo fam ffmpeg flac foomaticdb fortran fuse gdbm gif gimp gphoto2 gpm graphviz gstreamer gtk hal hddtemp iconv ieee1394 ipod ipv6 java jpeg kde kde4 kpathsea latex libnotify lm_sensors logitech-mouse lzma mad mikmod mmx mmxext mng modules motif mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf perl png ppds pppd preview-latex python qt3support qt4 quicktime readline realmedia reflection scanner sdl session spell spl sql srt sse sse2 ssl ssse3 startup-notification svg sysfs tcl tcpd theora threads thunar tidy tiff tk truetype unicode usb vcd vorbis webkit wmp wxwindows x264 xcb xft xine xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="kodak nikon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt pt_BR en_US" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm ppc ppc64" QEMU_USER_TARGETS="i386 x86_64 arm ppc ppc64 ppc64abi32" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Update to #5: During the week, I upgraded other systems. I found it strange that the other systems with similar configs did not show up the same problem. In the affected system, I suspected that the problem was related to kvm-qemu. To satisfy its dependencies, I had to upgrade linux-headers to version 2.6.30, (and, obviously, recompile glibc). Maybe it introduced some inconsistencies. I have unmerged kvm-qemu, downgraded linux-headers to the stable 2.6.27 version and reemerged glibc. Then I have emerged system (with --emptytree). After that I upgraded udev-141 to udev-146-r1. I recompiled the kernel and rebuilt the initrd. I rebooted and the problem vanished, i.e., now udevadm does not crashing during the boot sequence. Anywaym, I don't know what kind of inconsistency in the system was causing the problem. this bug is not about segfaulting. file your own report about that. as for the original report, is this still occurring with stable versions of packages ? |