Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71812 - livecd-tools autoconfig insmod will fail to load ACPI modules. Use modprobe instead.
Summary: livecd-tools autoconfig insmod will fail to load ACPI modules. Use modprobe ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 22:16 UTC by Zac Medico
Modified: 2007-09-02 18:56 UTC (History)
1 user (show)

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


Attachments
replace insmod with modprobe and redirect stderr to /dev/null (livecd-tools-1.0.10_acpi-modprobe.patch,827 bytes, patch)
2004-11-19 22:18 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2004-11-19 22:16:02 UTC
When I boot a live cd with "acpi=on" in the kernel parameters I receive "No such file or directory" error messages when it tries to insmod modules.  I patched it to use modprobe instead.  I also redirected modprobe's stderr to /dev/null.

Reproducible: Always
Steps to Reproduce:
1. Boot a livecd with ACPI kernel support ( add "acpi=on" to the kernel parameters ).
2. Observe "No such file or directory" error messages from the acpi insmod commands.

Actual Results:  
insmod: can't read 'processor': No such file or directory

Expected Results:  
modprobe should quietly load the module

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.7-1029 i686)
=================================================================
System uname: 2.6.7-1029 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.6.6
distcc 2.18.2 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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="-O2 -mcpu=i686 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/sd/a/2/var/cache/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.binarycompass.org http://gentoo.osuosl.org/ http://gentoo.ccccom.com"
MAKEOPTS="-j5"
PKGDIR="/mnt/sd/a/2/var/cache/portage/packages"
PORTAGE_TMPDIR="/mnt/sd/a/2/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/sd/a/2/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d accessibility acl acpi acpi4linux adns aim alsa apache2 apm
arts atlas audiofile avi berkdb bidi bindist bitmap-fonts bonobo caps cdr crypt
cscope cups curl dedicated dga directfb doc dvd dvdr encode esd ethereal evo f77
fam fastcgi fbcon fbdev ffmpeg fftw firebird fla flac foomaticdb fortran freetds
freewnn gb gcj gd gdbm gif gimp gimpprint ginac gmp gnome gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib imlib2 informix innodb
ipv6 jabber java joystick jpeg junit kde kerberos krb4 ladccalcms ldap leim
lesstif libg++ libgda libwww ltsp mad maildir mbox mcal memlimit mikmod mmx mono
motif mozilla mozsvg mpeg mpi msn mule mysql nas ncurses netcdf nhc98 nls oci8
odbc offensive oggvorbis opengl oscar oss pam pcmcia pda pdflib perl plotutils
png pnp postgres ppds prelude python qt quicktime readline samba sasl scanner
sdl slang slp snmp socks5 softmmu speex spell sqlite sse ssl svg tcltk tcpd
tetex theora tiff truetype trusted unicode usb vhosts videos wavelan wifi wmf
wxwindows x86 xbase xface xine xinerama xml xml2 xmms xosd xv xvid yahoo yaz zeo
zlib"
Comment 1 Zac Medico gentoo-dev 2004-11-19 22:18:53 UTC
Created attachment 44330 [details, diff]
replace insmod with modprobe and redirect stderr to /dev/null
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-20 06:11:03 UTC
Actually, we're usining insmod for a reason.  The new behavior of modprobe is that it will load a module no matter what.  We do *not* want this functionality in the LiveCD.

I am adding the stderr redirection to each, but using modprobe is simply not an option.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-25 11:24:21 UTC
Moving these so we can remove the "Install CD" component from "Gentoo Linux".

I apologize to everyone for this spam, but according to the bugzilla developers,
this is the only reasonable way to do this.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-02 18:56:22 UTC
*** Bug 191085 has been marked as a duplicate of this bug. ***