I have no idea what is wrong, but if I let e4rat-preload to be run (with init=/usr/sbin/e4rat-preload at kernel command line), rc_hotplug looks to not do anything. My current /etc/rc.conf setting is the following for this: rc_hotplug="!net.wlan0" And, in normal situations, it starts automatically /etc/init.d/bluetooth that is needed to get bluetooth adapter recognized at boot time. When e4rat-preload is used, it's simply not started, even if hotplug looks to end properly, it doesn't even try to start bluetooth init.d service Not sure where is the problem and what info will you need for this :( Reproducible: Always Portage 2.1.10.40 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.13-r4, 3.0.13-tuxonice x86_64) ================================================================= System uname: Linux-3.0.13-tuxonice-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.0.3 Timestamp of tree: Sun, 11 Dec 2011 11:30:01 +0000 ccache version 3.1.6 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5, 4.5.3-r1, 4.6.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x11 rainyday sabayon x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -march=native" DISTDIR="/usr/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.heanet.ie/pub/gentoo/" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" LINGUAS="es es_ES en_US" MAKEOPTS="-j5" PKGDIR="/usr/local/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/portage/local/layman/x11 /usr/portage/local/layman/rainyday /usr/portage/local/layman/sabayon /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 applet bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli colord consolekit cracklib crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi eds emboss enchant encode evo exif fam fat ffmpeg firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle iconv jpeg kpathsea latex lcms ldap libnotify lyx mad mms mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl nptlonly ntfs ntp numa nvidia ogg opengl openmp optimized-qmake pam pango pch pcre pdf png policykit ppds pppd pulseaudio qt3support readline reiserfs scanner sdl session smp sna socialweb spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs t1lib tcpd test theora threads tiff truetype udev unicode usb v4l vaapi vcd vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid youtube zlib" ALSA_CARDS="hda-intel" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa intel i915 i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Will CC openrc people as maybe they will know what is going wrong here or, at least, how to debug the problem
Created attachment 295463 [details] /var/lib/e4rat/startup.log
We're going to need a lot more of the openrc boot log. Do you have rc_parallel on? Is e4rat loading any kernel modules?
Created attachment 295481 [details] /var/log/rc.log
(In reply to comment #3) > We're going to need a lot more of the openrc boot log. I have attached /var/log/rc.log for now > Do you have rc_parallel on? Yes, will try to disable it > Is e4rat loading any kernel modules? Doesn't seem to be loading any module :/
Is udev actually being loaded? I don't see it in your logs.
(In reply to comment #5) [...] > > Do you have rc_parallel on? > > Yes, will try to disable it It's the same :( (In reply to comment #6) > Is udev actually being loaded? I don't see it in your logs. It looks to be running: # ps axu | grep udev root 167 0.0 0.0 12764 880 ? S<s 19:05 0:00 /sbin/udevd --daemon root 435 0.0 0.0 12884 904 ? S< 19:05 0:00 /sbin/udevd --daemon root 436 0.0 0.0 12884 832 ? S< 19:05 0:00 /sbin/udevd --daemon root 2827 0.0 0.0 10488 836 pts/0 S+ 19:06 0:00 grep --colour=auto udev
Today it works ok again :-O Maybe the problem was caused by me only "rebooting" yesterday and now, after a "poweroff", it behaves ok again even with e4rat (looks strange to me but now it works for some reason and yesterday not)
(In reply to comment #8) > Today it works ok again :-O > > Maybe the problem was caused by me only "rebooting" yesterday and now, after a > "poweroff", it behaves ok again even with e4rat (looks strange to me but now it > works for some reason and yesterday not) Yeah, I have just seen it tends to fail when "rebooting" but always work when I poweroff and, then, poweron my laptop :/ My bluetooth device is an external USB one that is always connected to the laptop
Since bluetooth script has now completely changed as was demonstrated its old way of using rc_hotplug was undesired, I guess this is obsolete now