running modules-update gives me a complaint that /etc/modules.devfs was not automatically generated and that I should run "modules-update force". Doing that doesn't change anything. the complaint comes up during each boot as well. Seem like the baselayout-1.12.4.r7 and the kernel 2.4 do not like each other much. modules-update never generates a /etc/modules.devfs file for me, even "modules-update --force --devfs" doesn't. Checking the modules-update script show the resaon quite clearly. The code from line 250 onwards is supposed to generate the file. There is a check for kernel 2.6. If the kernel is not 2.6, the modules.devfs (which is for kernel 2.4) is not generated. That makes no sense, the script is wrong. Gentoo Base System version 1.12.4 Portage 2.1-r2 (default-linux/x86/no-nptl/2.4, gcc-3.4.6, glibc-2.3.6-r4, 2.4.32-gentoo-r7 i686) ================================================================= System uname: 2.4.32-gentoo-r7 i686 Intel(R) Xeon(TM) CPU 3.20GHz distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.4.26-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/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="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 arts avi berkdb cli crypt cups dlloader dri eds emboss encode foomaticdb gdbm gif gpm gstreamer imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oss pam pcre pdflib perl png pppd python readline session spell spl ssl tcpd vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I hate to update my own bug reports but after investigating more it seem to me that modules-update is not even supposed to create a new /etc/modules.devfs. If that is the case, then modules-update should not complain about the format of the file, /etc/modules.devfs should not be in $(CFGFILES)
that code shouldnt even be entered when running on 2.4 kernels as /etc/modules.devfs so what is spitting out the warning ? please post the full output of `modules-update`
The output is * Warning: The current /etc/modules.devfs has not been automatically generated * Use "modules-update force" to force (re)generation Using my very poor understanding of script files I'd say the script checks the header in /etc/modules.devfs and does not like it.
I get the same here.
I have the same problem even with the three last update of Baselayout (1.12.5, 1.12.5-r1, 1.12.5-r2). The manual launching "modules-updates --force" does not work,"/etc/modules.devfs" can't be regenerated. # emerge --info # Portage 2.1.1 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.6-r4, 2.4.32- gentoo-r7 i686) # ================================================================= # System uname: 2.4.32-gentoo-r7 i686 Pentium III (Katmai) # Gentoo Base System version 1.12.5 Yours Sincerely, Fabien
The new version of baselayout (1.12.6) does not make correction, the
The new version of baselayout (1.12.6) does not make correction, the warning is always present at the boot and the command module-update --force does not regenerate modules.devfs.
2.4 kernels and devfsd is unsupported.
it'll get fixed
things should be all set with modules-init-tools-3.4-r1