I have recently tried to install a completely newly generated image of Gentoo to my hard disk. It shows some behaviour there that I couldn't reproduce in the emulator (VirtualBox): After displaying "waiting for udev to settle" the screen blanks and never changes again. VGA is normal at this point and LILO didn't display any graphics gimmicks. I have replaced udev with coldplug, with completely works, except for lvm2 which seems to require udev libraries. I have replaced udev with older and the newest available version (168-r2), but that didn't change anything. I have tried to modify the udev config, but couldn't find many things to change. There is a debug mode of udev, but it writes onto a temporary disk, and I have no hint how to use this file after it has been created. I am somewhat lost. Reproducible: Always
emerge --info (System name is from the generating host system. The problem arises when booting the generated system, but I don't get so far that I cat type 'emerge --info' from there.) Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-8-generic x86_64) ================================================================= System uname: Linux-2.6.38-8-generic-x86_64-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.0.2 Timestamp of tree: Fri, 13 May 2011 04:00:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 sys-kernel/linux-headers: 2.6.36.1 sys-libs/glibc: 2.11.3 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 AdobeFlash-9.0.31.0 skype-eula PUEL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de ru uk" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa amd64 berkdb bzip2 cdparanoia cli cracklib crypt cups cxx dbus dri dvd dvdr fortran gdbm iconv icu id3tag ipv6 jpeg kde lame libsamplerate mad metric mmx modules mp3 mpi mudflap multilib ncurses nls nptl nptlonly offlinehelp ogg opengl openmp pam pcre perl png pppd python qt3support readline session sox sqlite sse sse2 ssl svg sysfs tcpd theora tiff truetype unicode vorbis xine xml xorg xrandr xvid 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 cgi cgid 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de ru uk" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
What's your video card (seems you've failed to set it) ? What's the kernel command line for your bootloader ?
lilo.conf follows. boot=/dev/sdh prompt timeout=150 lba32 compact vga=normal read-only large-memory image=/boot/kernel label=linux initrd=/boot/initramfs root=/dev/sdh1 append="real_root=/dev/sdh1"
There is not much I expect the system to do with the graphics adapter. The system is intended to boot into CLI right now, but it appears to fail in runlevel sysinit. For testing, I disabled kernel capabilities which had to do with console graphics and frame buffers, but that didn't change anything.
I have observed that many people seem to have had trouble with udev concerning mode switches. It's a bit surprising because udev should never touch mode setting, IMHO, and it's a big question what to do about it if you don't want to start X. My graphics adapter is a ATI HD2620. For compatibility with the Unix idea, I would propose udev to be modified in a way that it leaves the screen configuration alone.
Does ssh still work after the screen goes blank? We need some meaningful information about what is going on here. I would think it isn't udev that causes this, but merely the availability of a driver for the graphics card/display that udev then proceeds to load. You might be able to stop it from loading that driver by 1) removing it or 2) adding a special rule to the udev configuration.
Level sysinit preceeds any other level so network is not up at this point. I will try tomorrow if I can build a small script which starts network and ssh beforehand. If it helps anyway, keyboard is reactive for about one minute, then system seems to stall and won't reboot anymore when given ctl-alt-del.
(In reply to comment #4) > There is not much I expect the system to do with the graphics adapter. The > system is intended to boot into CLI right now, but it appears to fail in > runlevel sysinit. > > For testing, I disabled kernel capabilities which had to do with console > graphics and frame buffers, but that didn't change anything. What graphics card is that, actually? We might be able to pin down this problem if we would only know which driver udev loads which causes the blank screen. Maybe having your kernel config helps here, and you could set up CONFIG_NETCONSOLE to see what happens in the kernel when udev is run.
Could be the same as bug #368587. There is more information there. No way to know, though.