Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387445 - gentoo-sources-3.0.6: no module configuration update information provided
Summary: gentoo-sources-3.0.6: no module configuration update information provided
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
: 393341 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-17 17:34 UTC by Piotr Mrożek
Modified: 2011-12-06 21:16 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Mrożek 2011-10-17 17:34:51 UTC
When upgrading from gentoo-sources-2.6.x to 3.0.6 and using module configuration provided by /etc/conf.d/modules, the modules stop loading on the new kernel.

Reproducible: Always

Steps to Reproduce:
1. Emerge gentoo-sources-3.0.6.
2. Configure, build and install the kernel and modules.
3. Reboot.
Actual Results:  
No modules provided in /etc/conf.d/modules load at system startup.

Expected Results:  
Every module mentioned in /etc/conf.d/modules should load at system startup.

It seems a configuration issue. The variables in /etc/conf.d/modules are called modules_2_6 and module_*_args_2_6. After installing gentoo-sources-3.0.6 the variables should be named modules_3_0 and module_*_args_3_0 (which solves the issue).

This issue can't (and shouldn't) be addressed by a script, because 'installing gentoo-sources-3.0.6' != 'building and running the 3.0.6 kernel'. There should at least be a press release (portage news perhaps) about the fact that this configuration should be changed. The same goes for future updates to kernel versions 3.1, 3.2, 3.x.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-10-18 14:03:24 UTC
Please, provide emerge --info.
Comment 2 Piotr Mrożek 2011-10-18 14:23:15 UTC
Sorry, I didn't think the "emerge --info" output would be relevant in this case. Here's the output:

Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 16 Oct 2011 17:30: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
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
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
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.12.2
Repositories: gentoo dberkholz gamerlay-stable proaudio gnome x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 Broadcom PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks 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"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
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"
PORTDIR_OVERLAY="/var/lib/layman/dberkholz /var/lib/layman/gamerlay /var/lib/layman/pro-audio /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontforge fortran ftp gdbm gdu gif gimp gnome gnome-keyring gpm gstreamer gtk gzip hal hddtemp iconv ios ipc iphone ipod ipv6 ithreads jabber jack javascript jpeg jpeg2k ladspa lame lcms ldap libnotify lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia offensive ogg opencl opengl openmp pam pango pcre pdf perl png policykit posix ppds pppd python qt3support qt4 readline samba sdl session smp spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification svg symlink sysfs syslog system-sqlite tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vaapi vdpau vorbis wifi x264 xcb xml xorg xulrunner xv xvid 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 sony_dscf1 sony_dscf55" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


The way I see it: it's an issue with those variable names being dependent on the kernel version (major numbers X.Y). With the new kernel versioning schema (two release-relevant numbers, instead of three), they should be dependent on only the most major number. That's what I think at least. ;)
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2011-10-18 15:15:08 UTC
The description in /etc/conf.d/modules clearly says:
# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
# The most specific versioned variable will take precedence.

There a just examples with 2.x instead of 3.x.
So you probably should consider using modules="..." instead.
The version specific modules are there on purpose, so to only load those for the specified version.
Comment 4 Piotr Mrożek 2011-10-18 15:30:14 UTC
If I would look in there more often then probably I would've noticed it, but an average user doesn't look in there once the system's configurated properly. Another thing is that these values were generated by OpenRC migration scripts automatically. Anyway: thanks for mentioning those 'modules' files comments here. I'll know that next time. ;)
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2011-12-06 21:16:22 UTC
*** Bug 393341 has been marked as a duplicate of this bug. ***