Summary: | sys-kernel/gentoo-sources-2.6.28-r1: missing /sys | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | brent <brent.saner> |
Component: | [OLD] Core system | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
.config for 2.6.28
plaintext config for 2.6.28 plaintext config for 2.6.28-r1 |
Description
brent
2009-02-09 18:20:59 UTC
zsh 3079 % emerge --info Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686) ================================================================= System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Core-TM-2_Extreme_CPU_X9000_@_2.80GHz-with-glibc2.0 Timestamp of tree: Mon, 09 Feb 2009 17:45:01 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.5 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/gentoo-release /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="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="candy ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/layman/ikelos /usr/local/portage/layman/sunrise" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi ads alsa async audit automount avahi avi bash-completion bashcompletion berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus divx divx4linux dri dv dvd dvdr dvdread eds emboss encode esd evo examples fam fbcon fbcondecor ffmpeg firefox flac fortran gcrypt gdbm geoip gif glitz gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv idea ipv6 irda isdnlog jpeg kerberos lame ldap libnotify live loop-aes lzo mad midi mikmod mjpeg mp3 mpeg mudflap mysql ncurses networkmanager nls nptl nptlonly nss offensive ogg openal opengl openmp pam passwordsave pcre pdf perl pkcs11 plugins png ppds pppd profile python qt3 qt3support qt4 quicktime readline reflection samba sdl session slang speex spell spl ssl startup-notification svg sysfs syslog tcpd theora threads tiff truetype unicode usb utils vcd vidix vim-syntax vorbis wifi win32codecs winbind wireshark x86 xcb xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS just some updated info- the message spammed is actually "modprobe: FATAL: /sys is not mounted" this is bugging the crap out of me. Could we have the .config of your 2.6.28-r1 kernel and the config of your 2.6.28 kernel? Also, please don't change the severity field of the bug. It would be a waste of panic in case this is not actually a bug. Rest assured that we pay attention to every bug that appears in here :) ah! terribly sorry- i noticed it was changed after i updated it. i thought i had originally marked it critical and then thought i was mistaken.. guess i wasn't. :) i'll include the .configs for both as .gz and a plaintext diff of the two for ease of comparison in just a second (In reply to comment #4) > ah! terribly sorry- i noticed it was changed after i updated it. i thought i > had originally marked it critical and then thought i was mistaken.. guess i > wasn't. :) > No problem :) > i'll include the .configs for both as .gz and a plaintext diff of the two for > ease of comparison in just a second > Thanks for trying to making it easier for us by supplying a .gz archive, but please, simply, attach the two .config text files. Giving out archives means one more step for someone who wants to help. Created attachment 181498 [details]
.config for 2.6.28
Created attachment 181499 [details]
plaintext config for 2.6.28
Created attachment 181500 [details]
plaintext config for 2.6.28-r1
(In reply to comment #5) > Thanks for trying to making it easier for us by supplying a .gz archive, but > please, simply, attach the two .config text files. Giving out archives means > one more step for someone who wants to help. > sorry. planned on attaching a plaintext diff just to make it easier :) but the two .configs are now attached Alright, the "modprobe: FATAL: /sys is not mounted" is definitely a product of module-init-tools-3.6's (3.5 didn't contain that check) modprobe, which checks to see if /sys/module exists in handle_module(). What confuses me, is that initramfs uses an insmod wrapper called modprobe, instead of the normal userspace modprobe coming from module-init-tools. That initramfs modprobe contains no checks/FATAL errors regarding sysfs whatsoever. We also see that in genkernel-3.4.10.903's defaults/linuxrc mount_sysfs happens before any modprobing takes place. So, for a reason I don't quite grasp yet, the modprobe tool from module-init-tools-3.6 tries to check if /sys/module exists, fails and *spits you back to your initramfs' busybox*. Which is even more mysterious, since that means that the rootfs that initramfs was on, did not get overmounted, init was called and somehow you got threw back to initramfs which shouldn't had been there at that time. And beyond all that, it's also a 2.6.28-r1 regression (?!). Could you, please, check again if 2.6.28 will boot alright with the same module-init-tools and genkernel versions as with 2.6.28-r1? (There is also a high chance that all the above are actually BS. I'm gonna take another look, tomorrow, to see how all the above can be linked together to produce a fix (or a sci-fi book)) (In reply to comment #10) > Alright, the "modprobe: FATAL: /sys is not mounted" is definitely a product of > module-init-tools-3.6's (3.5 didn't contain that check) modprobe, which checks > to see if /sys/module exists in handle_module(). > What confuses me, is that initramfs uses an insmod wrapper called modprobe, > instead of the normal userspace modprobe coming from module-init-tools. That > initramfs modprobe contains no checks/FATAL errors regarding sysfs whatsoever. > We also see that in genkernel-3.4.10.903's defaults/linuxrc mount_sysfs happens > before any modprobing takes place. > > So, for a reason I don't quite grasp yet, the modprobe tool from > module-init-tools-3.6 tries to check if /sys/module exists, fails and *spits > you back to your initramfs' busybox*. Which is even more mysterious, since that > means that the rootfs that initramfs was on, did not get overmounted, init was > called and somehow you got threw back to initramfs which shouldn't had been > there at that time. > > And beyond all that, it's also a 2.6.28-r1 regression (?!). Could you, please, > check again if 2.6.28 will boot alright with the same module-init-tools and > genkernel versions as with 2.6.28-r1? > > (There is also a high chance that all the above are actually BS. I'm gonna take > another look, tomorrow, to see how all the above can be linked together to > produce a fix (or a sci-fi book)) > and here's the REALLY confounding (yet clarifying) thing- if i wait through 20 or 30 seconds or so of being spammed by those errors, OpenRC starts up and starts init-ing things. however, it takes longer than normal with the error message still spamming the console. once it initializes a certain script, i suppose (didn't take note which one it was), it STOPS spamming the console and the rest of the inits load as speedily as before. so i'm not sure there.. i did doublecheck, however, and i only get this behaviour with the 2.6.28-r1 kernel. Would you be kind enough to try the latest stable vanilla kernel (2.6.28.4) off kernel.org? If the bug appears in the vanilla kernel too, I'm gonna ask you to use git bisect between 2.6.28 and 2.6.28.1 to find out which commit introduced the bug. But let's see if the issue is fixed in the latest kernel releases, first. *** This bug has been marked as a duplicate of bug 258442 *** |