Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84912 - modules-update give me : Warning: could not generate /etc/modprobe.conf!
Summary: modules-update give me : Warning: could not generate /etc/modprobe.conf!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 15:01 UTC by Bertrand Jacquin
Modified: 2005-03-11 18:29 UTC (History)
0 users

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


Attachments
Strace (strace.modules-update.log,83.86 KB, text/plain)
2005-03-11 15:02 UTC, Bertrand Jacquin
Details
update-modules.log (as requested) (update-modules.log,9.35 KB, text/plain)
2005-03-11 18:04 UTC, Bertrand Jacquin
Details

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 1 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
Comment 2 Bertrand Jacquin 2005-03-11 15:02:16 UTC
Created attachment 53222 [details]
Strace
Comment 3 SpanKY gentoo-dev 2005-03-11 17:21:31 UTC
what does `emerge module-init-tools -pv` show
Comment 4 Bertrand Jacquin 2005-03-11 17:27:36 UTC
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
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-11 17:54:31 UTC
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?
Comment 6 Bertrand Jacquin 2005-03-11 18:04:30 UTC
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
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-11 18:18:21 UTC
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.
Comment 8 Bertrand Jacquin 2005-03-11 18:26:52 UTC
Right, it's good now :)
Thanks

I don't remember delete it.
Comment 9 Martin Schlemmer (RETIRED) gentoo-dev 2005-03-11 18:29:44 UTC
Might be when mike played with the removing support, although I cannot think he actually committed it.