Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] make modules_install error; modules not recognized as ELF files
Date: Thu, 14 Mar 2013 21:31:19
Message-Id: CAEH5T2MY0Wm1gu_95JAO1nuVcOWmZwPyvQsoptD0jiExXqO+fw@mail.gmail.com
In Reply to: Re: [gentoo-user] make modules_install error; modules not recognized as ELF files by Walter Dnes
1 On Thu, Mar 14, 2013 at 4:14 PM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Wed, Mar 13, 2013 at 10:47:34PM -0400, Walter Dnes wrote
3 >> Is my netbook dying, or is something else wrong? This is an older
4 >> 32-bit Atom netbook, with
5 >> CFLAGS="-O2 -march=native -mfpmath=sse -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
6 >> and 'MAKEOPTS="-j1"'. Compiling the kernel works OK, but
7 >> "make modules_install" dies as follows...
8 >
9 > I unmasked kernel 3.5.7-r1 (no, I don't run ext4) and tried again. I
10 > got...
11 >
12 > [aa1][root][/usr/src/linux] make modules_install
13 > INSTALL drivers/char/kcopy/kcopy.ko
14 > INSTALL drivers/scsi/scsi_wait_scan.ko
15 > INSTALL drivers/usb/host/ehci-hcd.ko
16 > DEPMOD 3.5.7-gentoo-r1
17 > depmod: /lib/modules/3.5.7-gentoo-r1/modules.builtin is not an ELF file
18 > depmod: /lib/modules/3.5.7-gentoo-r1/modules.order is not an ELF file
19 > make: *** [_modinst_post] Error 1
20 >
21 > Both of these are textfiles, but there were a few *.bin files in the
22 > previous kernel build error list. This is a 32-bit machine running gcc
23 > 4.6.3. My desktop, also running in 32-bit mode with kernel 3.5.7-r1 and
24 > gcc 4.6.3, has no such problem. Any ideas?
25
26 At some point in the past few months I think module-init-tools was
27 replaced by another package (kmod perhaps, I'm going from memory)... I
28 am wondering if it has something to do with that transition.

Replies

Subject Author
[gentoo-user] [SOLVED] make modules_install error; modules not recognized as ELF files Walter Dnes <waltdnes@××××××××.org>