Summary: | Modules.dep file being searched for when kernel compiled without module support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rodney Beck <raverod> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | minor | CC: | bakirov, eric.brown, maurice_mueller, swegener, zickzack |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | modules_patch.patch |
Description
Rodney Beck
2004-05-18 02:32:30 UTC
at which point while booting does the error pop up? which services are started before the error? also please supply the ouput of emerge --info I cannot recollect the time during boot when the error occured (I know it was near the start) and as the install is on server machine, I cannot check. I can provide the "emerge info" report though: Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/portage/bashrc" CC="gcc" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="5" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" FEATURES="autoaddcvs ccache sandbox sfperms userpriv usersandbox" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GENTOO_MIRRORS="ftp://ftp.vic.keypoint.com.au http://mirrors.tds.net/gentoo ftp://mirrot.pacific.net.au/linux/Gentoo" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" HOME="/root" HOSTNAME="harlem" INFODIR="/usr/share/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-j2" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3" PKGDIR="/usr/portage/packages" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CACHEDIR="/var/cache/edb/dep/" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="20256" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/root" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SSH_CLIENT="192.168.0.2 1789 22" SSH_CONNECTION="192.168.0.2 1789 192.168.0.1 22" SSH_TTY="/dev/pts/22" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="acl acpi apache2 apm crypt curl dedicated gdbm gif hardened jpeg libwww mmx mysql ncurses nocd pam pdflib perl png python readline samba slang spell ssl svga tcltk tcpd truetype x86 xml2 zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" _="/usr/bin/emerge" When I say "near the start", I mean just before init level 3. On my system I haven't found a place where modprobe/insmod/depmod is called without checking for modules support. Gentoo Base System version 1.4.3.13 This isn't the latest version. If you already installed the latest version, did you merge in the changes with etc-update? The error appears after setting the hardware clock and before setting the kernel parameters. Hope that helps. I would like to add the following: On my system (most up-to-date; 2.6.7 kernel) there are tons of these FATAL error messages; a real nuisance..., and this error is now around for quite a while! FATAL: could not load /lib/modules/2.6.7-gentoo/modules.dep: No such file or directory for example after * Start USB and PCI hotplugging , after * Starting HDPARM , and many messages after * INIT: Entering runlevel: 3 this is indeed a nuisance; I'm surprised how long this error is already around. Seems that not many use a kernel without module support; or nobody is paying attention to the error messages. Created attachment 38853 [details, diff]
modules_patch.patch
Well, I'm running a system without modules and I can tell you that the error
messages appear at boot time between the messages "Setting system clock to hw
clock" and "Configuring kernel parameters". At shutdown right after "Setting
system clock...". Syslog recorded that modprobe got called, but I was not able
to detect the calling process. So I created a small workaround - a patch for
/etc/init.d/modules - which should create the file automatically in case it
does not exist. The easier one would be to touch the file every time the system
boots up, but this is the nicer implementation... :-)
Even better would be to find out where modprobe gets called and check for
module support in such cases.
Maurice
*** Bug 63898 has been marked as a duplicate of this bug. *** i assume this is still happening with baselayout-1.11.9+ ... are you guys using devfs ? i never see these kind of errors, but i'm running udev on my systems With udev there is no such error, it appears, when you use devfs! this is coming from the devfs daemon afaict and considering devfs is dead and has been punted from latest 2.6.x kernels, i'm not too interested in trying to fix it |