From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DFE83198005 for ; Fri, 15 Mar 2013 07:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF2C0E0796; Fri, 15 Mar 2013 07:07:17 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 9B914E072B for ; Fri, 15 Mar 2013 07:07:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFLd+sw/2dsb2JhbABEvw4Xc4IeAQEFOhwzIwkTAREPBSU3iBHBLY1hgkhhA41+hFyDMoV+g1KFHoFegxM X-IPAS-Result: Av4EABK/CFFLd+sw/2dsb2JhbABEvw4Xc4IeAQEFOhwzIwkTAREPBSU3iBHBLY1hgkhhA41+hFyDMoV+g1KFHoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="4966173" Received: from 75-119-235-48.dsl.teksavvy.com (HELO waltdnes.org) ([75.119.235.48]) by ironport2-out.teksavvy.com with SMTP; 15 Mar 2013 03:07:12 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Fri, 15 Mar 2013 03:07:01 -0400 From: "Walter Dnes" Date: Fri, 15 Mar 2013 03:07:01 -0400 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] [SOLVED] make modules_install error; modules not recognized as ELF files Message-ID: <20130315070701.GA5737@waltdnes.org> References: <20130314024734.GA8032@waltdnes.org> <20130314211431.GA9547@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: cef5f8d4-1194-4001-abd4-40e67c3804d7 X-Archives-Hash: bf93602f49748edc8abf049ea34f9984 On Thu, Mar 14, 2013 at 04:30:43PM -0500, Paul Hartman wrote > On Thu, Mar 14, 2013 at 4:14 PM, Walter Dnes wrote: > > On Wed, Mar 13, 2013 at 10:47:34PM -0400, Walter Dnes wrote > >> Is my netbook dying, or is something else wrong? This is an older > >> 32-bit Atom netbook, with > >> CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables" > >> and 'MAKEOPTS="-j1"'. Compiling the kernel works OK, but > >> "make modules_install" dies as follows... > > > > I unmasked kernel 3.5.7-r1 (no, I don't run ext4) and tried again. I > > got... > > > > [aa1][root][/usr/src/linux] make modules_install > > INSTALL drivers/char/kcopy/kcopy.ko > > INSTALL drivers/scsi/scsi_wait_scan.ko > > INSTALL drivers/usb/host/ehci-hcd.ko > > DEPMOD 3.5.7-gentoo-r1 > > depmod: /lib/modules/3.5.7-gentoo-r1/modules.builtin is not an ELF file > > depmod: /lib/modules/3.5.7-gentoo-r1/modules.order is not an ELF file > > make: *** [_modinst_post] Error 1 > > > > Both of these are textfiles, but there were a few *.bin files in the > > previous kernel build error list. This is a 32-bit machine running gcc > > 4.6.3. My desktop, also running in 32-bit mode with kernel 3.5.7-r1 and > > gcc 4.6.3, has no such problem. Any ideas? > > At some point in the past few months I think module-init-tools was > replaced by another package (kmod perhaps, I'm going from memory)... I > am wondering if it has something to do with that transition. > Thank You, Thank You, Thank You Verrrry Verrry Much! It was actually modutils that was masked out and replaced with modutils. This had not kicked in yet on the install image I was using on the netbook. I had to unmerge virtual/modutils and modutils, then I was able to emerge kmod. Both kernel 3.5.7 and 3.7.10 built and "make modules_install" worked. E.g... [aa1][root][/usr/src/linux] make modules_install INSTALL drivers/char/kcopy/kcopy.ko INSTALL drivers/usb/host/ehci-hcd.ko DEPMOD 3.7.10-gentoo Thanks again. -- Walter Dnes I don't run "desktop environments"; I run useful applications