From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] make modules_install error; modules not recognized as ELF files
Date: Thu, 14 Mar 2013 16:30:43 -0500 [thread overview]
Message-ID: <CAEH5T2MY0Wm1gu_95JAO1nuVcOWmZwPyvQsoptD0jiExXqO+fw@mail.gmail.com> (raw)
In-Reply-To: <20130314211431.GA9547@waltdnes.org>
On Thu, Mar 14, 2013 at 4:14 PM, Walter Dnes <waltdnes@waltdnes.org> 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.
next prev parent reply other threads:[~2013-03-14 21:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 2:47 [gentoo-user] make modules_install error; modules not recognized as ELF files Walter Dnes
2013-03-14 21:14 ` Walter Dnes
2013-03-14 21:30 ` Paul Hartman [this message]
2013-03-15 7:07 ` [gentoo-user] [SOLVED] " Walter Dnes
2013-03-15 7:37 ` Walter Dnes
2013-03-15 9:33 ` Neil Bothwick
2013-03-15 21:23 ` Walter Dnes
2013-03-15 21:50 ` Neil Bothwick
2013-03-15 21:58 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEH5T2MY0Wm1gu_95JAO1nuVcOWmZwPyvQsoptD0jiExXqO+fw@mail.gmail.com \
--to=paul.hartman+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox