Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132668 - modules-update doesnt generate modprobe.conf correctly when USE=no-old-linux
Summary: modules-update doesnt generate modprobe.conf correctly when USE=no-old-linux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 162344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-08 05:44 UTC by Alexander Skwar
Modified: 2007-05-31 11:34 UTC (History)
4 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 Alexander Skwar 2006-05-08 05:44:33 UTC
Whenever I load a kernel module (eg. "modprobe ide_cd"), I get the following warnings:

alexander@blatt ~ $ sudo modprobe -v ide_cd
WARNING: /etc/modprobe.conf line 186: ignoring bad line starting with 'keep'
WARNING: /etc/modprobe.conf line 187: ignoring bad line starting with 'path[x11-drm]=/lib/modules/2.6.14-suspend2-r7.037/x11-drm'
insmod /lib/modules/2.6.16-suspend2-r5.043.security-models/kernel/drivers/cdrom/cdrom.ko
insmod /lib/modules/2.6.16-suspend2-r5.043.security-models/kernel/drivers/ide/ide-cd.ko

Line 185ff in modprobe.conf are:

### modules-update: start processing /etc/modules.d/x11-drm
keep                                                                                                                        path[x11-drm]=/lib/modules/2.6.14-suspend2-r7.037/x11-drm


### modules-update: end processing /etc/modules.d/x11-drm

The file got installed yesterday:

alexander@blatt ~ $ ls -la /etc/modules.d/x11-drm
-rw-r--r-- 1 root root 80  7. May 19:23 /etc/modules.d/x11-drm

The file belongs to package x11-drm-20051223



alexander@blatt ~ $ emerge --info
Portage 2.1_pre10-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r2, 2.6.16-suspend2-r5.043.security-models i686)
=================================================================
System uname: 2.6.16-suspend2-r5.043.security-models i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System version 1.12.0_pre19
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/        ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     http://distro.ibiblio.org/pub/linux/distributions/gentoo/  ftp://distro.ibiblio.org/pub/linux/distributions/gentoo  http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc /Gentoo/Portage/local-tree/overlays/nx /Gentoo/Portage/local-tree/overlays/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt quicktime rar readline real recode reflection reiserfs sdl sendfile sensord session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_-synaptics kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andy Gebauer 2006-06-13 00:22:43 UTC
Commenting the line did it for me.
Don't know about the disadvantages this brings, but I don't notice anything since that.
Comment 2 Bryan Stine (RETIRED) gentoo-dev 2006-06-15 12:52:27 UTC
Which version of sys-apps/module-init-tools do you have? I'm unable to reproduce on 3.2.2.
Comment 3 Alexander Skwar 2006-06-15 14:20:04 UTC
alexander@blatt ~/Desktop $ ls -lad /var/db/pkg/sys-apps/module-init-tools*
drwxr-xr-x 2 root root 776  6. May 16:36 /var/db/pkg/sys-apps/module-init-tools-3.2.2-r1
Comment 4 Bryan Stine (RETIRED) gentoo-dev 2006-06-16 12:25:54 UTC
This appears to be an issue with either generate-modprobe.conf from sys-apps/module-init-tools or update-modules from baselayout. Something is adding old modules.conf directives into modprobe.conf, which isn't as functional.

I'm going to CC base-system to hopefully get some advice here.

As far as functionality, this bug should only be an annoyance to the user and probably wouldn't cause any problems on 2.6 systems, at least.
Comment 5 SpanKY gentoo-dev 2006-06-17 01:15:31 UTC
baselayout-1.12.1 should work just fine
Comment 6 Alex Tarkovsky 2006-06-18 21:42:30 UTC
This is still broken with baselayout-1.12.1.

After manually removing the bad lines from both /etc/modules.conf and /etc/modprobe.conf I re-merged x11-drm-20060608. When I rebooted I got the "ignoring bad line" messages during init (referring to "keep" and "path[x11-drm]=blahblah"), and sure enough the bad lines had been restored to /etc/modprobe.conf, however they weren't restored to /etc/modules.conf this time.

The comments in /etc/modprobe.conf indicate the bad lines were generated by modules-update, not update-modules. I'm using module-init-tools-3.2.2-r1 btw.
Comment 7 SpanKY gentoo-dev 2006-06-24 23:51:05 UTC
ok, i see what the problem is
Comment 8 SpanKY gentoo-dev 2006-06-25 00:01:16 UTC
fixed in svn
Comment 9 David Li 2006-06-25 10:31:59 UTC
Does the svn fix a similar issue with svgalib ?
Comment 10 Alex Tarkovsky 2006-07-10 23:39:41 UTC
(In reply to comment #8)
> fixed in svn

Which package was the fix applied to, and has this been rolled out into Portage yet? The problem is still present on my fully updated ~x86 box.
Comment 11 SpanKY gentoo-dev 2006-07-14 21:17:50 UTC
whenever the next release is made
Comment 12 Alex Tarkovsky 2006-07-15 00:23:05 UTC
(In reply to comment #11)
> whenever the next release is made

Next release of *what*?

Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 11:34:44 UTC
*** Bug 162344 has been marked as a duplicate of this bug. ***