Summary: | modules-update give me : Warning: could not generate /etc/modprobe.conf! | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2004.3 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Strace
update-modules.log (as requested) |
Description
Bertrand Jacquin
2005-03-11 15:01:19 UTC
modules-update, update-modules give me : Warning: could not generate /etc/modprobe.conf! * Warning: could not generate /etc/modprobe.conf! ^^ ROOT ^^ /etc # ll modprobe.conf modprobe.conf.old modprobe.devfs modprobe.devfs.old modules.autoload.d modules.conf modules.conf.old modules.d modules.devfs (guybrush) 11/03 23:54:25 -rw-rw-r-- 1 root root 6062 déc 16 21:02 modprobe.conf -rw-r--r-- 1 root root 6062 mar 11 23:54 modprobe.conf.old -rw-r--r-- 1 root root 3079 mar 11 23:54 modprobe.devfs -rw-r--r-- 1 root root 3079 mar 11 23:54 modprobe.devfs.old -rw-r--r-- 1 root root 4181 mar 11 23:54 modules.conf -rw-r--r-- 1 root root 4181 mar 11 23:54 modules.conf.old -rw-r--r-- 1 root root 3516 nov 1 02:05 modules.devfs modules.autoload.d: total 12 -rw-r--r-- 1 root root 574 mar 11 03:48 kernel-2.4 -rw-r--r-- 1 root root 470 sep 13 2003 kernel-2.5 -rw-r--r-- 1 root root 583 mar 11 03:48 kernel-2.6 -rw-r--r-- 1 root root 0 jun 28 2004 kernel-2.6.merged modules.d: total 20 -rw-rw-r-- 1 root root 1310 mar 11 03:48 aliases -rw-rw-r-- 1 root root 1153 jan 31 23:17 alsa -rw-rw-r-- 1 root root 122 mar 11 03:48 i386 -rw-rw-r-- 1 root root 513 mar 11 23:41 nvidia -rw-rw-r-- 1 root root 268 mar 5 17:50 ppp Reproducible: Always Steps to Reproduce: 1. modules-update 2. 3. Actual Results: Warning: could not generate /etc/modprobe.conf! Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(TM) XP 2000+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 21 2005, 21:01:58)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache distlocks fixpackages sandbox sfperms test" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.inode.at/ http://gentoo.math.bme.hu http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.rhnet.is/pub/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.heanet.ie/pub/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/perso /usr/local/portage/others /usr/local/portage/zugaina" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X acl acpi alsa apache2 apm arts avi berkdb bitmap-fonts cairo cddb cdr crypt cscope curl dvd emboss encode ethereal fam font-server foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imap imlib java jpeg junit kde lcms ldap libg++ libwww maildir memlimit mmx mmx2 mozilla mp3 mpeg msn mysql ncurses nls ntpl nvidia oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang snmp spell sse ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb videos xml xml2 xmms xsl xv zlib linguas_fr" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS Created attachment 53222 [details]
Strace
what does `emerge module-init-tools -pv` show This : ~ % emerge module-init-tools -pv (beber@guybrush) 12/03 02:19:14 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-apps/module-init-tools-3.1 -debug 0 kB Total size of downloads: 0 kB Do you have /sbin/modprobe.old ? Also, can you edit the script, and add a -x behind the '#!/bin/bash' like so: ------ #!/bin/bash -x ------ And then rerun it with: # update-modules &> update-modules.log And attach the log here? Created attachment 53229 [details]
update-modules.log (as requested)
File contain color :/ Maybe not pratice for reading it.
Also, It don't have /sbin/modprobe.old
Did you remove it yourself (/sbin/modprobe.old) ? You should have it currently still, and that is why generate-modprobe.conf fails ... Try to remerge module-init-tools. Right, it's good now :) Thanks I don't remember delete it. Might be when mike played with the removing support, although I cannot think he actually committed it. |